wined3d: Implement Vulkan NULL buffer shader resource view descriptors.
[wine.git] / configure
blob27fb2fd0edc3727f93c4e66cdef87018dd2dfb4c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.8.
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.8'
584 PACKAGE_STRING='Wine 5.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXCESS_PRECISION_CFLAGS
635 EXTRACFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 USB_LIBS
686 USB_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 DELAYLOADFLAG
709 CROSSLDFLAGS
710 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 enable_werror
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_usb
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_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_l1_1_0
947 enable_api_ms_win_core_file_l1_2_0
948 enable_api_ms_win_core_file_l1_2_1
949 enable_api_ms_win_core_file_l1_2_2
950 enable_api_ms_win_core_file_l2_1_0
951 enable_api_ms_win_core_file_l2_1_1
952 enable_api_ms_win_core_file_l2_1_2
953 enable_api_ms_win_core_handle_l1_1_0
954 enable_api_ms_win_core_heap_l1_1_0
955 enable_api_ms_win_core_heap_l1_2_0
956 enable_api_ms_win_core_heap_l2_1_0
957 enable_api_ms_win_core_heap_obsolete_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_2_0
960 enable_api_ms_win_core_io_l1_1_0
961 enable_api_ms_win_core_io_l1_1_1
962 enable_api_ms_win_core_job_l1_1_0
963 enable_api_ms_win_core_job_l2_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_1
966 enable_api_ms_win_core_kernel32_private_l1_1_1
967 enable_api_ms_win_core_largeinteger_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_1
970 enable_api_ms_win_core_libraryloader_l1_2_0
971 enable_api_ms_win_core_libraryloader_l1_2_1
972 enable_api_ms_win_core_libraryloader_l1_2_2
973 enable_api_ms_win_core_localization_l1_1_0
974 enable_api_ms_win_core_localization_l1_2_0
975 enable_api_ms_win_core_localization_l1_2_1
976 enable_api_ms_win_core_localization_l2_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_2_0
979 enable_api_ms_win_core_localization_obsolete_l1_3_0
980 enable_api_ms_win_core_localization_private_l1_1_0
981 enable_api_ms_win_core_localregistry_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_1
984 enable_api_ms_win_core_memory_l1_1_2
985 enable_api_ms_win_core_misc_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_2_0
988 enable_api_ms_win_core_namespace_l1_1_0
989 enable_api_ms_win_core_normalization_l1_1_0
990 enable_api_ms_win_core_path_l1_1_0
991 enable_api_ms_win_core_privateprofile_l1_1_1
992 enable_api_ms_win_core_processenvironment_l1_1_0
993 enable_api_ms_win_core_processenvironment_l1_2_0
994 enable_api_ms_win_core_processthreads_l1_1_0
995 enable_api_ms_win_core_processthreads_l1_1_1
996 enable_api_ms_win_core_processthreads_l1_1_2
997 enable_api_ms_win_core_processthreads_l1_1_3
998 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
999 enable_api_ms_win_core_profile_l1_1_0
1000 enable_api_ms_win_core_psapi_ansi_l1_1_0
1001 enable_api_ms_win_core_psapi_l1_1_0
1002 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_quirks_l1_1_0
1004 enable_api_ms_win_core_realtime_l1_1_0
1005 enable_api_ms_win_core_registry_l1_1_0
1006 enable_api_ms_win_core_registry_l2_1_0
1007 enable_api_ms_win_core_registry_l2_2_0
1008 enable_api_ms_win_core_registryuserspecific_l1_1_0
1009 enable_api_ms_win_core_rtlsupport_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_2_0
1011 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1012 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1014 enable_api_ms_win_core_shutdown_l1_1_0
1015 enable_api_ms_win_core_sidebyside_l1_1_0
1016 enable_api_ms_win_core_string_l1_1_0
1017 enable_api_ms_win_core_string_l2_1_0
1018 enable_api_ms_win_core_string_obsolete_l1_1_0
1019 enable_api_ms_win_core_stringansi_l1_1_0
1020 enable_api_ms_win_core_stringloader_l1_1_1
1021 enable_api_ms_win_core_synch_ansi_l1_1_0
1022 enable_api_ms_win_core_synch_l1_1_0
1023 enable_api_ms_win_core_synch_l1_2_0
1024 enable_api_ms_win_core_synch_l1_2_1
1025 enable_api_ms_win_core_sysinfo_l1_1_0
1026 enable_api_ms_win_core_sysinfo_l1_2_0
1027 enable_api_ms_win_core_sysinfo_l1_2_1
1028 enable_api_ms_win_core_threadpool_l1_1_0
1029 enable_api_ms_win_core_threadpool_l1_2_0
1030 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1031 enable_api_ms_win_core_threadpool_private_l1_1_0
1032 enable_api_ms_win_core_timezone_l1_1_0
1033 enable_api_ms_win_core_toolhelp_l1_1_0
1034 enable_api_ms_win_core_url_l1_1_0
1035 enable_api_ms_win_core_util_l1_1_0
1036 enable_api_ms_win_core_version_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_1
1038 enable_api_ms_win_core_version_private_l1_1_0
1039 enable_api_ms_win_core_versionansi_l1_1_0
1040 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1041 enable_api_ms_win_core_winrt_error_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_1
1043 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1044 enable_api_ms_win_core_winrt_l1_1_0
1045 enable_api_ms_win_core_winrt_registration_l1_1_0
1046 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1047 enable_api_ms_win_core_winrt_string_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_1
1049 enable_api_ms_win_core_wow64_l1_1_0
1050 enable_api_ms_win_core_wow64_l1_1_1
1051 enable_api_ms_win_core_xstate_l1_1_0
1052 enable_api_ms_win_core_xstate_l2_1_0
1053 enable_api_ms_win_crt_conio_l1_1_0
1054 enable_api_ms_win_crt_convert_l1_1_0
1055 enable_api_ms_win_crt_environment_l1_1_0
1056 enable_api_ms_win_crt_filesystem_l1_1_0
1057 enable_api_ms_win_crt_heap_l1_1_0
1058 enable_api_ms_win_crt_locale_l1_1_0
1059 enable_api_ms_win_crt_math_l1_1_0
1060 enable_api_ms_win_crt_multibyte_l1_1_0
1061 enable_api_ms_win_crt_private_l1_1_0
1062 enable_api_ms_win_crt_process_l1_1_0
1063 enable_api_ms_win_crt_runtime_l1_1_0
1064 enable_api_ms_win_crt_stdio_l1_1_0
1065 enable_api_ms_win_crt_string_l1_1_0
1066 enable_api_ms_win_crt_time_l1_1_0
1067 enable_api_ms_win_crt_utility_l1_1_0
1068 enable_api_ms_win_devices_config_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_1
1070 enable_api_ms_win_devices_query_l1_1_1
1071 enable_api_ms_win_downlevel_advapi32_l1_1_0
1072 enable_api_ms_win_downlevel_advapi32_l2_1_0
1073 enable_api_ms_win_downlevel_normaliz_l1_1_0
1074 enable_api_ms_win_downlevel_ole32_l1_1_0
1075 enable_api_ms_win_downlevel_shell32_l1_1_0
1076 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1078 enable_api_ms_win_downlevel_user32_l1_1_0
1079 enable_api_ms_win_downlevel_version_l1_1_0
1080 enable_api_ms_win_dx_d3dkmt_l1_1_0
1081 enable_api_ms_win_eventing_classicprovider_l1_1_0
1082 enable_api_ms_win_eventing_consumer_l1_1_0
1083 enable_api_ms_win_eventing_controller_l1_1_0
1084 enable_api_ms_win_eventing_legacy_l1_1_0
1085 enable_api_ms_win_eventing_provider_l1_1_0
1086 enable_api_ms_win_eventlog_legacy_l1_1_0
1087 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1088 enable_api_ms_win_mm_joystick_l1_1_0
1089 enable_api_ms_win_mm_misc_l1_1_1
1090 enable_api_ms_win_mm_mme_l1_1_0
1091 enable_api_ms_win_mm_time_l1_1_0
1092 enable_api_ms_win_ntuser_dc_access_l1_1_0
1093 enable_api_ms_win_ntuser_rectangle_l1_1_0
1094 enable_api_ms_win_ntuser_sysparams_l1_1_0
1095 enable_api_ms_win_perf_legacy_l1_1_0
1096 enable_api_ms_win_power_base_l1_1_0
1097 enable_api_ms_win_power_setting_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1101 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1105 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1106 enable_api_ms_win_security_audit_l1_1_1
1107 enable_api_ms_win_security_base_l1_1_0
1108 enable_api_ms_win_security_base_l1_2_0
1109 enable_api_ms_win_security_base_private_l1_1_1
1110 enable_api_ms_win_security_credentials_l1_1_0
1111 enable_api_ms_win_security_cryptoapi_l1_1_0
1112 enable_api_ms_win_security_grouppolicy_l1_1_0
1113 enable_api_ms_win_security_lsalookup_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_1
1115 enable_api_ms_win_security_lsalookup_l2_1_0
1116 enable_api_ms_win_security_lsalookup_l2_1_1
1117 enable_api_ms_win_security_lsapolicy_l1_1_0
1118 enable_api_ms_win_security_provider_l1_1_0
1119 enable_api_ms_win_security_sddl_l1_1_0
1120 enable_api_ms_win_security_systemfunctions_l1_1_0
1121 enable_api_ms_win_service_core_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_1
1123 enable_api_ms_win_service_management_l1_1_0
1124 enable_api_ms_win_service_management_l2_1_0
1125 enable_api_ms_win_service_private_l1_1_1
1126 enable_api_ms_win_service_winsvc_l1_1_0
1127 enable_api_ms_win_service_winsvc_l1_2_0
1128 enable_api_ms_win_shcore_obsolete_l1_1_0
1129 enable_api_ms_win_shcore_scaling_l1_1_1
1130 enable_api_ms_win_shcore_stream_l1_1_0
1131 enable_api_ms_win_shcore_thread_l1_1_0
1132 enable_api_ms_win_shell_shellcom_l1_1_0
1133 enable_api_ms_win_shell_shellfolders_l1_1_0
1134 enable_apphelp
1135 enable_appwiz_cpl
1136 enable_atl
1137 enable_atl100
1138 enable_atl110
1139 enable_atl80
1140 enable_atl90
1141 enable_atlthunk
1142 enable_atmlib
1143 enable_authz
1144 enable_avicap32
1145 enable_avifil32
1146 enable_avrt
1147 enable_bcrypt
1148 enable_bluetoothapis
1149 enable_browseui
1150 enable_bthprops_cpl
1151 enable_cabinet
1152 enable_capi2032
1153 enable_cards
1154 enable_cdosys
1155 enable_cfgmgr32
1156 enable_clusapi
1157 enable_combase
1158 enable_comcat
1159 enable_comctl32
1160 enable_comdlg32
1161 enable_compstui
1162 enable_comsvcs
1163 enable_concrt140
1164 enable_connect
1165 enable_credui
1166 enable_crtdll
1167 enable_crypt32
1168 enable_cryptdlg
1169 enable_cryptdll
1170 enable_cryptext
1171 enable_cryptnet
1172 enable_cryptui
1173 enable_ctapi32
1174 enable_ctl3d32
1175 enable_d2d1
1176 enable_d3d10
1177 enable_d3d10_1
1178 enable_d3d10core
1179 enable_d3d11
1180 enable_d3d12
1181 enable_d3d8
1182 enable_d3d9
1183 enable_d3dcompiler_33
1184 enable_d3dcompiler_34
1185 enable_d3dcompiler_35
1186 enable_d3dcompiler_36
1187 enable_d3dcompiler_37
1188 enable_d3dcompiler_38
1189 enable_d3dcompiler_39
1190 enable_d3dcompiler_40
1191 enable_d3dcompiler_41
1192 enable_d3dcompiler_42
1193 enable_d3dcompiler_43
1194 enable_d3dcompiler_46
1195 enable_d3dcompiler_47
1196 enable_d3dim
1197 enable_d3drm
1198 enable_d3dx10_33
1199 enable_d3dx10_34
1200 enable_d3dx10_35
1201 enable_d3dx10_36
1202 enable_d3dx10_37
1203 enable_d3dx10_38
1204 enable_d3dx10_39
1205 enable_d3dx10_40
1206 enable_d3dx10_41
1207 enable_d3dx10_42
1208 enable_d3dx10_43
1209 enable_d3dx11_42
1210 enable_d3dx11_43
1211 enable_d3dx9_24
1212 enable_d3dx9_25
1213 enable_d3dx9_26
1214 enable_d3dx9_27
1215 enable_d3dx9_28
1216 enable_d3dx9_29
1217 enable_d3dx9_30
1218 enable_d3dx9_31
1219 enable_d3dx9_32
1220 enable_d3dx9_33
1221 enable_d3dx9_34
1222 enable_d3dx9_35
1223 enable_d3dx9_36
1224 enable_d3dx9_37
1225 enable_d3dx9_38
1226 enable_d3dx9_39
1227 enable_d3dx9_40
1228 enable_d3dx9_41
1229 enable_d3dx9_42
1230 enable_d3dx9_43
1231 enable_d3dxof
1232 enable_davclnt
1233 enable_dbgeng
1234 enable_dbghelp
1235 enable_dciman32
1236 enable_ddraw
1237 enable_ddrawex
1238 enable_devenum
1239 enable_dhcpcsvc
1240 enable_dhtmled_ocx
1241 enable_difxapi
1242 enable_dinput
1243 enable_dinput8
1244 enable_dispex
1245 enable_dmband
1246 enable_dmcompos
1247 enable_dmime
1248 enable_dmloader
1249 enable_dmoguids
1250 enable_dmscript
1251 enable_dmstyle
1252 enable_dmsynth
1253 enable_dmusic
1254 enable_dmusic32
1255 enable_dnsapi
1256 enable_dplay
1257 enable_dplayx
1258 enable_dpnaddr
1259 enable_dpnet
1260 enable_dpnhpast
1261 enable_dpnlobby
1262 enable_dpvoice
1263 enable_dpwsockx
1264 enable_drmclien
1265 enable_dsdmo
1266 enable_dsound
1267 enable_dsquery
1268 enable_dssenh
1269 enable_dsuiext
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_ksproxy_ax
1384 enable_ksuser
1385 enable_ktmw32
1386 enable_l3codeca_acm
1387 enable_loadperf
1388 enable_localspl
1389 enable_localui
1390 enable_lz32
1391 enable_mapi32
1392 enable_mapistub
1393 enable_mciavi32
1394 enable_mcicda
1395 enable_mciqtz32
1396 enable_mciseq
1397 enable_mciwave
1398 enable_mf
1399 enable_mf3216
1400 enable_mferror
1401 enable_mfmediaengine
1402 enable_mfplat
1403 enable_mfplay
1404 enable_mfreadwrite
1405 enable_mfuuid
1406 enable_mgmtapi
1407 enable_midimap
1408 enable_mlang
1409 enable_mmcndmgr
1410 enable_mmdevapi
1411 enable_mountmgr_sys
1412 enable_mp3dmod
1413 enable_mpr
1414 enable_mprapi
1415 enable_msacm32_drv
1416 enable_msacm32
1417 enable_msado15
1418 enable_msadp32_acm
1419 enable_msasn1
1420 enable_mscat32
1421 enable_mscms
1422 enable_mscoree
1423 enable_mscorwks
1424 enable_msctf
1425 enable_msctfp
1426 enable_msdaps
1427 enable_msdelta
1428 enable_msdmo
1429 enable_msdrm
1430 enable_msftedit
1431 enable_msg711_acm
1432 enable_msgsm32_acm
1433 enable_mshtml_tlb
1434 enable_mshtml
1435 enable_msi
1436 enable_msident
1437 enable_msimg32
1438 enable_msimsg
1439 enable_msimtf
1440 enable_msisip
1441 enable_msisys_ocx
1442 enable_msls31
1443 enable_msnet32
1444 enable_mspatcha
1445 enable_msports
1446 enable_msrle32
1447 enable_msscript_ocx
1448 enable_mssign32
1449 enable_mssip32
1450 enable_mstask
1451 enable_msvcirt
1452 enable_msvcm80
1453 enable_msvcm90
1454 enable_msvcp100
1455 enable_msvcp110
1456 enable_msvcp120
1457 enable_msvcp120_app
1458 enable_msvcp140
1459 enable_msvcp60
1460 enable_msvcp70
1461 enable_msvcp71
1462 enable_msvcp80
1463 enable_msvcp90
1464 enable_msvcr100
1465 enable_msvcr110
1466 enable_msvcr120
1467 enable_msvcr120_app
1468 enable_msvcr70
1469 enable_msvcr71
1470 enable_msvcr80
1471 enable_msvcr90
1472 enable_msvcrt
1473 enable_msvcrt20
1474 enable_msvcrt40
1475 enable_msvcrtd
1476 enable_msvfw32
1477 enable_msvidc32
1478 enable_mswsock
1479 enable_msxml
1480 enable_msxml2
1481 enable_msxml3
1482 enable_msxml4
1483 enable_msxml6
1484 enable_mtxdm
1485 enable_ncrypt
1486 enable_nddeapi
1487 enable_ndis_sys
1488 enable_netapi32
1489 enable_netcfgx
1490 enable_netprofm
1491 enable_newdev
1492 enable_ninput
1493 enable_normaliz
1494 enable_npmshtml
1495 enable_npptools
1496 enable_ntdll
1497 enable_ntdsapi
1498 enable_ntoskrnl_exe
1499 enable_ntprint
1500 enable_objsel
1501 enable_odbc32
1502 enable_odbcbcp
1503 enable_odbccp32
1504 enable_odbccu32
1505 enable_ole32
1506 enable_oleacc
1507 enable_oleaut32
1508 enable_olecli32
1509 enable_oledb32
1510 enable_oledlg
1511 enable_olepro32
1512 enable_olesvr32
1513 enable_olethk32
1514 enable_opcservices
1515 enable_openal32
1516 enable_opencl
1517 enable_opengl32
1518 enable_packager
1519 enable_pdh
1520 enable_photometadatahandler
1521 enable_pidgen
1522 enable_powrprof
1523 enable_printui
1524 enable_prntvpt
1525 enable_propsys
1526 enable_psapi
1527 enable_pstorec
1528 enable_qasf
1529 enable_qcap
1530 enable_qdvd
1531 enable_qedit
1532 enable_qmgr
1533 enable_qmgrprxy
1534 enable_quartz
1535 enable_query
1536 enable_qwave
1537 enable_rasapi32
1538 enable_rasdlg
1539 enable_regapi
1540 enable_resutils
1541 enable_riched20
1542 enable_riched32
1543 enable_rpcrt4
1544 enable_rsabase
1545 enable_rsaenh
1546 enable_rstrtmgr
1547 enable_rtutils
1548 enable_rtworkq
1549 enable_samlib
1550 enable_sane_ds
1551 enable_sapi
1552 enable_sas
1553 enable_scarddlg
1554 enable_sccbase
1555 enable_schannel
1556 enable_schedsvc
1557 enable_scrobj
1558 enable_scrrun
1559 enable_scsiport_sys
1560 enable_sechost
1561 enable_secur32
1562 enable_security
1563 enable_sensapi
1564 enable_serialui
1565 enable_setupapi
1566 enable_sfc
1567 enable_sfc_os
1568 enable_shcore
1569 enable_shdoclc
1570 enable_shdocvw
1571 enable_shell32
1572 enable_shfolder
1573 enable_shlwapi
1574 enable_slbcsp
1575 enable_slc
1576 enable_snmpapi
1577 enable_softpub
1578 enable_spoolss
1579 enable_srclient
1580 enable_sspicli
1581 enable_stdole2_tlb
1582 enable_stdole32_tlb
1583 enable_sti
1584 enable_strmbase
1585 enable_strmdll
1586 enable_strmiids
1587 enable_svrapi
1588 enable_sxs
1589 enable_t2embed
1590 enable_tapi32
1591 enable_taskschd
1592 enable_tdh
1593 enable_tdi_sys
1594 enable_traffic
1595 enable_twain_32
1596 enable_tzres
1597 enable_ucrtbase
1598 enable_uianimation
1599 enable_uiautomationcore
1600 enable_uiribbon
1601 enable_unicows
1602 enable_updspapi
1603 enable_url
1604 enable_urlmon
1605 enable_usbd_sys
1606 enable_user32
1607 enable_userenv
1608 enable_usp10
1609 enable_utildll
1610 enable_uuid
1611 enable_uxtheme
1612 enable_vbscript
1613 enable_vcomp
1614 enable_vcomp100
1615 enable_vcomp110
1616 enable_vcomp120
1617 enable_vcomp140
1618 enable_vcomp90
1619 enable_vcruntime140
1620 enable_vcruntime140_1
1621 enable_vdmdbg
1622 enable_version
1623 enable_vga
1624 enable_virtdisk
1625 enable_vssapi
1626 enable_vulkan_1
1627 enable_wbemdisp
1628 enable_wbemprox
1629 enable_wbemuuid
1630 enable_wdscore
1631 enable_webservices
1632 enable_wer
1633 enable_wevtapi
1634 enable_wiaservc
1635 enable_wimgapi
1636 enable_windowscodecs
1637 enable_windowscodecsext
1638 enable_winealsa_drv
1639 enable_wineandroid_drv
1640 enable_winebus_sys
1641 enable_winecoreaudio_drv
1642 enable_winecrt0
1643 enable_wined3d
1644 enable_winegstreamer
1645 enable_winehid_sys
1646 enable_winejoystick_drv
1647 enable_winemac_drv
1648 enable_winemapi
1649 enable_wineoss_drv
1650 enable_wineps_drv
1651 enable_winepulse_drv
1652 enable_wineqtdecoder
1653 enable_wineusb_sys
1654 enable_winevulkan
1655 enable_winex11_drv
1656 enable_wing32
1657 enable_winhttp
1658 enable_wininet
1659 enable_winmm
1660 enable_winnls32
1661 enable_winscard
1662 enable_winspool_drv
1663 enable_winsta
1664 enable_wintab32
1665 enable_wintrust
1666 enable_winusb
1667 enable_wlanapi
1668 enable_wlanui
1669 enable_wldap32
1670 enable_wmasf
1671 enable_wmcodecdspuuid
1672 enable_wmi
1673 enable_wmiutils
1674 enable_wmp
1675 enable_wmphoto
1676 enable_wmvcore
1677 enable_wnaspi32
1678 enable_wpc
1679 enable_wpcap
1680 enable_ws2_32
1681 enable_wsdapi
1682 enable_wshom_ocx
1683 enable_wsnmp32
1684 enable_wsock32
1685 enable_wtsapi32
1686 enable_wuapi
1687 enable_wuaueng
1688 enable_x3daudio1_0
1689 enable_x3daudio1_1
1690 enable_x3daudio1_2
1691 enable_x3daudio1_3
1692 enable_x3daudio1_4
1693 enable_x3daudio1_5
1694 enable_x3daudio1_6
1695 enable_x3daudio1_7
1696 enable_xapofx1_1
1697 enable_xapofx1_2
1698 enable_xapofx1_3
1699 enable_xapofx1_4
1700 enable_xapofx1_5
1701 enable_xaudio2_0
1702 enable_xaudio2_1
1703 enable_xaudio2_2
1704 enable_xaudio2_3
1705 enable_xaudio2_4
1706 enable_xaudio2_5
1707 enable_xaudio2_6
1708 enable_xaudio2_7
1709 enable_xaudio2_8
1710 enable_xaudio2_9
1711 enable_xinput1_1
1712 enable_xinput1_2
1713 enable_xinput1_3
1714 enable_xinput1_4
1715 enable_xinput9_1_0
1716 enable_xmllite
1717 enable_xolehlp
1718 enable_xpsprint
1719 enable_xpssvcs
1720 enable_fonts
1721 enable_include
1722 enable_port
1723 enable_wine
1724 enable_wpp
1725 enable_loader
1726 enable_nls
1727 enable_po
1728 enable_arp
1729 enable_aspnet_regiis
1730 enable_attrib
1731 enable_cabarc
1732 enable_cacls
1733 enable_chcp_com
1734 enable_clock
1735 enable_cmd
1736 enable_conhost
1737 enable_control
1738 enable_cscript
1739 enable_dism
1740 enable_dpnsvr
1741 enable_dxdiag
1742 enable_eject
1743 enable_expand
1744 enable_explorer
1745 enable_extrac32
1746 enable_fc
1747 enable_find
1748 enable_findstr
1749 enable_fsutil
1750 enable_hh
1751 enable_hostname
1752 enable_icacls
1753 enable_icinfo
1754 enable_iexplore
1755 enable_ipconfig
1756 enable_lodctr
1757 enable_mofcomp
1758 enable_mshta
1759 enable_msidb
1760 enable_msiexec
1761 enable_msinfo32
1762 enable_net
1763 enable_netsh
1764 enable_netstat
1765 enable_ngen
1766 enable_notepad
1767 enable_oleview
1768 enable_ping
1769 enable_plugplay
1770 enable_powershell
1771 enable_presentationfontcache
1772 enable_progman
1773 enable_reg
1774 enable_regasm
1775 enable_regedit
1776 enable_regini
1777 enable_regsvcs
1778 enable_regsvr32
1779 enable_rpcss
1780 enable_rundll32
1781 enable_sc
1782 enable_schtasks
1783 enable_sdbinst
1784 enable_secedit
1785 enable_servicemodelreg
1786 enable_services
1787 enable_shutdown
1788 enable_spoolsv
1789 enable_start
1790 enable_subst
1791 enable_svchost
1792 enable_systeminfo
1793 enable_taskkill
1794 enable_tasklist
1795 enable_taskmgr
1796 enable_termsv
1797 enable_uninstaller
1798 enable_unlodctr
1799 enable_view
1800 enable_wevtutil
1801 enable_whoami
1802 enable_wineboot
1803 enable_winebrowser
1804 enable_winecfg
1805 enable_wineconsole
1806 enable_winedbg
1807 enable_winedevice
1808 enable_winefile
1809 enable_winemenubuilder
1810 enable_winemine
1811 enable_winemsibuilder
1812 enable_winepath
1813 enable_winetest
1814 enable_winhlp32
1815 enable_winmgmt
1816 enable_winver
1817 enable_wmic
1818 enable_wmplayer
1819 enable_wordpad
1820 enable_write
1821 enable_wscript
1822 enable_wuauserv
1823 enable_wusa
1824 enable_xcopy
1825 enable_server
1826 enable_tools
1827 enable_sfnt2fon
1828 enable_widl
1829 enable_winebuild
1830 enable_winedump
1831 enable_winegcc
1832 enable_winemaker
1833 enable_wmc
1834 enable_wrc
1836 ac_precious_vars='build_alias
1837 host_alias
1838 target_alias
1840 CFLAGS
1841 LDFLAGS
1842 LIBS
1843 CPPFLAGS
1845 CXXFLAGS
1848 OBJC
1849 OBJCFLAGS
1850 OBJCPP
1851 XMKMF
1852 XML2_CFLAGS
1853 XML2_LIBS
1854 XSLT_CFLAGS
1855 XSLT_LIBS
1856 INOTIFY_CFLAGS
1857 INOTIFY_LIBS
1858 DBUS_CFLAGS
1859 DBUS_LIBS
1860 HAL_CFLAGS
1861 HAL_LIBS
1862 GNUTLS_CFLAGS
1863 GNUTLS_LIBS
1864 SANE_CFLAGS
1865 SANE_LIBS
1866 USB_CFLAGS
1867 USB_LIBS
1868 GPHOTO2_CFLAGS
1869 GPHOTO2_LIBS
1870 GPHOTO2_PORT_CFLAGS
1871 GPHOTO2_PORT_LIBS
1872 LCMS2_CFLAGS
1873 LCMS2_LIBS
1874 FREETYPE_CFLAGS
1875 FREETYPE_LIBS
1876 PULSE_CFLAGS
1877 PULSE_LIBS
1878 GSTREAMER_CFLAGS
1879 GSTREAMER_LIBS
1880 UDEV_CFLAGS
1881 UDEV_LIBS
1882 UNWIND_CFLAGS
1883 UNWIND_LIBS
1884 SDL2_CFLAGS
1885 SDL2_LIBS
1886 FAUDIO_CFLAGS
1887 FAUDIO_LIBS
1888 CAPI20_CFLAGS
1889 CAPI20_LIBS
1890 CUPS_CFLAGS
1891 CUPS_LIBS
1892 FONTCONFIG_CFLAGS
1893 FONTCONFIG_LIBS
1894 KRB5_CFLAGS
1895 KRB5_LIBS
1896 GSSAPI_CFLAGS
1897 GSSAPI_LIBS
1898 JPEG_CFLAGS
1899 JPEG_LIBS
1900 PNG_CFLAGS
1901 PNG_LIBS
1902 TIFF_CFLAGS
1903 TIFF_LIBS
1904 MPG123_CFLAGS
1905 MPG123_LIBS
1906 NETAPI_CFLAGS
1907 NETAPI_LIBS
1908 VKD3D_CFLAGS
1909 VKD3D_LIBS
1910 LDAP_CFLAGS
1911 LDAP_LIBS'
1914 # Initialize some variables set by options.
1915 ac_init_help=
1916 ac_init_version=false
1917 ac_unrecognized_opts=
1918 ac_unrecognized_sep=
1919 # The variables have the same names as the options, with
1920 # dashes changed to underlines.
1921 cache_file=/dev/null
1922 exec_prefix=NONE
1923 no_create=
1924 no_recursion=
1925 prefix=NONE
1926 program_prefix=NONE
1927 program_suffix=NONE
1928 program_transform_name=s,x,x,
1929 silent=
1930 site=
1931 srcdir=
1932 verbose=
1933 x_includes=NONE
1934 x_libraries=NONE
1936 # Installation directory options.
1937 # These are left unexpanded so users can "make install exec_prefix=/foo"
1938 # and all the variables that are supposed to be based on exec_prefix
1939 # by default will actually change.
1940 # Use braces instead of parens because sh, perl, etc. also accept them.
1941 # (The list follows the same order as the GNU Coding Standards.)
1942 bindir='${exec_prefix}/bin'
1943 sbindir='${exec_prefix}/sbin'
1944 libexecdir='${exec_prefix}/libexec'
1945 datarootdir='${prefix}/share'
1946 datadir='${datarootdir}'
1947 sysconfdir='${prefix}/etc'
1948 sharedstatedir='${prefix}/com'
1949 localstatedir='${prefix}/var'
1950 runstatedir='${localstatedir}/run'
1951 includedir='${prefix}/include'
1952 oldincludedir='/usr/include'
1953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1954 infodir='${datarootdir}/info'
1955 htmldir='${docdir}'
1956 dvidir='${docdir}'
1957 pdfdir='${docdir}'
1958 psdir='${docdir}'
1959 libdir='${exec_prefix}/lib'
1960 localedir='${datarootdir}/locale'
1961 mandir='${datarootdir}/man'
1963 ac_prev=
1964 ac_dashdash=
1965 for ac_option
1967 # If the previous option needs an argument, assign it.
1968 if test -n "$ac_prev"; then
1969 eval $ac_prev=\$ac_option
1970 ac_prev=
1971 continue
1974 case $ac_option in
1975 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1976 *=) ac_optarg= ;;
1977 *) ac_optarg=yes ;;
1978 esac
1980 # Accept the important Cygnus configure options, so we can diagnose typos.
1982 case $ac_dashdash$ac_option in
1984 ac_dashdash=yes ;;
1986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1987 ac_prev=bindir ;;
1988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1989 bindir=$ac_optarg ;;
1991 -build | --build | --buil | --bui | --bu)
1992 ac_prev=build_alias ;;
1993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1994 build_alias=$ac_optarg ;;
1996 -cache-file | --cache-file | --cache-fil | --cache-fi \
1997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1998 ac_prev=cache_file ;;
1999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2001 cache_file=$ac_optarg ;;
2003 --config-cache | -C)
2004 cache_file=config.cache ;;
2006 -datadir | --datadir | --datadi | --datad)
2007 ac_prev=datadir ;;
2008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2009 datadir=$ac_optarg ;;
2011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2012 | --dataroo | --dataro | --datar)
2013 ac_prev=datarootdir ;;
2014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2016 datarootdir=$ac_optarg ;;
2018 -disable-* | --disable-*)
2019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2020 # Reject names that are not valid shell variable names.
2021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2022 as_fn_error $? "invalid feature name: $ac_useropt"
2023 ac_useropt_orig=$ac_useropt
2024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2025 case $ac_user_opts in
2027 "enable_$ac_useropt"
2028 "*) ;;
2029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2030 ac_unrecognized_sep=', ';;
2031 esac
2032 eval enable_$ac_useropt=no ;;
2034 -docdir | --docdir | --docdi | --doc | --do)
2035 ac_prev=docdir ;;
2036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2037 docdir=$ac_optarg ;;
2039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2040 ac_prev=dvidir ;;
2041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2042 dvidir=$ac_optarg ;;
2044 -enable-* | --enable-*)
2045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2046 # Reject names that are not valid shell variable names.
2047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2048 as_fn_error $? "invalid feature name: $ac_useropt"
2049 ac_useropt_orig=$ac_useropt
2050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2051 case $ac_user_opts in
2053 "enable_$ac_useropt"
2054 "*) ;;
2055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2056 ac_unrecognized_sep=', ';;
2057 esac
2058 eval enable_$ac_useropt=\$ac_optarg ;;
2060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2062 | --exec | --exe | --ex)
2063 ac_prev=exec_prefix ;;
2064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2066 | --exec=* | --exe=* | --ex=*)
2067 exec_prefix=$ac_optarg ;;
2069 -gas | --gas | --ga | --g)
2070 # Obsolete; use --with-gas.
2071 with_gas=yes ;;
2073 -help | --help | --hel | --he | -h)
2074 ac_init_help=long ;;
2075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2076 ac_init_help=recursive ;;
2077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2078 ac_init_help=short ;;
2080 -host | --host | --hos | --ho)
2081 ac_prev=host_alias ;;
2082 -host=* | --host=* | --hos=* | --ho=*)
2083 host_alias=$ac_optarg ;;
2085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2086 ac_prev=htmldir ;;
2087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2088 | --ht=*)
2089 htmldir=$ac_optarg ;;
2091 -includedir | --includedir | --includedi | --included | --include \
2092 | --includ | --inclu | --incl | --inc)
2093 ac_prev=includedir ;;
2094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2095 | --includ=* | --inclu=* | --incl=* | --inc=*)
2096 includedir=$ac_optarg ;;
2098 -infodir | --infodir | --infodi | --infod | --info | --inf)
2099 ac_prev=infodir ;;
2100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2101 infodir=$ac_optarg ;;
2103 -libdir | --libdir | --libdi | --libd)
2104 ac_prev=libdir ;;
2105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2106 libdir=$ac_optarg ;;
2108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2109 | --libexe | --libex | --libe)
2110 ac_prev=libexecdir ;;
2111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2112 | --libexe=* | --libex=* | --libe=*)
2113 libexecdir=$ac_optarg ;;
2115 -localedir | --localedir | --localedi | --localed | --locale)
2116 ac_prev=localedir ;;
2117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2118 localedir=$ac_optarg ;;
2120 -localstatedir | --localstatedir | --localstatedi | --localstated \
2121 | --localstate | --localstat | --localsta | --localst | --locals)
2122 ac_prev=localstatedir ;;
2123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2125 localstatedir=$ac_optarg ;;
2127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2128 ac_prev=mandir ;;
2129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2130 mandir=$ac_optarg ;;
2132 -nfp | --nfp | --nf)
2133 # Obsolete; use --without-fp.
2134 with_fp=no ;;
2136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2137 | --no-cr | --no-c | -n)
2138 no_create=yes ;;
2140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2142 no_recursion=yes ;;
2144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2146 | --oldin | --oldi | --old | --ol | --o)
2147 ac_prev=oldincludedir ;;
2148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2151 oldincludedir=$ac_optarg ;;
2153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2154 ac_prev=prefix ;;
2155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2156 prefix=$ac_optarg ;;
2158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2159 | --program-pre | --program-pr | --program-p)
2160 ac_prev=program_prefix ;;
2161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2163 program_prefix=$ac_optarg ;;
2165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2166 | --program-suf | --program-su | --program-s)
2167 ac_prev=program_suffix ;;
2168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2170 program_suffix=$ac_optarg ;;
2172 -program-transform-name | --program-transform-name \
2173 | --program-transform-nam | --program-transform-na \
2174 | --program-transform-n | --program-transform- \
2175 | --program-transform | --program-transfor \
2176 | --program-transfo | --program-transf \
2177 | --program-trans | --program-tran \
2178 | --progr-tra | --program-tr | --program-t)
2179 ac_prev=program_transform_name ;;
2180 -program-transform-name=* | --program-transform-name=* \
2181 | --program-transform-nam=* | --program-transform-na=* \
2182 | --program-transform-n=* | --program-transform-=* \
2183 | --program-transform=* | --program-transfor=* \
2184 | --program-transfo=* | --program-transf=* \
2185 | --program-trans=* | --program-tran=* \
2186 | --progr-tra=* | --program-tr=* | --program-t=*)
2187 program_transform_name=$ac_optarg ;;
2189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2190 ac_prev=pdfdir ;;
2191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2192 pdfdir=$ac_optarg ;;
2194 -psdir | --psdir | --psdi | --psd | --ps)
2195 ac_prev=psdir ;;
2196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2197 psdir=$ac_optarg ;;
2199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2200 | -silent | --silent | --silen | --sile | --sil)
2201 silent=yes ;;
2203 -runstatedir | --runstatedir | --runstatedi | --runstated \
2204 | --runstate | --runstat | --runsta | --runst | --runs \
2205 | --run | --ru | --r)
2206 ac_prev=runstatedir ;;
2207 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2208 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2209 | --run=* | --ru=* | --r=*)
2210 runstatedir=$ac_optarg ;;
2212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2213 ac_prev=sbindir ;;
2214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2215 | --sbi=* | --sb=*)
2216 sbindir=$ac_optarg ;;
2218 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2220 | --sharedst | --shareds | --shared | --share | --shar \
2221 | --sha | --sh)
2222 ac_prev=sharedstatedir ;;
2223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2226 | --sha=* | --sh=*)
2227 sharedstatedir=$ac_optarg ;;
2229 -site | --site | --sit)
2230 ac_prev=site ;;
2231 -site=* | --site=* | --sit=*)
2232 site=$ac_optarg ;;
2234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2235 ac_prev=srcdir ;;
2236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2237 srcdir=$ac_optarg ;;
2239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2240 | --syscon | --sysco | --sysc | --sys | --sy)
2241 ac_prev=sysconfdir ;;
2242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2244 sysconfdir=$ac_optarg ;;
2246 -target | --target | --targe | --targ | --tar | --ta | --t)
2247 ac_prev=target_alias ;;
2248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2249 target_alias=$ac_optarg ;;
2251 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2252 verbose=yes ;;
2254 -version | --version | --versio | --versi | --vers | -V)
2255 ac_init_version=: ;;
2257 -with-* | --with-*)
2258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2259 # Reject names that are not valid shell variable names.
2260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2261 as_fn_error $? "invalid package name: $ac_useropt"
2262 ac_useropt_orig=$ac_useropt
2263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2264 case $ac_user_opts in
2266 "with_$ac_useropt"
2267 "*) ;;
2268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2269 ac_unrecognized_sep=', ';;
2270 esac
2271 eval with_$ac_useropt=\$ac_optarg ;;
2273 -without-* | --without-*)
2274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2275 # Reject names that are not valid shell variable names.
2276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2277 as_fn_error $? "invalid package name: $ac_useropt"
2278 ac_useropt_orig=$ac_useropt
2279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2280 case $ac_user_opts in
2282 "with_$ac_useropt"
2283 "*) ;;
2284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2285 ac_unrecognized_sep=', ';;
2286 esac
2287 eval with_$ac_useropt=no ;;
2289 --x)
2290 # Obsolete; use --with-x.
2291 with_x=yes ;;
2293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2294 | --x-incl | --x-inc | --x-in | --x-i)
2295 ac_prev=x_includes ;;
2296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2298 x_includes=$ac_optarg ;;
2300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2302 ac_prev=x_libraries ;;
2303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2305 x_libraries=$ac_optarg ;;
2307 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2308 Try \`$0 --help' for more information"
2311 *=*)
2312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2313 # Reject names that are not valid shell variable names.
2314 case $ac_envvar in #(
2315 '' | [0-9]* | *[!_$as_cr_alnum]* )
2316 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2317 esac
2318 eval $ac_envvar=\$ac_optarg
2319 export $ac_envvar ;;
2322 # FIXME: should be removed in autoconf 3.0.
2323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2326 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2329 esac
2330 done
2332 if test -n "$ac_prev"; then
2333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2334 as_fn_error $? "missing argument to $ac_option"
2337 if test -n "$ac_unrecognized_opts"; then
2338 case $enable_option_checking in
2339 no) ;;
2340 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2342 esac
2345 # Check all directory arguments for consistency.
2346 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2347 datadir sysconfdir sharedstatedir localstatedir includedir \
2348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2349 libdir localedir mandir runstatedir
2351 eval ac_val=\$$ac_var
2352 # Remove trailing slashes.
2353 case $ac_val in
2354 */ )
2355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2356 eval $ac_var=\$ac_val;;
2357 esac
2358 # Be sure to have absolute directory names.
2359 case $ac_val in
2360 [\\/$]* | ?:[\\/]* ) continue;;
2361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2362 esac
2363 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2364 done
2366 # There might be people who depend on the old broken behavior: `$host'
2367 # used to hold the argument of --host etc.
2368 # FIXME: To remove some day.
2369 build=$build_alias
2370 host=$host_alias
2371 target=$target_alias
2373 # FIXME: To remove some day.
2374 if test "x$host_alias" != x; then
2375 if test "x$build_alias" = x; then
2376 cross_compiling=maybe
2377 elif test "x$build_alias" != "x$host_alias"; then
2378 cross_compiling=yes
2382 ac_tool_prefix=
2383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2385 test "$silent" = yes && exec 6>/dev/null
2388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2389 ac_ls_di=`ls -di .` &&
2390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2391 as_fn_error $? "working directory cannot be determined"
2392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2393 as_fn_error $? "pwd does not report name of working directory"
2396 # Find the source files, if location was not specified.
2397 if test -z "$srcdir"; then
2398 ac_srcdir_defaulted=yes
2399 # Try the directory containing this script, then the parent directory.
2400 ac_confdir=`$as_dirname -- "$as_myself" ||
2401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2402 X"$as_myself" : 'X\(//\)[^/]' \| \
2403 X"$as_myself" : 'X\(//\)$' \| \
2404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2405 $as_echo X"$as_myself" |
2406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2407 s//\1/
2410 /^X\(\/\/\)[^/].*/{
2411 s//\1/
2414 /^X\(\/\/\)$/{
2415 s//\1/
2418 /^X\(\/\).*/{
2419 s//\1/
2422 s/.*/./; q'`
2423 srcdir=$ac_confdir
2424 if test ! -r "$srcdir/$ac_unique_file"; then
2425 srcdir=..
2427 else
2428 ac_srcdir_defaulted=no
2430 if test ! -r "$srcdir/$ac_unique_file"; then
2431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2432 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2435 ac_abs_confdir=`(
2436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2437 pwd)`
2438 # When building in place, set srcdir=.
2439 if test "$ac_abs_confdir" = "$ac_pwd"; then
2440 srcdir=.
2442 # Remove unnecessary trailing slashes from srcdir.
2443 # Double slashes in file names in object file debugging info
2444 # mess up M-x gdb in Emacs.
2445 case $srcdir in
2446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2447 esac
2448 for ac_var in $ac_precious_vars; do
2449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2450 eval ac_env_${ac_var}_value=\$${ac_var}
2451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2453 done
2456 # Report the --help message.
2458 if test "$ac_init_help" = "long"; then
2459 # Omit some internal or obsolete options to make the list less imposing.
2460 # This message is too long to be a string in the A/UX 3.1 sh.
2461 cat <<_ACEOF
2462 \`configure' configures Wine 5.8 to adapt to many kinds of systems.
2464 Usage: $0 [OPTION]... [VAR=VALUE]...
2466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2467 VAR=VALUE. See below for descriptions of some of the useful variables.
2469 Defaults for the options are specified in brackets.
2471 Configuration:
2472 -h, --help display this help and exit
2473 --help=short display options specific to this package
2474 --help=recursive display the short help of all the included packages
2475 -V, --version display version information and exit
2476 -q, --quiet, --silent do not print \`checking ...' messages
2477 --cache-file=FILE cache test results in FILE [disabled]
2478 -C, --config-cache alias for \`--cache-file=config.cache'
2479 -n, --no-create do not create output files
2480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2482 Installation directories:
2483 --prefix=PREFIX install architecture-independent files in PREFIX
2484 [$ac_default_prefix]
2485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2486 [PREFIX]
2488 By default, \`make install' will install all the files in
2489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2491 for instance \`--prefix=\$HOME'.
2493 For better control, use the options below.
2495 Fine tuning of the installation directories:
2496 --bindir=DIR user executables [EPREFIX/bin]
2497 --sbindir=DIR system admin executables [EPREFIX/sbin]
2498 --libexecdir=DIR program executables [EPREFIX/libexec]
2499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2502 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2503 --libdir=DIR object code libraries [EPREFIX/lib]
2504 --includedir=DIR C header files [PREFIX/include]
2505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2508 --infodir=DIR info documentation [DATAROOTDIR/info]
2509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2510 --mandir=DIR man documentation [DATAROOTDIR/man]
2511 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2512 --htmldir=DIR html documentation [DOCDIR]
2513 --dvidir=DIR dvi documentation [DOCDIR]
2514 --pdfdir=DIR pdf documentation [DOCDIR]
2515 --psdir=DIR ps documentation [DOCDIR]
2516 _ACEOF
2518 cat <<\_ACEOF
2520 X features:
2521 --x-includes=DIR X include files are in DIR
2522 --x-libraries=DIR X library files are in DIR
2524 System types:
2525 --build=BUILD configure for building on BUILD [guessed]
2526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2527 _ACEOF
2530 if test -n "$ac_init_help"; then
2531 case $ac_init_help in
2532 short | recursive ) echo "Configuration of Wine 5.8:";;
2533 esac
2534 cat <<\_ACEOF
2536 Optional Features:
2537 --disable-option-checking ignore unrecognized --enable/--with options
2538 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2539 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2540 --disable-win16 do not include Win16 support
2541 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2542 binaries)
2543 --disable-tests do not build the regression tests
2544 --enable-maintainer-mode
2545 enable maintainer-specific build rules
2546 --enable-werror treat compilation warnings as errors
2547 --disable-largefile omit support for large files
2549 Optional Packages:
2550 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2551 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2552 --without-alsa do not use the Alsa sound support
2553 --without-capi do not use CAPI (ISDN support)
2554 --without-cms do not use CMS (color management support)
2555 --without-coreaudio do not use the CoreAudio sound support
2556 --without-cups do not use CUPS
2557 --without-curses do not use (n)curses
2558 --without-dbus do not use DBus (dynamic device support)
2559 --without-faudio do not use FAudio (XAudio2 support)
2560 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2561 --without-fontconfig do not use fontconfig
2562 --without-freetype do not use the FreeType library
2563 --without-gettext do not use gettext
2564 --with-gettextpo use the GetTextPO library to rebuild po files
2565 --without-gphoto do not use gphoto (Digital Camera support)
2566 --without-glu do not use the GLU library
2567 --without-gnutls do not use GnuTLS (schannel support)
2568 --without-gsm do not use libgsm (GSM 06.10 codec support)
2569 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2570 --without-gstreamer do not use GStreamer (codecs support)
2571 --without-hal do not use HAL (dynamic device support)
2572 --without-inotify do not use inotify (filesystem change notifications)
2573 --without-jpeg do not use JPEG
2574 --without-krb5 do not use krb5 (Kerberos)
2575 --without-ldap do not use LDAP
2576 --without-mingw do not use the MinGW cross-compiler
2577 --without-mpg123 do not use the mpg123 library
2578 --without-netapi do not use the Samba NetAPI library
2579 --without-openal do not use OpenAL
2580 --without-opencl do not use OpenCL
2581 --without-opengl do not use OpenGL
2582 --without-osmesa do not use the OSMesa library
2583 --without-oss do not use the OSS sound support
2584 --without-pcap do not use the Packet Capture library
2585 --without-png do not use PNG
2586 --without-pthread do not use the pthread library
2587 --without-pulse do not use PulseAudio sound support
2588 --without-sane do not use SANE (scanner support)
2589 --without-sdl do not use SDL
2590 --without-tiff do not use TIFF
2591 --without-udev do not use udev (plug and play support)
2592 --without-unwind do not use the libunwind library (exception
2593 handling)
2594 --without-usb do not use the libusb library
2595 --without-v4l2 do not use v4l2 (video capture)
2596 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2597 --without-vulkan do not use Vulkan
2598 --without-xcomposite do not use the Xcomposite extension
2599 --without-xcursor do not use the Xcursor extension
2600 --without-xfixes do not use Xfixes for clipboard change notifications
2601 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2602 --without-xinput do not use the Xinput extension
2603 --without-xinput2 do not use the Xinput 2 extension
2604 --without-xml do not use XML
2605 --without-xrandr do not use Xrandr (multi-monitor support)
2606 --without-xrender do not use the Xrender extension
2607 --without-xshape do not use the Xshape extension
2608 --without-xshm do not use XShm (shared memory extension)
2609 --without-xslt do not use XSLT
2610 --without-xxf86vm do not use XFree video mode extension
2611 --with-wine-tools=DIR use Wine tools from directory DIR
2612 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2613 --with-x use the X Window System
2615 Some influential environment variables:
2616 CC C compiler command
2617 CFLAGS C compiler flags
2618 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2619 nonstandard directory <lib dir>
2620 LIBS libraries to pass to the linker, e.g. -l<library>
2621 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2622 you have headers in a nonstandard directory <include dir>
2623 CXX C++ compiler command
2624 CXXFLAGS C++ compiler flags
2625 CPP C preprocessor
2626 OBJC Objective C compiler command
2627 OBJCFLAGS Objective C compiler flags
2628 OBJCPP Objective C preprocessor
2629 XMKMF Path to xmkmf, Makefile generator for X Window System
2630 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2631 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2632 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2633 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2634 INOTIFY_CFLAGS
2635 C compiler flags for libinotify, overriding pkg-config
2636 INOTIFY_LIBS
2637 Linker flags for libinotify, overriding pkg-config
2638 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2639 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2640 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2641 HAL_LIBS Linker flags for hal, overriding pkg-config
2642 GNUTLS_CFLAGS
2643 C compiler flags for gnutls, overriding pkg-config
2644 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2645 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2646 SANE_LIBS Linker flags for libsane, overriding pkg-config
2647 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2648 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2649 GPHOTO2_CFLAGS
2650 C compiler flags for libgphoto2, overriding pkg-config
2651 GPHOTO2_LIBS
2652 Linker flags for libgphoto2, overriding pkg-config
2653 GPHOTO2_PORT_CFLAGS
2654 C compiler flags for libgphoto2_port, overriding pkg-config
2655 GPHOTO2_PORT_LIBS
2656 Linker flags for libgphoto2_port, overriding pkg-config
2657 LCMS2_CFLAGS
2658 C compiler flags for lcms2, overriding pkg-config
2659 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2660 FREETYPE_CFLAGS
2661 C compiler flags for freetype2, overriding pkg-config
2662 FREETYPE_LIBS
2663 Linker flags for freetype2, overriding pkg-config
2664 PULSE_CFLAGS
2665 C compiler flags for libpulse, overriding pkg-config
2666 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2667 GSTREAMER_CFLAGS
2668 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2669 gstreamer-audio-1.0, overriding pkg-config
2670 GSTREAMER_LIBS
2671 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2672 gstreamer-audio-1.0, overriding pkg-config
2673 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2674 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2675 UNWIND_CFLAGS
2676 C compiler flags for libunwind, overriding pkg-config
2677 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2678 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2679 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2680 FAUDIO_CFLAGS
2681 C compiler flags for faudio, overriding pkg-config
2682 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2683 CAPI20_CFLAGS
2684 C compiler flags for capi20, overriding pkg-config
2685 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2686 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2687 CUPS_LIBS Linker flags for cups, overriding pkg-config
2688 FONTCONFIG_CFLAGS
2689 C compiler flags for fontconfig, overriding pkg-config
2690 FONTCONFIG_LIBS
2691 Linker flags for fontconfig, overriding pkg-config
2692 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2693 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2694 GSSAPI_CFLAGS
2695 C compiler flags for krb5-gssapi, overriding pkg-config
2696 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2697 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2698 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2699 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2700 PNG_LIBS Linker flags for libpng, overriding pkg-config
2701 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2702 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2703 MPG123_CFLAGS
2704 C compiler flags for libmpg123, overriding pkg-config
2705 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2706 NETAPI_CFLAGS
2707 C compiler flags for netapi, overriding pkg-config
2708 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2709 VKD3D_CFLAGS
2710 C compiler flags for libvkd3d, overriding pkg-config
2711 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2712 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2713 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2715 Use these variables to override the choices made by `configure' or to help
2716 it to find libraries and programs with nonstandard names/locations.
2718 Report bugs to <wine-devel@winehq.org>.
2719 Wine home page: <https://www.winehq.org>.
2720 _ACEOF
2721 ac_status=$?
2724 if test "$ac_init_help" = "recursive"; then
2725 # If there are subdirs, report their specific --help.
2726 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2727 test -d "$ac_dir" ||
2728 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2729 continue
2730 ac_builddir=.
2732 case "$ac_dir" in
2733 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2735 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2736 # A ".." for each directory in $ac_dir_suffix.
2737 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2738 case $ac_top_builddir_sub in
2739 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2740 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2741 esac ;;
2742 esac
2743 ac_abs_top_builddir=$ac_pwd
2744 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2745 # for backward compatibility:
2746 ac_top_builddir=$ac_top_build_prefix
2748 case $srcdir in
2749 .) # We are building in place.
2750 ac_srcdir=.
2751 ac_top_srcdir=$ac_top_builddir_sub
2752 ac_abs_top_srcdir=$ac_pwd ;;
2753 [\\/]* | ?:[\\/]* ) # Absolute name.
2754 ac_srcdir=$srcdir$ac_dir_suffix;
2755 ac_top_srcdir=$srcdir
2756 ac_abs_top_srcdir=$srcdir ;;
2757 *) # Relative name.
2758 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2759 ac_top_srcdir=$ac_top_build_prefix$srcdir
2760 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2761 esac
2762 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2764 cd "$ac_dir" || { ac_status=$?; continue; }
2765 # Check for guested configure.
2766 if test -f "$ac_srcdir/configure.gnu"; then
2767 echo &&
2768 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2769 elif test -f "$ac_srcdir/configure"; then
2770 echo &&
2771 $SHELL "$ac_srcdir/configure" --help=recursive
2772 else
2773 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2774 fi || ac_status=$?
2775 cd "$ac_pwd" || { ac_status=$?; break; }
2776 done
2779 test -n "$ac_init_help" && exit $ac_status
2780 if $ac_init_version; then
2781 cat <<\_ACEOF
2782 Wine configure 5.8
2783 generated by GNU Autoconf 2.69
2785 Copyright (C) 2012 Free Software Foundation, Inc.
2786 This configure script is free software; the Free Software Foundation
2787 gives unlimited permission to copy, distribute and modify it.
2788 _ACEOF
2789 exit
2792 ## ------------------------ ##
2793 ## Autoconf initialization. ##
2794 ## ------------------------ ##
2796 # ac_fn_c_try_compile LINENO
2797 # --------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then :
2822 ac_retval=0
2823 else
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_c_try_compile
2834 # ac_fn_cxx_try_compile LINENO
2835 # ----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_cxx_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext
2841 if { { ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_cxx_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext; then :
2860 ac_retval=0
2861 else
2862 $as_echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 ac_retval=1
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 as_fn_set_status $ac_retval
2870 } # ac_fn_cxx_try_compile
2872 # ac_fn_c_try_link LINENO
2873 # -----------------------
2874 # Try to link conftest.$ac_ext, and return whether this succeeded.
2875 ac_fn_c_try_link ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 rm -f conftest.$ac_objext conftest$ac_exeext
2879 if { { ac_try="$ac_link"
2880 case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 $as_echo "$ac_try_echo"; } >&5
2886 (eval "$ac_link") 2>conftest.err
2887 ac_status=$?
2888 if test -s conftest.err; then
2889 grep -v '^ *+' conftest.err >conftest.er1
2890 cat conftest.er1 >&5
2891 mv -f conftest.er1 conftest.err
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; } && {
2895 test -z "$ac_c_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest$ac_exeext && {
2898 test "$cross_compiling" = yes ||
2899 test -x conftest$ac_exeext
2900 }; then :
2901 ac_retval=0
2902 else
2903 $as_echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_retval=1
2908 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2909 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2910 # interfere with the next link command; also delete a directory that is
2911 # left behind by Apple's compiler. We do this before executing the actions.
2912 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 as_fn_set_status $ac_retval
2916 } # ac_fn_c_try_link
2918 # ac_fn_c_try_cpp LINENO
2919 # ----------------------
2920 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2921 ac_fn_c_try_cpp ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 if { { ac_try="$ac_cpp conftest.$ac_ext"
2925 case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2932 ac_status=$?
2933 if test -s conftest.err; then
2934 grep -v '^ *+' conftest.err >conftest.er1
2935 cat conftest.er1 >&5
2936 mv -f conftest.er1 conftest.err
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; } > conftest.i && {
2940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 }; then :
2943 ac_retval=0
2944 else
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2948 ac_retval=1
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_c_try_cpp
2955 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2956 # -------------------------------------------------------
2957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2958 # the include files in INCLUDES and setting the cache variable VAR
2959 # accordingly.
2960 ac_fn_c_check_header_mongrel ()
2962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2963 if eval \${$3+:} false; then :
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2965 $as_echo_n "checking for $2... " >&6; }
2966 if eval \${$3+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 eval ac_res=\$$3
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2971 $as_echo "$ac_res" >&6; }
2972 else
2973 # Is the header compilable?
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2975 $as_echo_n "checking $2 usability... " >&6; }
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2979 #include <$2>
2980 _ACEOF
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 ac_header_compiler=yes
2983 else
2984 ac_header_compiler=no
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2988 $as_echo "$ac_header_compiler" >&6; }
2990 # Is the header present?
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2992 $as_echo_n "checking $2 presence... " >&6; }
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2995 #include <$2>
2996 _ACEOF
2997 if ac_fn_c_try_cpp "$LINENO"; then :
2998 ac_header_preproc=yes
2999 else
3000 ac_header_preproc=no
3002 rm -f conftest.err conftest.i conftest.$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3004 $as_echo "$ac_header_preproc" >&6; }
3006 # So? What about this header?
3007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3008 yes:no: )
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3014 no:yes:* )
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3018 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3022 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3025 ( $as_echo "## ------------------------------------ ##
3026 ## Report this to wine-devel@winehq.org ##
3027 ## ------------------------------------ ##"
3028 ) | sed "s/^/$as_me: WARNING: /" >&2
3030 esac
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3032 $as_echo_n "checking for $2... " >&6; }
3033 if eval \${$3+:} false; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 eval "$3=\$ac_header_compiler"
3038 eval ac_res=\$$3
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3040 $as_echo "$ac_res" >&6; }
3042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044 } # ac_fn_c_check_header_mongrel
3046 # ac_fn_c_try_run LINENO
3047 # ----------------------
3048 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3049 # that executables *can* be run.
3050 ac_fn_c_try_run ()
3052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3053 if { { ac_try="$ac_link"
3054 case "(($ac_try" in
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3057 esac
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_link") 2>&5
3061 ac_status=$?
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3064 { { case "(($ac_try" in
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3067 esac
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_try") 2>&5
3071 ac_status=$?
3072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073 test $ac_status = 0; }; }; then :
3074 ac_retval=0
3075 else
3076 $as_echo "$as_me: program exited with status $ac_status" >&5
3077 $as_echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 ac_retval=$ac_status
3082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084 as_fn_set_status $ac_retval
3086 } # ac_fn_c_try_run
3088 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3089 # -------------------------------------------------------
3090 # Tests whether HEADER exists and can be compiled using the include files in
3091 # INCLUDES, setting the cache variable VAR accordingly.
3092 ac_fn_c_check_header_compile ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3096 $as_echo_n "checking for $2... " >&6; }
3097 if eval \${$3+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3103 #include <$2>
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 eval "$3=yes"
3107 else
3108 eval "$3=no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 eval ac_res=\$$3
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 $as_echo "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_header_compile
3119 # ac_fn_objc_try_compile LINENO
3120 # -----------------------------
3121 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3122 ac_fn_objc_try_compile ()
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 rm -f conftest.$ac_objext
3126 if { { ac_try="$ac_compile"
3127 case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3130 esac
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compile") 2>conftest.err
3134 ac_status=$?
3135 if test -s conftest.err; then
3136 grep -v '^ *+' conftest.err >conftest.er1
3137 cat conftest.er1 >&5
3138 mv -f conftest.er1 conftest.err
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; } && {
3142 test -z "$ac_objc_werror_flag" ||
3143 test ! -s conftest.err
3144 } && test -s conftest.$ac_objext; then :
3145 ac_retval=0
3146 else
3147 $as_echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 ac_retval=1
3152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3153 as_fn_set_status $ac_retval
3155 } # ac_fn_objc_try_compile
3157 # ac_fn_objc_try_cpp LINENO
3158 # -------------------------
3159 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3160 ac_fn_objc_try_cpp ()
3162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3163 if { { ac_try="$ac_cpp conftest.$ac_ext"
3164 case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167 esac
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3171 ac_status=$?
3172 if test -s conftest.err; then
3173 grep -v '^ *+' conftest.err >conftest.er1
3174 cat conftest.er1 >&5
3175 mv -f conftest.er1 conftest.err
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; } > conftest.i && {
3179 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3180 test ! -s conftest.err
3181 }; then :
3182 ac_retval=0
3183 else
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 ac_retval=1
3189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 as_fn_set_status $ac_retval
3192 } # ac_fn_objc_try_cpp
3194 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3195 # ----------------------------------------------------------
3196 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3197 # the include files in INCLUDES and setting the cache variable VAR
3198 # accordingly.
3199 ac_fn_objc_check_header_mongrel ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 if eval \${$3+:} false; then :
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \${$3+:} false; then :
3206 $as_echo_n "(cached) " >&6
3208 eval ac_res=\$$3
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3210 $as_echo "$ac_res" >&6; }
3211 else
3212 # Is the header compilable?
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3214 $as_echo_n "checking $2 usability... " >&6; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3218 #include <$2>
3219 _ACEOF
3220 if ac_fn_objc_try_compile "$LINENO"; then :
3221 ac_header_compiler=yes
3222 else
3223 ac_header_compiler=no
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3227 $as_echo "$ac_header_compiler" >&6; }
3229 # Is the header present?
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3231 $as_echo_n "checking $2 presence... " >&6; }
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3234 #include <$2>
3235 _ACEOF
3236 if ac_fn_objc_try_cpp "$LINENO"; then :
3237 ac_header_preproc=yes
3238 else
3239 ac_header_preproc=no
3241 rm -f conftest.err conftest.i conftest.$ac_ext
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3243 $as_echo "$ac_header_preproc" >&6; }
3245 # So? What about this header?
3246 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3247 yes:no: )
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3249 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3251 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3253 no:yes:* )
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3255 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3257 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3259 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3261 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3263 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3264 ( $as_echo "## ------------------------------------ ##
3265 ## Report this to wine-devel@winehq.org ##
3266 ## ------------------------------------ ##"
3267 ) | sed "s/^/$as_me: WARNING: /" >&2
3269 esac
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3271 $as_echo_n "checking for $2... " >&6; }
3272 if eval \${$3+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 eval "$3=\$ac_header_compiler"
3277 eval ac_res=\$$3
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3281 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3283 } # ac_fn_objc_check_header_mongrel
3285 # ac_fn_c_check_func LINENO FUNC VAR
3286 # ----------------------------------
3287 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3288 ac_fn_c_check_func ()
3290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3292 $as_echo_n "checking for $2... " >&6; }
3293 if eval \${$3+:} false; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3298 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3300 #define $2 innocuous_$2
3302 /* System header to define __stub macros and hopefully few prototypes,
3303 which can conflict with char $2 (); below.
3304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3305 <limits.h> exists even on freestanding compilers. */
3307 #ifdef __STDC__
3308 # include <limits.h>
3309 #else
3310 # include <assert.h>
3311 #endif
3313 #undef $2
3315 /* Override any GCC internal prototype to avoid an error.
3316 Use char because int might match the return type of a GCC
3317 builtin and then its argument prototype would still apply. */
3318 #ifdef __cplusplus
3319 extern "C"
3320 #endif
3321 char $2 ();
3322 /* The GNU C library defines this for functions which it implements
3323 to always fail with ENOSYS. Some functions are actually named
3324 something starting with __ and the normal name is an alias. */
3325 #if defined __stub_$2 || defined __stub___$2
3326 choke me
3327 #endif
3330 main ()
3332 return $2 ();
3334 return 0;
3336 _ACEOF
3337 if ac_fn_c_try_link "$LINENO"; then :
3338 eval "$3=yes"
3339 else
3340 eval "$3=no"
3342 rm -f core conftest.err conftest.$ac_objext \
3343 conftest$ac_exeext conftest.$ac_ext
3345 eval ac_res=\$$3
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3347 $as_echo "$ac_res" >&6; }
3348 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3350 } # ac_fn_c_check_func
3352 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3353 # ----------------------------------------------------
3354 # Tries to find if the field MEMBER exists in type AGGR, after including
3355 # INCLUDES, setting cache variable VAR accordingly.
3356 ac_fn_c_check_member ()
3358 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3360 $as_echo_n "checking for $2.$3... " >&6; }
3361 if eval \${$4+:} false; then :
3362 $as_echo_n "(cached) " >&6
3363 else
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 main ()
3370 static $2 ac_aggr;
3371 if (ac_aggr.$3)
3372 return 0;
3374 return 0;
3376 _ACEOF
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 eval "$4=yes"
3379 else
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 main ()
3386 static $2 ac_aggr;
3387 if (sizeof ac_aggr.$3)
3388 return 0;
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 eval "$4=yes"
3395 else
3396 eval "$4=no"
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 eval ac_res=\$$4
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3404 $as_echo "$ac_res" >&6; }
3405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3407 } # ac_fn_c_check_member
3409 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3410 # -------------------------------------------
3411 # Tests whether TYPE exists after having included INCLUDES, setting cache
3412 # variable VAR accordingly.
3413 ac_fn_c_check_type ()
3415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3417 $as_echo_n "checking for $2... " >&6; }
3418 if eval \${$3+:} false; then :
3419 $as_echo_n "(cached) " >&6
3420 else
3421 eval "$3=no"
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3426 main ()
3428 if (sizeof ($2))
3429 return 0;
3431 return 0;
3433 _ACEOF
3434 if ac_fn_c_try_compile "$LINENO"; then :
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3439 main ()
3441 if (sizeof (($2)))
3442 return 0;
3444 return 0;
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3449 else
3450 eval "$3=yes"
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 eval ac_res=\$$3
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3458 $as_echo "$ac_res" >&6; }
3459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3461 } # ac_fn_c_check_type
3462 cat >config.log <<_ACEOF
3463 This file contains any messages produced by compilers while
3464 running configure, to aid debugging if configure makes a mistake.
3466 It was created by Wine $as_me 5.8, which was
3467 generated by GNU Autoconf 2.69. Invocation command line was
3469 $ $0 $@
3471 _ACEOF
3472 exec 5>>config.log
3474 cat <<_ASUNAME
3475 ## --------- ##
3476 ## Platform. ##
3477 ## --------- ##
3479 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3480 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3481 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3482 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3483 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3485 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3486 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3488 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3489 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3490 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3491 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3492 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3493 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3494 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3496 _ASUNAME
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 for as_dir in $PATH
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 $as_echo "PATH: $as_dir"
3504 done
3505 IFS=$as_save_IFS
3507 } >&5
3509 cat >&5 <<_ACEOF
3512 ## ----------- ##
3513 ## Core tests. ##
3514 ## ----------- ##
3516 _ACEOF
3519 # Keep a trace of the command line.
3520 # Strip out --no-create and --no-recursion so they do not pile up.
3521 # Strip out --silent because we don't want to record it for future runs.
3522 # Also quote any args containing shell meta-characters.
3523 # Make two passes to allow for proper duplicate-argument suppression.
3524 ac_configure_args=
3525 ac_configure_args0=
3526 ac_configure_args1=
3527 ac_must_keep_next=false
3528 for ac_pass in 1 2
3530 for ac_arg
3532 case $ac_arg in
3533 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3535 | -silent | --silent | --silen | --sile | --sil)
3536 continue ;;
3537 *\'*)
3538 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3539 esac
3540 case $ac_pass in
3541 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3543 as_fn_append ac_configure_args1 " '$ac_arg'"
3544 if test $ac_must_keep_next = true; then
3545 ac_must_keep_next=false # Got value, back to normal.
3546 else
3547 case $ac_arg in
3548 *=* | --config-cache | -C | -disable-* | --disable-* \
3549 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3550 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3551 | -with-* | --with-* | -without-* | --without-* | --x)
3552 case "$ac_configure_args0 " in
3553 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3554 esac
3556 -* ) ac_must_keep_next=true ;;
3557 esac
3559 as_fn_append ac_configure_args " '$ac_arg'"
3561 esac
3562 done
3563 done
3564 { ac_configure_args0=; unset ac_configure_args0;}
3565 { ac_configure_args1=; unset ac_configure_args1;}
3567 # When interrupted or exit'd, cleanup temporary files, and complete
3568 # config.log. We remove comments because anyway the quotes in there
3569 # would cause problems or look ugly.
3570 # WARNING: Use '\'' to represent an apostrophe within the trap.
3571 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3572 trap 'exit_status=$?
3573 # Save into config.log some information that might help in debugging.
3575 echo
3577 $as_echo "## ---------------- ##
3578 ## Cache variables. ##
3579 ## ---------------- ##"
3580 echo
3581 # The following way of writing the cache mishandles newlines in values,
3583 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3584 eval ac_val=\$$ac_var
3585 case $ac_val in #(
3586 *${as_nl}*)
3587 case $ac_var in #(
3588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3590 esac
3591 case $ac_var in #(
3592 _ | IFS | as_nl) ;; #(
3593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3594 *) { eval $ac_var=; unset $ac_var;} ;;
3595 esac ;;
3596 esac
3597 done
3598 (set) 2>&1 |
3599 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3600 *${as_nl}ac_space=\ *)
3601 sed -n \
3602 "s/'\''/'\''\\\\'\'''\''/g;
3603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3604 ;; #(
3606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3608 esac |
3609 sort
3611 echo
3613 $as_echo "## ----------------- ##
3614 ## Output variables. ##
3615 ## ----------------- ##"
3616 echo
3617 for ac_var in $ac_subst_vars
3619 eval ac_val=\$$ac_var
3620 case $ac_val in
3621 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3622 esac
3623 $as_echo "$ac_var='\''$ac_val'\''"
3624 done | sort
3625 echo
3627 if test -n "$ac_subst_files"; then
3628 $as_echo "## ------------------- ##
3629 ## File substitutions. ##
3630 ## ------------------- ##"
3631 echo
3632 for ac_var in $ac_subst_files
3634 eval ac_val=\$$ac_var
3635 case $ac_val in
3636 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3637 esac
3638 $as_echo "$ac_var='\''$ac_val'\''"
3639 done | sort
3640 echo
3643 if test -s confdefs.h; then
3644 $as_echo "## ----------- ##
3645 ## confdefs.h. ##
3646 ## ----------- ##"
3647 echo
3648 cat confdefs.h
3649 echo
3651 test "$ac_signal" != 0 &&
3652 $as_echo "$as_me: caught signal $ac_signal"
3653 $as_echo "$as_me: exit $exit_status"
3654 } >&5
3655 rm -f core *.core core.conftest.* &&
3656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3657 exit $exit_status
3659 for ac_signal in 1 2 13 15; do
3660 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3661 done
3662 ac_signal=0
3664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3665 rm -f -r conftest* confdefs.h
3667 $as_echo "/* confdefs.h */" > confdefs.h
3669 # Predefined preprocessor variables.
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_NAME "$PACKAGE_NAME"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_STRING "$PACKAGE_STRING"
3685 _ACEOF
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3689 _ACEOF
3691 cat >>confdefs.h <<_ACEOF
3692 #define PACKAGE_URL "$PACKAGE_URL"
3693 _ACEOF
3696 # Let the site file select an alternate cache file if it wants to.
3697 # Prefer an explicitly selected file to automatically selected ones.
3698 ac_site_file1=NONE
3699 ac_site_file2=NONE
3700 if test -n "$CONFIG_SITE"; then
3701 # We do not want a PATH search for config.site.
3702 case $CONFIG_SITE in #((
3703 -*) ac_site_file1=./$CONFIG_SITE;;
3704 */*) ac_site_file1=$CONFIG_SITE;;
3705 *) ac_site_file1=./$CONFIG_SITE;;
3706 esac
3707 elif test "x$prefix" != xNONE; then
3708 ac_site_file1=$prefix/share/config.site
3709 ac_site_file2=$prefix/etc/config.site
3710 else
3711 ac_site_file1=$ac_default_prefix/share/config.site
3712 ac_site_file2=$ac_default_prefix/etc/config.site
3714 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3716 test "x$ac_site_file" = xNONE && continue
3717 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3719 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3720 sed 's/^/| /' "$ac_site_file" >&5
3721 . "$ac_site_file" \
3722 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "failed to load site script $ac_site_file
3725 See \`config.log' for more details" "$LINENO" 5; }
3727 done
3729 if test -r "$cache_file"; then
3730 # Some versions of bash will fail to source /dev/null (special files
3731 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3732 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3734 $as_echo "$as_me: loading cache $cache_file" >&6;}
3735 case $cache_file in
3736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3737 *) . "./$cache_file";;
3738 esac
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3742 $as_echo "$as_me: creating cache $cache_file" >&6;}
3743 >$cache_file
3746 # Check that the precious variables saved in the cache have kept the same
3747 # value.
3748 ac_cache_corrupted=false
3749 for ac_var in $ac_precious_vars; do
3750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3751 eval ac_new_set=\$ac_env_${ac_var}_set
3752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3753 eval ac_new_val=\$ac_env_${ac_var}_value
3754 case $ac_old_set,$ac_new_set in
3755 set,)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3758 ac_cache_corrupted=: ;;
3759 ,set)
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3762 ac_cache_corrupted=: ;;
3763 ,);;
3765 if test "x$ac_old_val" != "x$ac_new_val"; then
3766 # differences in whitespace do not lead to failure.
3767 ac_old_val_w=`echo x $ac_old_val`
3768 ac_new_val_w=`echo x $ac_new_val`
3769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3772 ac_cache_corrupted=:
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3776 eval $ac_var=\$ac_old_val
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3782 fi;;
3783 esac
3784 # Pass precious variables to config.status.
3785 if test "$ac_new_set" = set; then
3786 case $ac_new_val in
3787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3788 *) ac_arg=$ac_var=$ac_new_val ;;
3789 esac
3790 case " $ac_configure_args " in
3791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3793 esac
3795 done
3796 if $ac_cache_corrupted; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3801 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3803 ## -------------------- ##
3804 ## Main body of script. ##
3805 ## -------------------- ##
3807 ac_ext=c
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 ac_config_headers="$ac_config_headers include/config.h"
3817 ac_aux_dir=
3818 for ac_dir in tools "$srcdir"/tools; do
3819 if 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/install.sh"; then
3824 ac_aux_dir=$ac_dir
3825 ac_install_sh="$ac_aux_dir/install.sh -c"
3826 break
3827 elif test -f "$ac_dir/shtool"; then
3828 ac_aux_dir=$ac_dir
3829 ac_install_sh="$ac_aux_dir/shtool install -c"
3830 break
3832 done
3833 if test -z "$ac_aux_dir"; then
3834 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3837 # These three variables are undocumented and unsupported,
3838 # and are intended to be withdrawn in a future Autoconf release.
3839 # They can cause serious problems if a builder's source tree is in a directory
3840 # whose full name contains unusual characters.
3841 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3842 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3843 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3847 libwine_version="1.0"
3851 # Check whether --enable-win16 was given.
3852 if test "${enable_win16+set}" = set; then :
3853 enableval=$enable_win16;
3856 # Check whether --enable-win64 was given.
3857 if test "${enable_win64+set}" = set; then :
3858 enableval=$enable_win64;
3861 # Check whether --enable-tests was given.
3862 if test "${enable_tests+set}" = set; then :
3863 enableval=$enable_tests;
3866 # Check whether --enable-maintainer-mode was given.
3867 if test "${enable_maintainer_mode+set}" = set; then :
3868 enableval=$enable_maintainer_mode;
3871 # Check whether --enable-werror was given.
3872 if test "${enable_werror+set}" = set; then :
3873 enableval=$enable_werror;
3878 # Check whether --with-alsa was given.
3879 if test "${with_alsa+set}" = set; then :
3880 withval=$with_alsa;
3884 # Check whether --with-capi was given.
3885 if test "${with_capi+set}" = set; then :
3886 withval=$with_capi;
3890 # Check whether --with-cms was given.
3891 if test "${with_cms+set}" = set; then :
3892 withval=$with_cms;
3896 # Check whether --with-coreaudio was given.
3897 if test "${with_coreaudio+set}" = set; then :
3898 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3902 # Check whether --with-cups was given.
3903 if test "${with_cups+set}" = set; then :
3904 withval=$with_cups;
3908 # Check whether --with-curses was given.
3909 if test "${with_curses+set}" = set; then :
3910 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3914 # Check whether --with-dbus was given.
3915 if test "${with_dbus+set}" = set; then :
3916 withval=$with_dbus;
3920 # Check whether --with-faudio was given.
3921 if test "${with_faudio+set}" = set; then :
3922 withval=$with_faudio;
3926 # Check whether --with-float-abi was given.
3927 if test "${with_float_abi+set}" = set; then :
3928 withval=$with_float_abi;
3932 # Check whether --with-fontconfig was given.
3933 if test "${with_fontconfig+set}" = set; then :
3934 withval=$with_fontconfig;
3938 # Check whether --with-freetype was given.
3939 if test "${with_freetype+set}" = set; then :
3940 withval=$with_freetype;
3944 # Check whether --with-gettext was given.
3945 if test "${with_gettext+set}" = set; then :
3946 withval=$with_gettext;
3950 # Check whether --with-gettextpo was given.
3951 if test "${with_gettextpo+set}" = set; then :
3952 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3956 # Check whether --with-gphoto was given.
3957 if test "${with_gphoto+set}" = set; then :
3958 withval=$with_gphoto;
3962 # Check whether --with-glu was given.
3963 if test "${with_glu+set}" = set; then :
3964 withval=$with_glu;
3968 # Check whether --with-gnutls was given.
3969 if test "${with_gnutls+set}" = set; then :
3970 withval=$with_gnutls;
3974 # Check whether --with-gsm was given.
3975 if test "${with_gsm+set}" = set; then :
3976 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3980 # Check whether --with-gssapi was given.
3981 if test "${with_gssapi+set}" = set; then :
3982 withval=$with_gssapi;
3986 # Check whether --with-gstreamer was given.
3987 if test "${with_gstreamer+set}" = set; then :
3988 withval=$with_gstreamer;
3992 # Check whether --with-hal was given.
3993 if test "${with_hal+set}" = set; then :
3994 withval=$with_hal;
3998 # Check whether --with-inotify was given.
3999 if test "${with_inotify+set}" = set; then :
4000 withval=$with_inotify;
4004 # Check whether --with-jpeg was given.
4005 if test "${with_jpeg+set}" = set; then :
4006 withval=$with_jpeg;
4010 # Check whether --with-krb5 was given.
4011 if test "${with_krb5+set}" = set; then :
4012 withval=$with_krb5;
4016 # Check whether --with-ldap was given.
4017 if test "${with_ldap+set}" = set; then :
4018 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4022 # Check whether --with-mingw was given.
4023 if test "${with_mingw+set}" = set; then :
4024 withval=$with_mingw;
4028 # Check whether --with-mpg123 was given.
4029 if test "${with_mpg123+set}" = set; then :
4030 withval=$with_mpg123;
4034 # Check whether --with-netapi was given.
4035 if test "${with_netapi+set}" = set; then :
4036 withval=$with_netapi;
4040 # Check whether --with-openal was given.
4041 if test "${with_openal+set}" = set; then :
4042 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4046 # Check whether --with-opencl was given.
4047 if test "${with_opencl+set}" = set; then :
4048 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4052 # Check whether --with-opengl was given.
4053 if test "${with_opengl+set}" = set; then :
4054 withval=$with_opengl;
4058 # Check whether --with-osmesa was given.
4059 if test "${with_osmesa+set}" = set; then :
4060 withval=$with_osmesa;
4064 # Check whether --with-oss was given.
4065 if test "${with_oss+set}" = set; then :
4066 withval=$with_oss;
4070 # Check whether --with-pcap was given.
4071 if test "${with_pcap+set}" = set; then :
4072 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4076 # Check whether --with-png was given.
4077 if test "${with_png+set}" = set; then :
4078 withval=$with_png;
4082 # Check whether --with-pthread was given.
4083 if test "${with_pthread+set}" = set; then :
4084 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4088 # Check whether --with-pulse was given.
4089 if test "${with_pulse+set}" = set; then :
4090 withval=$with_pulse;
4094 # Check whether --with-sane was given.
4095 if test "${with_sane+set}" = set; then :
4096 withval=$with_sane;
4100 # Check whether --with-sdl was given.
4101 if test "${with_sdl+set}" = set; then :
4102 withval=$with_sdl;
4106 # Check whether --with-tiff was given.
4107 if test "${with_tiff+set}" = set; then :
4108 withval=$with_tiff;
4112 # Check whether --with-udev was given.
4113 if test "${with_udev+set}" = set; then :
4114 withval=$with_udev;
4118 # Check whether --with-unwind was given.
4119 if test "${with_unwind+set}" = set; then :
4120 withval=$with_unwind;
4124 # Check whether --with-usb was given.
4125 if test "${with_usb+set}" = set; then :
4126 withval=$with_usb;
4130 # Check whether --with-v4l2 was given.
4131 if test "${with_v4l2+set}" = set; then :
4132 withval=$with_v4l2;
4136 # Check whether --with-vkd3d was given.
4137 if test "${with_vkd3d+set}" = set; then :
4138 withval=$with_vkd3d;
4142 # Check whether --with-vulkan was given.
4143 if test "${with_vulkan+set}" = set; then :
4144 withval=$with_vulkan;
4148 # Check whether --with-xcomposite was given.
4149 if test "${with_xcomposite+set}" = set; then :
4150 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4154 # Check whether --with-xcursor was given.
4155 if test "${with_xcursor+set}" = set; then :
4156 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4160 # Check whether --with-xfixes was given.
4161 if test "${with_xfixes+set}" = set; then :
4162 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4166 # Check whether --with-xinerama was given.
4167 if test "${with_xinerama+set}" = set; then :
4168 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4172 # Check whether --with-xinput was given.
4173 if test "${with_xinput+set}" = set; then :
4174 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4178 # Check whether --with-xinput2 was given.
4179 if test "${with_xinput2+set}" = set; then :
4180 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4184 # Check whether --with-xml was given.
4185 if test "${with_xml+set}" = set; then :
4186 withval=$with_xml;
4190 # Check whether --with-xrandr was given.
4191 if test "${with_xrandr+set}" = set; then :
4192 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4196 # Check whether --with-xrender was given.
4197 if test "${with_xrender+set}" = set; then :
4198 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4202 # Check whether --with-xshape was given.
4203 if test "${with_xshape+set}" = set; then :
4204 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4208 # Check whether --with-xshm was given.
4209 if test "${with_xshm+set}" = set; then :
4210 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4214 # Check whether --with-xslt was given.
4215 if test "${with_xslt+set}" = set; then :
4216 withval=$with_xslt;
4220 # Check whether --with-xxf86vm was given.
4221 if test "${with_xxf86vm+set}" = set; then :
4222 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
4227 # Check whether --with-wine-tools was given.
4228 if test "${with_wine_tools+set}" = set; then :
4229 withval=$with_wine_tools;
4233 # Check whether --with-wine64 was given.
4234 if test "${with_wine64+set}" = set; then :
4235 withval=$with_wine64;
4239 # Make sure we can run config.sub.
4240 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4241 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4244 $as_echo_n "checking build system type... " >&6; }
4245 if ${ac_cv_build+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 ac_build_alias=$build_alias
4249 test "x$ac_build_alias" = x &&
4250 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4251 test "x$ac_build_alias" = x &&
4252 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4253 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4254 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4258 $as_echo "$ac_cv_build" >&6; }
4259 case $ac_cv_build in
4260 *-*-*) ;;
4261 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4262 esac
4263 build=$ac_cv_build
4264 ac_save_IFS=$IFS; IFS='-'
4265 set x $ac_cv_build
4266 shift
4267 build_cpu=$1
4268 build_vendor=$2
4269 shift; shift
4270 # Remember, the first character of IFS is used to create $*,
4271 # except with old shells:
4272 build_os=$*
4273 IFS=$ac_save_IFS
4274 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4278 $as_echo_n "checking host system type... " >&6; }
4279 if ${ac_cv_host+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 if test "x$host_alias" = x; then
4283 ac_cv_host=$ac_cv_build
4284 else
4285 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4286 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4291 $as_echo "$ac_cv_host" >&6; }
4292 case $ac_cv_host in
4293 *-*-*) ;;
4294 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4295 esac
4296 host=$ac_cv_host
4297 ac_save_IFS=$IFS; IFS='-'
4298 set x $ac_cv_host
4299 shift
4300 host_cpu=$1
4301 host_vendor=$2
4302 shift; shift
4303 # Remember, the first character of IFS is used to create $*,
4304 # except with old shells:
4305 host_os=$*
4306 IFS=$ac_save_IFS
4307 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4314 set x ${MAKE-make}
4315 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4316 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 cat >conftest.make <<\_ACEOF
4320 SHELL = /bin/sh
4321 all:
4322 @echo '@@@%%%=$(MAKE)=@@@%%%'
4323 _ACEOF
4324 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4325 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4326 *@@@%%%=?*=@@@%%%*)
4327 eval ac_cv_prog_make_${ac_make}_set=yes;;
4329 eval ac_cv_prog_make_${ac_make}_set=no;;
4330 esac
4331 rm -f conftest.make
4333 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4335 $as_echo "yes" >&6; }
4336 SET_MAKE=
4337 else
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4340 SET_MAKE="MAKE=${MAKE-make}"
4343 ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 if test -n "$ac_tool_prefix"; then
4349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4350 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_CC+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 if test -n "$CC"; then
4357 ac_cv_prog_CC="$CC" # Let the user override the test.
4358 else
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH
4362 IFS=$as_save_IFS
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 break 2
4370 done
4371 done
4372 IFS=$as_save_IFS
4376 CC=$ac_cv_prog_CC
4377 if test -n "$CC"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4379 $as_echo "$CC" >&6; }
4380 else
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4387 if test -z "$ac_cv_prog_CC"; then
4388 ac_ct_CC=$CC
4389 # Extract the first word of "gcc", so it can be a program name with args.
4390 set dummy gcc; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 if test -n "$ac_ct_CC"; then
4397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4398 else
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4402 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_ac_ct_CC="gcc"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 break 2
4410 done
4411 done
4412 IFS=$as_save_IFS
4416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4417 if test -n "$ac_ct_CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4419 $as_echo "$ac_ct_CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4425 if test "x$ac_ct_CC" = x; then
4426 CC=""
4427 else
4428 case $cross_compiling:$ac_tool_warned in
4429 yes:)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4433 esac
4434 CC=$ac_ct_CC
4436 else
4437 CC="$ac_cv_prog_CC"
4440 if test -z "$CC"; then
4441 if test -n "$ac_tool_prefix"; then
4442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}cc; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_CC+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 if test -n "$CC"; then
4450 ac_cv_prog_CC="$CC" # Let the user override the test.
4451 else
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4455 IFS=$as_save_IFS
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_CC="${ac_tool_prefix}cc"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 break 2
4463 done
4464 done
4465 IFS=$as_save_IFS
4469 CC=$ac_cv_prog_CC
4470 if test -n "$CC"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4472 $as_echo "$CC" >&6; }
4473 else
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4481 if test -z "$CC"; then
4482 # Extract the first word of "cc", so it can be a program name with args.
4483 set dummy cc; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_CC+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488 else
4489 if test -n "$CC"; then
4490 ac_cv_prog_CC="$CC" # Let the user override the test.
4491 else
4492 ac_prog_rejected=no
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494 for as_dir in $PATH
4496 IFS=$as_save_IFS
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4501 ac_prog_rejected=yes
4502 continue
4504 ac_cv_prog_CC="cc"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 break 2
4508 done
4509 done
4510 IFS=$as_save_IFS
4512 if test $ac_prog_rejected = yes; then
4513 # We found a bogon in the path, so make sure we never use it.
4514 set dummy $ac_cv_prog_CC
4515 shift
4516 if test $# != 0; then
4517 # We chose a different compiler from the bogus one.
4518 # However, it has the same basename, so the bogon will be chosen
4519 # first if we set CC to just the basename; use the full file name.
4520 shift
4521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4526 CC=$ac_cv_prog_CC
4527 if test -n "$CC"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4529 $as_echo "$CC" >&6; }
4530 else
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4537 if test -z "$CC"; then
4538 if test -n "$ac_tool_prefix"; then
4539 for ac_prog in cl.exe
4541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_CC+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 if test -n "$CC"; then
4549 ac_cv_prog_CC="$CC" # Let the user override the test.
4550 else
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 for as_dir in $PATH
4554 IFS=$as_save_IFS
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 break 2
4562 done
4563 done
4564 IFS=$as_save_IFS
4568 CC=$ac_cv_prog_CC
4569 if test -n "$CC"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4571 $as_echo "$CC" >&6; }
4572 else
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4578 test -n "$CC" && break
4579 done
4581 if test -z "$CC"; then
4582 ac_ct_CC=$CC
4583 for ac_prog in cl.exe
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 if test -n "$ac_ct_CC"; then
4593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CC="$ac_prog"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4608 IFS=$as_save_IFS
4612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4613 if test -n "$ac_ct_CC"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4615 $as_echo "$ac_ct_CC" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4622 test -n "$ac_ct_CC" && break
4623 done
4625 if test "x$ac_ct_CC" = x; then
4626 CC=""
4627 else
4628 case $cross_compiling:$ac_tool_warned in
4629 yes:)
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned=yes ;;
4633 esac
4634 CC=$ac_ct_CC
4641 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4643 as_fn_error $? "no acceptable C compiler found in \$PATH
4644 See \`config.log' for more details" "$LINENO" 5; }
4646 # Provide some information about the compiler.
4647 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4648 set X $ac_compile
4649 ac_compiler=$2
4650 for ac_option in --version -v -V -qversion; do
4651 { { ac_try="$ac_compiler $ac_option >&5"
4652 case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4657 $as_echo "$ac_try_echo"; } >&5
4658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4659 ac_status=$?
4660 if test -s conftest.err; then
4661 sed '10a\
4662 ... rest of stderr output deleted ...
4663 10q' conftest.err >conftest.er1
4664 cat conftest.er1 >&5
4666 rm -f conftest.er1 conftest.err
4667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668 test $ac_status = 0; }
4669 done
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 ac_clean_files_save=$ac_clean_files
4683 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4684 # Try to create an executable without -o first, disregard a.out.
4685 # It will help us diagnose broken compilers, and finding out an intuition
4686 # of exeext.
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4688 $as_echo_n "checking whether the C compiler works... " >&6; }
4689 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4691 # The possible output files:
4692 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4694 ac_rmfiles=
4695 for ac_file in $ac_files
4697 case $ac_file in
4698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4700 esac
4701 done
4702 rm -f $ac_rmfiles
4704 if { { ac_try="$ac_link_default"
4705 case "(($ac_try" in
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4708 esac
4709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4710 $as_echo "$ac_try_echo"; } >&5
4711 (eval "$ac_link_default") 2>&5
4712 ac_status=$?
4713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714 test $ac_status = 0; }; then :
4715 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4716 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4717 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4718 # so that the user can short-circuit this test for compilers unknown to
4719 # Autoconf.
4720 for ac_file in $ac_files ''
4722 test -f "$ac_file" || continue
4723 case $ac_file in
4724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4726 [ab].out )
4727 # We found the default executable, but exeext='' is most
4728 # certainly right.
4729 break;;
4730 *.* )
4731 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4732 then :; else
4733 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4735 # We set ac_cv_exeext here because the later test for it is not
4736 # safe: cross compilers may not add the suffix if given an `-o'
4737 # argument, so we may need to know it at that point already.
4738 # Even if this section looks crufty: it has the advantage of
4739 # actually working.
4740 break;;
4742 break;;
4743 esac
4744 done
4745 test "$ac_cv_exeext" = no && ac_cv_exeext=
4747 else
4748 ac_file=''
4750 if test -z "$ac_file"; then :
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4753 $as_echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4758 as_fn_error 77 "C compiler cannot create executables
4759 See \`config.log' for more details" "$LINENO" 5; }
4760 else
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4762 $as_echo "yes" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4765 $as_echo_n "checking for C compiler default output file name... " >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4767 $as_echo "$ac_file" >&6; }
4768 ac_exeext=$ac_cv_exeext
4770 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4771 ac_clean_files=$ac_clean_files_save
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4773 $as_echo_n "checking for suffix of executables... " >&6; }
4774 if { { ac_try="$ac_link"
4775 case "(($ac_try" in
4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4778 esac
4779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4780 $as_echo "$ac_try_echo"; } >&5
4781 (eval "$ac_link") 2>&5
4782 ac_status=$?
4783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4784 test $ac_status = 0; }; then :
4785 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4786 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4787 # work properly (i.e., refer to `conftest.exe'), while it won't with
4788 # `rm'.
4789 for ac_file in conftest.exe conftest conftest.*; do
4790 test -f "$ac_file" || continue
4791 case $ac_file in
4792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4793 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4794 break;;
4795 * ) break;;
4796 esac
4797 done
4798 else
4799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4801 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4802 See \`config.log' for more details" "$LINENO" 5; }
4804 rm -f conftest conftest$ac_cv_exeext
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4806 $as_echo "$ac_cv_exeext" >&6; }
4808 rm -f conftest.$ac_ext
4809 EXEEXT=$ac_cv_exeext
4810 ac_exeext=$EXEEXT
4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4813 #include <stdio.h>
4815 main ()
4817 FILE *f = fopen ("conftest.out", "w");
4818 return ferror (f) || fclose (f) != 0;
4821 return 0;
4823 _ACEOF
4824 ac_clean_files="$ac_clean_files conftest.out"
4825 # Check that the compiler produces executables we can run. If not, either
4826 # the compiler is broken, or we cross compile.
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4828 $as_echo_n "checking whether we are cross compiling... " >&6; }
4829 if test "$cross_compiling" != yes; then
4830 { { ac_try="$ac_link"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4836 $as_echo "$ac_try_echo"; } >&5
4837 (eval "$ac_link") 2>&5
4838 ac_status=$?
4839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4840 test $ac_status = 0; }
4841 if { ac_try='./conftest$ac_cv_exeext'
4842 { { case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847 $as_echo "$ac_try_echo"; } >&5
4848 (eval "$ac_try") 2>&5
4849 ac_status=$?
4850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851 test $ac_status = 0; }; }; then
4852 cross_compiling=no
4853 else
4854 if test "$cross_compiling" = maybe; then
4855 cross_compiling=yes
4856 else
4857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4859 as_fn_error $? "cannot run C compiled programs.
4860 If you meant to cross compile, use \`--host'.
4861 See \`config.log' for more details" "$LINENO" 5; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4866 $as_echo "$cross_compiling" >&6; }
4868 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4869 ac_clean_files=$ac_clean_files_save
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4871 $as_echo_n "checking for suffix of object files... " >&6; }
4872 if ${ac_cv_objext+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4883 return 0;
4885 _ACEOF
4886 rm -f conftest.o conftest.obj
4887 if { { ac_try="$ac_compile"
4888 case "(($ac_try" in
4889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4890 *) ac_try_echo=$ac_try;;
4891 esac
4892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4893 $as_echo "$ac_try_echo"; } >&5
4894 (eval "$ac_compile") 2>&5
4895 ac_status=$?
4896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4897 test $ac_status = 0; }; then :
4898 for ac_file in conftest.o conftest.obj conftest.*; do
4899 test -f "$ac_file" || continue;
4900 case $ac_file in
4901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4902 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4903 break;;
4904 esac
4905 done
4906 else
4907 $as_echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4912 as_fn_error $? "cannot compute suffix of object files: cannot compile
4913 See \`config.log' for more details" "$LINENO" 5; }
4915 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4918 $as_echo "$ac_cv_objext" >&6; }
4919 OBJEXT=$ac_cv_objext
4920 ac_objext=$OBJEXT
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4922 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4923 if ${ac_cv_c_compiler_gnu+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4932 #ifndef __GNUC__
4933 choke me
4934 #endif
4937 return 0;
4939 _ACEOF
4940 if ac_fn_c_try_compile "$LINENO"; then :
4941 ac_compiler_gnu=yes
4942 else
4943 ac_compiler_gnu=no
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4950 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4951 if test $ac_compiler_gnu = yes; then
4952 GCC=yes
4953 else
4954 GCC=
4956 ac_test_CFLAGS=${CFLAGS+set}
4957 ac_save_CFLAGS=$CFLAGS
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4959 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4960 if ${ac_cv_prog_cc_g+:} false; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 ac_save_c_werror_flag=$ac_c_werror_flag
4964 ac_c_werror_flag=yes
4965 ac_cv_prog_cc_g=no
4966 CFLAGS="-g"
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_c_try_compile "$LINENO"; then :
4979 ac_cv_prog_cc_g=yes
4980 else
4981 CFLAGS=""
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4986 main ()
4990 return 0;
4992 _ACEOF
4993 if ac_fn_c_try_compile "$LINENO"; then :
4995 else
4996 ac_c_werror_flag=$ac_save_c_werror_flag
4997 CFLAGS="-g"
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5006 return 0;
5008 _ACEOF
5009 if ac_fn_c_try_compile "$LINENO"; then :
5010 ac_cv_prog_cc_g=yes
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 ac_c_werror_flag=$ac_save_c_werror_flag
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5020 $as_echo "$ac_cv_prog_cc_g" >&6; }
5021 if test "$ac_test_CFLAGS" = set; then
5022 CFLAGS=$ac_save_CFLAGS
5023 elif test $ac_cv_prog_cc_g = yes; then
5024 if test "$GCC" = yes; then
5025 CFLAGS="-g -O2"
5026 else
5027 CFLAGS="-g"
5029 else
5030 if test "$GCC" = yes; then
5031 CFLAGS="-O2"
5032 else
5033 CFLAGS=
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5037 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5038 if ${ac_cv_prog_cc_c89+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 ac_cv_prog_cc_c89=no
5042 ac_save_CC=$CC
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5045 #include <stdarg.h>
5046 #include <stdio.h>
5047 struct stat;
5048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5049 struct buf { int x; };
5050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5051 static char *e (p, i)
5052 char **p;
5053 int i;
5055 return p[i];
5057 static char *f (char * (*g) (char **, int), char **p, ...)
5059 char *s;
5060 va_list v;
5061 va_start (v,p);
5062 s = g (p, va_arg (v,int));
5063 va_end (v);
5064 return s;
5067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5068 function prototypes and stuff, but not '\xHH' hex character constants.
5069 These don't provoke an error unfortunately, instead are silently treated
5070 as 'x'. The following induces an error, until -std is added to get
5071 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5072 array size at least. It's necessary to write '\x00'==0 to get something
5073 that's true only with -std. */
5074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5076 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5077 inside strings and character constants. */
5078 #define FOO(x) 'x'
5079 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5081 int test (int i, double x);
5082 struct s1 {int (*f) (int a);};
5083 struct s2 {int (*f) (double a);};
5084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5085 int argc;
5086 char **argv;
5088 main ()
5090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5092 return 0;
5094 _ACEOF
5095 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5096 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5098 CC="$ac_save_CC $ac_arg"
5099 if ac_fn_c_try_compile "$LINENO"; then :
5100 ac_cv_prog_cc_c89=$ac_arg
5102 rm -f core conftest.err conftest.$ac_objext
5103 test "x$ac_cv_prog_cc_c89" != "xno" && break
5104 done
5105 rm -f conftest.$ac_ext
5106 CC=$ac_save_CC
5109 # AC_CACHE_VAL
5110 case "x$ac_cv_prog_cc_c89" in
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5113 $as_echo "none needed" >&6; } ;;
5114 xno)
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5116 $as_echo "unsupported" >&6; } ;;
5118 CC="$CC $ac_cv_prog_cc_c89"
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5120 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5121 esac
5122 if test "x$ac_cv_prog_cc_c89" != xno; then :
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132 ac_ext=cpp
5133 ac_cpp='$CXXCPP $CPPFLAGS'
5134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5137 if test -z "$CXX"; then
5138 if test -n "$CCC"; then
5139 CXX=$CCC
5140 else
5141 if test -n "$ac_tool_prefix"; then
5142 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_CXX+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$CXX"; then
5152 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 CXX=$ac_cv_prog_CXX
5172 if test -n "$CXX"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5174 $as_echo "$CXX" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 test -n "$CXX" && break
5182 done
5184 if test -z "$CXX"; then
5185 ac_ct_CXX=$CXX
5186 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5188 # Extract the first word of "$ac_prog", so it can be a program name with args.
5189 set dummy $ac_prog; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 if test -n "$ac_ct_CXX"; then
5196 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_CXX="$ac_prog"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5209 done
5210 done
5211 IFS=$as_save_IFS
5215 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5216 if test -n "$ac_ct_CXX"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5218 $as_echo "$ac_ct_CXX" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5225 test -n "$ac_ct_CXX" && break
5226 done
5228 if test "x$ac_ct_CXX" = x; then
5229 CXX="g++"
5230 else
5231 case $cross_compiling:$ac_tool_warned in
5232 yes:)
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5235 ac_tool_warned=yes ;;
5236 esac
5237 CXX=$ac_ct_CXX
5243 # Provide some information about the compiler.
5244 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5245 set X $ac_compile
5246 ac_compiler=$2
5247 for ac_option in --version -v -V -qversion; do
5248 { { ac_try="$ac_compiler $ac_option >&5"
5249 case "(($ac_try" in
5250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5251 *) ac_try_echo=$ac_try;;
5252 esac
5253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5254 $as_echo "$ac_try_echo"; } >&5
5255 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5256 ac_status=$?
5257 if test -s conftest.err; then
5258 sed '10a\
5259 ... rest of stderr output deleted ...
5260 10q' conftest.err >conftest.er1
5261 cat conftest.er1 >&5
5263 rm -f conftest.er1 conftest.err
5264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5265 test $ac_status = 0; }
5266 done
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5269 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5270 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5271 $as_echo_n "(cached) " >&6
5272 else
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5277 main ()
5279 #ifndef __GNUC__
5280 choke me
5281 #endif
5284 return 0;
5286 _ACEOF
5287 if ac_fn_cxx_try_compile "$LINENO"; then :
5288 ac_compiler_gnu=yes
5289 else
5290 ac_compiler_gnu=no
5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5297 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5298 if test $ac_compiler_gnu = yes; then
5299 GXX=yes
5300 else
5301 GXX=
5303 ac_test_CXXFLAGS=${CXXFLAGS+set}
5304 ac_save_CXXFLAGS=$CXXFLAGS
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5306 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5307 if ${ac_cv_prog_cxx_g+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5311 ac_cxx_werror_flag=yes
5312 ac_cv_prog_cxx_g=no
5313 CXXFLAGS="-g"
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5318 main ()
5322 return 0;
5324 _ACEOF
5325 if ac_fn_cxx_try_compile "$LINENO"; then :
5326 ac_cv_prog_cxx_g=yes
5327 else
5328 CXXFLAGS=""
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 main ()
5337 return 0;
5339 _ACEOF
5340 if ac_fn_cxx_try_compile "$LINENO"; then :
5342 else
5343 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5344 CXXFLAGS="-g"
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5349 main ()
5353 return 0;
5355 _ACEOF
5356 if ac_fn_cxx_try_compile "$LINENO"; then :
5357 ac_cv_prog_cxx_g=yes
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5367 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5368 if test "$ac_test_CXXFLAGS" = set; then
5369 CXXFLAGS=$ac_save_CXXFLAGS
5370 elif test $ac_cv_prog_cxx_g = yes; then
5371 if test "$GXX" = yes; then
5372 CXXFLAGS="-g -O2"
5373 else
5374 CXXFLAGS="-g"
5376 else
5377 if test "$GXX" = yes; then
5378 CXXFLAGS="-O2"
5379 else
5380 CXXFLAGS=
5383 ac_ext=c
5384 ac_cpp='$CPP $CPPFLAGS'
5385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389 if test -n "$ac_tool_prefix"; then
5390 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5391 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_CPPBIN+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$CPPBIN"; then
5398 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 CPPBIN=$ac_cv_prog_CPPBIN
5418 if test -n "$CPPBIN"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5420 $as_echo "$CPPBIN" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5428 if test -z "$ac_cv_prog_CPPBIN"; then
5429 ac_ct_CPPBIN=$CPPBIN
5430 # Extract the first word of "cpp", so it can be a program name with args.
5431 set dummy cpp; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$ac_ct_CPPBIN"; then
5438 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_ac_ct_CPPBIN="cpp"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5451 done
5452 done
5453 IFS=$as_save_IFS
5457 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5458 if test -n "$ac_ct_CPPBIN"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5460 $as_echo "$ac_ct_CPPBIN" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5466 if test "x$ac_ct_CPPBIN" = x; then
5467 CPPBIN="cpp"
5468 else
5469 case $cross_compiling:$ac_tool_warned in
5470 yes:)
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5473 ac_tool_warned=yes ;;
5474 esac
5475 CPPBIN=$ac_ct_CPPBIN
5477 else
5478 CPPBIN="$ac_cv_prog_CPPBIN"
5482 cat >>confdefs.h <<_ACEOF
5483 #define EXEEXT "$ac_exeext"
5484 _ACEOF
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}ld; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_LD+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$LD"; then
5495 ac_cv_prog_LD="$LD" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_LD="${ac_tool_prefix}ld"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 LD=$ac_cv_prog_LD
5515 if test -n "$LD"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5517 $as_echo "$LD" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if test -z "$ac_cv_prog_LD"; then
5526 ac_ct_LD=$LD
5527 # Extract the first word of "ld", so it can be a program name with args.
5528 set dummy ld; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5532 $as_echo_n "(cached) " >&6
5533 else
5534 if test -n "$ac_ct_LD"; then
5535 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_ac_ct_LD="ld"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5555 if test -n "$ac_ct_LD"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5557 $as_echo "$ac_ct_LD" >&6; }
5558 else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5563 if test "x$ac_ct_LD" = x; then
5564 LD=""
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5570 ac_tool_warned=yes ;;
5571 esac
5572 LD=$ac_ct_LD
5574 else
5575 LD="$ac_cv_prog_LD"
5579 case $host in
5580 *-darwin*)
5581 with_fontconfig=${with_fontconfig:-no}
5583 *-mingw32*|*-cygwin*)
5584 enable_win16=${enable_win16:-no}
5585 with_mingw=${with_mingw:-no}
5586 CFLAGS="$CFLAGS -D_WIN32"
5588 esac
5590 case $host in
5591 x86_64*|amd64*)
5592 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5593 then
5594 CC="$CC -m32"
5595 CXX="$CXX -m32"
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5598 $as_echo_n "checking whether $CC works... " >&6; }
5599 if ${wine_cv_cc_m32+:} false; then :
5600 $as_echo_n "(cached) " >&6
5601 else
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5606 main ()
5610 return 0;
5612 _ACEOF
5613 if ac_fn_c_try_link "$LINENO"; then :
5614 wine_cv_cc_m32=yes
5615 else
5616 wine_cv_cc_m32=no
5618 rm -f core conftest.err conftest.$ac_objext \
5619 conftest$ac_exeext conftest.$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5622 $as_echo "$wine_cv_cc_m32" >&6; }
5623 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
5624 host_cpu="i386"
5625 notice_platform="32-bit "
5626 TARGETFLAGS="-m32"
5628 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5629 export PKG_CONFIG_PATH
5630 enable_win16=${enable_win16:-yes}
5631 with_unwind=${with_unwind:-no}
5632 else
5633 if test "x${GCC}" = "xyes"
5634 then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5636 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5637 if ${wine_cv_builtin_ms_va_list+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5642 #include <stdarg.h>
5644 main ()
5646 void func(__builtin_ms_va_list *args);
5648 return 0;
5650 _ACEOF
5651 if ac_fn_c_try_compile "$LINENO"; then :
5652 wine_cv_builtin_ms_va_list=yes
5653 else
5654 wine_cv_builtin_ms_va_list=no
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5659 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5660 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
5662 CC="$CC -m64"
5663 CXX="$CXX -m64"
5664 host_cpu="x86_64"
5665 notice_platform="64-bit "
5666 TARGETFLAGS="-m64"
5670 arm*)
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5672 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5673 if ${wine_cv_thumb+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5678 int ac_test(int i) { return i; }
5680 main ()
5682 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5684 return 0;
5686 _ACEOF
5687 if ac_fn_c_try_link "$LINENO"; then :
5688 wine_cv_thumb=yes
5689 else
5690 wine_cv_thumb=no
5692 rm -f core conftest.err conftest.$ac_objext \
5693 conftest$ac_exeext conftest.$ac_ext
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5696 $as_echo "$wine_cv_thumb" >&6; }
5697 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5698 case $with_float_abi in
5699 soft|softfp|hard)
5700 float_abi=$with_float_abi ;;
5702 case $host_os in
5703 *eabihf)
5704 float_abi=hard ;;
5706 float_abi=softfp
5707 saved_CFLAGS=$CFLAGS
5708 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5710 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5711 if ${wine_cv_float_abi+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5718 main ()
5720 asm("vmrs r2,fpscr");
5722 return 0;
5724 _ACEOF
5725 if ac_fn_c_try_link "$LINENO"; then :
5726 wine_cv_float_abi=yes
5727 else
5728 wine_cv_float_abi=no
5730 rm -f core conftest.err conftest.$ac_objext \
5731 conftest$ac_exeext conftest.$ac_ext
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5734 $as_echo "$wine_cv_float_abi" >&6; }
5735 if test $wine_cv_float_abi = no
5736 then
5737 float_abi=soft
5738 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5740 CFLAGS=$saved_CFLAGS
5741 esac
5743 esac
5744 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5745 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5748 aarch64*)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5750 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5751 if ${wine_cv_builtin_ms_va_list+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5756 #include <stdarg.h>
5758 main ()
5760 void func(__builtin_ms_va_list *args);
5762 return 0;
5764 _ACEOF
5765 if ac_fn_c_try_compile "$LINENO"; then :
5766 wine_cv_builtin_ms_va_list=yes
5767 else
5768 wine_cv_builtin_ms_va_list=no
5770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5773 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5774 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5776 i[3456789]86*)
5777 enable_win16=${enable_win16:-yes}
5778 with_unwind=${with_unwind:-no}
5780 esac
5782 enable_win16=${enable_win16:-no}
5783 enable_win64=${enable_win64:-no}
5785 enable_winetest=${enable_winetest:-$enable_tests}
5787 if test "x$enable_win64" = "xyes"
5788 then
5789 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5790 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5791 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5795 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5796 if ${wine_cv_toolsdir+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 wine_cv_toolsdir="$with_wine_tools"
5800 if test -z "$with_wine_tools"; then
5801 if test "$cross_compiling" = "yes"; then
5802 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5803 elif test -n "$with_wine64"; then
5804 wine_cv_toolsdir="$with_wine64"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5809 $as_echo "$wine_cv_toolsdir" >&6; }
5810 if test -z "$wine_cv_toolsdir"; then
5811 wine_makedep=tools/makedep
5812 TOOLSDIR="\$(top_builddir)"
5814 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5815 wine_makedep=$wine_cv_toolsdir/tools/makedep
5816 case "$wine_cv_toolsdir" in
5817 /*) TOOLSDIR=$wine_cv_toolsdir
5819 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5821 esac
5822 enable_tools=${enable_tools:-no}
5823 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5824 else
5825 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5827 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5828 then
5829 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5833 for ac_prog in flex
5835 # Extract the first word of "$ac_prog", so it can be a program name with args.
5836 set dummy $ac_prog; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_FLEX+:} false; then :
5840 $as_echo_n "(cached) " >&6
5841 else
5842 if test -n "$FLEX"; then
5843 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_FLEX="$ac_prog"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5858 IFS=$as_save_IFS
5862 FLEX=$ac_cv_prog_FLEX
5863 if test -n "$FLEX"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5865 $as_echo "$FLEX" >&6; }
5866 else
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5872 test -n "$FLEX" && break
5873 done
5874 test -n "$FLEX" || FLEX="none"
5876 if test "$FLEX" = "none"
5877 then
5878 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5881 $as_echo_n "checking whether flex is recent enough... " >&6; }
5882 if ${wine_cv_recent_flex+:} false; then :
5883 $as_echo_n "(cached) " >&6
5884 else
5885 cat >conftest.l <<EOF
5886 %top{
5887 #include "prediluvian.h"
5891 if $FLEX -t conftest.l >/dev/null 2>&5
5892 then
5893 wine_cv_recent_flex=yes
5894 else
5895 wine_cv_recent_flex=no
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5899 $as_echo "$wine_cv_recent_flex" >&6; }
5900 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
5902 for ac_prog in bison
5904 # Extract the first word of "$ac_prog", so it can be a program name with args.
5905 set dummy $ac_prog; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_BISON+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 if test -n "$BISON"; then
5912 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5913 else
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 for as_dir in $PATH
5917 IFS=$as_save_IFS
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_BISON="$ac_prog"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 break 2
5925 done
5926 done
5927 IFS=$as_save_IFS
5931 BISON=$ac_cv_prog_BISON
5932 if test -n "$BISON"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5934 $as_echo "$BISON" >&6; }
5935 else
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5941 test -n "$BISON" && break
5942 done
5943 test -n "$BISON" || BISON="none"
5945 if test "$BISON" = "none"
5946 then
5947 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5950 $as_echo_n "checking whether bison is recent enough... " >&6; }
5951 if ${wine_cv_recent_bison+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 cat >conftest.y <<EOF
5955 %define parse.error verbose
5957 empty: ;
5959 if $BISON conftest.y >/dev/null 2>&5
5960 then
5961 wine_cv_recent_bison=yes
5962 else
5963 wine_cv_recent_bison=no
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5967 $as_echo "$wine_cv_recent_bison" >&6; }
5968 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
5970 if test -n "$ac_tool_prefix"; then
5971 for ac_prog in ar gar
5973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 $as_echo_n "checking for $ac_word... " >&6; }
5977 if ${ac_cv_prog_AR+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 if test -n "$AR"; then
5981 ac_cv_prog_AR="$AR" # Let the user override the test.
5982 else
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 for as_dir in $PATH
5986 IFS=$as_save_IFS
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 break 2
5994 done
5995 done
5996 IFS=$as_save_IFS
6000 AR=$ac_cv_prog_AR
6001 if test -n "$AR"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6003 $as_echo "$AR" >&6; }
6004 else
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 $as_echo "no" >&6; }
6010 test -n "$AR" && break
6011 done
6013 if test -z "$AR"; then
6014 ac_ct_AR=$AR
6015 for ac_prog in ar gar
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$ac_ct_AR"; then
6025 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_ac_ct_AR="$ac_prog"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6045 if test -n "$ac_ct_AR"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6047 $as_echo "$ac_ct_AR" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 test -n "$ac_ct_AR" && break
6055 done
6057 if test "x$ac_ct_AR" = x; then
6058 AR="ar"
6059 else
6060 case $cross_compiling:$ac_tool_warned in
6061 yes:)
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6064 ac_tool_warned=yes ;;
6065 esac
6066 AR=$ac_ct_AR
6070 if test -n "$ac_tool_prefix"; then
6071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}strip; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_STRIP+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$STRIP"; then
6079 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 STRIP=$ac_cv_prog_STRIP
6099 if test -n "$STRIP"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6101 $as_echo "$STRIP" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 if test -z "$ac_cv_prog_STRIP"; then
6110 ac_ct_STRIP=$STRIP
6111 # Extract the first word of "strip", so it can be a program name with args.
6112 set dummy strip; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 if test -n "$ac_ct_STRIP"; then
6119 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_STRIP="strip"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 break 2
6132 done
6133 done
6134 IFS=$as_save_IFS
6138 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6139 if test -n "$ac_ct_STRIP"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6141 $as_echo "$ac_ct_STRIP" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6147 if test "x$ac_ct_STRIP" = x; then
6148 STRIP="strip"
6149 else
6150 case $cross_compiling:$ac_tool_warned in
6151 yes:)
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6155 esac
6156 STRIP=$ac_ct_STRIP
6158 else
6159 STRIP="$ac_cv_prog_STRIP"
6162 if test -n "$ac_tool_prefix"; then
6163 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6164 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_RANLIB+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$RANLIB"; then
6171 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 RANLIB=$ac_cv_prog_RANLIB
6191 if test -n "$RANLIB"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6193 $as_echo "$RANLIB" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6201 if test -z "$ac_cv_prog_RANLIB"; then
6202 ac_ct_RANLIB=$RANLIB
6203 # Extract the first word of "ranlib", so it can be a program name with args.
6204 set dummy ranlib; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 if test -n "$ac_ct_RANLIB"; then
6211 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6212 else
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH
6216 IFS=$as_save_IFS
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_ac_ct_RANLIB="ranlib"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 break 2
6224 done
6225 done
6226 IFS=$as_save_IFS
6230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6231 if test -n "$ac_ct_RANLIB"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6233 $as_echo "$ac_ct_RANLIB" >&6; }
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6239 if test "x$ac_ct_RANLIB" = x; then
6240 RANLIB=":"
6241 else
6242 case $cross_compiling:$ac_tool_warned in
6243 yes:)
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6246 ac_tool_warned=yes ;;
6247 esac
6248 RANLIB=$ac_ct_RANLIB
6250 else
6251 RANLIB="$ac_cv_prog_RANLIB"
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6255 $as_echo_n "checking whether ln -s works... " >&6; }
6256 LN_S=$as_ln_s
6257 if test "$LN_S" = "ln -s"; then
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6259 $as_echo "yes" >&6; }
6260 else
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6262 $as_echo "no, using $LN_S" >&6; }
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6266 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6267 if ${ac_cv_path_GREP+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 if test -z "$GREP"; then
6271 ac_path_GREP_found=false
6272 # Loop through the user's path and test for each of PROGNAME-LIST
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_prog in grep ggrep; do
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6281 as_fn_executable_p "$ac_path_GREP" || continue
6282 # Check for GNU ac_path_GREP and select it if it is found.
6283 # Check for GNU $ac_path_GREP
6284 case `"$ac_path_GREP" --version 2>&1` in
6285 *GNU*)
6286 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6288 ac_count=0
6289 $as_echo_n 0123456789 >"conftest.in"
6290 while :
6292 cat "conftest.in" "conftest.in" >"conftest.tmp"
6293 mv "conftest.tmp" "conftest.in"
6294 cp "conftest.in" "conftest.nl"
6295 $as_echo 'GREP' >> "conftest.nl"
6296 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6297 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6298 as_fn_arith $ac_count + 1 && ac_count=$as_val
6299 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6300 # Best one so far, save it but keep looking for a better one
6301 ac_cv_path_GREP="$ac_path_GREP"
6302 ac_path_GREP_max=$ac_count
6304 # 10*(2^10) chars as input seems more than enough
6305 test $ac_count -gt 10 && break
6306 done
6307 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6308 esac
6310 $ac_path_GREP_found && break 3
6311 done
6312 done
6313 done
6314 IFS=$as_save_IFS
6315 if test -z "$ac_cv_path_GREP"; then
6316 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6318 else
6319 ac_cv_path_GREP=$GREP
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6324 $as_echo "$ac_cv_path_GREP" >&6; }
6325 GREP="$ac_cv_path_GREP"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6329 $as_echo_n "checking for egrep... " >&6; }
6330 if ${ac_cv_path_EGREP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6334 then ac_cv_path_EGREP="$GREP -E"
6335 else
6336 if test -z "$EGREP"; then
6337 ac_path_EGREP_found=false
6338 # Loop through the user's path and test for each of PROGNAME-LIST
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6342 IFS=$as_save_IFS
6343 test -z "$as_dir" && as_dir=.
6344 for ac_prog in egrep; do
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6347 as_fn_executable_p "$ac_path_EGREP" || continue
6348 # Check for GNU ac_path_EGREP and select it if it is found.
6349 # Check for GNU $ac_path_EGREP
6350 case `"$ac_path_EGREP" --version 2>&1` in
6351 *GNU*)
6352 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6354 ac_count=0
6355 $as_echo_n 0123456789 >"conftest.in"
6356 while :
6358 cat "conftest.in" "conftest.in" >"conftest.tmp"
6359 mv "conftest.tmp" "conftest.in"
6360 cp "conftest.in" "conftest.nl"
6361 $as_echo 'EGREP' >> "conftest.nl"
6362 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6363 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6364 as_fn_arith $ac_count + 1 && ac_count=$as_val
6365 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6366 # Best one so far, save it but keep looking for a better one
6367 ac_cv_path_EGREP="$ac_path_EGREP"
6368 ac_path_EGREP_max=$ac_count
6370 # 10*(2^10) chars as input seems more than enough
6371 test $ac_count -gt 10 && break
6372 done
6373 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6374 esac
6376 $ac_path_EGREP_found && break 3
6377 done
6378 done
6379 done
6380 IFS=$as_save_IFS
6381 if test -z "$ac_cv_path_EGREP"; then
6382 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6384 else
6385 ac_cv_path_EGREP=$EGREP
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6391 $as_echo "$ac_cv_path_EGREP" >&6; }
6392 EGREP="$ac_cv_path_EGREP"
6395 # Extract the first word of "ldconfig", so it can be a program name with args.
6396 set dummy ldconfig; ac_word=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_path_LDCONFIG+:} false; then :
6400 $as_echo_n "(cached) " >&6
6401 else
6402 case $LDCONFIG in
6403 [\\/]* | ?:[\\/]*)
6404 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 for as_dir in /sbin /usr/sbin $PATH
6410 IFS=$as_save_IFS
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 break 2
6418 done
6419 done
6420 IFS=$as_save_IFS
6422 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6424 esac
6426 LDCONFIG=$ac_cv_path_LDCONFIG
6427 if test -n "$LDCONFIG"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6429 $as_echo "$LDCONFIG" >&6; }
6430 else
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6436 for ac_prog in msgfmt
6438 # Extract the first word of "$ac_prog", so it can be a program name with args.
6439 set dummy $ac_prog; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if ${ac_cv_prog_MSGFMT+:} false; then :
6443 $as_echo_n "(cached) " >&6
6444 else
6445 if test -n "$MSGFMT"; then
6446 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6447 else
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH
6451 IFS=$as_save_IFS
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6455 ac_cv_prog_MSGFMT="$ac_prog"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 break 2
6459 done
6460 done
6461 IFS=$as_save_IFS
6465 MSGFMT=$ac_cv_prog_MSGFMT
6466 if test -n "$MSGFMT"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6468 $as_echo "$MSGFMT" >&6; }
6469 else
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6475 test -n "$MSGFMT" && break
6476 done
6477 test -n "$MSGFMT" || MSGFMT="false"
6479 if ${ac_tool_prefix+:} false; then :
6480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6481 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 if test -n "$PKG_CONFIG"; then
6488 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6493 IFS=$as_save_IFS
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6508 if test -n "$PKG_CONFIG"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6510 $as_echo "$PKG_CONFIG" >&6; }
6511 else
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6518 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6519 if test "x$cross_compiling" = xyes; then :
6521 else
6522 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6523 # Extract the first word of "pkg-config", so it can be a program name with args.
6524 set dummy pkg-config; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6528 $as_echo_n "(cached) " >&6
6529 else
6530 if test -n "$PKG_CONFIG"; then
6531 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6532 else
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 for as_dir in $PATH
6536 IFS=$as_save_IFS
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_PKG_CONFIG="pkg-config"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 break 2
6544 done
6545 done
6546 IFS=$as_save_IFS
6550 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6551 if test -n "$PKG_CONFIG"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6553 $as_echo "$PKG_CONFIG" >&6; }
6554 else
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6561 else
6562 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6565 if test "x$enable_maintainer_mode" != "xyes"
6566 then
6567 FONTFORGE=""
6568 RSVG=""
6569 CONVERT=""
6570 ICOTOOL=""
6571 else
6572 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6573 for ac_prog in fontforge
6575 # Extract the first word of "$ac_prog", so it can be a program name with args.
6576 set dummy $ac_prog; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_FONTFORGE+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$FONTFORGE"; then
6583 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_FONTFORGE="$ac_prog"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 FONTFORGE=$ac_cv_prog_FONTFORGE
6603 if test -n "$FONTFORGE"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6605 $as_echo "$FONTFORGE" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6612 test -n "$FONTFORGE" && break
6613 done
6614 test -n "$FONTFORGE" || FONTFORGE="false"
6616 for ac_prog in rsvg-convert rsvg
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_RSVG+:} false; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$RSVG"; then
6626 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_RSVG="$ac_prog"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 RSVG=$ac_cv_prog_RSVG
6646 if test -n "$RSVG"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6648 $as_echo "$RSVG" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6655 test -n "$RSVG" && break
6656 done
6657 test -n "$RSVG" || RSVG="false"
6659 for ac_prog in convert
6661 # Extract the first word of "$ac_prog", so it can be a program name with args.
6662 set dummy $ac_prog; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_CONVERT+:} false; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$CONVERT"; then
6669 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_CONVERT="$ac_prog"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 CONVERT=$ac_cv_prog_CONVERT
6689 if test -n "$CONVERT"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6691 $as_echo "$CONVERT" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6698 test -n "$CONVERT" && break
6699 done
6700 test -n "$CONVERT" || CONVERT="false"
6702 for ac_prog in icotool
6704 # Extract the first word of "$ac_prog", so it can be a program name with args.
6705 set dummy $ac_prog; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if ${ac_cv_prog_ICOTOOL+:} false; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$ICOTOOL"; then
6712 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721 ac_cv_prog_ICOTOOL="$ac_prog"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6725 done
6726 done
6727 IFS=$as_save_IFS
6731 ICOTOOL=$ac_cv_prog_ICOTOOL
6732 if test -n "$ICOTOOL"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6734 $as_echo "$ICOTOOL" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6741 test -n "$ICOTOOL" && break
6742 done
6743 test -n "$ICOTOOL" || ICOTOOL="false"
6745 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6746 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6748 if test "$CONVERT" = false
6749 then
6750 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6753 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6754 convert_version=`convert --version | head -n1`
6755 if test "x$convert_version" != "x"
6756 then
6757 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6758 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6759 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6760 then
6761 CONVERT=false
6764 if test "$CONVERT" = false
6765 then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6767 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6768 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6769 else
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6771 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6775 if test "$ICOTOOL" = false
6776 then
6777 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6780 $as_echo_n "checking for recent enough icotool... " >&6; }
6781 icotool_version=`icotool --version | head -n1`
6782 if test "x$icotool_version" != "x"
6783 then
6784 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6785 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6786 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6787 then
6788 ICOTOOL=false
6789 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6792 if test "$ICOTOOL" = false
6793 then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6795 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6796 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6799 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6803 with_gettext=yes
6804 with_gettextpo=yes
6806 enable_werror=yes
6809 test "x$with_gettext" != xno || MSGFMT=false
6810 if test "$MSGFMT" != "false"
6811 then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6813 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6814 if ${wine_cv_msgfmt_contexts+:} false; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817 cat >conftest.po <<EOF
6818 # comment
6819 msgctxt "ctxt"
6820 msgid "id"
6821 msgstr "str"
6823 if $MSGFMT -o /dev/null conftest.po 2>&5
6824 then
6825 wine_cv_msgfmt_contexts=yes
6826 else
6827 wine_cv_msgfmt_contexts=no
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6831 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6832 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6834 if test "$MSGFMT" = false; then :
6835 case "x$with_gettext" in
6836 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6837 xno) ;;
6838 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6839 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6840 esac
6841 enable_po=${enable_po:-no}
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6846 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6847 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6848 $as_echo_n "(cached) " >&6
6849 else
6850 ac_check_lib_save_LIBS=$LIBS
6851 LIBS="-li386 $LIBS"
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6855 /* Override any GCC internal prototype to avoid an error.
6856 Use char because int might match the return type of a GCC
6857 builtin and then its argument prototype would still apply. */
6858 #ifdef __cplusplus
6859 extern "C"
6860 #endif
6861 char i386_set_ldt ();
6863 main ()
6865 return i386_set_ldt ();
6867 return 0;
6869 _ACEOF
6870 if ac_fn_c_try_link "$LINENO"; then :
6871 ac_cv_lib_i386_i386_set_ldt=yes
6872 else
6873 ac_cv_lib_i386_i386_set_ldt=no
6875 rm -f core conftest.err conftest.$ac_objext \
6876 conftest$ac_exeext conftest.$ac_ext
6877 LIBS=$ac_check_lib_save_LIBS
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6880 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6881 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6882 I386_LIBS="-li386"
6887 OPENGL_LIBS=""
6891 # Check whether --enable-largefile was given.
6892 if test "${enable_largefile+set}" = set; then :
6893 enableval=$enable_largefile;
6896 if test "$enable_largefile" != no; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6899 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6900 if ${ac_cv_sys_largefile_CC+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 ac_cv_sys_largefile_CC=no
6904 if test "$GCC" != yes; then
6905 ac_save_CC=$CC
6906 while :; do
6907 # IRIX 6.2 and later do not support large files by default,
6908 # so use the C compiler's -n32 option if that helps.
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <sys/types.h>
6912 /* Check that off_t can represent 2**63 - 1 correctly.
6913 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6914 since some C++ compilers masquerading as C compilers
6915 incorrectly reject 9223372036854775807. */
6916 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6917 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6918 && LARGE_OFF_T % 2147483647 == 1)
6919 ? 1 : -1];
6921 main ()
6925 return 0;
6927 _ACEOF
6928 if ac_fn_c_try_compile "$LINENO"; then :
6929 break
6931 rm -f core conftest.err conftest.$ac_objext
6932 CC="$CC -n32"
6933 if ac_fn_c_try_compile "$LINENO"; then :
6934 ac_cv_sys_largefile_CC=' -n32'; break
6936 rm -f core conftest.err conftest.$ac_objext
6937 break
6938 done
6939 CC=$ac_save_CC
6940 rm -f conftest.$ac_ext
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6944 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6945 if test "$ac_cv_sys_largefile_CC" != no; then
6946 CC=$CC$ac_cv_sys_largefile_CC
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6950 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6951 if ${ac_cv_sys_file_offset_bits+:} false; then :
6952 $as_echo_n "(cached) " >&6
6953 else
6954 while :; do
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6957 #include <sys/types.h>
6958 /* Check that off_t can represent 2**63 - 1 correctly.
6959 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6960 since some C++ compilers masquerading as C compilers
6961 incorrectly reject 9223372036854775807. */
6962 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6963 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6964 && LARGE_OFF_T % 2147483647 == 1)
6965 ? 1 : -1];
6967 main ()
6971 return 0;
6973 _ACEOF
6974 if ac_fn_c_try_compile "$LINENO"; then :
6975 ac_cv_sys_file_offset_bits=no; break
6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #define _FILE_OFFSET_BITS 64
6981 #include <sys/types.h>
6982 /* Check that off_t can represent 2**63 - 1 correctly.
6983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6984 since some C++ compilers masquerading as C compilers
6985 incorrectly reject 9223372036854775807. */
6986 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6988 && LARGE_OFF_T % 2147483647 == 1)
6989 ? 1 : -1];
6991 main ()
6995 return 0;
6997 _ACEOF
6998 if ac_fn_c_try_compile "$LINENO"; then :
6999 ac_cv_sys_file_offset_bits=64; break
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7002 ac_cv_sys_file_offset_bits=unknown
7003 break
7004 done
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7007 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7008 case $ac_cv_sys_file_offset_bits in #(
7009 no | unknown) ;;
7011 cat >>confdefs.h <<_ACEOF
7012 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7013 _ACEOF
7015 esac
7016 rm -rf conftest*
7017 if test $ac_cv_sys_file_offset_bits = unknown; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7019 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7020 if ${ac_cv_sys_large_files+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 while :; do
7024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7025 /* end confdefs.h. */
7026 #include <sys/types.h>
7027 /* Check that off_t can represent 2**63 - 1 correctly.
7028 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7029 since some C++ compilers masquerading as C compilers
7030 incorrectly reject 9223372036854775807. */
7031 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7032 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7033 && LARGE_OFF_T % 2147483647 == 1)
7034 ? 1 : -1];
7036 main ()
7040 return 0;
7042 _ACEOF
7043 if ac_fn_c_try_compile "$LINENO"; then :
7044 ac_cv_sys_large_files=no; break
7046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #define _LARGE_FILES 1
7050 #include <sys/types.h>
7051 /* Check that off_t can represent 2**63 - 1 correctly.
7052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7053 since some C++ compilers masquerading as C compilers
7054 incorrectly reject 9223372036854775807. */
7055 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7057 && LARGE_OFF_T % 2147483647 == 1)
7058 ? 1 : -1];
7060 main ()
7064 return 0;
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_sys_large_files=1; break
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 ac_cv_sys_large_files=unknown
7072 break
7073 done
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7076 $as_echo "$ac_cv_sys_large_files" >&6; }
7077 case $ac_cv_sys_large_files in #(
7078 no | unknown) ;;
7080 cat >>confdefs.h <<_ACEOF
7081 #define _LARGE_FILES $ac_cv_sys_large_files
7082 _ACEOF
7084 esac
7085 rm -rf conftest*
7092 ac_ext=c
7093 ac_cpp='$CPP $CPPFLAGS'
7094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7098 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7099 # On Suns, sometimes $CPP names a directory.
7100 if test -n "$CPP" && test -d "$CPP"; then
7101 CPP=
7103 if test -z "$CPP"; then
7104 if ${ac_cv_prog_CPP+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 # Double quotes because CPP needs to be expanded
7108 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7110 ac_preproc_ok=false
7111 for ac_c_preproc_warn_flag in '' yes
7113 # Use a header file that comes with gcc, so configuring glibc
7114 # with a fresh cross-compiler works.
7115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7116 # <limits.h> exists even on freestanding compilers.
7117 # On the NeXT, cc -E runs the code through the compiler's parser,
7118 # not just through cpp. "Syntax error" is here to catch this case.
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #ifdef __STDC__
7122 # include <limits.h>
7123 #else
7124 # include <assert.h>
7125 #endif
7126 Syntax error
7127 _ACEOF
7128 if ac_fn_c_try_cpp "$LINENO"; then :
7130 else
7131 # Broken: fails on valid input.
7132 continue
7134 rm -f conftest.err conftest.i conftest.$ac_ext
7136 # OK, works on sane cases. Now check whether nonexistent headers
7137 # can be detected and how.
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7140 #include <ac_nonexistent.h>
7141 _ACEOF
7142 if ac_fn_c_try_cpp "$LINENO"; then :
7143 # Broken: success on invalid input.
7144 continue
7145 else
7146 # Passes both tests.
7147 ac_preproc_ok=:
7148 break
7150 rm -f conftest.err conftest.i conftest.$ac_ext
7152 done
7153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7154 rm -f conftest.i conftest.err conftest.$ac_ext
7155 if $ac_preproc_ok; then :
7156 break
7159 done
7160 ac_cv_prog_CPP=$CPP
7163 CPP=$ac_cv_prog_CPP
7164 else
7165 ac_cv_prog_CPP=$CPP
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7168 $as_echo "$CPP" >&6; }
7169 ac_preproc_ok=false
7170 for ac_c_preproc_warn_flag in '' yes
7172 # Use a header file that comes with gcc, so configuring glibc
7173 # with a fresh cross-compiler works.
7174 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7175 # <limits.h> exists even on freestanding compilers.
7176 # On the NeXT, cc -E runs the code through the compiler's parser,
7177 # not just through cpp. "Syntax error" is here to catch this case.
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 #ifdef __STDC__
7181 # include <limits.h>
7182 #else
7183 # include <assert.h>
7184 #endif
7185 Syntax error
7186 _ACEOF
7187 if ac_fn_c_try_cpp "$LINENO"; then :
7189 else
7190 # Broken: fails on valid input.
7191 continue
7193 rm -f conftest.err conftest.i conftest.$ac_ext
7195 # OK, works on sane cases. Now check whether nonexistent headers
7196 # can be detected and how.
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7199 #include <ac_nonexistent.h>
7200 _ACEOF
7201 if ac_fn_c_try_cpp "$LINENO"; then :
7202 # Broken: success on invalid input.
7203 continue
7204 else
7205 # Passes both tests.
7206 ac_preproc_ok=:
7207 break
7209 rm -f conftest.err conftest.i conftest.$ac_ext
7211 done
7212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7213 rm -f conftest.i conftest.err conftest.$ac_ext
7214 if $ac_preproc_ok; then :
7216 else
7217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7219 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7220 See \`config.log' for more details" "$LINENO" 5; }
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7231 $as_echo_n "checking for ANSI C header files... " >&6; }
7232 if ${ac_cv_header_stdc+:} false; then :
7233 $as_echo_n "(cached) " >&6
7234 else
7235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7237 #include <stdlib.h>
7238 #include <stdarg.h>
7239 #include <string.h>
7240 #include <float.h>
7243 main ()
7247 return 0;
7249 _ACEOF
7250 if ac_fn_c_try_compile "$LINENO"; then :
7251 ac_cv_header_stdc=yes
7252 else
7253 ac_cv_header_stdc=no
7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7257 if test $ac_cv_header_stdc = yes; then
7258 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <string.h>
7263 _ACEOF
7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7265 $EGREP "memchr" >/dev/null 2>&1; then :
7267 else
7268 ac_cv_header_stdc=no
7270 rm -f conftest*
7274 if test $ac_cv_header_stdc = yes; then
7275 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #include <stdlib.h>
7280 _ACEOF
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282 $EGREP "free" >/dev/null 2>&1; then :
7284 else
7285 ac_cv_header_stdc=no
7287 rm -f conftest*
7291 if test $ac_cv_header_stdc = yes; then
7292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7293 if test "$cross_compiling" = yes; then :
7295 else
7296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7297 /* end confdefs.h. */
7298 #include <ctype.h>
7299 #include <stdlib.h>
7300 #if ((' ' & 0x0FF) == 0x020)
7301 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7302 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7303 #else
7304 # define ISLOWER(c) \
7305 (('a' <= (c) && (c) <= 'i') \
7306 || ('j' <= (c) && (c) <= 'r') \
7307 || ('s' <= (c) && (c) <= 'z'))
7308 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7309 #endif
7311 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7313 main ()
7315 int i;
7316 for (i = 0; i < 256; i++)
7317 if (XOR (islower (i), ISLOWER (i))
7318 || toupper (i) != TOUPPER (i))
7319 return 2;
7320 return 0;
7322 _ACEOF
7323 if ac_fn_c_try_run "$LINENO"; then :
7325 else
7326 ac_cv_header_stdc=no
7328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7329 conftest.$ac_objext conftest.beam conftest.$ac_ext
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7335 $as_echo "$ac_cv_header_stdc" >&6; }
7336 if test $ac_cv_header_stdc = yes; then
7338 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7342 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7343 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7344 inttypes.h stdint.h unistd.h
7345 do :
7346 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7347 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7349 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7350 cat >>confdefs.h <<_ACEOF
7351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7352 _ACEOF
7356 done
7359 for ac_header in \
7360 AL/al.h \
7361 ApplicationServices/ApplicationServices.h \
7362 AudioToolbox/AudioConverter.h \
7363 AudioUnit/AudioUnit.h \
7364 AudioUnit/AudioComponent.h \
7365 CL/cl.h \
7366 Carbon/Carbon.h \
7367 CommonCrypto/CommonCryptor.h \
7368 CoreAudio/CoreAudio.h \
7369 CoreServices/CoreServices.h \
7370 DiskArbitration/DiskArbitration.h \
7371 EGL/egl.h \
7372 IOKit/IOKitLib.h \
7373 IOKit/hid/IOHIDLib.h \
7374 OpenAL/al.h \
7375 OpenCL/opencl.h \
7376 QuickTime/ImageCompression.h \
7377 Security/Security.h \
7378 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7379 SystemConfiguration/SCNetworkConfiguration.h \
7380 alias.h \
7381 arpa/inet.h \
7382 arpa/nameser.h \
7383 asm/types.h \
7384 asm/user.h \
7385 curses.h \
7386 dirent.h \
7387 dlfcn.h \
7388 elf.h \
7389 float.h \
7390 fnmatch.h \
7391 getopt.h \
7392 gettext-po.h \
7393 grp.h \
7394 gsm.h \
7395 gsm/gsm.h \
7396 ieeefp.h \
7397 inet/mib2.h \
7398 kstat.h \
7399 libproc.h \
7400 link.h \
7401 linux/cdrom.h \
7402 linux/compiler.h \
7403 linux/filter.h \
7404 linux/hdreg.h \
7405 linux/hidraw.h \
7406 linux/input.h \
7407 linux/ioctl.h \
7408 linux/joystick.h \
7409 linux/major.h \
7410 linux/param.h \
7411 linux/serial.h \
7412 linux/types.h \
7413 linux/ucdrom.h \
7414 lwp.h \
7415 mach-o/nlist.h \
7416 mach-o/loader.h \
7417 mach/mach.h \
7418 mach/machine.h \
7419 machine/cpu.h \
7420 machine/limits.h \
7421 machine/sysarch.h \
7422 mntent.h \
7423 ncurses.h \
7424 netdb.h \
7425 netinet/in.h \
7426 netinet/in_systm.h \
7427 netinet/tcp.h \
7428 netinet/tcp_fsm.h \
7429 pcap/pcap.h \
7430 poll.h \
7431 port.h \
7432 pthread.h \
7433 pwd.h \
7434 sasl/sasl.h \
7435 sched.h \
7436 scsi/scsi.h \
7437 scsi/scsi_ioctl.h \
7438 scsi/sg.h \
7439 stdbool.h \
7440 stdint.h \
7441 stropts.h \
7442 sys/attr.h \
7443 sys/auxv.h \
7444 sys/cdio.h \
7445 sys/epoll.h \
7446 sys/event.h \
7447 sys/filio.h \
7448 sys/ioctl.h \
7449 sys/ipc.h \
7450 sys/limits.h \
7451 sys/link.h \
7452 sys/mman.h \
7453 sys/modem.h \
7454 sys/msg.h \
7455 sys/mtio.h \
7456 sys/param.h \
7457 sys/poll.h \
7458 sys/prctl.h \
7459 sys/protosw.h \
7460 sys/ptrace.h \
7461 sys/queue.h \
7462 sys/resource.h \
7463 sys/scsiio.h \
7464 sys/shm.h \
7465 sys/signal.h \
7466 sys/socket.h \
7467 sys/socketvar.h \
7468 sys/sockio.h \
7469 sys/statvfs.h \
7470 sys/strtio.h \
7471 sys/syscall.h \
7472 sys/sysinfo.h \
7473 sys/tihdr.h \
7474 sys/time.h \
7475 sys/timeout.h \
7476 sys/times.h \
7477 sys/uio.h \
7478 sys/user.h \
7479 sys/utsname.h \
7480 sys/vnode.h \
7481 sys/wait.h \
7482 syscall.h \
7483 termios.h \
7484 unistd.h \
7485 utime.h \
7486 valgrind/memcheck.h \
7487 valgrind/valgrind.h
7489 do :
7490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7491 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7493 cat >>confdefs.h <<_ACEOF
7494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 _ACEOF
7499 done
7501 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7502 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7504 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7509 if test $ac_cv_header_sys_mkdev_h = no; then
7510 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7511 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7513 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7520 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7521 if ${ac_cv_header_stat_broken+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7526 #include <sys/types.h>
7527 #include <sys/stat.h>
7529 #if defined S_ISBLK && defined S_IFDIR
7530 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7531 #endif
7533 #if defined S_ISBLK && defined S_IFCHR
7534 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7535 #endif
7537 #if defined S_ISLNK && defined S_IFREG
7538 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7539 #endif
7541 #if defined S_ISSOCK && defined S_IFREG
7542 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7543 #endif
7545 _ACEOF
7546 if ac_fn_c_try_compile "$LINENO"; then :
7547 ac_cv_header_stat_broken=no
7548 else
7549 ac_cv_header_stat_broken=yes
7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7554 $as_echo "$ac_cv_header_stat_broken" >&6; }
7555 if test $ac_cv_header_stat_broken = yes; then
7557 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7563 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7564 do :
7565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7566 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7567 #ifdef HAVE_SYS_PARAM_H
7568 # include <sys/param.h>
7569 #endif
7571 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7572 cat >>confdefs.h <<_ACEOF
7573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7574 _ACEOF
7578 done
7581 saved_sysctl_h_CFLAGS=$CFLAGS
7582 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7583 for ac_header in sys/sysctl.h
7584 do :
7585 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7586 #ifdef HAVE_SYS_PARAM_H
7587 # include <sys/param.h>
7588 #endif
7590 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7591 cat >>confdefs.h <<_ACEOF
7592 #define HAVE_SYS_SYSCTL_H 1
7593 _ACEOF
7597 done
7599 CFLAGS=$saved_sysctl_h_CFLAGS
7601 for ac_header in \
7602 netinet/ip.h \
7603 net/if.h \
7604 net/if_arp.h \
7605 net/if_dl.h \
7606 net/if_types.h \
7607 net/route.h \
7608 netinet/if_ether.h \
7609 netinet/if_inarp.h \
7610 netinet/in_pcb.h \
7611 netinet/ip_icmp.h \
7612 netinet/ip_var.h \
7613 netinet/udp.h \
7614 netipx/ipx.h \
7615 sys/un.h \
7617 do :
7618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7620 #ifdef HAVE_SYS_SOCKET_H
7621 # include <sys/socket.h>
7622 #endif
7623 #ifdef HAVE_SYS_SOCKETVAR_H
7624 # include <sys/socketvar.h>
7625 #endif
7626 #ifdef HAVE_NET_ROUTE_H
7627 # include <net/route.h>
7628 #endif
7629 #ifdef HAVE_NETINET_IN_H
7630 # include <netinet/in.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IN_SYSTM_H
7633 # include <netinet/in_systm.h>
7634 #endif
7635 #ifdef HAVE_NET_IF_H
7636 # include <net/if.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_H
7639 # include <netinet/ip.h>
7640 #endif
7642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7643 cat >>confdefs.h <<_ACEOF
7644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7645 _ACEOF
7649 done
7652 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7653 do :
7654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7656 #ifdef HAVE_ALIAS_H
7657 # include <alias.h>
7658 #endif
7659 #ifdef HAVE_SYS_SOCKET_H
7660 # include <sys/socket.h>
7661 #endif
7662 #ifdef HAVE_SYS_SOCKETVAR_H
7663 # include <sys/socketvar.h>
7664 #endif
7665 #ifdef HAVE_SYS_TIMEOUT_H
7666 # include <sys/timeout.h>
7667 #endif
7668 #ifdef HAVE_NETINET_IN_H
7669 # include <netinet/in.h>
7670 #endif
7671 #ifdef HAVE_NETINET_IN_SYSTM_H
7672 # include <netinet/in_systm.h>
7673 #endif
7674 #ifdef HAVE_NETINET_IP_H
7675 # include <netinet/ip.h>
7676 #endif
7677 #ifdef HAVE_NETINET_IP_VAR_H
7678 # include <netinet/ip_var.h>
7679 #endif
7680 #ifdef HAVE_NETINET_IP_ICMP_H
7681 # include <netinet/ip_icmp.h>
7682 #endif
7683 #ifdef HAVE_NETINET_UDP_H
7684 # include <netinet/udp.h>
7685 #endif
7686 #ifdef HAVE_NETINET_TCP_H
7687 # include <netinet/tcp.h>
7688 #endif
7689 #ifdef HAVE_NETINET_TCP_TIMER_H
7690 #include <netinet/tcp_timer.h>
7691 #endif
7693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 _ACEOF
7700 done
7703 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7704 do :
7705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7707 #ifdef HAVE_ASM_TYPES_H
7708 # include <asm/types.h>
7709 #endif
7710 #ifdef HAVE_SYS_SOCKET_H
7711 # include <sys/socket.h>
7712 #endif
7713 #ifdef HAVE_LINUX_TYPES_H
7714 # include <linux/types.h>
7715 #endif
7717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7720 _ACEOF
7724 done
7727 for ac_header in resolv.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7730 #ifdef HAVE_SYS_SOCKET_H
7731 # include <sys/socket.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IN_H
7734 # include <netinet/in.h>
7735 #endif
7736 #ifdef HAVE_ARPA_NAMESER_H
7737 # include <arpa/nameser.h>
7738 #endif
7740 if test "x$ac_cv_header_resolv_h" = xyes; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define HAVE_RESOLV_H 1
7743 _ACEOF
7747 done
7750 for ac_header in ifaddrs.h
7751 do :
7752 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7754 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_IFADDRS_H 1
7757 _ACEOF
7761 done
7764 for ac_header in sys/ucontext.h
7765 do :
7766 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7768 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_SYS_UCONTEXT_H 1
7771 _ACEOF
7775 done
7778 for ac_header in sys/thr.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7781 #ifdef HAVE_SYS_UCONTEXT_H
7782 #include <sys/ucontext.h>
7783 #endif
7785 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_SYS_THR_H 1
7788 _ACEOF
7792 done
7795 for ac_header in pthread_np.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7798 #include <pthread.h>
7799 #endif
7801 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_PTHREAD_NP_H 1
7804 _ACEOF
7808 done
7811 for ac_header in linux/videodev2.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7814 #include <sys/time.h>
7815 #endif
7816 #include <sys/types.h>
7817 #ifdef HAVE_ASM_TYPES_H
7818 #include <asm/types.h>
7819 #endif
7821 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_LINUX_VIDEODEV2_H 1
7824 _ACEOF
7828 done
7831 for ac_header in libprocstat.h
7832 do :
7833 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7834 #include <sys/param.h>
7835 #endif
7836 #ifdef HAVE_SYS_QUEUE_H
7837 #include <sys/queue.h>
7838 #endif
7839 #ifdef HAVE_SYS_SOCKET_H
7840 #include <sys/socket.h>
7841 #endif
7843 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define HAVE_LIBPROCSTAT_H 1
7846 _ACEOF
7850 done
7854 DLLFLAGS="-D_REENTRANT"
7856 LDRPATH_INSTALL=""
7858 LDRPATH_LOCAL=""
7860 LDDLLFLAGS=""
7862 LDEXECFLAGS=""
7864 TOP_INSTALL_LIB=""
7866 TOP_INSTALL_DEV=""
7868 WINELOADER_LDFLAGS=""
7870 WINEPRELOADER_LDFLAGS=""
7872 LIBEXT="so"
7873 DLLEXT=".so"
7874 # Extract the first word of "ldd", so it can be a program name with args.
7875 set dummy ldd; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_path_LDD+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 case $LDD in
7882 [\\/]* | ?:[\\/]*)
7883 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 as_dummy="/sbin:/usr/sbin:$PATH"
7888 for as_dir in $as_dummy
7890 IFS=$as_save_IFS
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 break 2
7898 done
7899 done
7900 IFS=$as_save_IFS
7902 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7904 esac
7906 LDD=$ac_cv_path_LDD
7907 if test -n "$LDD"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7909 $as_echo "$LDD" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}otool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_OTOOL+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$OTOOL"; then
7925 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 OTOOL=$ac_cv_prog_OTOOL
7945 if test -n "$OTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7947 $as_echo "$OTOOL" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_prog_OTOOL"; then
7956 ac_ct_OTOOL=$OTOOL
7957 # Extract the first word of "otool", so it can be a program name with args.
7958 set dummy otool; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$ac_ct_OTOOL"; then
7965 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_OTOOL="otool"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7984 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7985 if test -n "$ac_ct_OTOOL"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7987 $as_echo "$ac_ct_OTOOL" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7993 if test "x$ac_ct_OTOOL" = x; then
7994 OTOOL="otool"
7995 else
7996 case $cross_compiling:$ac_tool_warned in
7997 yes:)
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 OTOOL=$ac_ct_OTOOL
8004 else
8005 OTOOL="$ac_cv_prog_OTOOL"
8008 if test -n "$ac_tool_prefix"; then
8009 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8010 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_prog_READELF+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 if test -n "$READELF"; then
8017 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8022 IFS=$as_save_IFS
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 break 2
8030 done
8031 done
8032 IFS=$as_save_IFS
8036 READELF=$ac_cv_prog_READELF
8037 if test -n "$READELF"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8039 $as_echo "$READELF" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8047 if test -z "$ac_cv_prog_READELF"; then
8048 ac_ct_READELF=$READELF
8049 # Extract the first word of "readelf", so it can be a program name with args.
8050 set dummy readelf; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 if test -n "$ac_ct_READELF"; then
8057 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8062 IFS=$as_save_IFS
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_ac_ct_READELF="readelf"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 break 2
8070 done
8071 done
8072 IFS=$as_save_IFS
8076 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8077 if test -n "$ac_ct_READELF"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8079 $as_echo "$ac_ct_READELF" >&6; }
8080 else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8085 if test "x$ac_ct_READELF" = x; then
8086 READELF="true"
8087 else
8088 case $cross_compiling:$ac_tool_warned in
8089 yes:)
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8092 ac_tool_warned=yes ;;
8093 esac
8094 READELF=$ac_ct_READELF
8096 else
8097 READELF="$ac_cv_prog_READELF"
8100 wine_rules_file=conf$$rules.make
8101 rm -f $wine_rules_file
8102 SUBDIRS=""
8104 DISABLED_SUBDIRS=""
8106 CONFIGURE_TARGETS=""
8109 wine_fn_append_file ()
8111 as_fn_append $1 " \\$as_nl $2"
8114 wine_fn_append_rule ()
8116 $as_echo "$1" >>$wine_rules_file
8119 wine_fn_config_makefile ()
8121 wine_fn_append_file SUBDIRS $1
8122 if eval test \"x\$"$2"\" = x"no"; then :
8123 wine_fn_append_file DISABLED_SUBDIRS $1
8127 wine_fn_config_symlink ()
8129 ac_links=$@
8130 wine_fn_append_rule \
8131 "$ac_links:
8132 @./config.status \$@"
8133 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8136 wine_binary="wine"
8137 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8138 WINELOADER_PROGRAMS="$wine_binary"
8140 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8142 case $host_os in
8143 cygwin*|mingw32*)
8144 if test -n "$ac_tool_prefix"; then
8145 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8146 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148 $as_echo_n "checking for $ac_word... " >&6; }
8149 if ${ac_cv_prog_DLLTOOL+:} false; then :
8150 $as_echo_n "(cached) " >&6
8151 else
8152 if test -n "$DLLTOOL"; then
8153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8154 else
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 for as_dir in $PATH
8158 IFS=$as_save_IFS
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 break 2
8166 done
8167 done
8168 IFS=$as_save_IFS
8172 DLLTOOL=$ac_cv_prog_DLLTOOL
8173 if test -n "$DLLTOOL"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8175 $as_echo "$DLLTOOL" >&6; }
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8183 if test -z "$ac_cv_prog_DLLTOOL"; then
8184 ac_ct_DLLTOOL=$DLLTOOL
8185 # Extract the first word of "dlltool", so it can be a program name with args.
8186 set dummy dlltool; ac_word=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 if test -n "$ac_ct_DLLTOOL"; then
8193 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8194 else
8195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 for as_dir in $PATH
8198 IFS=$as_save_IFS
8199 test -z "$as_dir" && as_dir=.
8200 for ac_exec_ext in '' $ac_executable_extensions; do
8201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8202 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 break 2
8206 done
8207 done
8208 IFS=$as_save_IFS
8212 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8213 if test -n "$ac_ct_DLLTOOL"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8215 $as_echo "$ac_ct_DLLTOOL" >&6; }
8216 else
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8221 if test "x$ac_ct_DLLTOOL" = x; then
8222 DLLTOOL="false"
8223 else
8224 case $cross_compiling:$ac_tool_warned in
8225 yes:)
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8228 ac_tool_warned=yes ;;
8229 esac
8230 DLLTOOL=$ac_ct_DLLTOOL
8232 else
8233 DLLTOOL="$ac_cv_prog_DLLTOOL"
8236 LIBEXT="dll"
8237 DLLEXT=""
8238 case $host_cpu in
8239 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8240 esac
8241 enable_iphlpapi=${enable_iphlpapi:-no}
8242 enable_kernel32=${enable_kernel32:-no}
8243 enable_ntdll=${enable_ntdll:-no}
8244 enable_ws2_32=${enable_ws2_32:-no}
8245 enable_loader=${enable_loader:-no}
8246 enable_server=${enable_server:-no}
8247 with_x=${with_x:-no}
8248 with_pthread=${with_pthread:-no}
8251 darwin*|macosx*)
8252 ac_ext=m
8253 ac_cpp='$OBJCPP $CPPFLAGS'
8254 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8255 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8256 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8258 ac_ext=m
8259 ac_cpp='$OBJCPP $CPPFLAGS'
8260 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8263 if test -n "$ac_tool_prefix"; then
8264 for ac_prog in gcc objcc objc cc CC
8266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8269 $as_echo_n "checking for $ac_word... " >&6; }
8270 if ${ac_cv_prog_OBJC+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 if test -n "$OBJC"; then
8274 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8275 else
8276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 for as_dir in $PATH
8279 IFS=$as_save_IFS
8280 test -z "$as_dir" && as_dir=.
8281 for ac_exec_ext in '' $ac_executable_extensions; do
8282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8285 break 2
8287 done
8288 done
8289 IFS=$as_save_IFS
8293 OBJC=$ac_cv_prog_OBJC
8294 if test -n "$OBJC"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8296 $as_echo "$OBJC" >&6; }
8297 else
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8303 test -n "$OBJC" && break
8304 done
8306 if test -z "$OBJC"; then
8307 ac_ct_OBJC=$OBJC
8308 for ac_prog in gcc objcc objc cc CC
8310 # Extract the first word of "$ac_prog", so it can be a program name with args.
8311 set dummy $ac_prog; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313 $as_echo_n "checking for $ac_word... " >&6; }
8314 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 if test -n "$ac_ct_OBJC"; then
8318 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8319 else
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 for as_dir in $PATH
8323 IFS=$as_save_IFS
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8327 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 break 2
8331 done
8332 done
8333 IFS=$as_save_IFS
8337 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8338 if test -n "$ac_ct_OBJC"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8340 $as_echo "$ac_ct_OBJC" >&6; }
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8347 test -n "$ac_ct_OBJC" && break
8348 done
8350 if test "x$ac_ct_OBJC" = x; then
8351 OBJC="gcc"
8352 else
8353 case $cross_compiling:$ac_tool_warned in
8354 yes:)
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8357 ac_tool_warned=yes ;;
8358 esac
8359 OBJC=$ac_ct_OBJC
8363 # Provide some information about the compiler.
8364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8365 set X $ac_compile
8366 ac_compiler=$2
8367 for ac_option in --version -v -V -qversion; do
8368 { { ac_try="$ac_compiler $ac_option >&5"
8369 case "(($ac_try" in
8370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371 *) ac_try_echo=$ac_try;;
8372 esac
8373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8374 $as_echo "$ac_try_echo"; } >&5
8375 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8376 ac_status=$?
8377 if test -s conftest.err; then
8378 sed '10a\
8379 ... rest of stderr output deleted ...
8380 10q' conftest.err >conftest.er1
8381 cat conftest.er1 >&5
8383 rm -f conftest.er1 conftest.err
8384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8385 test $ac_status = 0; }
8386 done
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8389 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8390 if ${ac_cv_objc_compiler_gnu+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8397 main ()
8399 #ifndef __GNUC__
8400 choke me
8401 #endif
8404 return 0;
8406 _ACEOF
8407 if ac_fn_objc_try_compile "$LINENO"; then :
8408 ac_compiler_gnu=yes
8409 else
8410 ac_compiler_gnu=no
8412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8413 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8417 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8418 if test $ac_compiler_gnu = yes; then
8419 GOBJC=yes
8420 else
8421 GOBJC=
8423 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8424 ac_save_OBJCFLAGS=$OBJCFLAGS
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8426 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8427 if ${ac_cv_prog_objc_g+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_save_objc_werror_flag=$ac_objc_werror_flag
8431 ac_objc_werror_flag=yes
8432 ac_cv_prog_objc_g=no
8433 OBJCFLAGS="-g"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8438 main ()
8442 return 0;
8444 _ACEOF
8445 if ac_fn_objc_try_compile "$LINENO"; then :
8446 ac_cv_prog_objc_g=yes
8447 else
8448 OBJCFLAGS=""
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8453 main ()
8457 return 0;
8459 _ACEOF
8460 if ac_fn_objc_try_compile "$LINENO"; then :
8462 else
8463 ac_objc_werror_flag=$ac_save_objc_werror_flag
8464 OBJCFLAGS="-g"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8469 main ()
8473 return 0;
8475 _ACEOF
8476 if ac_fn_objc_try_compile "$LINENO"; then :
8477 ac_cv_prog_objc_g=yes
8479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8484 ac_objc_werror_flag=$ac_save_objc_werror_flag
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8487 $as_echo "$ac_cv_prog_objc_g" >&6; }
8488 if test "$ac_test_OBJCFLAGS" = set; then
8489 OBJCFLAGS=$ac_save_OBJCFLAGS
8490 elif test $ac_cv_prog_objc_g = yes; then
8491 if test "$GOBJC" = yes; then
8492 OBJCFLAGS="-g -O2"
8493 else
8494 OBJCFLAGS="-g"
8496 else
8497 if test "$GOBJC" = yes; then
8498 OBJCFLAGS="-O2"
8499 else
8500 OBJCFLAGS=
8503 ac_ext=m
8504 ac_cpp='$OBJCPP $CPPFLAGS'
8505 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8506 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8507 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8510 ac_ext=m
8511 ac_cpp='$OBJCPP $CPPFLAGS'
8512 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8513 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8514 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8516 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8517 if test -z "$OBJCPP"; then
8518 if ${ac_cv_prog_OBJCPP+:} false; then :
8519 $as_echo_n "(cached) " >&6
8520 else
8521 # Double quotes because OBJCPP needs to be expanded
8522 for OBJCPP in "$OBJC -E" "/lib/cpp"
8524 ac_preproc_ok=false
8525 for ac_objc_preproc_warn_flag in '' yes
8527 # Use a header file that comes with gcc, so configuring glibc
8528 # with a fresh cross-compiler works.
8529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8530 # <limits.h> exists even on freestanding compilers.
8531 # On the NeXT, cc -E runs the code through the compiler's parser,
8532 # not just through cpp. "Syntax error" is here to catch this case.
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 #ifdef __STDC__
8536 # include <limits.h>
8537 #else
8538 # include <assert.h>
8539 #endif
8540 Syntax error
8541 _ACEOF
8542 if ac_fn_objc_try_cpp "$LINENO"; then :
8544 else
8545 # Broken: fails on valid input.
8546 continue
8548 rm -f conftest.err conftest.i conftest.$ac_ext
8550 # OK, works on sane cases. Now check whether nonexistent headers
8551 # can be detected and how.
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8554 #include <ac_nonexistent.h>
8555 _ACEOF
8556 if ac_fn_objc_try_cpp "$LINENO"; then :
8557 # Broken: success on invalid input.
8558 continue
8559 else
8560 # Passes both tests.
8561 ac_preproc_ok=:
8562 break
8564 rm -f conftest.err conftest.i conftest.$ac_ext
8566 done
8567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8568 rm -f conftest.i conftest.err conftest.$ac_ext
8569 if $ac_preproc_ok; then :
8570 break
8573 done
8574 ac_cv_prog_OBJCPP=$OBJCPP
8577 OBJCPP=$ac_cv_prog_OBJCPP
8578 else
8579 ac_cv_prog_OBJCPP=$OBJCPP
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8582 $as_echo "$OBJCPP" >&6; }
8583 ac_preproc_ok=false
8584 for ac_objc_preproc_warn_flag in '' yes
8586 # Use a header file that comes with gcc, so configuring glibc
8587 # with a fresh cross-compiler works.
8588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8589 # <limits.h> exists even on freestanding compilers.
8590 # On the NeXT, cc -E runs the code through the compiler's parser,
8591 # not just through cpp. "Syntax error" is here to catch this case.
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 #ifdef __STDC__
8595 # include <limits.h>
8596 #else
8597 # include <assert.h>
8598 #endif
8599 Syntax error
8600 _ACEOF
8601 if ac_fn_objc_try_cpp "$LINENO"; then :
8603 else
8604 # Broken: fails on valid input.
8605 continue
8607 rm -f conftest.err conftest.i conftest.$ac_ext
8609 # OK, works on sane cases. Now check whether nonexistent headers
8610 # can be detected and how.
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 #include <ac_nonexistent.h>
8614 _ACEOF
8615 if ac_fn_objc_try_cpp "$LINENO"; then :
8616 # Broken: success on invalid input.
8617 continue
8618 else
8619 # Passes both tests.
8620 ac_preproc_ok=:
8621 break
8623 rm -f conftest.err conftest.i conftest.$ac_ext
8625 done
8626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8627 rm -f conftest.i conftest.err conftest.$ac_ext
8628 if $ac_preproc_ok; then :
8630 else
8631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8633 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8634 See \`config.log' for more details" "$LINENO" 5; }
8637 ac_ext=m
8638 ac_cpp='$OBJCPP $CPPFLAGS'
8639 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8640 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8641 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8644 for ac_header in Metal/Metal.h
8645 do :
8646 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8647 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8648 cat >>confdefs.h <<_ACEOF
8649 #define HAVE_METAL_METAL_H 1
8650 _ACEOF
8654 done
8656 ac_ext=c
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8662 LIBEXT="dylib"
8663 DLLFLAGS="$DLLFLAGS -fPIC"
8664 LDDLLFLAGS="-fPIC"
8665 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8666 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8667 COREFOUNDATION_LIBS="-framework CoreFoundation"
8669 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8671 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8673 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8675 CORESERVICES_LIBS="-framework CoreServices"
8677 APPKIT_LIBS="-framework AppKit"
8679 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8682 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8684 wine_can_build_preloader=yes
8685 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8688 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl__no_new_main__e__main=yes
8699 else
8700 ac_cv_cflags__Wl__no_new_main__e__main=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8707 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8708 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8709 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8711 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8712 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8723 else
8724 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8731 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8732 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8733 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8734 else
8735 { $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
8736 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8737 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8748 else
8749 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $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
8756 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8757 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8758 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8759 else
8760 wine_can_build_preloader=no
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8765 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8766 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8777 else
8778 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8785 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8786 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8787 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8788 else
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8790 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8791 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8802 else
8803 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8810 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8811 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8812 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8813 else
8814 wine_can_build_preloader=no
8818 if test "$wine_can_build_preloader" = "yes"
8819 then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8821 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8822 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -Wl,-no_pie"
8827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8829 int main(int argc, char **argv) { return 0; }
8830 _ACEOF
8831 if ac_fn_c_try_link "$LINENO"; then :
8832 ac_cv_cflags__Wl__no_pie=yes
8833 else
8834 ac_cv_cflags__Wl__no_pie=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 CFLAGS=$ac_wine_try_cflags_saved
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8841 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8842 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8843 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8845 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8846 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8847 else
8848 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8851 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8852 then
8853 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8856 if test "$ac_cv_header_Security_Security_h" = "yes"
8857 then
8858 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8860 ac_save_LIBS="$LIBS"
8861 LIBS="$LIBS $SECURITY_LIBS"
8862 for ac_func in SSLCopyPeerCertificates
8863 do :
8864 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8865 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8866 cat >>confdefs.h <<_ACEOF
8867 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8868 _ACEOF
8871 done
8873 LIBS="$ac_save_LIBS"
8875 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8876 then
8877 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8878 then
8879 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8881 else
8882 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8885 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8886 ac_save_LIBS="$LIBS"
8887 LIBS="$LIBS $COREAUDIO_LIBS"
8888 for ac_func in AUGraphAddNode
8889 do :
8890 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8891 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8892 cat >>confdefs.h <<_ACEOF
8893 #define HAVE_AUGRAPHADDNODE 1
8894 _ACEOF
8897 done
8899 LIBS="$ac_save_LIBS"
8901 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8902 then
8903 OPENAL_LIBS="-framework OpenAL"
8906 cat >>confdefs.h <<_ACEOF
8907 #define HAVE_OPENAL 1
8908 _ACEOF
8910 ac_cv_lib_openal=yes
8912 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8913 then
8914 OPENCL_LIBS="-framework OpenCL"
8916 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8918 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8919 then
8920 ac_save_LIBS="$LIBS"
8921 LIBS="$LIBS $IOKIT_LIBS"
8922 for ac_func in IOHIDManagerCreate
8923 do :
8924 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8925 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8926 cat >>confdefs.h <<_ACEOF
8927 #define HAVE_IOHIDMANAGERCREATE 1
8928 _ACEOF
8931 done
8933 LIBS="$ac_save_LIBS"
8935 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8936 then
8937 ac_save_LIBS="$LIBS"
8938 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8940 $as_echo_n "checking for the QuickTime framework... " >&6; }
8941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8943 #include <QuickTime/ImageCompression.h>
8945 main ()
8947 CodecManagerVersion(NULL);
8949 return 0;
8951 _ACEOF
8952 if ac_fn_c_try_link "$LINENO"; then :
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8954 $as_echo "yes" >&6; }
8955 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8957 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8958 else
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8960 $as_echo "no" >&6; }
8961 ac_cv_header_QuickTime_ImageCompression_h=no
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 LIBS="$ac_save_LIBS"
8967 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8968 then
8969 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8971 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8972 then
8973 CARBON_LIBS="-framework Carbon"
8976 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8977 then
8978 METAL_LIBS="-framework Metal -framework QuartzCore"
8982 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8983 then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8985 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8986 ac_ext=m
8987 ac_cpp='$OBJCPP $CPPFLAGS'
8988 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8989 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8990 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8994 #include <Metal/Metal.h>
8996 main ()
8998 id<MTLDevice> device; device.registryID;
9000 return 0;
9002 _ACEOF
9003 if ac_fn_objc_try_compile "$LINENO"; then :
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9005 $as_echo "yes" >&6; }
9007 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9009 else
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9014 ac_ext=c
9015 ac_cpp='$CPP $CPPFLAGS'
9016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9022 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9023 then
9024 ac_save_LIBS="$LIBS"
9025 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9026 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9027 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9028 enable_winemac_drv=${enable_winemac_drv:-yes}
9031 LIBS="$ac_save_LIBS"
9034 if test "x$enable_win16" = "xyes"
9035 then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9037 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9038 if test "$cross_compiling" = yes; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9040 $as_echo "cross-compiling, assuming yes" >&6; }
9041 else
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 asm(".text\n"
9045 "bad:\tnop;nop\n"
9046 "good:\tnop;nop\n\t"
9047 ".globl _testfunc\n"
9048 "_testfunc:\tcallw good");
9049 extern void testfunc();
9051 main ()
9053 unsigned short *p = (unsigned short *)testfunc;
9054 return p[0] != 0xe866 || p[1] != 0xfffa
9056 return 0;
9058 _ACEOF
9059 if ac_fn_c_try_run "$LINENO"; then :
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9061 $as_echo "yes" >&6; }
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9065 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
9067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9068 conftest.$ac_objext conftest.beam conftest.$ac_ext
9073 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9075 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9077 WINELOADER_DEPENDS="wine_info.plist"
9079 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9080 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9083 linux-android*)
9084 DLLFLAGS="$DLLFLAGS -fPIC"
9085 LDDLLFLAGS="-fPIC"
9086 LDEXECFLAGS="-Wl,-pie"
9087 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9089 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9090 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9091 $as_echo_n "(cached) " >&6
9092 else
9093 ac_wine_try_cflags_saved=$CFLAGS
9094 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 int main(int argc, char **argv) { return 0; }
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9101 else
9102 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9104 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext
9106 CFLAGS=$ac_wine_try_cflags_saved
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9109 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9110 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9111 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9113 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9114 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9116 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9117 if eval \${$as_ac_var+:} false; then :
9118 $as_echo_n "(cached) " >&6
9119 else
9120 ac_wine_try_cflags_saved=$CFLAGS
9121 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9124 int main(int argc, char **argv) { return 0; }
9125 _ACEOF
9126 if ac_fn_c_try_link "$LINENO"; then :
9127 eval "$as_ac_var=yes"
9128 else
9129 eval "$as_ac_var=no"
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 CFLAGS=$ac_wine_try_cflags_saved
9135 eval ac_res=\$$as_ac_var
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9137 $as_echo "$ac_res" >&6; }
9138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9139 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9140 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9141 else
9142 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9144 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9145 if eval \${$as_ac_var+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 ac_wine_try_cflags_saved=$CFLAGS
9149 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9152 int main(int argc, char **argv) { return 0; }
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 eval "$as_ac_var=yes"
9156 else
9157 eval "$as_ac_var=no"
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 CFLAGS=$ac_wine_try_cflags_saved
9163 eval ac_res=\$$as_ac_var
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9165 $as_echo "$ac_res" >&6; }
9166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9167 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9168 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9172 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9173 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 ac_wine_try_cflags_saved=$CFLAGS
9177 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9180 int main(int argc, char **argv) { return 0; }
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 ac_cv_cflags__Wl___enable_new_dtags=yes
9184 else
9185 ac_cv_cflags__Wl___enable_new_dtags=no
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 CFLAGS=$ac_wine_try_cflags_saved
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9192 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9193 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9194 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9197 LIBWINE_SHAREDLIB="libwine.so"
9199 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9201 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9204 $as_echo_n "checking for -lEGL... " >&6; }
9205 if ${ac_cv_lib_soname_EGL+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_soname_save_LIBS=$LIBS
9209 LIBS="-lEGL $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char eglGetProcAddress ();
9221 main ()
9223 return eglGetProcAddress ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 case "$LIBEXT" in
9230 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9231 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'` ;;
9232 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9233 if ${ac_cv_lib_soname_EGL:+false} :; then :
9234 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9235 fi ;;
9236 esac
9237 else
9238 ac_cv_lib_soname_EGL=
9240 rm -f core conftest.err conftest.$ac_objext \
9241 conftest$ac_exeext conftest.$ac_ext
9242 LIBS=$ac_check_soname_save_LIBS
9244 if ${ac_cv_lib_soname_EGL:+false} :; then :
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9246 $as_echo "not found" >&6; }
9248 else
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9250 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9252 cat >>confdefs.h <<_ACEOF
9253 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9254 _ACEOF
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9259 $as_echo_n "checking for -lGLESv2... " >&6; }
9260 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9261 $as_echo_n "(cached) " >&6
9262 else
9263 ac_check_soname_save_LIBS=$LIBS
9264 LIBS="-lGLESv2 $LIBS"
9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9271 #ifdef __cplusplus
9272 extern "C"
9273 #endif
9274 char glFlush ();
9276 main ()
9278 return glFlush ();
9280 return 0;
9282 _ACEOF
9283 if ac_fn_c_try_link "$LINENO"; then :
9284 case "$LIBEXT" in
9285 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9286 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'` ;;
9287 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9288 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9289 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9290 fi ;;
9291 esac
9292 else
9293 ac_cv_lib_soname_GLESv2=
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_soname_save_LIBS
9299 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9301 $as_echo "not found" >&6; }
9303 else
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9305 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9307 cat >>confdefs.h <<_ACEOF
9308 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9309 _ACEOF
9314 if test "x$exec_prefix" = xNONE
9315 then
9316 case $host_cpu in
9317 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9318 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9319 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9320 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9321 esac
9326 case $host_cpu in
9327 *i[3456789]86*)
9328 DLLFLAGS="$DLLFLAGS -fno-PIC"
9329 LDDLLFLAGS="-fno-PIC" ;;
9331 DLLFLAGS="$DLLFLAGS -fPIC"
9332 LDDLLFLAGS="-fPIC" ;;
9333 esac
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9335 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9336 if ${ac_cv_c_dll_gnuelf+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_wine_try_cflags_saved=$CFLAGS
9340 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9343 void myfunc() {}
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9347 else
9348 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 CFLAGS=$ac_wine_try_cflags_saved
9353 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9354 ac_cv_c_dll_gnuelf="yes"
9355 else
9356 ac_cv_c_dll_gnuelf="no"
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9360 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9361 if test "$ac_cv_c_dll_gnuelf" = "yes"
9362 then
9363 LIBWINE_LDFLAGS="-shared"
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9388 else
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9390 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9391 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_wine_try_cflags_saved=$CFLAGS
9395 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9398 int main(int argc, char **argv) { return 0; }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9402 else
9403 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 CFLAGS=$ac_wine_try_cflags_saved
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9410 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9411 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9412 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9416 echo '{ global: *; };' >conftest.map
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9418 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9419 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_wine_try_cflags_saved=$CFLAGS
9423 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9426 int main(int argc, char **argv) { return 0; }
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9430 else
9431 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 CFLAGS=$ac_wine_try_cflags_saved
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9438 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9439 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9440 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9442 rm -f conftest.map
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9445 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9446 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_wine_try_cflags_saved=$CFLAGS
9450 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9453 int main(int argc, char **argv) { return 0; }
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_cflags__Wl___export_dynamic=yes
9457 else
9458 ac_cv_cflags__Wl___export_dynamic=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 CFLAGS=$ac_wine_try_cflags_saved
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9465 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9466 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9467 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9469 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9471 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9473 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9474 if eval \${$as_ac_var+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_wine_try_cflags_saved=$CFLAGS
9478 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 eval "$as_ac_var=yes"
9485 else
9486 eval "$as_ac_var=no"
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 eval ac_res=\$$as_ac_var
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9494 $as_echo "$ac_res" >&6; }
9495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9496 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9497 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9498 else
9499 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9501 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9502 if eval \${$as_ac_var+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 eval "$as_ac_var=yes"
9513 else
9514 eval "$as_ac_var=no"
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 CFLAGS=$ac_wine_try_cflags_saved
9520 eval ac_res=\$$as_ac_var
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9522 $as_echo "$ac_res" >&6; }
9523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9524 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9525 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9530 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9531 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_wine_try_cflags_saved=$CFLAGS
9535 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9538 int main(int argc, char **argv) { return 0; }
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541 ac_cv_cflags__Wl___enable_new_dtags=yes
9542 else
9543 ac_cv_cflags__Wl___enable_new_dtags=no
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 CFLAGS=$ac_wine_try_cflags_saved
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9550 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9551 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9552 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9555 case $host_cpu in
9556 *i[3456789]86* | x86_64 | *aarch64*)
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9558 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9559 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_wine_try_cflags_saved=$CFLAGS
9563 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566 int main(int argc, char **argv) { return 0; }
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9570 else
9571 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 CFLAGS=$ac_wine_try_cflags_saved
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9578 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9579 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9580 case $host_os in
9581 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9582 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9583 esac
9584 else
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9586 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9587 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_wine_try_cflags_saved=$CFLAGS
9591 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594 int main(int argc, char **argv) { return 0; }
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9598 else
9599 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 CFLAGS=$ac_wine_try_cflags_saved
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9606 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9607 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9608 case $host_os in
9609 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9610 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9611 esac
9613 # Extract the first word of "prelink", so it can be a program name with args.
9614 set dummy prelink; ac_word=$2
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9616 $as_echo_n "checking for $ac_word... " >&6; }
9617 if ${ac_cv_path_PRELINK+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 case $PRELINK in
9621 [\\/]* | ?:[\\/]*)
9622 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626 for as_dir in /sbin /usr/sbin $PATH
9628 IFS=$as_save_IFS
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9632 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9634 break 2
9636 done
9637 done
9638 IFS=$as_save_IFS
9640 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9642 esac
9644 PRELINK=$ac_cv_path_PRELINK
9645 if test -n "$PRELINK"; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9647 $as_echo "$PRELINK" >&6; }
9648 else
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 $as_echo "no" >&6; }
9654 if test "x$PRELINK" = xfalse
9655 then
9656 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9660 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9661 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 ac_wine_try_cflags_saved=$CFLAGS
9665 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9668 int main(int argc, char **argv) { return 0; }
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9672 else
9673 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 CFLAGS=$ac_wine_try_cflags_saved
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9680 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9681 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9682 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9685 esac
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9689 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9690 if ${ac_cv_c_dll_unixware+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 ac_wine_try_cflags_saved=$CFLAGS
9694 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9697 void myfunc() {}
9698 _ACEOF
9699 if ac_fn_c_try_link "$LINENO"; then :
9700 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9701 else
9702 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 CFLAGS=$ac_wine_try_cflags_saved
9707 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9708 ac_cv_c_dll_unixware="yes"
9709 else
9710 ac_cv_c_dll_unixware="no"
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9714 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9715 if test "$ac_cv_c_dll_unixware" = "yes"
9716 then
9717 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9720 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9722 LIBWINE_DEPENDS="wine.map"
9724 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9725 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9727 esac
9729 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9730 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9731 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9732 enable_winemac_drv=${enable_winemac_drv:-no}
9733 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9736 if test "x$with_mingw" != xno
9737 then
9738 case "x$with_mingw" in
9739 x|xyes) case "$host_cpu" in
9740 aarch64*)
9741 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9742 arm*)
9743 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9744 i[3456789]86*)
9745 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
9746 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9747 mingw32-gcc" ;;
9748 x86_64)
9749 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
9750 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9752 ac_prefix_list="" ;;
9753 esac
9754 for ac_prog in $ac_prefix_list
9756 # Extract the first word of "$ac_prog", so it can be a program name with args.
9757 set dummy $ac_prog; ac_word=$2
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9759 $as_echo_n "checking for $ac_word... " >&6; }
9760 if ${ac_cv_prog_CROSSCC+:} false; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 if test -n "$CROSSCC"; then
9764 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9765 else
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9767 for as_dir in $PATH
9769 IFS=$as_save_IFS
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9773 ac_cv_prog_CROSSCC="$ac_prog"
9774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9775 break 2
9777 done
9778 done
9779 IFS=$as_save_IFS
9783 CROSSCC=$ac_cv_prog_CROSSCC
9784 if test -n "$CROSSCC"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9786 $as_echo "$CROSSCC" >&6; }
9787 else
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9789 $as_echo "no" >&6; }
9793 test -n "$CROSSCC" && break
9794 done
9795 test -n "$CROSSCC" || CROSSCC="false"
9797 *) CROSSCC=$with_mingw ;;
9798 esac
9799 if test "$CROSSCC" != "false"
9800 then
9801 ac_save_CC="$CC"
9802 saved_CFLAGS=$CFLAGS
9803 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9805 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9809 CC="$CROSSCC"
9810 CFLAGS=$CROSSCFLAGS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9812 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9813 if ${wine_cv_crosscc+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9820 main ()
9824 return 0;
9826 _ACEOF
9827 if ac_fn_c_try_compile "$LINENO"; then :
9828 wine_cv_crosscc=yes
9829 else
9830 wine_cv_crosscc=no
9832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9835 $as_echo "$wine_cv_crosscc" >&6; }
9836 if test $wine_cv_crosscc = yes
9837 then
9838 set x $CROSSCC
9839 shift
9840 while test $# -ge 1
9842 case "$1" in
9843 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9844 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9845 esac
9846 shift
9847 done
9849 llvm_target=$CROSSTARGET
9850 llvm_cflags="-fuse-ld=lld"
9851 if test -z "$llvm_target"
9852 then
9853 case $host_cpu in
9854 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9855 *) llvm_target=$host_cpu-windows-gnu ;;
9856 esac
9858 case $llvm_target in
9859 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9860 esac
9861 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9863 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9864 if eval \${$as_ac_var+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_wine_try_cflags_saved=$CFLAGS
9868 ac_wine_try_cflags_saved_cc=$CC
9869 ac_wine_try_cflags_saved_exeext=$ac_exeext
9870 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9871 CC="$CROSSCC"
9872 ac_exeext=".exe"
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 int __cdecl mainCRTStartup(void) { return 0; }
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 eval "$as_ac_var=yes"
9879 else
9880 eval "$as_ac_var=no"
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 CFLAGS=$ac_wine_try_cflags_saved
9885 CC=$ac_wine_try_cflags_saved_cc
9886 ac_exeext=$ac_wine_try_cflags_saved_exeext
9888 eval ac_res=\$$as_ac_var
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9890 $as_echo "$ac_res" >&6; }
9891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9892 CROSSTARGET=$llvm_target
9893 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9894 DELAYLOADFLAG="-Wl,-delayload,"
9896 CFLAGS="$CFLAGS $llvm_cflags"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9900 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9901 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 ac_wine_try_cflags_saved_cc=$CC
9906 ac_wine_try_cflags_saved_exeext=$ac_exeext
9907 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9908 CC="$CROSSCC"
9909 ac_exeext=".exe"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int __cdecl mainCRTStartup(void) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_crosscflags__fno_strict_aliasing=yes
9916 else
9917 ac_cv_crosscflags__fno_strict_aliasing=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 CFLAGS=$ac_wine_try_cflags_saved
9922 CC=$ac_wine_try_cflags_saved_cc
9923 ac_exeext=$ac_wine_try_cflags_saved_exeext
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9926 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9927 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9928 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9931 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9932 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 ac_wine_try_cflags_saved_cc=$CC
9937 ac_wine_try_cflags_saved_exeext=$ac_exeext
9938 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9939 CC="$CROSSCC"
9940 ac_exeext=".exe"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int __cdecl mainCRTStartup(void) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9947 else
9948 ac_cv_crosscflags__Werror_unknown_warning_option=no
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 CFLAGS=$ac_wine_try_cflags_saved
9953 CC=$ac_wine_try_cflags_saved_cc
9954 ac_exeext=$ac_wine_try_cflags_saved_exeext
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9957 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9958 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9959 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9962 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9963 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_wine_try_cflags_saved=$CFLAGS
9967 ac_wine_try_cflags_saved_cc=$CC
9968 ac_wine_try_cflags_saved_exeext=$ac_exeext
9969 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9970 CC="$CROSSCC"
9971 ac_exeext=".exe"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int __cdecl mainCRTStartup(void) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9978 else
9979 ac_cv_crosscflags__Wdeclaration_after_statement=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9984 CC=$ac_wine_try_cflags_saved_cc
9985 ac_exeext=$ac_wine_try_cflags_saved_exeext
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9988 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9989 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9990 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9993 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9994 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_wine_try_cflags_saved=$CFLAGS
9998 ac_wine_try_cflags_saved_cc=$CC
9999 ac_wine_try_cflags_saved_exeext=$ac_exeext
10000 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10001 CC="$CROSSCC"
10002 ac_exeext=".exe"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 int __cdecl mainCRTStartup(void) { return 0; }
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_crosscflags__Wempty_body=yes
10009 else
10010 ac_cv_crosscflags__Wempty_body=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 CFLAGS=$ac_wine_try_cflags_saved
10015 CC=$ac_wine_try_cflags_saved_cc
10016 ac_exeext=$ac_wine_try_cflags_saved_exeext
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10019 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10020 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10021 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10024 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10025 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_wine_try_cflags_saved=$CFLAGS
10029 ac_wine_try_cflags_saved_cc=$CC
10030 ac_wine_try_cflags_saved_exeext=$ac_exeext
10031 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10032 CC="$CROSSCC"
10033 ac_exeext=".exe"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 int __cdecl mainCRTStartup(void) { return 0; }
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_crosscflags__Wignored_qualifiers=yes
10040 else
10041 ac_cv_crosscflags__Wignored_qualifiers=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 CFLAGS=$ac_wine_try_cflags_saved
10046 CC=$ac_wine_try_cflags_saved_cc
10047 ac_exeext=$ac_wine_try_cflags_saved_exeext
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10050 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10051 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10052 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10055 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10056 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_wine_try_cflags_saved=$CFLAGS
10060 ac_wine_try_cflags_saved_cc=$CC
10061 ac_wine_try_cflags_saved_exeext=$ac_exeext
10062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10063 CC="$CROSSCC"
10064 ac_exeext=".exe"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 int __cdecl mainCRTStartup(void) { return 0; }
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_crosscflags__Wpacked_not_aligned=yes
10071 else
10072 ac_cv_crosscflags__Wpacked_not_aligned=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 CFLAGS=$ac_wine_try_cflags_saved
10077 CC=$ac_wine_try_cflags_saved_cc
10078 ac_exeext=$ac_wine_try_cflags_saved_exeext
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10081 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10082 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10086 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10087 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_wine_try_cflags_saved=$CFLAGS
10091 ac_wine_try_cflags_saved_cc=$CC
10092 ac_wine_try_cflags_saved_exeext=$ac_exeext
10093 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10094 CC="$CROSSCC"
10095 ac_exeext=".exe"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 int __cdecl mainCRTStartup(void) { return 0; }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_crosscflags__Wpragma_pack=yes
10102 else
10103 ac_cv_crosscflags__Wpragma_pack=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10108 CC=$ac_wine_try_cflags_saved_cc
10109 ac_exeext=$ac_wine_try_cflags_saved_exeext
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10112 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10113 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10114 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10117 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10118 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_wine_try_cflags_saved=$CFLAGS
10122 ac_wine_try_cflags_saved_cc=$CC
10123 ac_wine_try_cflags_saved_exeext=$ac_exeext
10124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10125 CC="$CROSSCC"
10126 ac_exeext=".exe"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 int __cdecl mainCRTStartup(void) { return 0; }
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_crosscflags__Wshift_overflow_2=yes
10133 else
10134 ac_cv_crosscflags__Wshift_overflow_2=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_wine_try_cflags_saved
10139 CC=$ac_wine_try_cflags_saved_cc
10140 ac_exeext=$ac_wine_try_cflags_saved_exeext
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10143 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10144 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10148 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10149 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 ac_wine_try_cflags_saved_cc=$CC
10154 ac_wine_try_cflags_saved_exeext=$ac_exeext
10155 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10156 CC="$CROSSCC"
10157 ac_exeext=".exe"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int __cdecl mainCRTStartup(void) { return 0; }
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 ac_cv_crosscflags__Wstrict_prototypes=yes
10164 else
10165 ac_cv_crosscflags__Wstrict_prototypes=no
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10170 CC=$ac_wine_try_cflags_saved_cc
10171 ac_exeext=$ac_wine_try_cflags_saved_exeext
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10174 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10175 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10180 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int __cdecl mainCRTStartup(void) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_crosscflags__Wtype_limits=yes
10195 else
10196 ac_cv_crosscflags__Wtype_limits=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10205 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10206 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10211 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int __cdecl mainCRTStartup(void) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10226 else
10227 ac_cv_crosscflags__Wunused_but_set_parameter=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10236 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10237 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10241 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10242 if ${ac_cv_crosscflags__Wvla+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 ac_wine_try_cflags_saved_cc=$CC
10247 ac_wine_try_cflags_saved_exeext=$ac_exeext
10248 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10249 CC="$CROSSCC"
10250 ac_exeext=".exe"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10253 int __cdecl mainCRTStartup(void) { return 0; }
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_crosscflags__Wvla=yes
10257 else
10258 ac_cv_crosscflags__Wvla=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 CFLAGS=$ac_wine_try_cflags_saved
10263 CC=$ac_wine_try_cflags_saved_cc
10264 ac_exeext=$ac_wine_try_cflags_saved_exeext
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10267 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10268 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10269 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10273 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int __cdecl mainCRTStartup(void) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__Wwrite_strings=yes
10288 else
10289 ac_cv_crosscflags__Wwrite_strings=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10298 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10299 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10304 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int __cdecl mainCRTStartup(void) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__Wpointer_arith=yes
10319 else
10320 ac_cv_crosscflags__Wpointer_arith=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10329 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10330 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10334 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10335 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_wine_try_cflags_saved=$CFLAGS
10339 ac_wine_try_cflags_saved_cc=$CC
10340 ac_wine_try_cflags_saved_exeext=$ac_exeext
10341 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10342 CC="$CROSSCC"
10343 ac_exeext=".exe"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int __cdecl mainCRTStartup(void) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_crosscflags__Wlogical_op=yes
10350 else
10351 ac_cv_crosscflags__Wlogical_op=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 CFLAGS=$ac_wine_try_cflags_saved
10356 CC=$ac_wine_try_cflags_saved_cc
10357 ac_exeext=$ac_wine_try_cflags_saved_exeext
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10360 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10361 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10362 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10366 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int __cdecl mainCRTStartup(void) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10381 else
10382 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10391 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10392 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10396 case $host_cpu in
10397 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10398 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10399 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_wine_try_cflags_saved=$CFLAGS
10403 ac_wine_try_cflags_saved_cc=$CC
10404 ac_wine_try_cflags_saved_exeext=$ac_exeext
10405 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10406 CC="$CROSSCC"
10407 ac_exeext=".exe"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int __cdecl mainCRTStartup(void) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10414 else
10415 ac_cv_crosscflags__fno_omit_frame_pointer=no
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10420 CC=$ac_wine_try_cflags_saved_cc
10421 ac_exeext=$ac_wine_try_cflags_saved_exeext
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10424 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10425 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10427 fi ;;
10428 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10429 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10430 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_wine_try_cflags_saved=$CFLAGS
10434 ac_wine_try_cflags_saved_cc=$CC
10435 ac_wine_try_cflags_saved_exeext=$ac_exeext
10436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10437 CC="$CROSSCC"
10438 ac_exeext=".exe"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 int __cdecl mainCRTStartup(void) { return 0; }
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_crosscflags__Wno_format=yes
10445 else
10446 ac_cv_crosscflags__Wno_format=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 CFLAGS=$ac_wine_try_cflags_saved
10451 CC=$ac_wine_try_cflags_saved_cc
10452 ac_exeext=$ac_wine_try_cflags_saved_exeext
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10455 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10456 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10460 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10461 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_wine_try_cflags_saved=$CFLAGS
10465 ac_wine_try_cflags_saved_cc=$CC
10466 ac_wine_try_cflags_saved_exeext=$ac_exeext
10467 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10468 CC="$CROSSCC"
10469 ac_exeext=".exe"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int __cdecl mainCRTStartup(void) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_crosscflags__Wformat_overflow=yes
10476 else
10477 ac_cv_crosscflags__Wformat_overflow=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10482 CC=$ac_wine_try_cflags_saved_cc
10483 ac_exeext=$ac_wine_try_cflags_saved_exeext
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10486 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10487 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10491 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10492 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_wine_try_cflags_saved=$CFLAGS
10496 ac_wine_try_cflags_saved_cc=$CC
10497 ac_wine_try_cflags_saved_exeext=$ac_exeext
10498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10499 CC="$CROSSCC"
10500 ac_exeext=".exe"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 int __cdecl mainCRTStartup(void) { return 0; }
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"; then :
10506 ac_cv_crosscflags__Wnonnull=yes
10507 else
10508 ac_cv_crosscflags__Wnonnull=no
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 CFLAGS=$ac_wine_try_cflags_saved
10513 CC=$ac_wine_try_cflags_saved_cc
10514 ac_exeext=$ac_wine_try_cflags_saved_exeext
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10517 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10518 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10519 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10520 fi ;;
10521 esac
10523 for ac_flag in $CROSSCFLAGS; do
10524 case $ac_flag in
10525 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10526 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10527 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_wine_try_cflags_saved=$CFLAGS
10531 ac_wine_try_cflags_saved_cc=$CC
10532 ac_wine_try_cflags_saved_exeext=$ac_exeext
10533 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10534 CC="$CROSSCC"
10535 ac_exeext=".exe"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10538 int __cdecl mainCRTStartup(void) { return 0; }
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 ac_cv_crosscflags__gdwarf_2=yes
10542 else
10543 ac_cv_crosscflags__gdwarf_2=no
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 CFLAGS=$ac_wine_try_cflags_saved
10548 CC=$ac_wine_try_cflags_saved_cc
10549 ac_exeext=$ac_wine_try_cflags_saved_exeext
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10552 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10553 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10554 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10557 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10558 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_wine_try_cflags_saved=$CFLAGS
10562 ac_wine_try_cflags_saved_cc=$CC
10563 ac_wine_try_cflags_saved_exeext=$ac_exeext
10564 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10565 CC="$CROSSCC"
10566 ac_exeext=".exe"
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10569 int __cdecl mainCRTStartup(void) { return 0; }
10570 _ACEOF
10571 if ac_fn_c_try_link "$LINENO"; then :
10572 ac_cv_crosscflags__gstrict_dwarf=yes
10573 else
10574 ac_cv_crosscflags__gstrict_dwarf=no
10576 rm -f core conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 CFLAGS=$ac_wine_try_cflags_saved
10579 CC=$ac_wine_try_cflags_saved_cc
10580 ac_exeext=$ac_wine_try_cflags_saved_exeext
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10583 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10584 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10585 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10586 fi ;;
10587 esac
10588 done
10590 if test "x$enable_werror" = "xyes"
10591 then
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10593 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10594 if ${ac_cv_crosscflags__Werror+:} false; then :
10595 $as_echo_n "(cached) " >&6
10596 else
10597 ac_wine_try_cflags_saved=$CFLAGS
10598 ac_wine_try_cflags_saved_cc=$CC
10599 ac_wine_try_cflags_saved_exeext=$ac_exeext
10600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10601 CC="$CROSSCC"
10602 ac_exeext=".exe"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10605 int __cdecl mainCRTStartup(void) { return 0; }
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 ac_cv_crosscflags__Werror=yes
10609 else
10610 ac_cv_crosscflags__Werror=no
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 CFLAGS=$ac_wine_try_cflags_saved
10615 CC=$ac_wine_try_cflags_saved_cc
10616 ac_exeext=$ac_wine_try_cflags_saved_exeext
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10619 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10620 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10621 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10625 CFLAGS=$saved_CFLAGS
10626 CC="$ac_save_CC"
10629 if test "x$CROSSTARGET" = "x"; then :
10630 case "x$with_mingw" in
10631 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10632 xno) ;;
10633 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10634 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10635 esac
10640 if test "$ac_cv_header_pthread_h" = "yes"
10641 then
10642 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10643 if test "x$ac_cv_func_pthread_create" = xyes; then :
10645 else
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10647 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10648 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10649 $as_echo_n "(cached) " >&6
10650 else
10651 ac_check_lib_save_LIBS=$LIBS
10652 LIBS="-lpthread $LIBS"
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10659 #ifdef __cplusplus
10660 extern "C"
10661 #endif
10662 char pthread_create ();
10664 main ()
10666 return pthread_create ();
10668 return 0;
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"; then :
10672 ac_cv_lib_pthread_pthread_create=yes
10673 else
10674 ac_cv_lib_pthread_pthread_create=no
10676 rm -f core conftest.err conftest.$ac_objext \
10677 conftest$ac_exeext conftest.$ac_ext
10678 LIBS=$ac_check_lib_save_LIBS
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10681 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10682 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10683 PTHREAD_LIBS="-lpthread"
10690 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10691 case "x$with_pthread" in
10692 xno) ;;
10693 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10694 Wine cannot support threads without libpthread.
10695 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10696 esac
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10702 $as_echo_n "checking for X... " >&6; }
10705 # Check whether --with-x was given.
10706 if test "${with_x+set}" = set; then :
10707 withval=$with_x;
10710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10711 if test "x$with_x" = xno; then
10712 # The user explicitly disabled X.
10713 have_x=disabled
10714 else
10715 case $x_includes,$x_libraries in #(
10716 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10717 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 # One or both of the vars are not set, and there is no cached value.
10721 ac_x_includes=no ac_x_libraries=no
10722 rm -f -r conftest.dir
10723 if mkdir conftest.dir; then
10724 cd conftest.dir
10725 cat >Imakefile <<'_ACEOF'
10726 incroot:
10727 @echo incroot='${INCROOT}'
10728 usrlibdir:
10729 @echo usrlibdir='${USRLIBDIR}'
10730 libdir:
10731 @echo libdir='${LIBDIR}'
10732 _ACEOF
10733 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10734 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10735 for ac_var in incroot usrlibdir libdir; do
10736 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10737 done
10738 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10739 for ac_extension in a so sl dylib la dll; do
10740 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10741 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10742 ac_im_usrlibdir=$ac_im_libdir; break
10744 done
10745 # Screen out bogus values from the imake configuration. They are
10746 # bogus both because they are the default anyway, and because
10747 # using them would break gcc on systems where it needs fixed includes.
10748 case $ac_im_incroot in
10749 /usr/include) ac_x_includes= ;;
10750 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10751 esac
10752 case $ac_im_usrlibdir in
10753 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10754 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10755 esac
10757 cd ..
10758 rm -f -r conftest.dir
10761 # Standard set of common directories for X headers.
10762 # Check X11 before X11Rn because it is often a symlink to the current release.
10763 ac_x_header_dirs='
10764 /usr/X11/include
10765 /usr/X11R7/include
10766 /usr/X11R6/include
10767 /usr/X11R5/include
10768 /usr/X11R4/include
10770 /usr/include/X11
10771 /usr/include/X11R7
10772 /usr/include/X11R6
10773 /usr/include/X11R5
10774 /usr/include/X11R4
10776 /usr/local/X11/include
10777 /usr/local/X11R7/include
10778 /usr/local/X11R6/include
10779 /usr/local/X11R5/include
10780 /usr/local/X11R4/include
10782 /usr/local/include/X11
10783 /usr/local/include/X11R7
10784 /usr/local/include/X11R6
10785 /usr/local/include/X11R5
10786 /usr/local/include/X11R4
10788 /usr/X386/include
10789 /usr/x386/include
10790 /usr/XFree86/include/X11
10792 /usr/include
10793 /usr/local/include
10794 /usr/unsupported/include
10795 /usr/athena/include
10796 /usr/local/x11r5/include
10797 /usr/lpp/Xamples/include
10799 /usr/openwin/include
10800 /usr/openwin/share/include'
10802 if test "$ac_x_includes" = no; then
10803 # Guess where to find include files, by looking for Xlib.h.
10804 # First, try using that file with no special directory specified.
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10807 #include <X11/Xlib.h>
10808 _ACEOF
10809 if ac_fn_c_try_cpp "$LINENO"; then :
10810 # We can compile using X headers with no special include directory.
10811 ac_x_includes=
10812 else
10813 for ac_dir in $ac_x_header_dirs; do
10814 if test -r "$ac_dir/X11/Xlib.h"; then
10815 ac_x_includes=$ac_dir
10816 break
10818 done
10820 rm -f conftest.err conftest.i conftest.$ac_ext
10821 fi # $ac_x_includes = no
10823 if test "$ac_x_libraries" = no; then
10824 # Check for the libraries.
10825 # See if we find them without any special options.
10826 # Don't add to $LIBS permanently.
10827 ac_save_LIBS=$LIBS
10828 LIBS="-lX11 $LIBS"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10831 #include <X11/Xlib.h>
10833 main ()
10835 XrmInitialize ()
10837 return 0;
10839 _ACEOF
10840 if ac_fn_c_try_link "$LINENO"; then :
10841 LIBS=$ac_save_LIBS
10842 # We can link X programs with no special library path.
10843 ac_x_libraries=
10844 else
10845 LIBS=$ac_save_LIBS
10846 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10848 # Don't even attempt the hair of trying to link an X program!
10849 for ac_extension in a so sl dylib la dll; do
10850 if test -r "$ac_dir/libX11.$ac_extension"; then
10851 ac_x_libraries=$ac_dir
10852 break 2
10854 done
10855 done
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 fi # $ac_x_libraries = no
10861 case $ac_x_includes,$ac_x_libraries in #(
10862 no,* | *,no | *\'*)
10863 # Didn't find X, or a directory has "'" in its name.
10864 ac_cv_have_x="have_x=no";; #(
10866 # Record where we found X for the cache.
10867 ac_cv_have_x="have_x=yes\
10868 ac_x_includes='$ac_x_includes'\
10869 ac_x_libraries='$ac_x_libraries'"
10870 esac
10872 ;; #(
10873 *) have_x=yes;;
10874 esac
10875 eval "$ac_cv_have_x"
10876 fi # $with_x != no
10878 if test "$have_x" != yes; then
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10880 $as_echo "$have_x" >&6; }
10881 no_x=yes
10882 else
10883 # If each of the values was on the command line, it overrides each guess.
10884 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10885 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10886 # Update the cache value to reflect the command line values.
10887 ac_cv_have_x="have_x=yes\
10888 ac_x_includes='$x_includes'\
10889 ac_x_libraries='$x_libraries'"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10891 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10894 if test "$no_x" = yes; then
10895 # Not all programs may use this symbol, but it does not hurt to define it.
10897 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10899 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10900 else
10901 if test -n "$x_includes"; then
10902 X_CFLAGS="$X_CFLAGS -I$x_includes"
10905 # It would also be nice to do this for all -L options, not just this one.
10906 if test -n "$x_libraries"; then
10907 X_LIBS="$X_LIBS -L$x_libraries"
10908 # For Solaris; some versions of Sun CC require a space after -R and
10909 # others require no space. Words are not sufficient . . . .
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10911 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10912 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10913 ac_xsave_c_werror_flag=$ac_c_werror_flag
10914 ac_c_werror_flag=yes
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10919 main ()
10923 return 0;
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928 $as_echo "no" >&6; }
10929 X_LIBS="$X_LIBS -R$x_libraries"
10930 else
10931 LIBS="$ac_xsave_LIBS -R $x_libraries"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10936 main ()
10940 return 0;
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"; then :
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10945 $as_echo "yes" >&6; }
10946 X_LIBS="$X_LIBS -R $x_libraries"
10947 else
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10949 $as_echo "neither works" >&6; }
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 ac_c_werror_flag=$ac_xsave_c_werror_flag
10957 LIBS=$ac_xsave_LIBS
10960 # Check for system-dependent libraries X programs must link with.
10961 # Do this before checking for the system-independent R6 libraries
10962 # (-lICE), since we may need -lsocket or whatever for X linking.
10964 if test "$ISC" = yes; then
10965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10966 else
10967 # Martyn Johnson says this is needed for Ultrix, if the X
10968 # libraries were built with DECnet support. And Karl Berry says
10969 # the Alpha needs dnet_stub (dnet does not exist).
10970 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char XOpenDisplay ();
10982 main ()
10984 return XOpenDisplay ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10991 else
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10993 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10994 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10995 $as_echo_n "(cached) " >&6
10996 else
10997 ac_check_lib_save_LIBS=$LIBS
10998 LIBS="-ldnet $LIBS"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11002 /* Override any GCC internal prototype to avoid an error.
11003 Use char because int might match the return type of a GCC
11004 builtin and then its argument prototype would still apply. */
11005 #ifdef __cplusplus
11006 extern "C"
11007 #endif
11008 char dnet_ntoa ();
11010 main ()
11012 return dnet_ntoa ();
11014 return 0;
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"; then :
11018 ac_cv_lib_dnet_dnet_ntoa=yes
11019 else
11020 ac_cv_lib_dnet_dnet_ntoa=no
11022 rm -f core conftest.err conftest.$ac_objext \
11023 conftest$ac_exeext conftest.$ac_ext
11024 LIBS=$ac_check_lib_save_LIBS
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11027 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11028 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11029 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11032 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11034 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11035 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11036 $as_echo_n "(cached) " >&6
11037 else
11038 ac_check_lib_save_LIBS=$LIBS
11039 LIBS="-ldnet_stub $LIBS"
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11046 #ifdef __cplusplus
11047 extern "C"
11048 #endif
11049 char dnet_ntoa ();
11051 main ()
11053 return dnet_ntoa ();
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11060 else
11061 ac_cv_lib_dnet_stub_dnet_ntoa=no
11063 rm -f core conftest.err conftest.$ac_objext \
11064 conftest$ac_exeext conftest.$ac_ext
11065 LIBS=$ac_check_lib_save_LIBS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11068 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11069 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11070 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS="$ac_xsave_LIBS"
11079 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11080 # to get the SysV transport functions.
11081 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11082 # needs -lnsl.
11083 # The nsl library prevents programs from opening the X display
11084 # on Irix 5.2, according to T.E. Dickey.
11085 # The functions gethostbyname, getservbyname, and inet_addr are
11086 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11087 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11088 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11092 if test $ac_cv_func_gethostbyname = no; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11094 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11095 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lnsl $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char gethostbyname ();
11111 main ()
11113 return gethostbyname ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_nsl_gethostbyname=yes
11120 else
11121 ac_cv_lib_nsl_gethostbyname=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11128 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11129 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11130 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11133 if test $ac_cv_lib_nsl_gethostbyname = no; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11135 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11136 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_lib_save_LIBS=$LIBS
11140 LIBS="-lbsd $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char gethostbyname ();
11152 main ()
11154 return gethostbyname ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 ac_cv_lib_bsd_gethostbyname=yes
11161 else
11162 ac_cv_lib_bsd_gethostbyname=no
11164 rm -f core conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11169 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11170 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11177 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11178 # socket/setsockopt and other routines are undefined under SCO ODT
11179 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11180 # on later versions), says Simon Leinen: it contains gethostby*
11181 # variants that don't use the name server (or something). -lsocket
11182 # must be given before -lnsl if both are needed. We assume that
11183 # if connect needs -lnsl, so does gethostbyname.
11184 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11185 if test "x$ac_cv_func_connect" = xyes; then :
11189 if test $ac_cv_func_connect = no; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11191 $as_echo_n "checking for connect in -lsocket... " >&6; }
11192 if ${ac_cv_lib_socket_connect+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char connect ();
11208 main ()
11210 return connect ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_socket_connect=yes
11217 else
11218 ac_cv_lib_socket_connect=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11225 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11226 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11227 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11232 # Guillermo Gomez says -lposix is necessary on A/UX.
11233 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11234 if test "x$ac_cv_func_remove" = xyes; then :
11238 if test $ac_cv_func_remove = no; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11240 $as_echo_n "checking for remove in -lposix... " >&6; }
11241 if ${ac_cv_lib_posix_remove+:} false; then :
11242 $as_echo_n "(cached) " >&6
11243 else
11244 ac_check_lib_save_LIBS=$LIBS
11245 LIBS="-lposix $LIBS"
11246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11252 #ifdef __cplusplus
11253 extern "C"
11254 #endif
11255 char remove ();
11257 main ()
11259 return remove ();
11261 return 0;
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"; then :
11265 ac_cv_lib_posix_remove=yes
11266 else
11267 ac_cv_lib_posix_remove=no
11269 rm -f core conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 LIBS=$ac_check_lib_save_LIBS
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11274 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11275 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11281 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11282 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11283 if test "x$ac_cv_func_shmat" = xyes; then :
11287 if test $ac_cv_func_shmat = no; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11289 $as_echo_n "checking for shmat in -lipc... " >&6; }
11290 if ${ac_cv_lib_ipc_shmat+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lipc $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char shmat ();
11306 main ()
11308 return shmat ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_ipc_shmat=yes
11315 else
11316 ac_cv_lib_ipc_shmat=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11323 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11324 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11331 # Check for libraries that X11R6 Xt/Xaw programs need.
11332 ac_save_LDFLAGS=$LDFLAGS
11333 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11334 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11335 # check for ICE first), but we must link in the order -lSM -lICE or
11336 # we get undefined symbols. So assume we have SM if we have ICE.
11337 # These have to be linked with before -lX11, unlike the other
11338 # libraries we check for below, so use a different variable.
11339 # John Interrante, Karl Berry
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11341 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11342 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char IceConnectionNumber ();
11358 main ()
11360 return IceConnectionNumber ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 ac_cv_lib_ICE_IceConnectionNumber=yes
11367 else
11368 ac_cv_lib_ICE_IceConnectionNumber=no
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11375 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11376 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11377 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11380 LDFLAGS=$ac_save_LDFLAGS
11385 if test "$have_x" = "yes"
11386 then
11387 ac_save_CPPFLAGS="$CPPFLAGS"
11388 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11391 $as_echo_n "checking for -lX11... " >&6; }
11392 if ${ac_cv_lib_soname_X11+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_soname_save_LIBS=$LIBS
11396 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char XCreateWindow ();
11408 main ()
11410 return XCreateWindow ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 case "$LIBEXT" in
11417 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11418 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'` ;;
11419 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11420 if ${ac_cv_lib_soname_X11:+false} :; then :
11421 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11422 fi ;;
11423 esac
11424 else
11425 ac_cv_lib_soname_X11=
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_soname_save_LIBS
11431 if ${ac_cv_lib_soname_X11:+false} :; then :
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11433 $as_echo "not found" >&6; }
11435 else
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11437 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11439 cat >>confdefs.h <<_ACEOF
11440 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11441 _ACEOF
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11446 $as_echo_n "checking for -lXext... " >&6; }
11447 if ${ac_cv_lib_soname_Xext+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char XextCreateExtension ();
11463 main ()
11465 return XextCreateExtension ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_Xext:+false} :; then :
11476 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11479 else
11480 ac_cv_lib_soname_Xext=
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if ${ac_cv_lib_soname_Xext:+false} :; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11490 else
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11492 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11496 _ACEOF
11498 X_LIBS="$X_LIBS -lXext"
11500 X_LIBS="$X_LIBS -lX11"
11502 for ac_header in X11/Xlib.h \
11503 X11/XKBlib.h \
11504 X11/Xutil.h \
11505 X11/Xcursor/Xcursor.h \
11506 X11/extensions/shape.h \
11507 X11/extensions/XInput.h \
11508 X11/extensions/XInput2.h \
11509 X11/extensions/XShm.h \
11510 X11/extensions/Xcomposite.h \
11511 X11/extensions/Xfixes.h \
11512 X11/extensions/Xinerama.h \
11513 X11/extensions/Xrandr.h \
11514 X11/extensions/Xrender.h \
11515 X11/extensions/xf86vmode.h \
11516 X11/extensions/xf86vmproto.h
11517 do :
11518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11519 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11520 # include <X11/Xlib.h>
11521 #endif
11522 #ifdef HAVE_X11_XUTIL_H
11523 # include <X11/Xutil.h>
11524 #endif
11526 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11527 cat >>confdefs.h <<_ACEOF
11528 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11529 _ACEOF
11533 done
11536 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11537 then
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11539 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11540 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11541 $as_echo_n "(cached) " >&6
11542 else
11543 ac_check_lib_save_LIBS=$LIBS
11544 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11551 #ifdef __cplusplus
11552 extern "C"
11553 #endif
11554 char XkbQueryExtension ();
11556 main ()
11558 return XkbQueryExtension ();
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_link "$LINENO"; then :
11564 ac_cv_lib_X11_XkbQueryExtension=yes
11565 else
11566 ac_cv_lib_X11_XkbQueryExtension=no
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_lib_save_LIBS
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11573 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11574 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11576 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11582 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11583 then
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11585 $as_echo_n "checking for -lXcursor... " >&6; }
11586 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11587 $as_echo_n "(cached) " >&6
11588 else
11589 ac_check_soname_save_LIBS=$LIBS
11590 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11594 /* Override any GCC internal prototype to avoid an error.
11595 Use char because int might match the return type of a GCC
11596 builtin and then its argument prototype would still apply. */
11597 #ifdef __cplusplus
11598 extern "C"
11599 #endif
11600 char XcursorImageLoadCursor ();
11602 main ()
11604 return XcursorImageLoadCursor ();
11606 return 0;
11608 _ACEOF
11609 if ac_fn_c_try_link "$LINENO"; then :
11610 case "$LIBEXT" in
11611 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11612 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'` ;;
11613 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11614 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11615 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11616 fi ;;
11617 esac
11618 else
11619 ac_cv_lib_soname_Xcursor=
11621 rm -f core conftest.err conftest.$ac_objext \
11622 conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_soname_save_LIBS
11625 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11627 $as_echo "not found" >&6; }
11629 else
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11631 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11633 cat >>confdefs.h <<_ACEOF
11634 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11635 _ACEOF
11640 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11641 case "x$with_xcursor" in
11642 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11643 xno) ;;
11644 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11645 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11646 esac
11650 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11653 $as_echo_n "checking for -lXi... " >&6; }
11654 if ${ac_cv_lib_soname_Xi+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char XOpenDevice ();
11670 main ()
11672 return XOpenDevice ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_Xi:+false} :; then :
11683 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11686 else
11687 ac_cv_lib_soname_Xi=
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_soname_save_LIBS
11693 if ${ac_cv_lib_soname_Xi:+false} :; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11695 $as_echo "not found" >&6; }
11697 else
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11699 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11701 cat >>confdefs.h <<_ACEOF
11702 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11703 _ACEOF
11708 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11709 case "x$with_xinput" in
11710 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11711 xno) ;;
11712 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11713 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11714 esac
11718 if test "x$ac_cv_lib_soname_Xi" != x
11719 then
11720 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11721 case "x$with_xinput2" in
11722 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11723 xno) ;;
11724 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11725 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11726 esac
11731 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11732 then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11734 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11735 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11736 $as_echo_n "(cached) " >&6
11737 else
11738 ac_check_lib_save_LIBS=$LIBS
11739 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11746 #ifdef __cplusplus
11747 extern "C"
11748 #endif
11749 char XShmQueryExtension ();
11751 main ()
11753 return XShmQueryExtension ();
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_link "$LINENO"; then :
11759 ac_cv_lib_Xext_XShmQueryExtension=yes
11760 else
11761 ac_cv_lib_Xext_XShmQueryExtension=no
11763 rm -f core conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_lib_save_LIBS
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11768 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11769 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11771 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11776 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11777 case "x$with_xshm" in
11778 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11779 xno) ;;
11780 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11781 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11782 esac
11786 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11789 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11790 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char XShapeQueryExtension ();
11806 main ()
11808 return XShapeQueryExtension ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 ac_cv_lib_Xext_XShapeQueryExtension=yes
11815 else
11816 ac_cv_lib_Xext_XShapeQueryExtension=no
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11823 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11824 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11826 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11831 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11832 case "x$with_xshape" in
11833 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11834 xno) ;;
11835 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11836 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11837 esac
11841 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11844 $as_echo_n "checking for -lXxf86vm... " >&6; }
11845 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_soname_save_LIBS=$LIBS
11849 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char XF86VidModeQueryExtension ();
11861 main ()
11863 return XF86VidModeQueryExtension ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 case "$LIBEXT" in
11870 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11871 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'` ;;
11872 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11873 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11874 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11875 fi ;;
11876 esac
11877 else
11878 ac_cv_lib_soname_Xxf86vm=
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_soname_save_LIBS
11884 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11886 $as_echo "not found" >&6; }
11888 else
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11890 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11892 cat >>confdefs.h <<_ACEOF
11893 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11894 _ACEOF
11899 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11900 case "x$with_xxf86vm" in
11901 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11902 xno) ;;
11903 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11904 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11905 esac
11909 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11910 then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11912 $as_echo_n "checking for -lXrender... " >&6; }
11913 if ${ac_cv_lib_soname_Xrender+:} false; then :
11914 $as_echo_n "(cached) " >&6
11915 else
11916 ac_check_soname_save_LIBS=$LIBS
11917 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11924 #ifdef __cplusplus
11925 extern "C"
11926 #endif
11927 char XRenderQueryExtension ();
11929 main ()
11931 return XRenderQueryExtension ();
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 case "$LIBEXT" in
11938 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11939 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'` ;;
11940 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11941 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11942 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11943 fi ;;
11944 esac
11945 else
11946 ac_cv_lib_soname_Xrender=
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_soname_save_LIBS
11952 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11954 $as_echo "not found" >&6; }
11956 else
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11958 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11960 cat >>confdefs.h <<_ACEOF
11961 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11962 _ACEOF
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11965 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11966 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11967 $as_echo_n "(cached) " >&6
11968 else
11969 ac_check_lib_save_LIBS=$LIBS
11970 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 #ifdef __cplusplus
11978 extern "C"
11979 #endif
11980 char XRenderSetPictureTransform ();
11982 main ()
11984 return XRenderSetPictureTransform ();
11986 return 0;
11988 _ACEOF
11989 if ac_fn_c_try_link "$LINENO"; then :
11990 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11991 else
11992 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11994 rm -f core conftest.err conftest.$ac_objext \
11995 conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_lib_save_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11999 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12000 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12002 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12007 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12008 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12019 #ifdef __cplusplus
12020 extern "C"
12021 #endif
12022 char XRenderCreateLinearGradient ();
12024 main ()
12026 return XRenderCreateLinearGradient ();
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12033 else
12034 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_lib_save_LIBS
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12041 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12042 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12044 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12051 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12052 case "x$with_xrender" in
12053 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12054 xno) ;;
12055 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12056 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12057 esac
12061 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12062 then
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12065 #include <X11/Xlib.h>
12066 #include <X11/extensions/Xrandr.h>
12068 main ()
12070 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_compile "$LINENO"; then :
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12077 $as_echo_n "checking for -lXrandr... " >&6; }
12078 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12079 $as_echo_n "(cached) " >&6
12080 else
12081 ac_check_soname_save_LIBS=$LIBS
12082 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 char XRRQueryExtension ();
12094 main ()
12096 return XRRQueryExtension ();
12098 return 0;
12100 _ACEOF
12101 if ac_fn_c_try_link "$LINENO"; then :
12102 case "$LIBEXT" in
12103 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12104 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'` ;;
12105 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12106 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12107 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12108 fi ;;
12109 esac
12110 else
12111 ac_cv_lib_soname_Xrandr=
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_soname_save_LIBS
12117 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12119 $as_echo "not found" >&6; }
12121 else
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12123 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12125 cat >>confdefs.h <<_ACEOF
12126 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12127 _ACEOF
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12131 #include <X11/Xlib.h>
12132 #include <X11/extensions/Xrandr.h>
12134 main ()
12136 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12138 return 0;
12140 _ACEOF
12141 if ac_fn_c_try_compile "$LINENO"; then :
12143 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #include <X11/Xlib.h>
12150 #include <X11/extensions/Xrandr.h>
12152 main ()
12154 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_compile "$LINENO"; then :
12161 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12163 else
12164 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12171 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12172 case "x$with_xrandr" in
12173 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12174 xno) ;;
12175 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12176 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12177 esac
12181 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12182 then
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12185 #include <X11/Xlib.h>
12186 #include <X11/extensions/Xfixes.h>
12188 main ()
12190 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_compile "$LINENO"; then :
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12197 $as_echo_n "checking for -lXfixes... " >&6; }
12198 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12199 $as_echo_n "(cached) " >&6
12200 else
12201 ac_check_soname_save_LIBS=$LIBS
12202 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 #ifdef __cplusplus
12210 extern "C"
12211 #endif
12212 char XFixesQueryVersion ();
12214 main ()
12216 return XFixesQueryVersion ();
12218 return 0;
12220 _ACEOF
12221 if ac_fn_c_try_link "$LINENO"; then :
12222 case "$LIBEXT" in
12223 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12224 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'` ;;
12225 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12226 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12227 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12228 fi ;;
12229 esac
12230 else
12231 ac_cv_lib_soname_Xfixes=
12233 rm -f core conftest.err conftest.$ac_objext \
12234 conftest$ac_exeext conftest.$ac_ext
12235 LIBS=$ac_check_soname_save_LIBS
12237 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12239 $as_echo "not found" >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12243 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12245 cat >>confdefs.h <<_ACEOF
12246 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12247 _ACEOF
12252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12255 case "x$with_xfixes" in
12256 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12257 xno) ;;
12258 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12259 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12260 esac
12264 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12265 then
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <X11/Xlib.h>
12269 #include <X11/extensions/Xinerama.h>
12271 main ()
12273 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12280 $as_echo_n "checking for -lXinerama... " >&6; }
12281 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_check_soname_save_LIBS=$LIBS
12285 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12292 #ifdef __cplusplus
12293 extern "C"
12294 #endif
12295 char XineramaQueryScreens ();
12297 main ()
12299 return XineramaQueryScreens ();
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_link "$LINENO"; then :
12305 case "$LIBEXT" in
12306 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12307 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'` ;;
12308 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12309 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12310 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12311 fi ;;
12312 esac
12313 else
12314 ac_cv_lib_soname_Xinerama=
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_soname_save_LIBS
12320 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12322 $as_echo "not found" >&6; }
12324 else
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12326 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12328 cat >>confdefs.h <<_ACEOF
12329 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12330 _ACEOF
12335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12337 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12338 case "x$with_xinerama" in
12339 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12342 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12343 esac
12347 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12348 then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12350 $as_echo_n "checking for -lXcomposite... " >&6; }
12351 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12352 $as_echo_n "(cached) " >&6
12353 else
12354 ac_check_soname_save_LIBS=$LIBS
12355 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12362 #ifdef __cplusplus
12363 extern "C"
12364 #endif
12365 char XCompositeRedirectWindow ();
12367 main ()
12369 return XCompositeRedirectWindow ();
12371 return 0;
12373 _ACEOF
12374 if ac_fn_c_try_link "$LINENO"; then :
12375 case "$LIBEXT" in
12376 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12377 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'` ;;
12378 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12379 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12380 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12381 fi ;;
12382 esac
12383 else
12384 ac_cv_lib_soname_Xcomposite=
12386 rm -f core conftest.err conftest.$ac_objext \
12387 conftest$ac_exeext conftest.$ac_ext
12388 LIBS=$ac_check_soname_save_LIBS
12390 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12392 $as_echo "not found" >&6; }
12394 else
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12396 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12398 cat >>confdefs.h <<_ACEOF
12399 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12400 _ACEOF
12405 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12406 case "x$with_xcomposite" in
12407 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12408 xno) ;;
12409 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12410 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12411 esac
12415 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12416 #include <X11/Xlib.h>
12417 #endif
12419 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12421 cat >>confdefs.h <<_ACEOF
12422 #define HAVE_XICCALLBACK_CALLBACK 1
12423 _ACEOF
12427 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12428 #include <X11/Xlib.h>
12429 #endif
12431 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12433 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_XEVENT_XCOOKIE 1
12435 _ACEOF
12442 opengl_msg=""
12443 if test "x$with_opengl" != "xno"
12444 then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12446 $as_echo_n "checking for -lGL... " >&6; }
12447 if ${ac_cv_lib_soname_GL+:} false; then :
12448 $as_echo_n "(cached) " >&6
12449 else
12450 ac_check_soname_save_LIBS=$LIBS
12451 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12458 #ifdef __cplusplus
12459 extern "C"
12460 #endif
12461 char glXCreateContext ();
12463 main ()
12465 return glXCreateContext ();
12467 return 0;
12469 _ACEOF
12470 if ac_fn_c_try_link "$LINENO"; then :
12471 case "$LIBEXT" in
12472 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12473 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'` ;;
12474 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12475 if ${ac_cv_lib_soname_GL:+false} :; then :
12476 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12477 fi ;;
12478 esac
12479 else
12480 ac_cv_lib_soname_GL=
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_soname_save_LIBS
12486 if ${ac_cv_lib_soname_GL:+false} :; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12488 $as_echo "not found" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12490 $as_echo_n "checking for -lGL... " >&6; }
12491 if ${ac_cv_lib_soname_GL+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_soname_save_LIBS=$LIBS
12495 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12502 #ifdef __cplusplus
12503 extern "C"
12504 #endif
12505 char glXCreateContext ();
12507 main ()
12509 return glXCreateContext ();
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_link "$LINENO"; then :
12515 case "$LIBEXT" in
12516 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12517 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12518 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12519 if ${ac_cv_lib_soname_GL:+false} :; then :
12520 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12521 fi ;;
12522 esac
12523 else
12524 ac_cv_lib_soname_GL=
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12528 LIBS=$ac_check_soname_save_LIBS
12530 if ${ac_cv_lib_soname_GL:+false} :; then :
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12532 $as_echo "not found" >&6; }
12533 if test -f /usr/X11R6/lib/libGL.a
12534 then
12535 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12536 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12537 else
12538 opengl_msg="No OpenGL library found on this system."
12540 else
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12542 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12544 cat >>confdefs.h <<_ACEOF
12545 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12546 _ACEOF
12548 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"
12550 else
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12552 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12554 cat >>confdefs.h <<_ACEOF
12555 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12556 _ACEOF
12558 OPENGL_LIBS="-lGL"
12560 if test "x$with_glu" != "xno"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12563 $as_echo_n "checking for -lGLU... " >&6; }
12564 if ${ac_cv_lib_soname_GLU+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_soname_save_LIBS=$LIBS
12568 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char gluLookAt ();
12580 main ()
12582 return gluLookAt ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 case "$LIBEXT" in
12589 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 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'` ;;
12591 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_GLU:+false} :; then :
12593 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 fi ;;
12595 esac
12596 else
12597 ac_cv_lib_soname_GLU=
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_GLU:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12607 else
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12609 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12611 cat >>confdefs.h <<_ACEOF
12612 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12613 _ACEOF
12617 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12618 case "x$with_glu" in
12619 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12620 xno) ;;
12621 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12622 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12623 esac
12628 if test "x$with_osmesa" != "xno"
12629 then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12631 $as_echo_n "checking for -lOSMesa... " >&6; }
12632 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12633 $as_echo_n "(cached) " >&6
12634 else
12635 ac_check_soname_save_LIBS=$LIBS
12636 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char OSMesaGetProcAddress ();
12648 main ()
12650 return OSMesaGetProcAddress ();
12652 return 0;
12654 _ACEOF
12655 if ac_fn_c_try_link "$LINENO"; then :
12656 case "$LIBEXT" in
12657 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12658 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'` ;;
12659 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12660 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12661 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12662 fi ;;
12663 esac
12664 else
12665 ac_cv_lib_soname_OSMesa=
12667 rm -f core conftest.err conftest.$ac_objext \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_soname_save_LIBS
12671 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12673 $as_echo "not found" >&6; }
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12677 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12679 cat >>confdefs.h <<_ACEOF
12680 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12681 _ACEOF
12685 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12686 case "x$with_osmesa" in
12687 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12688 xno) ;;
12689 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12690 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12691 esac
12696 if test -n "$opengl_msg"; then :
12697 case "x$with_opengl" in
12698 x) as_fn_append wine_warnings "|$opengl_msg
12699 OpenGL and Direct3D won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "$opengl_msg
12702 OpenGL and Direct3D won't be supported.
12703 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12704 esac
12708 CPPFLAGS="$ac_save_CPPFLAGS"
12709 else
12710 X_CFLAGS=""
12711 X_LIBS=""
12714 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12715 then
12716 if test "x$X_LIBS" = "x"; then :
12717 case "x$with_x" in
12718 xno) ;;
12719 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12720 without X support, which probably isn't what you want. You will need
12721 to install ${notice_platform}development packages of Xlib at the very least.
12722 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12723 esac
12724 enable_winex11_drv=${enable_winex11_drv:-no}
12726 else
12727 if test "x$X_LIBS" = "x"; then :
12728 case "x$with_x" in
12729 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12730 xno) ;;
12731 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12732 This is an error since --with-x was requested." "$LINENO" 5 ;;
12733 esac
12734 enable_winex11_drv=${enable_winex11_drv:-no}
12738 if test "$ac_cv_header_CL_cl_h" = "yes"
12739 then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12741 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12742 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 ac_check_lib_save_LIBS=$LIBS
12746 LIBS="-lOpenCL $LIBS"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 char clGetPlatformInfo ();
12758 main ()
12760 return clGetPlatformInfo ();
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12767 else
12768 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12770 rm -f core conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_lib_save_LIBS
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12775 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12776 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12777 OPENCL_LIBS="-lOpenCL"
12782 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12783 case "x$with_opencl" in
12784 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12785 xno) ;;
12786 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12787 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12788 esac
12789 enable_opencl=${enable_opencl:-no}
12792 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12793 then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12795 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12796 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12797 $as_echo_n "(cached) " >&6
12798 else
12799 ac_check_lib_save_LIBS=$LIBS
12800 LIBS="-lpcap $LIBS"
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12804 /* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12807 #ifdef __cplusplus
12808 extern "C"
12809 #endif
12810 char pcap_create ();
12812 main ()
12814 return pcap_create ();
12816 return 0;
12818 _ACEOF
12819 if ac_fn_c_try_link "$LINENO"; then :
12820 ac_cv_lib_pcap_pcap_create=yes
12821 else
12822 ac_cv_lib_pcap_pcap_create=no
12824 rm -f core conftest.err conftest.$ac_objext \
12825 conftest$ac_exeext conftest.$ac_ext
12826 LIBS=$ac_check_lib_save_LIBS
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12829 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12830 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12831 PCAP_LIBS="-lpcap"
12836 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12837 case "x$with_pcap" in
12838 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12839 xno) ;;
12840 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12841 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12842 esac
12843 enable_wpcap=${enable_wpcap:-no}
12847 if test "x$with_xml" != "xno"
12848 then
12849 if ${XML2_CFLAGS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12854 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12855 if ${XML2_LIBS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12860 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12861 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12862 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12864 ac_save_CPPFLAGS=$CPPFLAGS
12865 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12866 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12867 do :
12868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12869 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12871 cat >>confdefs.h <<_ACEOF
12872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12873 _ACEOF
12877 done
12879 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"
12880 then
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12882 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12883 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12884 $as_echo_n "(cached) " >&6
12885 else
12886 ac_check_lib_save_LIBS=$LIBS
12887 LIBS="-lxml2 $XML2_LIBS $LIBS"
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 /* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12894 #ifdef __cplusplus
12895 extern "C"
12896 #endif
12897 char xmlParseMemory ();
12899 main ()
12901 return xmlParseMemory ();
12903 return 0;
12905 _ACEOF
12906 if ac_fn_c_try_link "$LINENO"; then :
12907 ac_cv_lib_xml2_xmlParseMemory=yes
12908 else
12909 ac_cv_lib_xml2_xmlParseMemory=no
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12913 LIBS=$ac_check_lib_save_LIBS
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12916 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12917 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12919 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12921 else
12922 XML2_LIBS=""
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12926 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12927 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lxml2 $XML2_LIBS $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char xmlReadMemory ();
12943 main ()
12945 return xmlReadMemory ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_xml2_xmlReadMemory=yes
12952 else
12953 ac_cv_lib_xml2_xmlReadMemory=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12960 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12961 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12963 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12968 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12969 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12970 $as_echo_n "(cached) " >&6
12971 else
12972 ac_check_lib_save_LIBS=$LIBS
12973 LIBS="-lxml2 $XML2_LIBS $LIBS"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12980 #ifdef __cplusplus
12981 extern "C"
12982 #endif
12983 char xmlNewDocPI ();
12985 main ()
12987 return xmlNewDocPI ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"; then :
12993 ac_cv_lib_xml2_xmlNewDocPI=yes
12994 else
12995 ac_cv_lib_xml2_xmlNewDocPI=no
12997 rm -f core conftest.err conftest.$ac_objext \
12998 conftest$ac_exeext conftest.$ac_ext
12999 LIBS=$ac_check_lib_save_LIBS
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13002 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13003 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13005 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13010 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13011 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13012 $as_echo_n "(cached) " >&6
13013 else
13014 ac_check_lib_save_LIBS=$LIBS
13015 LIBS="-lxml2 $XML2_LIBS $LIBS"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13022 #ifdef __cplusplus
13023 extern "C"
13024 #endif
13025 char xmlSchemaSetParserStructuredErrors ();
13027 main ()
13029 return xmlSchemaSetParserStructuredErrors ();
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_link "$LINENO"; then :
13035 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13036 else
13037 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_lib_save_LIBS
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13044 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13045 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13047 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13052 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13053 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_lib_save_LIBS=$LIBS
13057 LIBS="-lxml2 $XML2_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char xmlSchemaSetValidStructuredErrors ();
13069 main ()
13071 return xmlSchemaSetValidStructuredErrors ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13078 else
13079 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_lib_save_LIBS
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13086 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13087 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13089 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13094 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13095 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13096 $as_echo_n "(cached) " >&6
13097 else
13098 ac_check_lib_save_LIBS=$LIBS
13099 LIBS="-lxml2 $XML2_LIBS $LIBS"
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char xmlFirstElementChild ();
13111 main ()
13113 return xmlFirstElementChild ();
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_link "$LINENO"; then :
13119 ac_cv_lib_xml2_xmlFirstElementChild=yes
13120 else
13121 ac_cv_lib_xml2_xmlFirstElementChild=no
13123 rm -f core conftest.err conftest.$ac_objext \
13124 conftest$ac_exeext conftest.$ac_ext
13125 LIBS=$ac_check_lib_save_LIBS
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13128 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13129 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13131 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13135 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13137 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13139 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13143 else
13144 XML2_CFLAGS=""
13145 XML2_LIBS=""
13147 CPPFLAGS=$ac_save_CPPFLAGS
13148 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13149 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13152 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13153 case "x$with_xml" in
13154 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13155 xno) ;;
13156 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13157 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13158 esac
13162 if test "x$with_xslt" != "xno"
13163 then
13164 if ${XSLT_CFLAGS:+false} :; then :
13165 if ${PKG_CONFIG+:} false; then :
13166 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13169 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13170 if ${XSLT_LIBS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13175 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13176 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13177 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13178 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13179 ac_save_CPPFLAGS=$CPPFLAGS
13180 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13181 for ac_header in libxslt/pattern.h libxslt/transform.h
13182 do :
13183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13184 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13185 # include <libxslt/pattern.h>
13186 #endif
13188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13189 cat >>confdefs.h <<_ACEOF
13190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13191 _ACEOF
13195 done
13197 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13198 then
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13200 $as_echo_n "checking for -lxslt... " >&6; }
13201 if ${ac_cv_lib_soname_xslt+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203 else
13204 ac_check_soname_save_LIBS=$LIBS
13205 LIBS="-lxslt $XSLT_LIBS $LIBS"
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13212 #ifdef __cplusplus
13213 extern "C"
13214 #endif
13215 char xsltCompilePattern ();
13217 main ()
13219 return xsltCompilePattern ();
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"; then :
13225 case "$LIBEXT" in
13226 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13227 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'` ;;
13228 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13229 if ${ac_cv_lib_soname_xslt:+false} :; then :
13230 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13231 fi ;;
13232 esac
13233 else
13234 ac_cv_lib_soname_xslt=
13236 rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_soname_save_LIBS
13240 if ${ac_cv_lib_soname_xslt:+false} :; then :
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13242 $as_echo "not found" >&6; }
13244 else
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13246 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13248 cat >>confdefs.h <<_ACEOF
13249 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13250 _ACEOF
13254 else
13255 XSLT_CFLAGS=""
13257 CPPFLAGS=$ac_save_CPPFLAGS
13258 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13259 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13262 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13263 case "x$with_xslt" in
13264 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13265 xno) ;;
13266 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13267 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13268 esac
13272 if test "x$with_inotify" != "xno"
13273 then
13274 if ${INOTIFY_CFLAGS:+false} :; then :
13275 if ${PKG_CONFIG+:} false; then :
13276 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13280 if ${INOTIFY_LIBS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13287 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13288 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13289 ac_save_CPPFLAGS=$CPPFLAGS
13290 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13291 for ac_header in sys/inotify.h
13292 do :
13293 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13294 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13295 cat >>confdefs.h <<_ACEOF
13296 #define HAVE_SYS_INOTIFY_H 1
13297 _ACEOF
13301 done
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13304 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13305 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_check_lib_save_LIBS=$LIBS
13309 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 #ifdef __cplusplus
13317 extern "C"
13318 #endif
13319 char inotify_add_watch ();
13321 main ()
13323 return inotify_add_watch ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"; then :
13329 ac_cv_lib_inotify_inotify_add_watch=yes
13330 else
13331 ac_cv_lib_inotify_inotify_add_watch=no
13333 rm -f core conftest.err conftest.$ac_objext \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_lib_save_LIBS
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13338 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13339 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13341 else
13342 INOTIFY_LIBS=""
13345 CPPFLAGS=$ac_save_CPPFLAGS
13346 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13347 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13350 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13351 case "x$with_inotify" in
13352 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13353 xno) ;;
13354 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13355 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13356 esac
13360 if test "x$with_dbus" != "xno"
13361 then
13362 if ${DBUS_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13368 if ${DBUS_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13375 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13377 ac_save_CPPFLAGS=$CPPFLAGS
13378 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13379 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13380 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13382 $as_echo_n "checking for -ldbus-1... " >&6; }
13383 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 ac_check_soname_save_LIBS=$LIBS
13387 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 #ifdef __cplusplus
13395 extern "C"
13396 #endif
13397 char dbus_connection_close ();
13399 main ()
13401 return dbus_connection_close ();
13403 return 0;
13405 _ACEOF
13406 if ac_fn_c_try_link "$LINENO"; then :
13407 case "$LIBEXT" in
13408 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13409 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'` ;;
13410 *) 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'`
13411 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13412 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13413 fi ;;
13414 esac
13415 else
13416 ac_cv_lib_soname_dbus_1=
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13425 DBUS_CFLAGS=""
13426 else
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13428 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13430 cat >>confdefs.h <<_ACEOF
13431 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13432 _ACEOF
13436 else
13437 DBUS_CFLAGS=""
13441 CPPFLAGS=$ac_save_CPPFLAGS
13442 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13443 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13446 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13447 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13448 case "x$with_dbus" in
13449 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13450 xno) ;;
13451 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13452 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13453 esac
13457 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13458 then
13459 if ${HAL_CFLAGS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13465 if ${HAL_LIBS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13471 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13472 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13474 ac_save_CPPFLAGS=$CPPFLAGS
13475 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13476 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13477 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13479 $as_echo_n "checking for -lhal... " >&6; }
13480 if ${ac_cv_lib_soname_hal+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_check_soname_save_LIBS=$LIBS
13484 LIBS="-lhal $HAL_LIBS $LIBS"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13488 /* Override any GCC internal prototype to avoid an error.
13489 Use char because int might match the return type of a GCC
13490 builtin and then its argument prototype would still apply. */
13491 #ifdef __cplusplus
13492 extern "C"
13493 #endif
13494 char libhal_ctx_new ();
13496 main ()
13498 return libhal_ctx_new ();
13500 return 0;
13502 _ACEOF
13503 if ac_fn_c_try_link "$LINENO"; then :
13504 case "$LIBEXT" in
13505 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13506 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'` ;;
13507 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13508 if ${ac_cv_lib_soname_hal:+false} :; then :
13509 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13510 fi ;;
13511 esac
13512 else
13513 ac_cv_lib_soname_hal=
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_soname_save_LIBS
13519 if ${ac_cv_lib_soname_hal:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13522 HAL_CFLAGS=""
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13525 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13529 _ACEOF
13533 else
13534 HAL_CFLAGS=""
13538 CPPFLAGS=$ac_save_CPPFLAGS
13539 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13540 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13542 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13543 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13544 case "x$with_hal" in
13545 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13546 xno) ;;
13547 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13548 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13549 esac
13554 if test "x$with_gnutls" != "xno"
13555 then
13556 if ${GNUTLS_CFLAGS:+false} :; then :
13557 if ${PKG_CONFIG+:} false; then :
13558 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13562 if ${GNUTLS_LIBS:+false} :; then :
13563 if ${PKG_CONFIG+:} false; then :
13564 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13568 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13569 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13570 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13571 ac_save_CPPFLAGS=$CPPFLAGS
13572 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13573 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13574 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13577 #include <gnutls/gnutls.h>
13578 #include <gnutls/crypto.h>
13580 main ()
13582 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13584 return 0;
13586 _ACEOF
13587 if ac_fn_c_try_compile "$LINENO"; then :
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13589 $as_echo_n "checking for -lgnutls... " >&6; }
13590 if ${ac_cv_lib_soname_gnutls+:} false; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 ac_check_soname_save_LIBS=$LIBS
13594 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13598 /* Override any GCC internal prototype to avoid an error.
13599 Use char because int might match the return type of a GCC
13600 builtin and then its argument prototype would still apply. */
13601 #ifdef __cplusplus
13602 extern "C"
13603 #endif
13604 char gnutls_global_init ();
13606 main ()
13608 return gnutls_global_init ();
13610 return 0;
13612 _ACEOF
13613 if ac_fn_c_try_link "$LINENO"; then :
13614 case "$LIBEXT" in
13615 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13616 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'` ;;
13617 *) 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'`
13618 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13619 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'`
13620 fi ;;
13621 esac
13622 else
13623 ac_cv_lib_soname_gnutls=
13625 rm -f core conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627 LIBS=$ac_check_soname_save_LIBS
13629 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13631 $as_echo "not found" >&6; }
13632 GNUTLS_CFLAGS=""
13633 else
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13635 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13637 cat >>confdefs.h <<_ACEOF
13638 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13639 _ACEOF
13643 ac_wine_check_funcs_save_LIBS="$LIBS"
13644 LIBS="$LIBS $GNUTLS_LIBS"
13645 for ac_func in gnutls_cipher_init
13646 do :
13647 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13648 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13649 cat >>confdefs.h <<_ACEOF
13650 #define HAVE_GNUTLS_CIPHER_INIT 1
13651 _ACEOF
13653 else
13654 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13656 done
13658 LIBS="$ac_wine_check_funcs_save_LIBS"
13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13661 else
13662 GNUTLS_CFLAGS=""
13666 CPPFLAGS=$ac_save_CPPFLAGS
13667 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13668 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13671 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13672 case "x$with_gnutls" in
13673 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13674 xno) ;;
13675 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13676 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13677 esac
13681 CURSES_LIBS=""
13682 if test "$ac_cv_header_ncurses_h" = "yes"
13683 then
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13685 $as_echo_n "checking for -lncurses... " >&6; }
13686 if ${ac_cv_lib_soname_ncurses+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 ac_check_soname_save_LIBS=$LIBS
13690 LIBS="-lncurses $LIBS"
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13694 /* Override any GCC internal prototype to avoid an error.
13695 Use char because int might match the return type of a GCC
13696 builtin and then its argument prototype would still apply. */
13697 #ifdef __cplusplus
13698 extern "C"
13699 #endif
13700 char waddch ();
13702 main ()
13704 return waddch ();
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 case "$LIBEXT" in
13711 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13712 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'` ;;
13713 *) 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'`
13714 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13715 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13716 fi ;;
13717 esac
13718 else
13719 ac_cv_lib_soname_ncurses=
13721 rm -f core conftest.err conftest.$ac_objext \
13722 conftest$ac_exeext conftest.$ac_ext
13723 LIBS=$ac_check_soname_save_LIBS
13725 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13727 $as_echo "not found" >&6; }
13729 else
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13731 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13733 cat >>confdefs.h <<_ACEOF
13734 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13735 _ACEOF
13737 CURSES_LIBS="-lncurses"
13739 elif test "$ac_cv_header_curses_h" = "yes"
13740 then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13742 $as_echo_n "checking for -lcurses... " >&6; }
13743 if ${ac_cv_lib_soname_curses+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_check_soname_save_LIBS=$LIBS
13747 LIBS="-lcurses $LIBS"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13754 #ifdef __cplusplus
13755 extern "C"
13756 #endif
13757 char waddch ();
13759 main ()
13761 return waddch ();
13763 return 0;
13765 _ACEOF
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 case "$LIBEXT" in
13768 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13769 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'` ;;
13770 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13771 if ${ac_cv_lib_soname_curses:+false} :; then :
13772 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13773 fi ;;
13774 esac
13775 else
13776 ac_cv_lib_soname_curses=
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS=$ac_check_soname_save_LIBS
13782 if ${ac_cv_lib_soname_curses:+false} :; then :
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13784 $as_echo "not found" >&6; }
13786 else
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13788 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13790 cat >>confdefs.h <<_ACEOF
13791 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13792 _ACEOF
13794 CURSES_LIBS="-lcurses"
13797 ac_save_LIBS="$LIBS"
13798 LIBS="$LIBS $CURSES_LIBS"
13799 for ac_func in mousemask
13800 do :
13801 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13802 if test "x$ac_cv_func_mousemask" = xyes; then :
13803 cat >>confdefs.h <<_ACEOF
13804 #define HAVE_MOUSEMASK 1
13805 _ACEOF
13808 done
13810 LIBS="$ac_save_LIBS"
13811 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13812 case "x$with_curses" in
13813 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13814 xno) ;;
13815 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13816 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13817 esac
13821 if test "x$with_sane" != "xno"
13822 then
13823 if ${SANE_CFLAGS:+false} :; then :
13824 if ${PKG_CONFIG+:} false; then :
13825 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13828 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13829 if ${SANE_LIBS:+false} :; then :
13830 if ${PKG_CONFIG+:} false; then :
13831 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13834 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13836 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13837 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13838 ac_save_CPPFLAGS=$CPPFLAGS
13839 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13840 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13841 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13843 $as_echo_n "checking for -lsane... " >&6; }
13844 if ${ac_cv_lib_soname_sane+:} false; then :
13845 $as_echo_n "(cached) " >&6
13846 else
13847 ac_check_soname_save_LIBS=$LIBS
13848 LIBS="-lsane $SANE_LIBS $LIBS"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13855 #ifdef __cplusplus
13856 extern "C"
13857 #endif
13858 char sane_init ();
13860 main ()
13862 return sane_init ();
13864 return 0;
13866 _ACEOF
13867 if ac_fn_c_try_link "$LINENO"; then :
13868 case "$LIBEXT" in
13869 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13870 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'` ;;
13871 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13872 if ${ac_cv_lib_soname_sane:+false} :; then :
13873 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13874 fi ;;
13875 esac
13876 else
13877 ac_cv_lib_soname_sane=
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 LIBS=$ac_check_soname_save_LIBS
13883 if ${ac_cv_lib_soname_sane:+false} :; then :
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13885 $as_echo "not found" >&6; }
13886 SANE_CFLAGS=""
13887 else
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13889 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13891 cat >>confdefs.h <<_ACEOF
13892 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13893 _ACEOF
13897 else
13898 SANE_CFLAGS=""
13902 CPPFLAGS=$ac_save_CPPFLAGS
13903 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13904 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13907 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13908 case "x$with_sane" in
13909 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13910 xno) ;;
13911 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13912 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13913 esac
13917 if test "x$with_usb" != "xno"
13918 then
13919 if ${USB_CFLAGS:+false} :; then :
13920 if ${PKG_CONFIG+:} false; then :
13921 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13925 if ${USB_LIBS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13931 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13932 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13933 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13934 ac_save_CPPFLAGS=$CPPFLAGS
13935 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13936 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13937 if test "x$ac_cv_header_libusb_h" = xyes; then :
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13939 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13940 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_check_lib_save_LIBS=$LIBS
13944 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char libusb_interrupt_event_handler ();
13956 main ()
13958 return libusb_interrupt_event_handler ();
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13965 else
13966 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13968 rm -f core conftest.err conftest.$ac_objext \
13969 conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_lib_save_LIBS
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13973 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13974 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13976 else
13977 USB_LIBS=""
13980 else
13981 USB_LIBS=""
13985 CPPFLAGS=$ac_save_CPPFLAGS
13986 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13987 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13990 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13991 case "x$with_usb" in
13992 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13993 xno) ;;
13994 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13995 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13996 esac
13997 enable_wineusb_sys=${enable_wineusb_sys:-no}
14000 if test "x$with_v4l2" != "xno"
14001 then
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14003 $as_echo_n "checking for -lv4l2... " >&6; }
14004 if ${ac_cv_lib_soname_v4l2+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_check_soname_save_LIBS=$LIBS
14008 LIBS="-lv4l2 $LIBS"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14012 /* Override any GCC internal prototype to avoid an error.
14013 Use char because int might match the return type of a GCC
14014 builtin and then its argument prototype would still apply. */
14015 #ifdef __cplusplus
14016 extern "C"
14017 #endif
14018 char v4l2_open ();
14020 main ()
14022 return v4l2_open ();
14024 return 0;
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 case "$LIBEXT" in
14029 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14030 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'` ;;
14031 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14032 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14033 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14034 fi ;;
14035 esac
14036 else
14037 ac_cv_lib_soname_v4l2=
14039 rm -f core conftest.err conftest.$ac_objext \
14040 conftest$ac_exeext conftest.$ac_ext
14041 LIBS=$ac_check_soname_save_LIBS
14043 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14045 $as_echo "not found" >&6; }
14047 else
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14049 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14051 cat >>confdefs.h <<_ACEOF
14052 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14053 _ACEOF
14058 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14059 case "x$with_v4l2" in
14060 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14061 xno) ;;
14062 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14063 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14064 esac
14068 if test "x$with_gphoto" != "xno"
14069 then
14070 if ${GPHOTO2_CFLAGS:+false} :; then :
14071 if ${PKG_CONFIG+:} false; then :
14072 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14075 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14076 if ${GPHOTO2_LIBS:+false} :; then :
14077 if ${PKG_CONFIG+:} false; then :
14078 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14081 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14082 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14083 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14084 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14085 ac_save_CPPFLAGS=$CPPFLAGS
14086 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14087 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14088 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14090 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14091 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_check_lib_save_LIBS=$LIBS
14095 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 #ifdef __cplusplus
14103 extern "C"
14104 #endif
14105 char gp_camera_new ();
14107 main ()
14109 return gp_camera_new ();
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 ac_cv_lib_gphoto2_gp_camera_new=yes
14116 else
14117 ac_cv_lib_gphoto2_gp_camera_new=no
14119 rm -f core conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14121 LIBS=$ac_check_lib_save_LIBS
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14124 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14125 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14127 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14129 else
14130 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14133 else
14134 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14138 CPPFLAGS=$ac_save_CPPFLAGS
14139 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14140 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14142 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14143 if ${PKG_CONFIG+:} false; then :
14144 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14147 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14148 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14149 if ${PKG_CONFIG+:} false; then :
14150 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14153 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14154 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14155 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14156 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14157 ac_save_CPPFLAGS=$CPPFLAGS
14158 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14159 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14160 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14162 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14163 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14164 $as_echo_n "(cached) " >&6
14165 else
14166 ac_check_lib_save_LIBS=$LIBS
14167 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14174 #ifdef __cplusplus
14175 extern "C"
14176 #endif
14177 char gp_port_info_list_new ();
14179 main ()
14181 return gp_port_info_list_new ();
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14188 else
14189 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 LIBS=$ac_check_lib_save_LIBS
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14196 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14197 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14199 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14201 else
14202 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14205 else
14206 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14210 CPPFLAGS=$ac_save_CPPFLAGS
14211 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14212 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14215 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14216 case "x$with_gphoto" in
14217 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14218 xno) ;;
14219 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14220 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14221 esac
14224 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14225 case "x$with_gphoto" in
14226 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14227 xno) ;;
14228 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14229 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14230 esac
14235 if test "$ac_cv_header_resolv_h" = "yes"
14236 then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14238 $as_echo_n "checking for resolver library... " >&6; }
14239 if ${ac_cv_have_resolv+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_save_LIBS="$LIBS"
14243 for lib in '' -lresolv
14245 LIBS="$lib $ac_save_LIBS"
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 #ifdef HAVE_NETINET_IN_H
14249 #include <netinet/in.h>
14250 #endif
14251 #include <resolv.h>
14253 main ()
14255 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 ac_cv_have_resolv=${lib:-"none required"}
14262 else
14263 ac_cv_have_resolv="not found"
14265 rm -f core conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14267 test "x$ac_cv_have_resolv" = "xnot found" || break
14268 done
14269 LIBS="$ac_save_LIBS"
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14272 $as_echo "$ac_cv_have_resolv" >&6; }
14274 case "$ac_cv_have_resolv" in
14275 "not found") ;;
14276 "none required")
14278 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14281 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14283 RESOLV_LIBS=$ac_cv_have_resolv
14285 esac
14287 if test "x$ac_cv_have_resolv" != "xnot found"
14288 then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14290 $as_echo_n "checking for res_getservers... " >&6; }
14291 if ${ac_cv_have_res_getservers+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_save_LIBS="$LIBS"
14295 LIBS="$RESOLV_LIBS $LIBS"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 #include <resolv.h>
14300 main ()
14302 res_getservers(NULL, NULL, 0);
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 ac_cv_have_res_getservers=yes
14309 else
14310 ac_cv_have_res_getservers=no
14312 rm -f core conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext conftest.$ac_ext
14314 LIBS="$ac_save_LIBS"
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14317 $as_echo "$ac_cv_have_res_getservers" >&6; }
14318 if test "$ac_cv_have_res_getservers" = "yes"
14319 then
14321 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14327 if test "x$with_cms" != "xno"
14328 then
14329 if ${LCMS2_CFLAGS:+false} :; then :
14330 if ${PKG_CONFIG+:} false; then :
14331 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14335 if ${LCMS2_LIBS:+false} :; then :
14336 if ${PKG_CONFIG+:} false; then :
14337 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14341 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14342 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14343 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14344 ac_save_CPPFLAGS=$CPPFLAGS
14345 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14346 for ac_header in lcms2.h
14347 do :
14348 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14349 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14350 cat >>confdefs.h <<_ACEOF
14351 #define HAVE_LCMS2_H 1
14352 _ACEOF
14356 done
14358 if test "$ac_cv_header_lcms2_h" = "yes"
14359 then
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14361 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14362 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_check_lib_save_LIBS=$LIBS
14366 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 #ifdef __cplusplus
14374 extern "C"
14375 #endif
14376 char cmsOpenProfileFromFile ();
14378 main ()
14380 return cmsOpenProfileFromFile ();
14382 return 0;
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"; then :
14386 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14387 else
14388 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_check_lib_save_LIBS
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14395 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14396 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14398 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14400 else
14401 LCMS2_LIBS=""
14404 else
14405 LCMS2_CFLAGS=""
14406 LCMS2_LIBS=""
14408 CPPFLAGS=$ac_save_CPPFLAGS
14409 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14410 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14413 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14414 case "x$with_cms" in
14415 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14416 xno) ;;
14417 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14418 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14419 esac
14423 if test "x$with_freetype" != "xno"
14424 then
14425 if ${FREETYPE_CFLAGS:+false} :; then :
14426 if ${PKG_CONFIG+:} false; then :
14427 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14430 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14431 if ${FREETYPE_LIBS:+false} :; then :
14432 if ${PKG_CONFIG+:} false; then :
14433 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14436 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14437 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14438 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14439 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14440 ac_save_CPPFLAGS=$CPPFLAGS
14441 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14442 for ac_header in ft2build.h
14443 do :
14444 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14445 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14446 cat >>confdefs.h <<_ACEOF
14447 #define HAVE_FT2BUILD_H 1
14448 _ACEOF
14452 done
14454 if test "$ac_cv_header_ft2build_h" = "yes"
14455 then
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14457 $as_echo_n "checking for -lfreetype... " >&6; }
14458 if ${ac_cv_lib_soname_freetype+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 ac_check_soname_save_LIBS=$LIBS
14462 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14466 /* Override any GCC internal prototype to avoid an error.
14467 Use char because int might match the return type of a GCC
14468 builtin and then its argument prototype would still apply. */
14469 #ifdef __cplusplus
14470 extern "C"
14471 #endif
14472 char FT_Init_FreeType ();
14474 main ()
14476 return FT_Init_FreeType ();
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"; then :
14482 case "$LIBEXT" in
14483 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14484 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'` ;;
14485 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14486 if ${ac_cv_lib_soname_freetype:+false} :; then :
14487 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14488 fi ;;
14489 esac
14490 else
14491 ac_cv_lib_soname_freetype=
14493 rm -f core conftest.err conftest.$ac_objext \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_check_soname_save_LIBS
14497 if ${ac_cv_lib_soname_freetype:+false} :; then :
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14499 $as_echo "not found" >&6; }
14500 FREETYPE_LIBS=""
14501 else
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14503 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14505 cat >>confdefs.h <<_ACEOF
14506 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14507 _ACEOF
14510 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14512 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14513 #include FT_MODULE_H
14515 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14517 cat >>confdefs.h <<_ACEOF
14518 #define HAVE_FT_TRUETYPEENGINETYPE 1
14519 _ACEOF
14525 else
14526 FREETYPE_CFLAGS=""
14527 FREETYPE_LIBS=""
14529 CPPFLAGS=$ac_save_CPPFLAGS
14530 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14531 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14534 if test "x$ac_cv_lib_soname_freetype" = x; then :
14535 case "x$with_freetype" in
14536 xno) ;;
14537 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14538 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14539 esac
14540 enable_fonts=${enable_fonts:-no}
14543 ac_wine_check_funcs_save_LIBS="$LIBS"
14544 LIBS="$LIBS $PTHREAD_LIBS"
14545 for ac_func in \
14546 pthread_getthreadid_np
14547 do :
14548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14551 cat >>confdefs.h <<_ACEOF
14552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14553 _ACEOF
14556 done
14558 LIBS="$ac_wine_check_funcs_save_LIBS"
14560 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14561 then
14562 if test "$ac_cv_header_gettext_po_h" = "yes"
14563 then
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14565 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14566 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_check_lib_save_LIBS=$LIBS
14570 LIBS="-lgettextpo $LIBS"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14574 /* Override any GCC internal prototype to avoid an error.
14575 Use char because int might match the return type of a GCC
14576 builtin and then its argument prototype would still apply. */
14577 #ifdef __cplusplus
14578 extern "C"
14579 #endif
14580 char po_message_msgctxt ();
14582 main ()
14584 return po_message_msgctxt ();
14586 return 0;
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14591 else
14592 ac_cv_lib_gettextpo_po_message_msgctxt=no
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 LIBS=$ac_check_lib_save_LIBS
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14599 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14600 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14602 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14604 GETTEXTPO_LIBS="-lgettextpo"
14609 if test "x$GETTEXTPO_LIBS" = "x"; then :
14610 case "x$with_gettextpo" in
14611 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14612 xno) ;;
14613 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14614 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14615 esac
14618 if test "$srcdir" != .; then :
14619 case "x$with_gettextpo" in
14620 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14621 xno) ;;
14622 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14623 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14624 esac
14629 if test "x$with_pulse" != "xno";
14630 then
14631 if ${PULSE_CFLAGS:+false} :; then :
14632 if ${PKG_CONFIG+:} false; then :
14633 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14637 if ${PULSE_LIBS:+false} :; then :
14638 if ${PKG_CONFIG+:} false; then :
14639 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14644 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14645 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14646 ac_save_CPPFLAGS=$CPPFLAGS
14647 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14648 for ac_header in pulse/pulseaudio.h
14649 do :
14650 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14651 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14652 cat >>confdefs.h <<_ACEOF
14653 #define HAVE_PULSE_PULSEAUDIO_H 1
14654 _ACEOF
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14656 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14657 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 ac_check_lib_save_LIBS=$LIBS
14661 LIBS="-lpulse $PULSE_LIBS $LIBS"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14665 /* Override any GCC internal prototype to avoid an error.
14666 Use char because int might match the return type of a GCC
14667 builtin and then its argument prototype would still apply. */
14668 #ifdef __cplusplus
14669 extern "C"
14670 #endif
14671 char pa_stream_is_corked ();
14673 main ()
14675 return pa_stream_is_corked ();
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_lib_pulse_pa_stream_is_corked=yes
14682 else
14683 ac_cv_lib_pulse_pa_stream_is_corked=no
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 LIBS=$ac_check_lib_save_LIBS
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14690 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14691 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14693 else
14694 PULSE_LIBS=""
14697 else
14698 PULSE_LIBS=""
14701 done
14703 CPPFLAGS=$ac_save_CPPFLAGS
14704 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14705 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14708 if test -z "$PULSE_LIBS"; then :
14709 case "x$with_pulse" in
14710 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14711 xno) ;;
14712 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14713 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14714 esac
14715 enable_winepulse_drv=${enable_winepulse_drv:-no}
14718 if test "x$with_gstreamer" != "xno"
14719 then
14720 if ${GSTREAMER_CFLAGS:+false} :; then :
14721 if ${PKG_CONFIG+:} false; then :
14722 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14726 if ${GSTREAMER_LIBS:+false} :; then :
14727 if ${PKG_CONFIG+:} false; then :
14728 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14733 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14734 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14735 ac_save_CPPFLAGS=$CPPFLAGS
14736 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14737 ac_gst_incl=""
14738 for i in $GSTREAMER_CFLAGS
14740 case "$i" in
14741 -I*) ac_gst_incl="$ac_gst_incl $i";;
14742 esac
14743 done
14744 GSTREAMER_CFLAGS=$ac_gst_incl
14745 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14746 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14747 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14749 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 #include <gst/gst.h>
14754 main ()
14756 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_compile "$LINENO"; then :
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14763 $as_echo "yes" >&6; }
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14765 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14766 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 ac_check_lib_save_LIBS=$LIBS
14770 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14772 /* end confdefs.h. */
14774 /* Override any GCC internal prototype to avoid an error.
14775 Use char because int might match the return type of a GCC
14776 builtin and then its argument prototype would still apply. */
14777 #ifdef __cplusplus
14778 extern "C"
14779 #endif
14780 char gst_pad_new ();
14782 main ()
14784 return gst_pad_new ();
14786 return 0;
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14791 else
14792 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14796 LIBS=$ac_check_lib_save_LIBS
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14799 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14800 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14804 else
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14806 $as_echo "no" >&6; }
14807 ac_glib2_broken=yes
14808 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14814 CPPFLAGS=$ac_save_CPPFLAGS
14815 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14816 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14819 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 :
14820 case "x$with_gstreamer" in
14821 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14822 xno) ;;
14823 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14824 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14825 esac
14828 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14830 ALSA_LIBS=""
14832 if test "x$with_alsa" != "xno"
14833 then
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14835 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14836 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 ac_check_lib_save_LIBS=$LIBS
14840 LIBS="-lasound $LIBS"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14847 #ifdef __cplusplus
14848 extern "C"
14849 #endif
14850 char snd_pcm_hw_params_get_access_mask ();
14852 main ()
14854 return snd_pcm_hw_params_get_access_mask ();
14856 return 0;
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14861 else
14862 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 LIBS=$ac_check_lib_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14869 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14870 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14873 #include <alsa/asoundlib.h>
14875 main ()
14877 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_compile "$LINENO"; then :
14883 ALSA_LIBS="-lasound"
14885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14889 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14891 if test "x$with_oss" != xno
14892 then
14893 ac_save_CPPFLAGS="$CPPFLAGS"
14894 if test -f /etc/oss.conf
14895 then
14896 . /etc/oss.conf
14898 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14899 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14900 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14901 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14902 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14904 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14906 cat >>confdefs.h <<_ACEOF
14907 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14908 _ACEOF
14910 OSS4_CFLAGS="$ac_oss_incl"
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14913 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14914 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14915 $as_echo_n "(cached) " >&6
14916 else
14917 ac_check_lib_save_LIBS=$LIBS
14918 LIBS="-lossaudio $LIBS"
14919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h. */
14922 /* Override any GCC internal prototype to avoid an error.
14923 Use char because int might match the return type of a GCC
14924 builtin and then its argument prototype would still apply. */
14925 #ifdef __cplusplus
14926 extern "C"
14927 #endif
14928 char _oss_ioctl ();
14930 main ()
14932 return _oss_ioctl ();
14934 return 0;
14936 _ACEOF
14937 if ac_fn_c_try_link "$LINENO"; then :
14938 ac_cv_lib_ossaudio__oss_ioctl=yes
14939 else
14940 ac_cv_lib_ossaudio__oss_ioctl=no
14942 rm -f core conftest.err conftest.$ac_objext \
14943 conftest$ac_exeext conftest.$ac_ext
14944 LIBS=$ac_check_lib_save_LIBS
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14947 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14948 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14949 OSS4_LIBS="-lossaudio"
14958 CPPFLAGS="$ac_save_CPPFLAGS"
14960 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14961 case "x$with_oss" in
14962 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14963 xno) ;;
14964 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14965 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14966 esac
14967 enable_wineoss_drv=${enable_wineoss_drv:-no}
14970 if test "x$with_udev" != "xno"
14971 then
14972 if ${UDEV_CFLAGS:+false} :; then :
14973 if ${PKG_CONFIG+:} false; then :
14974 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14978 if ${UDEV_LIBS:+false} :; then :
14979 if ${PKG_CONFIG+:} false; then :
14980 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14984 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14985 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14986 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14987 ac_save_CPPFLAGS=$CPPFLAGS
14988 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14989 for ac_header in libudev.h
14990 do :
14991 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14992 if test "x$ac_cv_header_libudev_h" = xyes; then :
14993 cat >>confdefs.h <<_ACEOF
14994 #define HAVE_LIBUDEV_H 1
14995 _ACEOF
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14997 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14998 if ${ac_cv_lib_udev_udev_new+:} false; then :
14999 $as_echo_n "(cached) " >&6
15000 else
15001 ac_check_lib_save_LIBS=$LIBS
15002 LIBS="-ludev $UDEV_LIBS $LIBS"
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15009 #ifdef __cplusplus
15010 extern "C"
15011 #endif
15012 char udev_new ();
15014 main ()
15016 return udev_new ();
15018 return 0;
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"; then :
15022 ac_cv_lib_udev_udev_new=yes
15023 else
15024 ac_cv_lib_udev_udev_new=no
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15031 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15032 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15034 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15036 else
15037 UDEV_LIBS=""
15040 else
15041 UDEV_LIBS=""
15044 done
15046 CPPFLAGS=$ac_save_CPPFLAGS
15047 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15048 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15051 if test "x$UDEV_LIBS" = "x"; then :
15052 case "x$with_udev" in
15053 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15054 xno) ;;
15055 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15056 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15057 esac
15061 if test "x$with_unwind" != xno
15062 then
15063 if ${UNWIND_CFLAGS:+false} :; then :
15064 if ${PKG_CONFIG+:} false; then :
15065 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15069 if ${UNWIND_LIBS:+false} :; then :
15070 if ${PKG_CONFIG+:} false; then :
15071 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15075 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15076 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15077 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15078 ac_save_CPPFLAGS=$CPPFLAGS
15079 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15081 $as_echo_n "checking for unw_step... " >&6; }
15082 if ${wine_cv_have_unw_step+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 #define UNW_LOCAL_ONLY
15088 #include <libunwind.h>
15090 main ()
15092 unw_cursor_t cursor; unw_step( &cursor );
15094 return 0;
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"; then :
15098 wine_cv_have_unw_step="yes"
15099 else
15100 wine_cv_have_unw_step="no"
15102 rm -f core conftest.err conftest.$ac_objext \
15103 conftest$ac_exeext conftest.$ac_ext
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15106 $as_echo "$wine_cv_have_unw_step" >&6; }
15107 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15108 then
15109 save_libs=$LIBS
15110 LIBS="$UNWIND_LIBS $LIBS"
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15112 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15113 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15114 $as_echo_n "(cached) " >&6
15115 else
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15118 #define UNW_LOCAL_ONLY
15119 #include <libunwind.h>
15121 main ()
15123 unw_cursor_t cursor; unw_step( &cursor );
15125 return 0;
15127 _ACEOF
15128 if ac_fn_c_try_link "$LINENO"; then :
15129 wine_cv_have_libunwind_unw_step="yes"
15130 else
15131 wine_cv_have_libunwind_unw_step="no"
15133 rm -f core conftest.err conftest.$ac_objext \
15134 conftest$ac_exeext conftest.$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15137 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15138 LIBS=$save_libs
15140 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15141 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15142 then
15144 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15147 CPPFLAGS=$ac_save_CPPFLAGS
15148 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15149 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15152 case $host in
15153 aarch64*|*-darwin*)
15154 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15155 case "x$with_unwind" in
15156 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15157 xno) ;;
15158 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15159 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15160 esac
15162 fi ;;
15163 esac
15165 if test "x$with_sdl" != "xno"
15166 then
15167 if ${SDL2_CFLAGS:+false} :; then :
15168 if ${PKG_CONFIG+:} false; then :
15169 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15173 if ${SDL2_LIBS:+false} :; then :
15174 if ${PKG_CONFIG+:} false; then :
15175 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15179 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15180 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15181 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15182 ac_save_CPPFLAGS=$CPPFLAGS
15183 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15184 for ac_header in SDL2/SDL.h
15185 do :
15186 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15187 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15188 cat >>confdefs.h <<_ACEOF
15189 #define HAVE_SDL2_SDL_H 1
15190 _ACEOF
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15192 $as_echo_n "checking for -lSDL2... " >&6; }
15193 if ${ac_cv_lib_soname_SDL2+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 ac_check_soname_save_LIBS=$LIBS
15197 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 #ifdef __cplusplus
15205 extern "C"
15206 #endif
15207 char SDL_Init ();
15209 main ()
15211 return SDL_Init ();
15213 return 0;
15215 _ACEOF
15216 if ac_fn_c_try_link "$LINENO"; then :
15217 case "$LIBEXT" in
15218 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15219 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'` ;;
15220 *) 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'`
15221 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15222 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15223 fi ;;
15224 esac
15225 else
15226 ac_cv_lib_soname_SDL2=
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15230 LIBS=$ac_check_soname_save_LIBS
15232 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15234 $as_echo "not found" >&6; }
15236 else
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15238 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15240 cat >>confdefs.h <<_ACEOF
15241 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15242 _ACEOF
15248 done
15250 CPPFLAGS=$ac_save_CPPFLAGS
15251 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15252 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15255 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15256 case "x$with_sdl" in
15257 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15258 xno) ;;
15259 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15260 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15261 esac
15265 if test "x$with_faudio" != "xno"
15266 then
15267 if ${FAUDIO_CFLAGS:+false} :; then :
15268 if ${PKG_CONFIG+:} false; then :
15269 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15273 if ${FAUDIO_LIBS:+false} :; then :
15274 if ${PKG_CONFIG+:} false; then :
15275 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15279 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15280 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15281 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15282 ac_save_CPPFLAGS=$CPPFLAGS
15283 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15284 for ac_header in FAudio.h
15285 do :
15286 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15287 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_FAUDIO_H 1
15290 _ACEOF
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15292 $as_echo_n "checking for -lFAudio... " >&6; }
15293 if ${ac_cv_lib_soname_FAudio+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_check_soname_save_LIBS=$LIBS
15297 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15304 #ifdef __cplusplus
15305 extern "C"
15306 #endif
15307 char FAudioCreate ();
15309 main ()
15311 return FAudioCreate ();
15313 return 0;
15315 _ACEOF
15316 if ac_fn_c_try_link "$LINENO"; then :
15317 case "$LIBEXT" in
15318 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15319 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'` ;;
15320 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15321 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15322 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15323 fi ;;
15324 esac
15325 else
15326 ac_cv_lib_soname_FAudio=
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15330 LIBS=$ac_check_soname_save_LIBS
15332 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15334 $as_echo "not found" >&6; }
15336 else
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15338 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15340 cat >>confdefs.h <<_ACEOF
15341 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15342 _ACEOF
15348 done
15350 ac_wine_check_funcs_save_LIBS="$LIBS"
15351 LIBS="$LIBS $FAUDIO_LIBS"
15352 for ac_func in FAudio_CommitOperationSet \
15353 F3DAudioInitialize8 \
15354 FAudioLinkedVersion
15355 do :
15356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15361 _ACEOF
15364 done
15366 LIBS="$ac_wine_check_funcs_save_LIBS"
15368 CPPFLAGS=$ac_save_CPPFLAGS
15369 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15370 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15373 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15374 case "x$with_faudio" in
15375 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15376 xno) ;;
15377 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15378 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15379 esac
15383 if test "x$with_capi" != "xno"
15384 then
15385 if ${CAPI20_CFLAGS:+false} :; then :
15386 if ${PKG_CONFIG+:} false; then :
15387 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15391 if ${CAPI20_LIBS:+false} :; then :
15392 if ${PKG_CONFIG+:} false; then :
15393 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15398 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15399 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15400 ac_save_CPPFLAGS=$CPPFLAGS
15401 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15402 for ac_header in capi20.h linux/capi.h
15403 do :
15404 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15405 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15407 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15408 cat >>confdefs.h <<_ACEOF
15409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15410 _ACEOF
15414 done
15416 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15417 then
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15419 $as_echo_n "checking for -lcapi20... " >&6; }
15420 if ${ac_cv_lib_soname_capi20+:} false; then :
15421 $as_echo_n "(cached) " >&6
15422 else
15423 ac_check_soname_save_LIBS=$LIBS
15424 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15428 /* Override any GCC internal prototype to avoid an error.
15429 Use char because int might match the return type of a GCC
15430 builtin and then its argument prototype would still apply. */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 char capi20_register ();
15436 main ()
15438 return capi20_register ();
15440 return 0;
15442 _ACEOF
15443 if ac_fn_c_try_link "$LINENO"; then :
15444 case "$LIBEXT" in
15445 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15446 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'` ;;
15447 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15448 if ${ac_cv_lib_soname_capi20:+false} :; then :
15449 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15450 fi ;;
15451 esac
15452 else
15453 ac_cv_lib_soname_capi20=
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LIBS=$ac_check_soname_save_LIBS
15459 if ${ac_cv_lib_soname_capi20:+false} :; then :
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15461 $as_echo "not found" >&6; }
15463 else
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15465 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15467 cat >>confdefs.h <<_ACEOF
15468 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15469 _ACEOF
15474 CPPFLAGS=$ac_save_CPPFLAGS
15475 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15476 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15479 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15480 case "x$with_capi" in
15481 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15482 xno) ;;
15483 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15484 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15485 esac
15489 if test "x$with_cups" != "xno"
15490 then
15491 if ${CUPS_CFLAGS:+false} :; then :
15492 if ${PKG_CONFIG+:} false; then :
15493 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15496 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15497 if ${CUPS_LIBS:+false} :; then :
15498 if ${PKG_CONFIG+:} false; then :
15499 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15502 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15503 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15504 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15505 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15506 ac_save_CPPFLAGS=$CPPFLAGS
15507 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15508 for ac_header in cups/cups.h cups/ppd.h
15509 do :
15510 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15511 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15513 cat >>confdefs.h <<_ACEOF
15514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15515 _ACEOF
15519 done
15521 if test "$ac_cv_header_cups_cups_h" = "yes"
15522 then
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15524 $as_echo_n "checking for -lcups... " >&6; }
15525 if ${ac_cv_lib_soname_cups+:} false; then :
15526 $as_echo_n "(cached) " >&6
15527 else
15528 ac_check_soname_save_LIBS=$LIBS
15529 LIBS="-lcups $CUPS_LIBS $LIBS"
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15536 #ifdef __cplusplus
15537 extern "C"
15538 #endif
15539 char cupsGetDefault ();
15541 main ()
15543 return cupsGetDefault ();
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_link "$LINENO"; then :
15549 case "$LIBEXT" in
15550 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15551 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'` ;;
15552 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15553 if ${ac_cv_lib_soname_cups:+false} :; then :
15554 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15555 fi ;;
15556 esac
15557 else
15558 ac_cv_lib_soname_cups=
15560 rm -f core conftest.err conftest.$ac_objext \
15561 conftest$ac_exeext conftest.$ac_ext
15562 LIBS=$ac_check_soname_save_LIBS
15564 if ${ac_cv_lib_soname_cups:+false} :; then :
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15566 $as_echo "not found" >&6; }
15567 CUPS_LIBS=""
15568 else
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15570 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15572 cat >>confdefs.h <<_ACEOF
15573 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15574 _ACEOF
15578 else
15579 CUPS_CFLAGS=""
15580 CUPS_LIBS=""
15582 CPPFLAGS=$ac_save_CPPFLAGS
15583 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15584 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15587 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15588 case "x$with_cups" in
15589 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15590 xno) ;;
15591 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15592 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15593 esac
15597 if test "x$with_fontconfig" != "xno"
15598 then
15599 if ${FONTCONFIG_CFLAGS:+false} :; then :
15600 if ${PKG_CONFIG+:} false; then :
15601 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15604 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15605 if ${FONTCONFIG_LIBS:+false} :; then :
15606 if ${PKG_CONFIG+:} false; then :
15607 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15610 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15612 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15613 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15614 ac_save_CPPFLAGS=$CPPFLAGS
15615 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15616 for ac_header in fontconfig/fontconfig.h
15617 do :
15618 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15619 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15620 cat >>confdefs.h <<_ACEOF
15621 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15622 _ACEOF
15626 done
15628 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15629 then
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15631 $as_echo_n "checking for -lfontconfig... " >&6; }
15632 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15633 $as_echo_n "(cached) " >&6
15634 else
15635 ac_check_soname_save_LIBS=$LIBS
15636 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15638 /* end confdefs.h. */
15640 /* Override any GCC internal prototype to avoid an error.
15641 Use char because int might match the return type of a GCC
15642 builtin and then its argument prototype would still apply. */
15643 #ifdef __cplusplus
15644 extern "C"
15645 #endif
15646 char FcInit ();
15648 main ()
15650 return FcInit ();
15652 return 0;
15654 _ACEOF
15655 if ac_fn_c_try_link "$LINENO"; then :
15656 case "$LIBEXT" in
15657 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15658 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'` ;;
15659 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15660 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15661 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15662 fi ;;
15663 esac
15664 else
15665 ac_cv_lib_soname_fontconfig=
15667 rm -f core conftest.err conftest.$ac_objext \
15668 conftest$ac_exeext conftest.$ac_ext
15669 LIBS=$ac_check_soname_save_LIBS
15671 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15673 $as_echo "not found" >&6; }
15674 FONTCONFIG_CFLAGS=""
15675 else
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15677 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15679 cat >>confdefs.h <<_ACEOF
15680 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15681 _ACEOF
15685 else
15686 FONTCONFIG_CFLAGS=""
15688 CPPFLAGS=$ac_save_CPPFLAGS
15689 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15690 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15693 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15694 case "x$with_fontconfig" in
15695 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15696 xno) ;;
15697 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15698 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15699 esac
15703 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15704 then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15706 $as_echo_n "checking for -lgsm... " >&6; }
15707 if ${ac_cv_lib_soname_gsm+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 ac_check_soname_save_LIBS=$LIBS
15711 LIBS="-lgsm $LIBS"
15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15715 /* Override any GCC internal prototype to avoid an error.
15716 Use char because int might match the return type of a GCC
15717 builtin and then its argument prototype would still apply. */
15718 #ifdef __cplusplus
15719 extern "C"
15720 #endif
15721 char gsm_create ();
15723 main ()
15725 return gsm_create ();
15727 return 0;
15729 _ACEOF
15730 if ac_fn_c_try_link "$LINENO"; then :
15731 case "$LIBEXT" in
15732 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15733 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'` ;;
15734 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15735 if ${ac_cv_lib_soname_gsm:+false} :; then :
15736 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15737 fi ;;
15738 esac
15739 else
15740 ac_cv_lib_soname_gsm=
15742 rm -f core conftest.err conftest.$ac_objext \
15743 conftest$ac_exeext conftest.$ac_ext
15744 LIBS=$ac_check_soname_save_LIBS
15746 if ${ac_cv_lib_soname_gsm:+false} :; then :
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15748 $as_echo "not found" >&6; }
15750 else
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15752 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15754 cat >>confdefs.h <<_ACEOF
15755 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15756 _ACEOF
15761 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15762 case "x$with_gsm" in
15763 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15764 xno) ;;
15765 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15766 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15767 esac
15771 if test "x$with_krb5" != "xno"
15772 then
15773 if ${KRB5_CFLAGS:+false} :; then :
15774 if ${PKG_CONFIG+:} false; then :
15775 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15778 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15779 if ${KRB5_LIBS:+false} :; then :
15780 if ${PKG_CONFIG+:} false; then :
15781 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15784 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15786 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15787 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15788 ac_save_CPPFLAGS=$CPPFLAGS
15789 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15790 for ac_header in krb5/krb5.h
15791 do :
15792 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15793 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_KRB5_KRB5_H 1
15796 _ACEOF
15800 done
15802 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15803 then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15805 $as_echo_n "checking for -lkrb5... " >&6; }
15806 if ${ac_cv_lib_soname_krb5+:} false; then :
15807 $as_echo_n "(cached) " >&6
15808 else
15809 ac_check_soname_save_LIBS=$LIBS
15810 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15817 #ifdef __cplusplus
15818 extern "C"
15819 #endif
15820 char krb5_is_config_principal ();
15822 main ()
15824 return krb5_is_config_principal ();
15826 return 0;
15828 _ACEOF
15829 if ac_fn_c_try_link "$LINENO"; then :
15830 case "$LIBEXT" in
15831 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15832 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'` ;;
15833 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15834 if ${ac_cv_lib_soname_krb5:+false} :; then :
15835 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15836 fi ;;
15837 esac
15838 else
15839 ac_cv_lib_soname_krb5=
15841 rm -f core conftest.err conftest.$ac_objext \
15842 conftest$ac_exeext conftest.$ac_ext
15843 LIBS=$ac_check_soname_save_LIBS
15845 if ${ac_cv_lib_soname_krb5:+false} :; then :
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15847 $as_echo "not found" >&6; }
15848 KRB5_CFLAGS=""
15849 else
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15851 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15853 cat >>confdefs.h <<_ACEOF
15854 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15855 _ACEOF
15859 else
15860 KRB5_CFLAGS=""
15862 CPPFLAGS=$ac_save_CPPFLAGS
15863 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15864 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15867 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15868 case "x$with_krb5" in
15869 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15870 xno) ;;
15871 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15872 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15873 esac
15876 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15878 if test "x$with_gssapi" != "xno"
15879 then
15880 if ${GSSAPI_CFLAGS:+false} :; then :
15881 if ${PKG_CONFIG+:} false; then :
15882 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15885 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15886 if ${GSSAPI_LIBS:+false} :; then :
15887 if ${PKG_CONFIG+:} false; then :
15888 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15891 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15893 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15894 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15895 ac_save_CPPFLAGS=$CPPFLAGS
15896 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15897 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15898 do :
15899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15900 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15901 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15904 _ACEOF
15908 done
15910 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15911 then
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15913 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15914 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15915 $as_echo_n "(cached) " >&6
15916 else
15917 ac_check_soname_save_LIBS=$LIBS
15918 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15922 /* Override any GCC internal prototype to avoid an error.
15923 Use char because int might match the return type of a GCC
15924 builtin and then its argument prototype would still apply. */
15925 #ifdef __cplusplus
15926 extern "C"
15927 #endif
15928 char gss_init_sec_context ();
15930 main ()
15932 return gss_init_sec_context ();
15934 return 0;
15936 _ACEOF
15937 if ac_fn_c_try_link "$LINENO"; then :
15938 case "$LIBEXT" in
15939 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15940 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'` ;;
15941 *) 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'`
15942 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15943 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15944 fi ;;
15945 esac
15946 else
15947 ac_cv_lib_soname_gssapi_krb5=
15949 rm -f core conftest.err conftest.$ac_objext \
15950 conftest$ac_exeext conftest.$ac_ext
15951 LIBS=$ac_check_soname_save_LIBS
15953 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15955 $as_echo "not found" >&6; }
15956 GSSAPI_CFLAGS=""
15957 else
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15959 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15961 cat >>confdefs.h <<_ACEOF
15962 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15963 _ACEOF
15967 else
15968 GSSAPI_CFLAGS=""
15970 CPPFLAGS=$ac_save_CPPFLAGS
15971 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15972 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15975 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15976 case "x$with_gssapi" in
15977 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15978 xno) ;;
15979 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15980 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15981 esac
15985 if test "x$with_jpeg" != "xno"
15986 then
15987 if ${JPEG_CFLAGS:+false} :; then :
15988 if ${PKG_CONFIG+:} false; then :
15989 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15993 if ${JPEG_LIBS:+false} :; then :
15994 if ${PKG_CONFIG+:} false; then :
15995 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16000 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16001 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16002 ac_save_CPPFLAGS=$CPPFLAGS
16003 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16004 for ac_header in jpeglib.h
16005 do :
16006 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16007 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_JPEGLIB_H 1
16010 _ACEOF
16014 done
16016 if test "$ac_cv_header_jpeglib_h" = "yes"
16017 then
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16019 $as_echo_n "checking for -ljpeg... " >&6; }
16020 if ${ac_cv_lib_soname_jpeg+:} false; then :
16021 $as_echo_n "(cached) " >&6
16022 else
16023 ac_check_soname_save_LIBS=$LIBS
16024 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 #ifdef __cplusplus
16032 extern "C"
16033 #endif
16034 char jpeg_start_decompress ();
16036 main ()
16038 return jpeg_start_decompress ();
16040 return 0;
16042 _ACEOF
16043 if ac_fn_c_try_link "$LINENO"; then :
16044 case "$LIBEXT" in
16045 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16046 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'` ;;
16047 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16048 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16049 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16050 fi ;;
16051 esac
16052 else
16053 ac_cv_lib_soname_jpeg=
16055 rm -f core conftest.err conftest.$ac_objext \
16056 conftest$ac_exeext conftest.$ac_ext
16057 LIBS=$ac_check_soname_save_LIBS
16059 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16061 $as_echo "not found" >&6; }
16062 JPEG_CFLAGS=""
16063 else
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16065 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16067 cat >>confdefs.h <<_ACEOF
16068 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16069 _ACEOF
16073 else
16074 JPEG_CFLAGS=""
16076 CPPFLAGS=$ac_save_CPPFLAGS
16077 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16078 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16081 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16082 case "x$with_jpeg" in
16083 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16084 xno) ;;
16085 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16086 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16087 esac
16091 if test "x$with_png" != "xno"
16092 then
16093 if ${PNG_CFLAGS:+false} :; then :
16094 if ${PKG_CONFIG+:} false; then :
16095 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16098 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16099 if ${PNG_LIBS:+false} :; then :
16100 if ${PKG_CONFIG+:} false; then :
16101 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16104 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16106 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16107 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16108 ac_save_CPPFLAGS=$CPPFLAGS
16109 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16110 for ac_header in png.h
16111 do :
16112 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16113 if test "x$ac_cv_header_png_h" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_PNG_H 1
16116 _ACEOF
16120 done
16122 if test "$ac_cv_header_png_h" = "yes"
16123 then
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16125 $as_echo_n "checking for -lpng... " >&6; }
16126 if ${ac_cv_lib_soname_png+:} false; then :
16127 $as_echo_n "(cached) " >&6
16128 else
16129 ac_check_soname_save_LIBS=$LIBS
16130 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16134 /* Override any GCC internal prototype to avoid an error.
16135 Use char because int might match the return type of a GCC
16136 builtin and then its argument prototype would still apply. */
16137 #ifdef __cplusplus
16138 extern "C"
16139 #endif
16140 char png_create_read_struct ();
16142 main ()
16144 return png_create_read_struct ();
16146 return 0;
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 case "$LIBEXT" in
16151 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16152 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'` ;;
16153 *) 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'`
16154 if ${ac_cv_lib_soname_png:+false} :; then :
16155 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16156 fi ;;
16157 esac
16158 else
16159 ac_cv_lib_soname_png=
16161 rm -f core conftest.err conftest.$ac_objext \
16162 conftest$ac_exeext conftest.$ac_ext
16163 LIBS=$ac_check_soname_save_LIBS
16165 if ${ac_cv_lib_soname_png:+false} :; then :
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16167 $as_echo "not found" >&6; }
16168 PNG_CFLAGS=""
16169 else
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16171 $as_echo "$ac_cv_lib_soname_png" >&6; }
16173 cat >>confdefs.h <<_ACEOF
16174 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16175 _ACEOF
16179 else
16180 PNG_CFLAGS=""
16182 CPPFLAGS=$ac_save_CPPFLAGS
16183 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16184 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16187 if test "x$ac_cv_lib_soname_png" = "x"; then :
16188 case "x$with_png" in
16189 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16190 xno) ;;
16191 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16192 This is an error since --with-png was requested." "$LINENO" 5 ;;
16193 esac
16197 if test "x$with_tiff" != "xno"
16198 then
16199 if ${TIFF_CFLAGS:+false} :; then :
16200 if ${PKG_CONFIG+:} false; then :
16201 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16205 if ${TIFF_LIBS:+false} :; then :
16206 if ${PKG_CONFIG+:} false; then :
16207 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16212 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16213 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16214 ac_save_CPPFLAGS=$CPPFLAGS
16215 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16216 for ac_header in tiffio.h
16217 do :
16218 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16219 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_TIFFIO_H 1
16222 _ACEOF
16226 done
16228 if test "$ac_cv_header_tiffio_h" = "yes"
16229 then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16231 $as_echo_n "checking for -ltiff... " >&6; }
16232 if ${ac_cv_lib_soname_tiff+:} false; then :
16233 $as_echo_n "(cached) " >&6
16234 else
16235 ac_check_soname_save_LIBS=$LIBS
16236 LIBS="-ltiff $TIFF_LIBS $LIBS"
16237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16240 /* Override any GCC internal prototype to avoid an error.
16241 Use char because int might match the return type of a GCC
16242 builtin and then its argument prototype would still apply. */
16243 #ifdef __cplusplus
16244 extern "C"
16245 #endif
16246 char TIFFClientOpen ();
16248 main ()
16250 return TIFFClientOpen ();
16252 return 0;
16254 _ACEOF
16255 if ac_fn_c_try_link "$LINENO"; then :
16256 case "$LIBEXT" in
16257 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16258 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'` ;;
16259 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16260 if ${ac_cv_lib_soname_tiff:+false} :; then :
16261 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16262 fi ;;
16263 esac
16264 else
16265 ac_cv_lib_soname_tiff=
16267 rm -f core conftest.err conftest.$ac_objext \
16268 conftest$ac_exeext conftest.$ac_ext
16269 LIBS=$ac_check_soname_save_LIBS
16271 if ${ac_cv_lib_soname_tiff:+false} :; then :
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16273 $as_echo "not found" >&6; }
16275 else
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16277 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16279 cat >>confdefs.h <<_ACEOF
16280 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16281 _ACEOF
16286 CPPFLAGS=$ac_save_CPPFLAGS
16287 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16288 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16291 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16292 case "x$with_tiff" in
16293 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16294 xno) ;;
16295 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16296 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16297 esac
16301 if test "x$with_mpg123" != "xno"
16302 then
16303 if ${MPG123_CFLAGS:+false} :; then :
16304 if ${PKG_CONFIG+:} false; then :
16305 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16309 if ${MPG123_LIBS:+false} :; then :
16310 if ${PKG_CONFIG+:} false; then :
16311 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16315 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16316 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16317 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16318 ac_save_CPPFLAGS=$CPPFLAGS
16319 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16320 for ac_header in mpg123.h
16321 do :
16322 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_MPG123_H 1
16326 _ACEOF
16330 done
16332 if test "$ac_cv_header_mpg123_h" = "yes"
16333 then
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16335 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16336 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16337 $as_echo_n "(cached) " >&6
16338 else
16339 ac_check_lib_save_LIBS=$LIBS
16340 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16344 /* Override any GCC internal prototype to avoid an error.
16345 Use char because int might match the return type of a GCC
16346 builtin and then its argument prototype would still apply. */
16347 #ifdef __cplusplus
16348 extern "C"
16349 #endif
16350 char mpg123_feed ();
16352 main ()
16354 return mpg123_feed ();
16356 return 0;
16358 _ACEOF
16359 if ac_fn_c_try_link "$LINENO"; then :
16360 ac_cv_lib_mpg123_mpg123_feed=yes
16361 else
16362 ac_cv_lib_mpg123_mpg123_feed=no
16364 rm -f core conftest.err conftest.$ac_objext \
16365 conftest$ac_exeext conftest.$ac_ext
16366 LIBS=$ac_check_lib_save_LIBS
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16369 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16370 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16372 else
16373 MPG123_LIBS=""
16376 else
16377 MPG123_CFLAGS=""
16378 MPG123_LIBS=""
16380 CPPFLAGS=$ac_save_CPPFLAGS
16381 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16382 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16385 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16386 case "x$with_mpg123" in
16387 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16388 xno) ;;
16389 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16390 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16391 esac
16392 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16394 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16396 if test "$ac_cv_header_AL_al_h" = "yes"
16397 then
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16399 $as_echo_n "checking for -lopenal... " >&6; }
16400 if ${ac_cv_lib_soname_openal+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 ac_check_soname_save_LIBS=$LIBS
16404 LIBS="-lopenal $LIBS"
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16408 /* Override any GCC internal prototype to avoid an error.
16409 Use char because int might match the return type of a GCC
16410 builtin and then its argument prototype would still apply. */
16411 #ifdef __cplusplus
16412 extern "C"
16413 #endif
16414 char alGetSource3i ();
16416 main ()
16418 return alGetSource3i ();
16420 return 0;
16422 _ACEOF
16423 if ac_fn_c_try_link "$LINENO"; then :
16424 case "$LIBEXT" in
16425 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16426 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'` ;;
16427 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16428 if ${ac_cv_lib_soname_openal:+false} :; then :
16429 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16430 fi ;;
16431 esac
16432 else
16433 ac_cv_lib_soname_openal=
16435 rm -f core conftest.err conftest.$ac_objext \
16436 conftest$ac_exeext conftest.$ac_ext
16437 LIBS=$ac_check_soname_save_LIBS
16439 if ${ac_cv_lib_soname_openal:+false} :; then :
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16441 $as_echo "not found" >&6; }
16443 else
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16445 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16447 cat >>confdefs.h <<_ACEOF
16448 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16449 _ACEOF
16451 OPENAL_LIBS="-lopenal"
16453 ac_cv_lib_openal=yes
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_OPENAL 1
16457 _ACEOF
16461 if test "x$ac_cv_lib_openal" != xyes; then :
16462 case "x$with_openal" in
16463 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16464 xno) ;;
16465 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16466 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16467 esac
16468 enable_openal32=${enable_openal32:-no}
16471 if test "x$ac_cv_lib_soname_FAudio" = "x"
16472 then
16473 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16474 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16475 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16476 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16477 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16478 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16479 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16480 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16481 enable_xapofx1_1=${enable_xapofx1_1:-no}
16482 enable_xapofx1_2=${enable_xapofx1_2:-no}
16483 enable_xapofx1_3=${enable_xapofx1_3:-no}
16484 enable_xapofx1_4=${enable_xapofx1_4:-no}
16485 enable_xapofx1_5=${enable_xapofx1_5:-no}
16486 enable_xaudio2_0=${enable_xaudio2_0:-no}
16487 enable_xaudio2_1=${enable_xaudio2_1:-no}
16488 enable_xaudio2_2=${enable_xaudio2_2:-no}
16489 enable_xaudio2_3=${enable_xaudio2_3:-no}
16490 enable_xaudio2_4=${enable_xaudio2_4:-no}
16491 enable_xaudio2_5=${enable_xaudio2_5:-no}
16492 enable_xaudio2_6=${enable_xaudio2_6:-no}
16493 enable_xaudio2_7=${enable_xaudio2_7:-no}
16494 enable_xaudio2_8=${enable_xaudio2_8:-no}
16495 enable_xaudio2_9=${enable_xaudio2_9:-no}
16498 if test "$ac_cv_header_kstat_h" = "yes"
16499 then
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16501 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16502 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16503 $as_echo_n "(cached) " >&6
16504 else
16505 ac_check_lib_save_LIBS=$LIBS
16506 LIBS="-lkstat $LIBS"
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16510 /* Override any GCC internal prototype to avoid an error.
16511 Use char because int might match the return type of a GCC
16512 builtin and then its argument prototype would still apply. */
16513 #ifdef __cplusplus
16514 extern "C"
16515 #endif
16516 char kstat_open ();
16518 main ()
16520 return kstat_open ();
16522 return 0;
16524 _ACEOF
16525 if ac_fn_c_try_link "$LINENO"; then :
16526 ac_cv_lib_kstat_kstat_open=yes
16527 else
16528 ac_cv_lib_kstat_kstat_open=no
16530 rm -f core conftest.err conftest.$ac_objext \
16531 conftest$ac_exeext conftest.$ac_ext
16532 LIBS=$ac_check_lib_save_LIBS
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16535 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16536 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16538 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16540 KSTAT_LIBS="-lkstat"
16546 if test "$ac_cv_header_libprocstat_h" = "yes"
16547 then
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16549 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16550 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16551 $as_echo_n "(cached) " >&6
16552 else
16553 ac_check_lib_save_LIBS=$LIBS
16554 LIBS="-lprocstat $LIBS"
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16561 #ifdef __cplusplus
16562 extern "C"
16563 #endif
16564 char procstat_open_sysctl ();
16566 main ()
16568 return procstat_open_sysctl ();
16570 return 0;
16572 _ACEOF
16573 if ac_fn_c_try_link "$LINENO"; then :
16574 ac_cv_lib_procstat_procstat_open_sysctl=yes
16575 else
16576 ac_cv_lib_procstat_procstat_open_sysctl=no
16578 rm -f core conftest.err conftest.$ac_objext \
16579 conftest$ac_exeext conftest.$ac_ext
16580 LIBS=$ac_check_lib_save_LIBS
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16583 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16584 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16586 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16588 PROCSTAT_LIBS="-lprocstat"
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16595 $as_echo_n "checking for -lodbc... " >&6; }
16596 if ${ac_cv_lib_soname_odbc+:} false; then :
16597 $as_echo_n "(cached) " >&6
16598 else
16599 ac_check_soname_save_LIBS=$LIBS
16600 LIBS="-lodbc $LIBS"
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16604 /* Override any GCC internal prototype to avoid an error.
16605 Use char because int might match the return type of a GCC
16606 builtin and then its argument prototype would still apply. */
16607 #ifdef __cplusplus
16608 extern "C"
16609 #endif
16610 char SQLConnect ();
16612 main ()
16614 return SQLConnect ();
16616 return 0;
16618 _ACEOF
16619 if ac_fn_c_try_link "$LINENO"; then :
16620 case "$LIBEXT" in
16621 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16622 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'` ;;
16623 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16624 if ${ac_cv_lib_soname_odbc:+false} :; then :
16625 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16626 fi ;;
16627 esac
16628 else
16629 ac_cv_lib_soname_odbc=
16631 rm -f core conftest.err conftest.$ac_objext \
16632 conftest$ac_exeext conftest.$ac_ext
16633 LIBS=$ac_check_soname_save_LIBS
16635 if ${ac_cv_lib_soname_odbc:+false} :; then :
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16637 $as_echo "not found" >&6; }
16638 cat >>confdefs.h <<_ACEOF
16639 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16640 _ACEOF
16642 else
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16644 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16646 cat >>confdefs.h <<_ACEOF
16647 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16648 _ACEOF
16653 if test "x$with_netapi" != "xno"
16654 then
16655 if ${NETAPI_CFLAGS:+false} :; then :
16656 if ${PKG_CONFIG+:} false; then :
16657 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16661 if ${NETAPI_LIBS:+false} :; then :
16662 if ${PKG_CONFIG+:} false; then :
16663 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16668 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16669 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16670 ac_save_CPPFLAGS=$CPPFLAGS
16671 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16673 $as_echo_n "checking for -lnetapi... " >&6; }
16674 if ${ac_cv_lib_soname_netapi+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 ac_check_soname_save_LIBS=$LIBS
16678 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16682 /* Override any GCC internal prototype to avoid an error.
16683 Use char because int might match the return type of a GCC
16684 builtin and then its argument prototype would still apply. */
16685 #ifdef __cplusplus
16686 extern "C"
16687 #endif
16688 char libnetapi_init ();
16690 main ()
16692 return libnetapi_init ();
16694 return 0;
16696 _ACEOF
16697 if ac_fn_c_try_link "$LINENO"; then :
16698 case "$LIBEXT" in
16699 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16700 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'` ;;
16701 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16702 if ${ac_cv_lib_soname_netapi:+false} :; then :
16703 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16704 fi ;;
16705 esac
16706 else
16707 ac_cv_lib_soname_netapi=
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 LIBS=$ac_check_soname_save_LIBS
16713 if ${ac_cv_lib_soname_netapi:+false} :; then :
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16715 $as_echo "not found" >&6; }
16716 cat >>confdefs.h <<_ACEOF
16717 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16718 _ACEOF
16720 else
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16722 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16724 cat >>confdefs.h <<_ACEOF
16725 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16726 _ACEOF
16730 CPPFLAGS=$ac_save_CPPFLAGS
16731 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16732 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16736 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16737 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16738 then
16739 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16742 if test "x$with_vulkan" != "xno"
16743 then
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16745 $as_echo_n "checking for -lvulkan... " >&6; }
16746 if ${ac_cv_lib_soname_vulkan+:} false; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 ac_check_soname_save_LIBS=$LIBS
16750 LIBS="-lvulkan $LIBS"
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16754 /* Override any GCC internal prototype to avoid an error.
16755 Use char because int might match the return type of a GCC
16756 builtin and then its argument prototype would still apply. */
16757 #ifdef __cplusplus
16758 extern "C"
16759 #endif
16760 char vkGetInstanceProcAddr ();
16762 main ()
16764 return vkGetInstanceProcAddr ();
16766 return 0;
16768 _ACEOF
16769 if ac_fn_c_try_link "$LINENO"; then :
16770 case "$LIBEXT" in
16771 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16772 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'` ;;
16773 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16774 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16775 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16776 fi ;;
16777 esac
16778 else
16779 ac_cv_lib_soname_vulkan=
16781 rm -f core conftest.err conftest.$ac_objext \
16782 conftest$ac_exeext conftest.$ac_ext
16783 LIBS=$ac_check_soname_save_LIBS
16785 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16787 $as_echo "not found" >&6; }
16789 else
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16791 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16793 cat >>confdefs.h <<_ACEOF
16794 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16795 _ACEOF
16799 if test "x$ac_cv_lib_soname_vulkan" = "x"
16800 then
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16802 $as_echo_n "checking for -lMoltenVK... " >&6; }
16803 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16804 $as_echo_n "(cached) " >&6
16805 else
16806 ac_check_soname_save_LIBS=$LIBS
16807 LIBS="-lMoltenVK $LIBS"
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16811 /* Override any GCC internal prototype to avoid an error.
16812 Use char because int might match the return type of a GCC
16813 builtin and then its argument prototype would still apply. */
16814 #ifdef __cplusplus
16815 extern "C"
16816 #endif
16817 char vkGetInstanceProcAddr ();
16819 main ()
16821 return vkGetInstanceProcAddr ();
16823 return 0;
16825 _ACEOF
16826 if ac_fn_c_try_link "$LINENO"; then :
16827 case "$LIBEXT" in
16828 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16829 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'` ;;
16830 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16831 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16832 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16833 fi ;;
16834 esac
16835 else
16836 ac_cv_lib_soname_MoltenVK=
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16840 LIBS=$ac_check_soname_save_LIBS
16842 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16844 $as_echo "not found" >&6; }
16846 else
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16848 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16850 cat >>confdefs.h <<_ACEOF
16851 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16852 _ACEOF
16858 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16859 case "x$with_vulkan" in
16860 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16861 xno) ;;
16862 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16863 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16864 esac
16868 if test "x$with_vkd3d" != "xno"
16869 then
16870 if ${VKD3D_CFLAGS:+false} :; then :
16871 if ${PKG_CONFIG+:} false; then :
16872 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16876 if ${VKD3D_LIBS:+false} :; then :
16877 if ${PKG_CONFIG+:} false; then :
16878 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16883 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16884 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16885 ac_save_CPPFLAGS=$CPPFLAGS
16886 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16888 $as_echo_n "checking for -lvkd3d... " >&6; }
16889 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16890 $as_echo_n "(cached) " >&6
16891 else
16892 ac_check_soname_save_LIBS=$LIBS
16893 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16895 /* end confdefs.h. */
16897 /* Override any GCC internal prototype to avoid an error.
16898 Use char because int might match the return type of a GCC
16899 builtin and then its argument prototype would still apply. */
16900 #ifdef __cplusplus
16901 extern "C"
16902 #endif
16903 char vkd3d_get_dxgi_format ();
16905 main ()
16907 return vkd3d_get_dxgi_format ();
16909 return 0;
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"; then :
16913 case "$LIBEXT" in
16914 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16915 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'` ;;
16916 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16917 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16918 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16919 fi ;;
16920 esac
16921 else
16922 ac_cv_lib_soname_vkd3d=
16924 rm -f core conftest.err conftest.$ac_objext \
16925 conftest$ac_exeext conftest.$ac_ext
16926 LIBS=$ac_check_soname_save_LIBS
16928 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16930 $as_echo "not found" >&6; }
16932 else
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16934 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16936 cat >>confdefs.h <<_ACEOF
16937 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16938 _ACEOF
16942 CPPFLAGS=$ac_save_CPPFLAGS
16943 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16944 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16947 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16948 case "x$with_vkd3d" in
16949 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16950 xno) ;;
16951 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16952 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16953 esac
16956 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16959 EXTRACFLAGS=""
16961 if test "x${GCC}" = "xyes"
16962 then
16963 EXTRACFLAGS="-Wall -pipe"
16965 saved_CFLAGS=$CFLAGS
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16967 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16968 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16969 $as_echo_n "(cached) " >&6
16970 else
16971 ac_wine_try_cflags_saved=$CFLAGS
16972 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 int main(int argc, char **argv) { return 0; }
16976 _ACEOF
16977 if ac_fn_c_try_link "$LINENO"; then :
16978 ac_cv_cflags__Werror_unknown_warning_option=yes
16979 else
16980 ac_cv_cflags__Werror_unknown_warning_option=no
16982 rm -f core conftest.err conftest.$ac_objext \
16983 conftest$ac_exeext conftest.$ac_ext
16984 CFLAGS=$ac_wine_try_cflags_saved
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16987 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16988 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16989 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16992 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16993 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16994 $as_echo_n "(cached) " >&6
16995 else
16996 ac_wine_try_cflags_saved=$CFLAGS
16997 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 int main(int argc, char **argv) { return 0; }
17001 _ACEOF
17002 if ac_fn_c_try_link "$LINENO"; then :
17003 ac_cv_cflags__Werror_unused_command_line_argument=yes
17004 else
17005 ac_cv_cflags__Werror_unused_command_line_argument=no
17007 rm -f core conftest.err conftest.$ac_objext \
17008 conftest$ac_exeext conftest.$ac_ext
17009 CFLAGS=$ac_wine_try_cflags_saved
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17012 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17013 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17014 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17017 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17018 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 ac_wine_try_cflags_saved=$CFLAGS
17022 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 int main(int argc, char **argv) { return 0; }
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17029 else
17030 ac_cv_cflags__Werror_ignored_optimization_argument=no
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext conftest.$ac_ext
17034 CFLAGS=$ac_wine_try_cflags_saved
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17037 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17038 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17039 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17042 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17043 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17044 $as_echo_n "(cached) " >&6
17045 else
17046 ac_wine_try_cflags_saved=$CFLAGS
17047 CFLAGS="$CFLAGS -fcf-protection=none"
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 int main(int argc, char **argv) { return 0; }
17051 _ACEOF
17052 if ac_fn_c_try_link "$LINENO"; then :
17053 ac_cv_cflags__fcf_protection_none=yes
17054 else
17055 ac_cv_cflags__fcf_protection_none=no
17057 rm -f core conftest.err conftest.$ac_objext \
17058 conftest$ac_exeext conftest.$ac_ext
17059 CFLAGS=$ac_wine_try_cflags_saved
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17062 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17063 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17064 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17067 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17068 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17069 $as_echo_n "(cached) " >&6
17070 else
17071 ac_wine_try_cflags_saved=$CFLAGS
17072 CFLAGS="$CFLAGS -fno-stack-protector"
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 int main(int argc, char **argv) { return 0; }
17076 _ACEOF
17077 if ac_fn_c_try_link "$LINENO"; then :
17078 ac_cv_cflags__fno_stack_protector=yes
17079 else
17080 ac_cv_cflags__fno_stack_protector=no
17082 rm -f core conftest.err conftest.$ac_objext \
17083 conftest$ac_exeext conftest.$ac_ext
17084 CFLAGS=$ac_wine_try_cflags_saved
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17087 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17088 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17089 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17092 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17093 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17094 $as_echo_n "(cached) " >&6
17095 else
17096 ac_wine_try_cflags_saved=$CFLAGS
17097 CFLAGS="$CFLAGS -fno-strict-aliasing"
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 int main(int argc, char **argv) { return 0; }
17101 _ACEOF
17102 if ac_fn_c_try_link "$LINENO"; then :
17103 ac_cv_cflags__fno_strict_aliasing=yes
17104 else
17105 ac_cv_cflags__fno_strict_aliasing=no
17107 rm -f core conftest.err conftest.$ac_objext \
17108 conftest$ac_exeext conftest.$ac_ext
17109 CFLAGS=$ac_wine_try_cflags_saved
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17112 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17113 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17114 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17117 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17118 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17119 $as_echo_n "(cached) " >&6
17120 else
17121 ac_wine_try_cflags_saved=$CFLAGS
17122 CFLAGS="$CFLAGS -fexcess-precision=standard"
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17125 int main(int argc, char **argv) { return 0; }
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"; then :
17128 ac_cv_cflags__fexcess_precision_standard=yes
17129 else
17130 ac_cv_cflags__fexcess_precision_standard=no
17132 rm -f core conftest.err conftest.$ac_objext \
17133 conftest$ac_exeext conftest.$ac_ext
17134 CFLAGS=$ac_wine_try_cflags_saved
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17137 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17138 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17139 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17143 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17144 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 ac_wine_try_cflags_saved=$CFLAGS
17148 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
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__Wdeclaration_after_statement=yes
17155 else
17156 ac_cv_cflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
17163 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17164 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17165 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17168 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17169 if ${ac_cv_cflags__Wempty_body+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 ac_wine_try_cflags_saved=$CFLAGS
17173 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
17180 else
17181 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
17188 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17189 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17190 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17193 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17194 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17195 $as_echo_n "(cached) " >&6
17196 else
17197 ac_wine_try_cflags_saved=$CFLAGS
17198 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
17205 else
17206 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
17213 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17214 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17215 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17218 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17219 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 ac_wine_try_cflags_saved=$CFLAGS
17223 CFLAGS="$CFLAGS -Wpacked-not-aligned"
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__Wpacked_not_aligned=yes
17230 else
17231 ac_cv_cflags__Wpacked_not_aligned=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__Wpacked_not_aligned" >&5
17238 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17239 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17240 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17243 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17244 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 ac_wine_try_cflags_saved=$CFLAGS
17248 CFLAGS="$CFLAGS -Wpragma-pack"
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__Wpragma_pack=yes
17255 else
17256 ac_cv_cflags__Wpragma_pack=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__Wpragma_pack" >&5
17263 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17264 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17265 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17268 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17269 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17270 $as_echo_n "(cached) " >&6
17271 else
17272 ac_wine_try_cflags_saved=$CFLAGS
17273 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
17280 else
17281 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
17288 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17289 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17290 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17293 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17294 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 ac_wine_try_cflags_saved=$CFLAGS
17298 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
17305 else
17306 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
17313 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17314 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17315 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17318 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17319 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 ac_wine_try_cflags_saved=$CFLAGS
17323 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
17330 else
17331 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
17338 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17339 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17340 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17343 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17344 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347 ac_wine_try_cflags_saved=$CFLAGS
17348 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
17355 else
17356 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
17363 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17364 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17365 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17368 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17369 if ${ac_cv_cflags__Wvla+:} false; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17372 ac_wine_try_cflags_saved=$CFLAGS
17373 CFLAGS="$CFLAGS -Wvla"
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 int main(int argc, char **argv) { return 0; }
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 ac_cv_cflags__Wvla=yes
17380 else
17381 ac_cv_cflags__Wvla=no
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17385 CFLAGS=$ac_wine_try_cflags_saved
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17388 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17389 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17390 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17393 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17394 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 ac_wine_try_cflags_saved=$CFLAGS
17398 CFLAGS="$CFLAGS -Wwrite-strings"
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 int main(int argc, char **argv) { return 0; }
17402 _ACEOF
17403 if ac_fn_c_try_link "$LINENO"; then :
17404 ac_cv_cflags__Wwrite_strings=yes
17405 else
17406 ac_cv_cflags__Wwrite_strings=no
17408 rm -f core conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 CFLAGS=$ac_wine_try_cflags_saved
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17413 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17414 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17415 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17419 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17420 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 ac_wine_try_cflags_saved=$CFLAGS
17424 CFLAGS="$CFLAGS -Wpointer-arith"
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 int main(int argc, char **argv) { return 0; }
17428 _ACEOF
17429 if ac_fn_c_try_link "$LINENO"; then :
17430 ac_cv_cflags__Wpointer_arith=yes
17431 else
17432 ac_cv_cflags__Wpointer_arith=no
17434 rm -f core conftest.err conftest.$ac_objext \
17435 conftest$ac_exeext conftest.$ac_ext
17436 CFLAGS=$ac_wine_try_cflags_saved
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17439 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17440 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17441 saved_string_h_CFLAGS=$CFLAGS
17442 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17444 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17445 if ${ac_cv_c_string_h_warnings+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <string.h>
17452 main ()
17456 return 0;
17458 _ACEOF
17459 if ac_fn_c_try_compile "$LINENO"; then :
17460 ac_cv_c_string_h_warnings=no
17461 else
17462 ac_cv_c_string_h_warnings=yes
17464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17467 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17468 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17469 CFLAGS=$saved_string_h_CFLAGS
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17473 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17474 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 ac_wine_try_cflags_saved=$CFLAGS
17478 CFLAGS="$CFLAGS -Wlogical-op"
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 int main(int argc, char **argv) { return 0; }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 ac_cv_cflags__Wlogical_op=yes
17485 else
17486 ac_cv_cflags__Wlogical_op=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17490 CFLAGS=$ac_wine_try_cflags_saved
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17493 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17494 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17495 saved_string_h_CFLAGS=$CFLAGS
17496 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17498 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17499 if ${ac_cv_c_logicalop_noisy+:} false; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 #include <string.h>
17505 char*f(const char *h,char n) {return strchr(h,n);}
17507 main ()
17511 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515 ac_cv_c_logicalop_noisy=no
17516 else
17517 ac_cv_c_logicalop_noisy=yes
17519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17522 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17523 CFLAGS=$saved_string_h_CFLAGS
17524 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17527 for ac_flag in $CFLAGS; do
17528 case $ac_flag in
17529 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17530 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17531 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 ac_wine_try_cflags_saved=$CFLAGS
17535 CFLAGS="$CFLAGS -gdwarf-2"
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 int main(int argc, char **argv) { return 0; }
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_cflags__gdwarf_2=yes
17542 else
17543 ac_cv_cflags__gdwarf_2=no
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17547 CFLAGS=$ac_wine_try_cflags_saved
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17550 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17551 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17552 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17555 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17556 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 ac_wine_try_cflags_saved=$CFLAGS
17560 CFLAGS="$CFLAGS -gstrict-dwarf"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 int main(int argc, char **argv) { return 0; }
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_cflags__gstrict_dwarf=yes
17567 else
17568 ac_cv_cflags__gstrict_dwarf=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 CFLAGS=$ac_wine_try_cflags_saved
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17575 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17576 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17577 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17578 fi ;;
17579 esac
17580 done
17582 MSVCRTFLAGS=""
17584 case $host_os in
17585 mingw32*) ;;
17586 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17587 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17588 if ${ac_cv_cflags__fno_builtin+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 ac_wine_try_cflags_saved=$CFLAGS
17592 CFLAGS="$CFLAGS -fno-builtin"
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 int main(int argc, char **argv) { return 0; }
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_cflags__fno_builtin=yes
17599 else
17600 ac_cv_cflags__fno_builtin=no
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17604 CFLAGS=$ac_wine_try_cflags_saved
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17607 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17608 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17609 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17612 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17613 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -fshort-wchar"
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 int main(int argc, char **argv) { return 0; }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_cflags__fshort_wchar=yes
17624 else
17625 ac_cv_cflags__fshort_wchar=no
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 CFLAGS=$ac_wine_try_cflags_saved
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17632 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17633 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17634 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17635 fi ;;
17636 esac
17638 case $host_cpu in
17639 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17640 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17641 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 ac_wine_try_cflags_saved=$CFLAGS
17645 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 int main(int argc, char **argv) { return 0; }
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_cflags__fno_omit_frame_pointer=yes
17652 else
17653 ac_cv_cflags__fno_omit_frame_pointer=no
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17657 CFLAGS=$ac_wine_try_cflags_saved
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17660 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17661 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17662 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17663 fi ;;
17664 *x86_64*)
17665 case $host_os in
17666 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17667 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17668 if ${ac_cv_cflags__Wno_format+:} false; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671 ac_wine_try_cflags_saved=$CFLAGS
17672 CFLAGS="$CFLAGS -Wno-format"
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 int main(int argc, char **argv) { return 0; }
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"; then :
17678 ac_cv_cflags__Wno_format=yes
17679 else
17680 ac_cv_cflags__Wno_format=no
17682 rm -f core conftest.err conftest.$ac_objext \
17683 conftest$ac_exeext conftest.$ac_ext
17684 CFLAGS=$ac_wine_try_cflags_saved
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17687 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17688 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17689 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17690 fi ;;
17691 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17692 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17693 if ${ac_cv_cflags__mabi_ms+:} false; then :
17694 $as_echo_n "(cached) " >&6
17695 else
17696 ac_wine_try_cflags_saved=$CFLAGS
17697 CFLAGS="$CFLAGS -mabi=ms"
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 int main(int argc, char **argv) { return 0; }
17701 _ACEOF
17702 if ac_fn_c_try_link "$LINENO"; then :
17703 ac_cv_cflags__mabi_ms=yes
17704 else
17705 ac_cv_cflags__mabi_ms=no
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 CFLAGS=$ac_wine_try_cflags_saved
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17712 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17713 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17714 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17715 fi ;;
17716 esac ;;
17717 esac
17719 CFLAGS=$saved_CFLAGS
17721 if test "x$enable_werror" = "xyes"
17722 then
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17724 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17725 if ${ac_cv_cflags__Werror+:} false; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17728 ac_wine_try_cflags_saved=$CFLAGS
17729 CFLAGS="$CFLAGS -Werror"
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 int main(int argc, char **argv) { return 0; }
17733 _ACEOF
17734 if ac_fn_c_try_link "$LINENO"; then :
17735 ac_cv_cflags__Werror=yes
17736 else
17737 ac_cv_cflags__Werror=no
17739 rm -f core conftest.err conftest.$ac_objext \
17740 conftest$ac_exeext conftest.$ac_ext
17741 CFLAGS=$ac_wine_try_cflags_saved
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17744 $as_echo "$ac_cv_cflags__Werror" >&6; }
17745 if test "x$ac_cv_cflags__Werror" = xyes; then :
17746 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17753 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17754 if ${ac_cv_c_fortify_enabled+:} false; then :
17755 $as_echo_n "(cached) " >&6
17756 else
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 #include <string.h>
17761 main ()
17763 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17764 #error Fortify enabled
17765 #endif
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_compile "$LINENO"; then :
17771 ac_cv_c_fortify_enabled=no
17772 else
17773 ac_cv_c_fortify_enabled=yes
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17778 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17779 if test "$ac_cv_c_fortify_enabled" = yes
17780 then
17781 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17786 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17787 if ${ac_cv_c_cfi_support+:} false; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17794 main ()
17798 return 0;
17800 _ACEOF
17801 if ac_fn_c_try_compile "$LINENO"; then :
17802 ac_cv_c_cfi_support="yes"
17803 else
17804 ac_cv_c_cfi_support="no"
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17809 $as_echo "$ac_cv_c_cfi_support" >&6; }
17810 if test "$ac_cv_c_cfi_support" = "yes"
17811 then
17812 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17813 else
17814 if test "x$enable_win64" = "xyes"
17815 then
17816 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17821 case $build_os in
17822 cygwin*|mingw32*) TOOLSEXT=".exe"
17824 esac
17826 case $host_os in
17827 linux*)
17828 case $host_cpu in
17829 *i[3456789]86*|x86_64*|*aarch64*)
17830 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17831 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17833 esac
17835 esac
17838 ac_save_CFLAGS="$CFLAGS"
17839 CFLAGS="$CFLAGS $BUILTINFLAG"
17840 for ac_func in \
17841 __res_get_state \
17842 __res_getservers \
17843 _spawnvp \
17844 epoll_create \
17845 ffs \
17846 finitef \
17847 fnmatch \
17848 fork \
17849 fpclass \
17850 fstatfs \
17851 fstatvfs \
17852 futimens \
17853 futimes \
17854 futimesat \
17855 getattrlist \
17856 getauxval \
17857 getifaddrs \
17858 getopt_long_only \
17859 kqueue \
17860 lstat \
17861 mach_continuous_time \
17862 pipe2 \
17863 poll \
17864 port_create \
17865 prctl \
17866 pread \
17867 proc_pidinfo \
17868 pwrite \
17869 readdir \
17870 readlink \
17871 sched_yield \
17872 select \
17873 setproctitle \
17874 setprogname \
17875 settimeofday \
17876 sigprocmask \
17877 statfs \
17878 statvfs \
17879 strnlen \
17880 strtold \
17881 symlink \
17882 sysinfo \
17883 tcdrain \
17884 thr_kill2 \
17885 timegm \
17886 usleep
17888 do :
17889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17892 cat >>confdefs.h <<_ACEOF
17893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17894 _ACEOF
17897 done
17899 CFLAGS="$ac_save_CFLAGS"
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17902 $as_echo_n "checking for library containing dlopen... " >&6; }
17903 if ${ac_cv_search_dlopen+:} false; then :
17904 $as_echo_n "(cached) " >&6
17905 else
17906 ac_func_search_save_LIBS=$LIBS
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17910 /* Override any GCC internal prototype to avoid an error.
17911 Use char because int might match the return type of a GCC
17912 builtin and then its argument prototype would still apply. */
17913 #ifdef __cplusplus
17914 extern "C"
17915 #endif
17916 char dlopen ();
17918 main ()
17920 return dlopen ();
17922 return 0;
17924 _ACEOF
17925 for ac_lib in '' dl; do
17926 if test -z "$ac_lib"; then
17927 ac_res="none required"
17928 else
17929 ac_res=-l$ac_lib
17930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17932 if ac_fn_c_try_link "$LINENO"; then :
17933 ac_cv_search_dlopen=$ac_res
17935 rm -f core conftest.err conftest.$ac_objext \
17936 conftest$ac_exeext
17937 if ${ac_cv_search_dlopen+:} false; then :
17938 break
17940 done
17941 if ${ac_cv_search_dlopen+:} false; then :
17943 else
17944 ac_cv_search_dlopen=no
17946 rm conftest.$ac_ext
17947 LIBS=$ac_func_search_save_LIBS
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17950 $as_echo "$ac_cv_search_dlopen" >&6; }
17951 ac_res=$ac_cv_search_dlopen
17952 if test "$ac_res" != no; then :
17953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17957 ac_wine_check_funcs_save_LIBS="$LIBS"
17958 LIBS="$LIBS $DL_LIBS"
17959 for ac_func in dladdr dlinfo
17960 do :
17961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17963 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17964 cat >>confdefs.h <<_ACEOF
17965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17966 _ACEOF
17969 done
17971 LIBS="$ac_wine_check_funcs_save_LIBS"
17973 if test "$ac_cv_func_poll" = no
17974 then
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17976 $as_echo_n "checking for poll in -lpoll... " >&6; }
17977 if ${ac_cv_lib_poll_poll+:} false; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 ac_check_lib_save_LIBS=$LIBS
17981 LIBS="-lpoll $LIBS"
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17988 #ifdef __cplusplus
17989 extern "C"
17990 #endif
17991 char poll ();
17993 main ()
17995 return poll ();
17997 return 0;
17999 _ACEOF
18000 if ac_fn_c_try_link "$LINENO"; then :
18001 ac_cv_lib_poll_poll=yes
18002 else
18003 ac_cv_lib_poll_poll=no
18005 rm -f core conftest.err conftest.$ac_objext \
18006 conftest$ac_exeext conftest.$ac_ext
18007 LIBS=$ac_check_lib_save_LIBS
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18010 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18011 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18012 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18013 POLL_LIBS="-lpoll"
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18020 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18021 if ${ac_cv_search_gethostbyname+:} false; then :
18022 $as_echo_n "(cached) " >&6
18023 else
18024 ac_func_search_save_LIBS=$LIBS
18025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18026 /* end confdefs.h. */
18028 /* Override any GCC internal prototype to avoid an error.
18029 Use char because int might match the return type of a GCC
18030 builtin and then its argument prototype would still apply. */
18031 #ifdef __cplusplus
18032 extern "C"
18033 #endif
18034 char gethostbyname ();
18036 main ()
18038 return gethostbyname ();
18040 return 0;
18042 _ACEOF
18043 for ac_lib in '' nsl; do
18044 if test -z "$ac_lib"; then
18045 ac_res="none required"
18046 else
18047 ac_res=-l$ac_lib
18048 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18050 if ac_fn_c_try_link "$LINENO"; then :
18051 ac_cv_search_gethostbyname=$ac_res
18053 rm -f core conftest.err conftest.$ac_objext \
18054 conftest$ac_exeext
18055 if ${ac_cv_search_gethostbyname+:} false; then :
18056 break
18058 done
18059 if ${ac_cv_search_gethostbyname+:} false; then :
18061 else
18062 ac_cv_search_gethostbyname=no
18064 rm conftest.$ac_ext
18065 LIBS=$ac_func_search_save_LIBS
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18068 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18069 ac_res=$ac_cv_search_gethostbyname
18070 if test "$ac_res" != no; then :
18071 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18077 $as_echo_n "checking for library containing connect... " >&6; }
18078 if ${ac_cv_search_connect+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081 ac_func_search_save_LIBS=$LIBS
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 /* Override any GCC internal prototype to avoid an error.
18086 Use char because int might match the return type of a GCC
18087 builtin and then its argument prototype would still apply. */
18088 #ifdef __cplusplus
18089 extern "C"
18090 #endif
18091 char connect ();
18093 main ()
18095 return connect ();
18097 return 0;
18099 _ACEOF
18100 for ac_lib in '' socket; do
18101 if test -z "$ac_lib"; then
18102 ac_res="none required"
18103 else
18104 ac_res=-l$ac_lib
18105 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18107 if ac_fn_c_try_link "$LINENO"; then :
18108 ac_cv_search_connect=$ac_res
18110 rm -f core conftest.err conftest.$ac_objext \
18111 conftest$ac_exeext
18112 if ${ac_cv_search_connect+:} false; then :
18113 break
18115 done
18116 if ${ac_cv_search_connect+:} false; then :
18118 else
18119 ac_cv_search_connect=no
18121 rm conftest.$ac_ext
18122 LIBS=$ac_func_search_save_LIBS
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18125 $as_echo "$ac_cv_search_connect" >&6; }
18126 ac_res=$ac_cv_search_connect
18127 if test "$ac_res" != no; then :
18128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18134 $as_echo_n "checking for library containing inet_aton... " >&6; }
18135 if ${ac_cv_search_inet_aton+:} false; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18138 ac_func_search_save_LIBS=$LIBS
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18142 /* Override any GCC internal prototype to avoid an error.
18143 Use char because int might match the return type of a GCC
18144 builtin and then its argument prototype would still apply. */
18145 #ifdef __cplusplus
18146 extern "C"
18147 #endif
18148 char inet_aton ();
18150 main ()
18152 return inet_aton ();
18154 return 0;
18156 _ACEOF
18157 for ac_lib in '' resolv; do
18158 if test -z "$ac_lib"; then
18159 ac_res="none required"
18160 else
18161 ac_res=-l$ac_lib
18162 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18164 if ac_fn_c_try_link "$LINENO"; then :
18165 ac_cv_search_inet_aton=$ac_res
18167 rm -f core conftest.err conftest.$ac_objext \
18168 conftest$ac_exeext
18169 if ${ac_cv_search_inet_aton+:} false; then :
18170 break
18172 done
18173 if ${ac_cv_search_inet_aton+:} false; then :
18175 else
18176 ac_cv_search_inet_aton=no
18178 rm conftest.$ac_ext
18179 LIBS=$ac_func_search_save_LIBS
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18182 $as_echo "$ac_cv_search_inet_aton" >&6; }
18183 ac_res=$ac_cv_search_inet_aton
18184 if test "$ac_res" != no; then :
18185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18190 for ac_func in \
18191 getaddrinfo \
18192 getnameinfo \
18193 getnetbyname \
18194 getprotobyname \
18195 getprotobynumber \
18196 getservbyport \
18197 inet_addr \
18198 inet_network \
18199 inet_ntop \
18200 inet_pton \
18202 do :
18203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18206 cat >>confdefs.h <<_ACEOF
18207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18208 _ACEOF
18211 done
18214 case $host_os in
18215 darwin*|macosx*) ;;
18216 *) ac_save_LIBS=$LIBS
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18218 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18219 if ${ac_cv_search_clock_gettime+:} false; then :
18220 $as_echo_n "(cached) " >&6
18221 else
18222 ac_func_search_save_LIBS=$LIBS
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 /* Override any GCC internal prototype to avoid an error.
18227 Use char because int might match the return type of a GCC
18228 builtin and then its argument prototype would still apply. */
18229 #ifdef __cplusplus
18230 extern "C"
18231 #endif
18232 char clock_gettime ();
18234 main ()
18236 return clock_gettime ();
18238 return 0;
18240 _ACEOF
18241 for ac_lib in '' rt; do
18242 if test -z "$ac_lib"; then
18243 ac_res="none required"
18244 else
18245 ac_res=-l$ac_lib
18246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18248 if ac_fn_c_try_link "$LINENO"; then :
18249 ac_cv_search_clock_gettime=$ac_res
18251 rm -f core conftest.err conftest.$ac_objext \
18252 conftest$ac_exeext
18253 if ${ac_cv_search_clock_gettime+:} false; then :
18254 break
18256 done
18257 if ${ac_cv_search_clock_gettime+:} false; then :
18259 else
18260 ac_cv_search_clock_gettime=no
18262 rm conftest.$ac_ext
18263 LIBS=$ac_func_search_save_LIBS
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18266 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18267 ac_res=$ac_cv_search_clock_gettime
18268 if test "$ac_res" != no; then :
18269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18271 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18273 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18277 LIBS=$ac_save_LIBS
18279 esac
18281 if test "x$with_ldap" != "xno"
18282 then
18283 if ${LDAP_CFLAGS:+false} :; then :
18284 if ${PKG_CONFIG+:} false; then :
18285 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18289 if ${LDAP_LIBS:+false} :; then :
18290 if ${PKG_CONFIG+:} false; then :
18291 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18295 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18296 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18297 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18298 ac_save_CPPFLAGS=$CPPFLAGS
18299 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18300 for ac_header in ldap.h lber.h
18301 do :
18302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18303 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18305 cat >>confdefs.h <<_ACEOF
18306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18307 _ACEOF
18311 done
18313 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18314 then
18315 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18317 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18319 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18320 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 ac_check_lib_save_LIBS=$LIBS
18324 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 /* Override any GCC internal prototype to avoid an error.
18329 Use char because int might match the return type of a GCC
18330 builtin and then its argument prototype would still apply. */
18331 #ifdef __cplusplus
18332 extern "C"
18333 #endif
18334 char ldap_initialize ();
18336 main ()
18338 return ldap_initialize ();
18340 return 0;
18342 _ACEOF
18343 if ac_fn_c_try_link "$LINENO"; then :
18344 ac_cv_lib_ldap_r_ldap_initialize=yes
18345 else
18346 ac_cv_lib_ldap_r_ldap_initialize=no
18348 rm -f core conftest.err conftest.$ac_objext \
18349 conftest$ac_exeext conftest.$ac_ext
18350 LIBS=$ac_check_lib_save_LIBS
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18353 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18354 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18356 $as_echo_n "checking for ber_init in -llber... " >&6; }
18357 if ${ac_cv_lib_lber_ber_init+:} false; then :
18358 $as_echo_n "(cached) " >&6
18359 else
18360 ac_check_lib_save_LIBS=$LIBS
18361 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18365 /* Override any GCC internal prototype to avoid an error.
18366 Use char because int might match the return type of a GCC
18367 builtin and then its argument prototype would still apply. */
18368 #ifdef __cplusplus
18369 extern "C"
18370 #endif
18371 char ber_init ();
18373 main ()
18375 return ber_init ();
18377 return 0;
18379 _ACEOF
18380 if ac_fn_c_try_link "$LINENO"; then :
18381 ac_cv_lib_lber_ber_init=yes
18382 else
18383 ac_cv_lib_lber_ber_init=no
18385 rm -f core conftest.err conftest.$ac_objext \
18386 conftest$ac_exeext conftest.$ac_ext
18387 LIBS=$ac_check_lib_save_LIBS
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18390 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18391 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18393 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18395 else
18396 LDAP_LIBS=""
18399 else
18400 LDAP_LIBS=""
18403 else
18404 LDAP_LIBS=""
18407 ac_wine_check_funcs_save_LIBS="$LIBS"
18408 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18409 for ac_func in \
18410 ldap_count_references \
18411 ldap_first_reference \
18412 ldap_next_reference \
18413 ldap_parse_reference \
18414 ldap_parse_sort_control \
18415 ldap_parse_sortresponse_control \
18416 ldap_parse_vlv_control \
18417 ldap_parse_vlvresponse_control
18418 do :
18419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18422 cat >>confdefs.h <<_ACEOF
18423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18424 _ACEOF
18427 done
18429 LIBS="$ac_wine_check_funcs_save_LIBS"
18430 else
18431 LDAP_LIBS=""
18433 CPPFLAGS=$ac_save_CPPFLAGS
18434 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18435 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18438 if test "x$LDAP_LIBS" = "x"; then :
18439 case "x$with_ldap" in
18440 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18441 xno) ;;
18442 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18443 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18444 esac
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18449 $as_echo_n "checking for sched_setaffinity... " >&6; }
18450 if ${wine_cv_have_sched_setaffinity+:} false; then :
18451 $as_echo_n "(cached) " >&6
18452 else
18453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18454 /* end confdefs.h. */
18455 #define _GNU_SOURCE
18456 #include <sched.h>
18458 main ()
18460 sched_setaffinity(0, 0, 0);
18462 return 0;
18464 _ACEOF
18465 if ac_fn_c_try_link "$LINENO"; then :
18466 wine_cv_have_sched_setaffinity=yes
18467 else
18468 wine_cv_have_sched_setaffinity=no
18470 rm -f core conftest.err conftest.$ac_objext \
18471 conftest$ac_exeext conftest.$ac_ext
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18474 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18475 if test "$wine_cv_have_sched_setaffinity" = "yes"
18476 then
18478 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18483 $as_echo_n "checking for fallocate... " >&6; }
18484 if ${wine_cv_have_fallocate+:} false; then :
18485 $as_echo_n "(cached) " >&6
18486 else
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18489 #define _GNU_SOURCE
18490 #include <fcntl.h>
18492 main ()
18494 fallocate(-1, 0, 0, 0);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"; then :
18500 wine_cv_have_fallocate=yes
18501 else
18502 wine_cv_have_fallocate=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18508 $as_echo "$wine_cv_have_fallocate" >&6; }
18509 if test "$wine_cv_have_fallocate" = "yes"
18510 then
18512 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18518 $as_echo_n "checking for inline... " >&6; }
18519 if ${ac_cv_c_inline+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 ac_cv_c_inline=no
18523 for ac_kw in inline __inline__ __inline; do
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18526 #ifndef __cplusplus
18527 typedef int foo_t;
18528 static $ac_kw foo_t static_foo () {return 0; }
18529 $ac_kw foo_t foo () {return 0; }
18530 #endif
18532 _ACEOF
18533 if ac_fn_c_try_compile "$LINENO"; then :
18534 ac_cv_c_inline=$ac_kw
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 test "$ac_cv_c_inline" != no && break
18538 done
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18542 $as_echo "$ac_cv_c_inline" >&6; }
18544 case $ac_cv_c_inline in
18545 inline | yes) ;;
18547 case $ac_cv_c_inline in
18548 no) ac_val=;;
18549 *) ac_val=$ac_cv_c_inline;;
18550 esac
18551 cat >>confdefs.h <<_ACEOF
18552 #ifndef __cplusplus
18553 #define inline $ac_val
18554 #endif
18555 _ACEOF
18557 esac
18559 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18560 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18562 cat >>confdefs.h <<_ACEOF
18563 #define HAVE_FSBLKCNT_T 1
18564 _ACEOF
18568 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18569 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18571 cat >>confdefs.h <<_ACEOF
18572 #define HAVE_FSFILCNT_T 1
18573 _ACEOF
18578 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18579 #include <signal.h>
18581 if test "x$ac_cv_type_sigset_t" = xyes; then :
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_SIGSET_T 1
18585 _ACEOF
18590 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18592 if test "x$ac_cv_type_request_sense" = xyes; then :
18594 cat >>confdefs.h <<_ACEOF
18595 #define HAVE_REQUEST_SENSE 1
18596 _ACEOF
18602 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18603 #ifdef HAVE_SYS_SOCKET_H
18604 #include <sys/socket.h>
18605 #endif
18606 #ifdef HAVE_SYS_SOCKETVAR_H
18607 #include <sys/socketvar.h>
18608 #endif
18609 #ifdef HAVE_NET_ROUTE_H
18610 #include <net/route.h>
18611 #endif
18612 #ifdef HAVE_NETINET_IN_H
18613 #include <netinet/in.h>
18614 #endif
18615 #ifdef HAVE_NETINET_IN_SYSTM_H
18616 #include <netinet/in_systm.h>
18617 #endif
18618 #ifdef HAVE_NETINET_IP_H
18619 #include <netinet/ip.h>
18620 #endif
18621 #ifdef HAVE_NETINET_IN_PCB_H
18622 #include <netinet/in_pcb.h>
18623 #endif
18625 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18627 cat >>confdefs.h <<_ACEOF
18628 #define HAVE_STRUCT_XINPGEN 1
18629 _ACEOF
18635 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18636 #include <linux/input.h>
18637 #endif
18639 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18641 cat >>confdefs.h <<_ACEOF
18642 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18643 _ACEOF
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18650 $as_echo_n "checking for if_nameindex... " >&6; }
18651 if ${wine_cv_have_if_nameindex+:} false; then :
18652 $as_echo_n "(cached) " >&6
18653 else
18654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h. */
18656 #ifdef HAVE_SYS_TYPES_H
18657 #include <sys/types.h>
18658 #endif
18659 #ifdef HAVE_SYS_SOCKET_H
18660 #include <sys/socket.h>
18661 #endif
18662 #ifdef HAVE_NET_IF_H
18663 # include <net/if.h>
18664 #endif
18666 main ()
18668 struct if_nameindex *p = if_nameindex(); return p->if_index;
18670 return 0;
18672 _ACEOF
18673 if ac_fn_c_try_link "$LINENO"; then :
18674 wine_cv_have_if_nameindex=yes
18675 else
18676 wine_cv_have_if_nameindex=no
18678 rm -f core conftest.err conftest.$ac_objext \
18679 conftest$ac_exeext conftest.$ac_ext
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18682 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18683 if test "$wine_cv_have_if_nameindex" = "yes"
18684 then
18686 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18691 $as_echo_n "checking for sigaddset... " >&6; }
18692 if ${wine_cv_have_sigaddset+:} false; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 #include <signal.h>
18699 main ()
18701 sigset_t set; sigaddset(&set,SIGTERM);
18703 return 0;
18705 _ACEOF
18706 if ac_fn_c_try_link "$LINENO"; then :
18707 wine_cv_have_sigaddset=yes
18708 else
18709 wine_cv_have_sigaddset=no
18711 rm -f core conftest.err conftest.$ac_objext \
18712 conftest$ac_exeext conftest.$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18715 $as_echo "$wine_cv_have_sigaddset" >&6; }
18716 if test "$wine_cv_have_sigaddset" = "yes"
18717 then
18719 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18725 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18726 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18727 $as_echo_n "(cached) " >&6
18728 else
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #include <netdb.h>
18733 main ()
18736 char *name=0;
18737 struct hostent he;
18738 struct hostent *result;
18739 char *buf=0;
18740 int bufsize=0;
18741 int errnr;
18742 char *addr=0;
18743 int addrlen=0;
18744 int addrtype=0;
18745 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18746 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18749 return 0;
18751 _ACEOF
18752 if ac_fn_c_try_link "$LINENO"; then :
18753 wine_cv_linux_gethostbyname_r_6=yes
18754 else
18755 wine_cv_linux_gethostbyname_r_6=no
18758 rm -f core conftest.err conftest.$ac_objext \
18759 conftest$ac_exeext conftest.$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18763 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18764 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18765 then
18767 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18771 if test "$ac_cv_header_linux_joystick_h" = "yes"
18772 then
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18774 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18775 if ${wine_cv_linux_joystick_22_api+:} false; then :
18776 $as_echo_n "(cached) " >&6
18777 else
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18781 #include <sys/ioctl.h>
18782 #include <sys/types.h>
18783 #include <linux/joystick.h>
18785 struct js_event blub;
18786 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18787 #error "no 2.2 header"
18788 #endif
18791 main ()
18793 /*empty*/
18795 return 0;
18797 _ACEOF
18798 if ac_fn_c_try_compile "$LINENO"; then :
18799 wine_cv_linux_joystick_22_api=yes
18800 else
18801 wine_cv_linux_joystick_22_api=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18807 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18808 if test "$wine_cv_linux_joystick_22_api" = "yes"
18809 then
18811 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18817 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18818 #ifdef HAVE_SYS_PARAM_H
18819 # include <sys/param.h>
18820 #endif
18821 #ifdef HAVE_SYS_MOUNT_H
18822 # include <sys/mount.h>
18823 #endif
18824 #ifdef HAVE_SYS_VFS_H
18825 # include <sys/vfs.h>
18826 #endif
18827 #ifdef HAVE_SYS_STATFS_H
18828 # include <sys/statfs.h>
18829 #endif
18831 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18833 cat >>confdefs.h <<_ACEOF
18834 #define HAVE_STRUCT_STATFS_F_BFREE 1
18835 _ACEOF
18839 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18840 #ifdef HAVE_SYS_PARAM_H
18841 # include <sys/param.h>
18842 #endif
18843 #ifdef HAVE_SYS_MOUNT_H
18844 # include <sys/mount.h>
18845 #endif
18846 #ifdef HAVE_SYS_VFS_H
18847 # include <sys/vfs.h>
18848 #endif
18849 #ifdef HAVE_SYS_STATFS_H
18850 # include <sys/statfs.h>
18851 #endif
18853 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18857 _ACEOF
18861 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18862 #ifdef HAVE_SYS_PARAM_H
18863 # include <sys/param.h>
18864 #endif
18865 #ifdef HAVE_SYS_MOUNT_H
18866 # include <sys/mount.h>
18867 #endif
18868 #ifdef HAVE_SYS_VFS_H
18869 # include <sys/vfs.h>
18870 #endif
18871 #ifdef HAVE_SYS_STATFS_H
18872 # include <sys/statfs.h>
18873 #endif
18875 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18877 cat >>confdefs.h <<_ACEOF
18878 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18879 _ACEOF
18883 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18884 #ifdef HAVE_SYS_PARAM_H
18885 # include <sys/param.h>
18886 #endif
18887 #ifdef HAVE_SYS_MOUNT_H
18888 # include <sys/mount.h>
18889 #endif
18890 #ifdef HAVE_SYS_VFS_H
18891 # include <sys/vfs.h>
18892 #endif
18893 #ifdef HAVE_SYS_STATFS_H
18894 # include <sys/statfs.h>
18895 #endif
18897 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18899 cat >>confdefs.h <<_ACEOF
18900 #define HAVE_STRUCT_STATFS_F_FFREE 1
18901 _ACEOF
18905 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18906 #ifdef HAVE_SYS_PARAM_H
18907 # include <sys/param.h>
18908 #endif
18909 #ifdef HAVE_SYS_MOUNT_H
18910 # include <sys/mount.h>
18911 #endif
18912 #ifdef HAVE_SYS_VFS_H
18913 # include <sys/vfs.h>
18914 #endif
18915 #ifdef HAVE_SYS_STATFS_H
18916 # include <sys/statfs.h>
18917 #endif
18919 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18923 _ACEOF
18927 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18928 #ifdef HAVE_SYS_PARAM_H
18929 # include <sys/param.h>
18930 #endif
18931 #ifdef HAVE_SYS_MOUNT_H
18932 # include <sys/mount.h>
18933 #endif
18934 #ifdef HAVE_SYS_VFS_H
18935 # include <sys/vfs.h>
18936 #endif
18937 #ifdef HAVE_SYS_STATFS_H
18938 # include <sys/statfs.h>
18939 #endif
18941 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18945 _ACEOF
18951 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18952 #include <sys/statvfs.h>
18953 #endif
18955 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18959 _ACEOF
18965 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18966 #include <dirent.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18973 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18980 #ifdef HAVE_SYS_SOCKET_H
18981 # include <sys/socket.h>
18982 #endif
18983 #ifdef HAVE_SYS_UN_H
18984 # include <sys/un.h>
18985 #endif
18987 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18991 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_SOCKET_H
18997 # include <sys/socket.h>
18998 #endif
18999 #ifdef HAVE_SYS_UN_H
19000 # include <sys/un.h>
19001 #endif
19003 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19007 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19012 #ifdef HAVE_SYS_SOCKET_H
19013 # include <sys/socket.h>
19014 #endif
19015 #ifdef HAVE_SYS_UN_H
19016 # include <sys/un.h>
19017 #endif
19019 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19023 _ACEOF
19029 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19030 #ifdef HAVE_SCSI_SG_H
19031 #include <scsi/sg.h>
19032 #endif
19034 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_SCSIREQ_T_CMD 1
19038 _ACEOF
19042 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>
19043 #ifdef HAVE_SCSI_SG_H
19044 #include <scsi/sg.h>
19045 #endif
19047 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19051 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19059 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19061 cat >>confdefs.h <<_ACEOF
19062 #define HAVE_SIGINFO_T_SI_FD 1
19063 _ACEOF
19069 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19070 #ifdef HAVE_SYS_MTIO_H
19071 #include <sys/mtio.h>
19072 #endif
19074 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19083 #ifdef HAVE_SYS_MTIO_H
19084 #include <sys/mtio.h>
19085 #endif
19087 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19091 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19096 #ifdef HAVE_SYS_MTIO_H
19097 #include <sys/mtio.h>
19098 #endif
19100 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19104 _ACEOF
19110 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19111 #include <getopt.h>
19112 #endif
19114 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_OPTION_NAME 1
19118 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_MTIM 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_CTIM 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT_ST_ATIM 1
19174 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19179 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19183 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19188 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19197 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19201 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19206 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19210 _ACEOF
19214 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19215 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19219 _ACEOF
19223 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19224 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19228 _ACEOF
19234 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
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IN_H
19238 #include <netinet/in.h>
19239 #endif
19241 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19245 _ACEOF
19251 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19252 #include <sys/types.h>
19253 #endif
19254 #ifdef HAVE_NETINET_IN_H
19255 #include <netinet/in.h>
19256 #endif
19257 #ifdef HAVE_RESOLV_H
19258 #include <resolv.h>
19259 #endif
19261 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STRUCT___RES_STATE 1
19265 _ACEOF
19271 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
19272 #include <resolv.h>
19273 #endif
19275 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19279 _ACEOF
19285 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19286 #include <sys/types.h>
19287 #endif
19288 #ifdef HAVE_NETINET_IN_H
19289 # include <netinet/in.h>
19290 #endif
19291 #ifdef HAVE_ARPA_NAMESER_H
19292 # include <arpa/nameser.h>
19293 #endif
19295 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_NS_MSG__MSG_PTR 1
19299 _ACEOF
19305 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19306 #include <sys/types.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IN_H
19309 #include <netinet/in.h>
19310 #endif
19311 #ifdef HAVE_NETINET_IP_H
19312 #include <netinet/ip.h>
19313 #endif
19314 #ifdef HAVE_NETINET_IP_ICMP_H
19315 #include <netinet/ip_icmp.h>
19316 #endif
19317 #ifdef HAVE_NETINET_ICMP_VAR_H
19318 #include <netinet/icmp_var.h>
19319 #endif
19321 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19323 cat >>confdefs.h <<_ACEOF
19324 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19325 _ACEOF
19331 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19332 #include <sys/types.h>
19333 #endif
19334 #ifdef HAVE_ALIAS_H
19335 #include <alias.h>
19336 #endif
19337 #ifdef HAVE_SYS_SOCKET_H
19338 #include <sys/socket.h>
19339 #endif
19340 #ifdef HAVE_SYS_SOCKETVAR_H
19341 #include <sys/socketvar.h>
19342 #endif
19343 #ifdef HAVE_SYS_TIMEOUT_H
19344 #include <sys/timeout.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IN_H
19347 #include <netinet/in.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IN_SYSTM_H
19350 #include <netinet/in_systm.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_H
19353 #include <netinet/ip.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IP_VAR_H
19356 #include <netinet/ip_var.h>
19357 #endif
19358 #ifdef HAVE_NETINET_IP_ICMP_H
19359 #include <netinet/ip_icmp.h>
19360 #endif
19361 #ifdef HAVE_NETINET_ICMP_VAR_H
19362 #include <netinet/icmp_var.h>
19363 #endif
19365 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19369 _ACEOF
19375 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19376 #include <sys/types.h>
19377 #endif
19378 #ifdef HAVE_SYS_SOCKETVAR_H
19379 #include <sys/socketvar.h>
19380 #endif
19381 #ifdef HAVE_NETINET_IN_H
19382 #include <netinet/in.h>
19383 #endif
19384 #ifdef HAVE_NETINET_IP_VAR_H
19385 #include <netinet/ip_var.h>
19386 #endif
19388 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19390 cat >>confdefs.h <<_ACEOF
19391 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19392 _ACEOF
19398 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
19399 #include <netinet/ip_var.h>
19400 #endif
19402 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19406 _ACEOF
19412 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19413 #include <sys/types.h>
19414 #endif
19415 #ifdef HAVE_SYS_SOCKETVAR_H
19416 #include <sys/socketvar.h>
19417 #endif
19418 #ifdef HAVE_NETINET_IN_H
19419 #include <netinet/in.h>
19420 #endif
19421 #ifdef HAVE_NETINET_TCP_H
19422 #include <netinet/tcp.h>
19423 #endif
19424 #ifdef HAVE_NETINET_TCP_VAR_H
19425 #include <netinet/tcp_var.h>
19426 #endif
19428 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19430 cat >>confdefs.h <<_ACEOF
19431 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19432 _ACEOF
19438 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
19439 #include <netinet/tcp_var.h>
19440 #endif
19442 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19446 _ACEOF
19452 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19453 #include <sys/types.h>
19454 #endif
19455 #ifdef HAVE_NETINET_IN_H
19456 #include <netinet/in.h>
19457 #endif
19458 #ifdef HAVE_NETINET_IP_VAR_H
19459 #include <netinet/ip_var.h>
19460 #endif
19461 #ifdef HAVE_NETINET_UDP_H
19462 #include <netinet/udp.h>
19463 #endif
19464 #ifdef HAVE_NETINET_UDP_VAR_H
19465 #include <netinet/udp_var.h>
19466 #endif
19468 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19470 cat >>confdefs.h <<_ACEOF
19471 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19472 _ACEOF
19478 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19479 #include <sys/types.h>
19480 #endif
19481 #ifdef HAVE_NET_IF_H
19482 # include <net/if.h>
19483 #endif
19485 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19487 cat >>confdefs.h <<_ACEOF
19488 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19489 _ACEOF
19495 ac_save_LIBS="$LIBS"
19496 LIBS="$LIBS -lm"
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19498 $as_echo_n "checking for isfinite... " >&6; }
19499 if ${ac_cv_have_isfinite+:} false; then :
19500 $as_echo_n "(cached) " >&6
19501 else
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 #define _GNU_SOURCE
19505 #include <math.h>
19507 main ()
19509 float f = 0.0; return isfinite(f)
19511 return 0;
19513 _ACEOF
19514 if ac_fn_c_try_link "$LINENO"; then :
19515 ac_cv_have_isfinite="yes"
19516 else
19517 ac_cv_have_isfinite="no"
19519 rm -f core conftest.err conftest.$ac_objext \
19520 conftest$ac_exeext conftest.$ac_ext
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19523 $as_echo "$ac_cv_have_isfinite" >&6; }
19524 if test "$ac_cv_have_isfinite" = "yes"
19525 then
19527 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19532 $as_echo_n "checking for isinf... " >&6; }
19533 if ${ac_cv_have_isinf+:} false; then :
19534 $as_echo_n "(cached) " >&6
19535 else
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 #include <math.h>
19540 main ()
19542 float f = 0.0; return isinf(f)
19544 return 0;
19546 _ACEOF
19547 if ac_fn_c_try_link "$LINENO"; then :
19548 ac_cv_have_isinf="yes"
19549 else
19550 ac_cv_have_isinf="no"
19552 rm -f core conftest.err conftest.$ac_objext \
19553 conftest$ac_exeext conftest.$ac_ext
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19556 $as_echo "$ac_cv_have_isinf" >&6; }
19557 if test "$ac_cv_have_isinf" = "yes"
19558 then
19560 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19565 $as_echo_n "checking for isnan... " >&6; }
19566 if ${ac_cv_have_isnan+:} false; then :
19567 $as_echo_n "(cached) " >&6
19568 else
19569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19571 #include <math.h>
19573 main ()
19575 float f = 0.0; return isnan(f)
19577 return 0;
19579 _ACEOF
19580 if ac_fn_c_try_link "$LINENO"; then :
19581 ac_cv_have_isnan="yes"
19582 else
19583 ac_cv_have_isnan="no"
19585 rm -f core conftest.err conftest.$ac_objext \
19586 conftest$ac_exeext conftest.$ac_ext
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19589 $as_echo "$ac_cv_have_isnan" >&6; }
19590 if test "$ac_cv_have_isnan" = "yes"
19591 then
19593 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19597 for ac_func in \
19598 acosh \
19599 acoshf \
19600 asinh \
19601 asinhf \
19602 atanh \
19603 atanhf \
19604 cbrt \
19605 cbrtf \
19606 erf \
19607 erfc \
19608 erfcf \
19609 erff \
19610 exp2 \
19611 exp2f \
19612 expm1 \
19613 expm1f \
19614 fma \
19615 fmaf \
19616 ilogb \
19617 ilogbf \
19618 j0 \
19619 j1 \
19620 jn \
19621 lgamma \
19622 lgammaf \
19623 llrint \
19624 llrintf \
19625 llround \
19626 llroundf \
19627 log1p \
19628 log1pf \
19629 log2 \
19630 log2f \
19631 lrint \
19632 lrintf \
19633 lround \
19634 lroundf \
19635 nearbyint \
19636 nearbyintf \
19637 nexttoward \
19638 nexttowardf \
19639 remainder \
19640 remainderf \
19641 remquo \
19642 remquof \
19643 rint \
19644 rintf \
19645 round \
19646 roundf \
19647 tgamma \
19648 tgammaf \
19649 trunc \
19650 truncf \
19651 y0 \
19652 y1 \
19655 do :
19656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19659 cat >>confdefs.h <<_ACEOF
19660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19661 _ACEOF
19664 done
19666 LIBS="$ac_save_LIBS"
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19669 $as_echo_n "checking for __builtin_popcount... " >&6; }
19670 if ${ac_cv_have___builtin_popcount+:} false; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19677 main ()
19679 return __builtin_popcount(1)
19681 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_link "$LINENO"; then :
19685 ac_cv_have___builtin_popcount="yes"
19686 else
19687 ac_cv_have___builtin_popcount="no"
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19693 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19694 if test "$ac_cv_have___builtin_popcount" = "yes"
19695 then
19697 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19702 $as_echo_n "checking for __clear_cache... " >&6; }
19703 if ${ac_cv_have___clear_cache+:} false; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19710 main ()
19712 __clear_cache((void*)0, (void*)0); return 0;
19714 return 0;
19716 _ACEOF
19717 if ac_fn_c_try_link "$LINENO"; then :
19718 ac_cv_have___clear_cache="yes"
19719 else
19720 ac_cv_have___clear_cache="no"
19722 rm -f core conftest.err conftest.$ac_objext \
19723 conftest$ac_exeext conftest.$ac_ext
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19726 $as_echo "$ac_cv_have___clear_cache" >&6; }
19727 if test "$ac_cv_have___clear_cache" = "yes"
19728 then
19730 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19735 case $host_cpu in
19736 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19737 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19738 if ${ac_cv_cpp_def___i386__+:} false; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #ifndef __i386__
19745 #endif
19746 _ACEOF
19747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19748 $EGREP "yes" >/dev/null 2>&1; then :
19749 ac_cv_cpp_def___i386__=yes
19750 else
19751 ac_cv_cpp_def___i386__=no
19753 rm -f conftest*
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19757 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19758 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19759 CFLAGS="$CFLAGS -D__i386__"
19760 LINTFLAGS="$LINTFLAGS -D__i386__"
19761 fi ;;
19762 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19763 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19764 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19769 #ifndef __x86_64__
19771 #endif
19772 _ACEOF
19773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19774 $EGREP "yes" >/dev/null 2>&1; then :
19775 ac_cv_cpp_def___x86_64__=yes
19776 else
19777 ac_cv_cpp_def___x86_64__=no
19779 rm -f conftest*
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19783 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19784 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19785 CFLAGS="$CFLAGS -D__x86_64__"
19786 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19787 fi ;;
19788 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19789 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19790 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19791 $as_echo_n "(cached) " >&6
19792 else
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19795 #ifndef __sparc64__
19797 #endif
19798 _ACEOF
19799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19800 $EGREP "yes" >/dev/null 2>&1; then :
19801 ac_cv_cpp_def___sparc64__=yes
19802 else
19803 ac_cv_cpp_def___sparc64__=no
19805 rm -f conftest*
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19809 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19810 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19811 CFLAGS="$CFLAGS -D__sparc64__"
19812 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19813 fi ;;
19814 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19815 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19816 if ${ac_cv_cpp_def___sparc__+:} false; then :
19817 $as_echo_n "(cached) " >&6
19818 else
19819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19820 /* end confdefs.h. */
19821 #ifndef __sparc__
19823 #endif
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "yes" >/dev/null 2>&1; then :
19827 ac_cv_cpp_def___sparc__=yes
19828 else
19829 ac_cv_cpp_def___sparc__=no
19831 rm -f conftest*
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19835 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19836 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19837 CFLAGS="$CFLAGS -D__sparc__"
19838 LINTFLAGS="$LINTFLAGS -D__sparc__"
19839 fi ;;
19840 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19841 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19842 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19843 $as_echo_n "(cached) " >&6
19844 else
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #ifndef __powerpc64__
19849 #endif
19850 _ACEOF
19851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19852 $EGREP "yes" >/dev/null 2>&1; then :
19853 ac_cv_cpp_def___powerpc64__=yes
19854 else
19855 ac_cv_cpp_def___powerpc64__=no
19857 rm -f conftest*
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19861 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19862 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19863 CFLAGS="$CFLAGS -D__powerpc64__"
19864 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19865 fi ;;
19866 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19867 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19868 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19869 $as_echo_n "(cached) " >&6
19870 else
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #ifndef __powerpc__
19875 #endif
19876 _ACEOF
19877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19878 $EGREP "yes" >/dev/null 2>&1; then :
19879 ac_cv_cpp_def___powerpc__=yes
19880 else
19881 ac_cv_cpp_def___powerpc__=no
19883 rm -f conftest*
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19887 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19888 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19889 CFLAGS="$CFLAGS -D__powerpc__"
19890 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19891 fi ;;
19892 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19893 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19894 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19895 $as_echo_n "(cached) " >&6
19896 else
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #ifndef __aarch64__
19901 #endif
19902 _ACEOF
19903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19904 $EGREP "yes" >/dev/null 2>&1; then :
19905 ac_cv_cpp_def___aarch64__=yes
19906 else
19907 ac_cv_cpp_def___aarch64__=no
19909 rm -f conftest*
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19913 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19914 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19915 CFLAGS="$CFLAGS -D__aarch64__"
19916 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19917 fi ;;
19918 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19919 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19920 if ${ac_cv_cpp_def___arm__+:} false; then :
19921 $as_echo_n "(cached) " >&6
19922 else
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #ifndef __arm__
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___arm__=yes
19932 else
19933 ac_cv_cpp_def___arm__=no
19935 rm -f conftest*
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19939 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19940 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19941 CFLAGS="$CFLAGS -D__arm__"
19942 LINTFLAGS="$LINTFLAGS -D__arm__"
19943 fi ;;
19944 esac
19946 case $host_vendor in
19947 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19948 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19949 if ${ac_cv_cpp_def___sun__+:} false; then :
19950 $as_echo_n "(cached) " >&6
19951 else
19952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h. */
19954 #ifndef __sun__
19956 #endif
19957 _ACEOF
19958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19959 $EGREP "yes" >/dev/null 2>&1; then :
19960 ac_cv_cpp_def___sun__=yes
19961 else
19962 ac_cv_cpp_def___sun__=no
19964 rm -f conftest*
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19968 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19969 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19970 CFLAGS="$CFLAGS -D__sun__"
19971 LINTFLAGS="$LINTFLAGS -D__sun__"
19972 fi ;;
19973 esac
19979 ac_config_commands="$ac_config_commands include/stamp-h"
19981 $as_echo_n "creating Makefile rules..." >&6
19983 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19984 OPENGL_LIBS = $OPENGL_LIBS
19985 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19986 IOKIT_LIBS = $IOKIT_LIBS
19987 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19988 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19989 CORESERVICES_LIBS = $CORESERVICES_LIBS
19990 APPKIT_LIBS = $APPKIT_LIBS
19991 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19992 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19993 SECURITY_LIBS = $SECURITY_LIBS
19994 COREAUDIO_LIBS = $COREAUDIO_LIBS
19995 OPENAL_LIBS = $OPENAL_LIBS
19996 OPENCL_LIBS = $OPENCL_LIBS
19997 QUICKTIME_LIBS = $QUICKTIME_LIBS
19998 CARBON_LIBS = $CARBON_LIBS
19999 METAL_LIBS = $METAL_LIBS
20000 PTHREAD_LIBS = $PTHREAD_LIBS
20001 X_CFLAGS = $X_CFLAGS
20002 X_PRE_LIBS = $X_PRE_LIBS
20003 X_LIBS = $X_LIBS
20004 X_EXTRA_LIBS = $X_EXTRA_LIBS
20005 PCAP_LIBS = $PCAP_LIBS
20006 XML2_CFLAGS = $XML2_CFLAGS
20007 XML2_LIBS = $XML2_LIBS
20008 XSLT_CFLAGS = $XSLT_CFLAGS
20009 XSLT_LIBS = $XSLT_LIBS
20010 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20011 INOTIFY_LIBS = $INOTIFY_LIBS
20012 DBUS_CFLAGS = $DBUS_CFLAGS
20013 DBUS_LIBS = $DBUS_LIBS
20014 HAL_CFLAGS = $HAL_CFLAGS
20015 HAL_LIBS = $HAL_LIBS
20016 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20017 GNUTLS_LIBS = $GNUTLS_LIBS
20018 SANE_CFLAGS = $SANE_CFLAGS
20019 SANE_LIBS = $SANE_LIBS
20020 USB_CFLAGS = $USB_CFLAGS
20021 USB_LIBS = $USB_LIBS
20022 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20023 GPHOTO2_LIBS = $GPHOTO2_LIBS
20024 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20025 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20026 RESOLV_LIBS = $RESOLV_LIBS
20027 LCMS2_CFLAGS = $LCMS2_CFLAGS
20028 LCMS2_LIBS = $LCMS2_LIBS
20029 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20030 FREETYPE_LIBS = $FREETYPE_LIBS
20031 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20032 PULSE_CFLAGS = $PULSE_CFLAGS
20033 PULSE_LIBS = $PULSE_LIBS
20034 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20035 GSTREAMER_LIBS = $GSTREAMER_LIBS
20036 ALSA_LIBS = $ALSA_LIBS
20037 OSS4_CFLAGS = $OSS4_CFLAGS
20038 OSS4_LIBS = $OSS4_LIBS
20039 UDEV_CFLAGS = $UDEV_CFLAGS
20040 UDEV_LIBS = $UDEV_LIBS
20041 UNWIND_CFLAGS = $UNWIND_CFLAGS
20042 UNWIND_LIBS = $UNWIND_LIBS
20043 SDL2_CFLAGS = $SDL2_CFLAGS
20044 SDL2_LIBS = $SDL2_LIBS
20045 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20046 FAUDIO_LIBS = $FAUDIO_LIBS
20047 CAPI20_CFLAGS = $CAPI20_CFLAGS
20048 CAPI20_LIBS = $CAPI20_LIBS
20049 CUPS_CFLAGS = $CUPS_CFLAGS
20050 CUPS_LIBS = $CUPS_LIBS
20051 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20052 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20053 KRB5_CFLAGS = $KRB5_CFLAGS
20054 KRB5_LIBS = $KRB5_LIBS
20055 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20056 GSSAPI_LIBS = $GSSAPI_LIBS
20057 JPEG_CFLAGS = $JPEG_CFLAGS
20058 JPEG_LIBS = $JPEG_LIBS
20059 PNG_CFLAGS = $PNG_CFLAGS
20060 PNG_LIBS = $PNG_LIBS
20061 TIFF_CFLAGS = $TIFF_CFLAGS
20062 TIFF_LIBS = $TIFF_LIBS
20063 MPG123_CFLAGS = $MPG123_CFLAGS
20064 MPG123_LIBS = $MPG123_LIBS
20065 KSTAT_LIBS = $KSTAT_LIBS
20066 PROCSTAT_LIBS = $PROCSTAT_LIBS
20067 NETAPI_CFLAGS = $NETAPI_CFLAGS
20068 NETAPI_LIBS = $NETAPI_LIBS
20069 VKD3D_CFLAGS = $VKD3D_CFLAGS
20070 VKD3D_LIBS = $VKD3D_LIBS
20071 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20072 POLL_LIBS = $POLL_LIBS
20073 RT_LIBS = $RT_LIBS
20074 LDAP_CFLAGS = $LDAP_CFLAGS
20075 LDAP_LIBS = $LDAP_LIBS
20080 wine_fn_append_rule "
20081 # Rules automatically generated by configure
20083 .INIT: Makefile
20084 .MAKEFILEDEPS:
20085 all: Makefile
20086 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20087 @./config.status Make.tmp Makefile
20088 depend: \$(MAKEDEP) dummy
20089 \$(MAKEDEP)"
20091 ac_config_links="$ac_config_links wine:tools/winewrapper"
20092 wine_fn_config_symlink wine
20093 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20094 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20095 wine_fn_config_symlink wine64
20098 wine_fn_config_makefile dlls/acledit enable_acledit
20099 wine_fn_config_makefile dlls/aclui enable_aclui
20100 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20101 wine_fn_config_makefile dlls/activeds enable_activeds
20102 wine_fn_config_makefile dlls/activeds/tests enable_tests
20103 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20104 wine_fn_config_makefile dlls/adsiid enable_adsiid
20105 wine_fn_config_makefile dlls/adsldp enable_adsldp
20106 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20107 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20108 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20109 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20110 wine_fn_config_makefile dlls/advpack enable_advpack
20111 wine_fn_config_makefile dlls/advpack/tests enable_tests
20112 wine_fn_config_makefile dlls/amsi enable_amsi
20113 wine_fn_config_makefile dlls/amstream enable_amstream
20114 wine_fn_config_makefile dlls/amstream/tests enable_tests
20115 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20118 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20140 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20141 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20147 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20150 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20169 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20170 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20182 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20189 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20194 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20195 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20218 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20225 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20235 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20248 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20298 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20302 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20304 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20314 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20320 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20323 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20325 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20327 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20331 wine_fn_config_makefile dlls/apphelp enable_apphelp
20332 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20333 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20334 wine_fn_config_makefile dlls/atl enable_atl
20335 wine_fn_config_makefile dlls/atl/tests enable_tests
20336 wine_fn_config_makefile dlls/atl100 enable_atl100
20337 wine_fn_config_makefile dlls/atl100/tests enable_tests
20338 wine_fn_config_makefile dlls/atl110 enable_atl110
20339 wine_fn_config_makefile dlls/atl80 enable_atl80
20340 wine_fn_config_makefile dlls/atl80/tests enable_tests
20341 wine_fn_config_makefile dlls/atl90 enable_atl90
20342 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20343 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20344 wine_fn_config_makefile dlls/atmlib enable_atmlib
20345 wine_fn_config_makefile dlls/authz enable_authz
20346 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20347 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20348 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20349 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20350 wine_fn_config_makefile dlls/avrt enable_avrt
20351 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20352 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20353 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20354 wine_fn_config_makefile dlls/browseui enable_browseui
20355 wine_fn_config_makefile dlls/browseui/tests enable_tests
20356 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20357 wine_fn_config_makefile dlls/cabinet enable_cabinet
20358 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20359 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20360 wine_fn_config_makefile dlls/cards enable_cards
20361 wine_fn_config_makefile dlls/cdosys enable_cdosys
20362 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20363 wine_fn_config_makefile dlls/clusapi enable_clusapi
20364 wine_fn_config_makefile dlls/combase enable_combase
20365 wine_fn_config_makefile dlls/combase/tests enable_tests
20366 wine_fn_config_makefile dlls/comcat enable_comcat
20367 wine_fn_config_makefile dlls/comcat/tests enable_tests
20368 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20369 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20370 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20371 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20372 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20373 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20374 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20375 wine_fn_config_makefile dlls/compstui enable_compstui
20376 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20377 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20378 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20379 wine_fn_config_makefile dlls/connect enable_connect
20380 wine_fn_config_makefile dlls/credui enable_credui
20381 wine_fn_config_makefile dlls/credui/tests enable_tests
20382 wine_fn_config_makefile dlls/crtdll enable_crtdll
20383 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20384 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20385 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20386 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20387 wine_fn_config_makefile dlls/cryptext enable_cryptext
20388 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20389 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20390 wine_fn_config_makefile dlls/cryptui enable_cryptui
20391 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20392 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20393 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20394 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20395 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20396 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20397 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20398 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20399 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20400 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20401 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20402 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20403 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20404 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20405 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20406 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20407 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20408 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20409 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20410 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20411 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20412 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20413 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20414 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20415 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20416 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20417 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20418 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20419 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20420 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20421 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20422 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20423 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20424 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20425 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20426 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20427 wine_fn_config_makefile dlls/d3dim enable_d3dim
20428 wine_fn_config_makefile dlls/d3drm enable_d3drm
20429 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20430 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20431 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20432 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20433 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20434 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20435 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20436 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20437 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20438 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20439 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20440 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20441 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20442 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20443 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20444 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20445 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20446 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20447 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20448 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20449 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20450 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20451 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20452 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20453 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20454 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20455 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20456 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20457 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20458 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20459 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20460 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20461 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20462 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20463 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20464 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20465 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20466 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20467 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20468 wine_fn_config_makefile dlls/davclnt enable_davclnt
20469 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20470 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20471 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20472 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20473 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20474 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20475 wine_fn_config_makefile dlls/ddraw enable_ddraw
20476 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20477 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20478 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20479 wine_fn_config_makefile dlls/devenum enable_devenum
20480 wine_fn_config_makefile dlls/devenum/tests enable_tests
20481 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20482 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20483 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20484 wine_fn_config_makefile dlls/difxapi enable_difxapi
20485 wine_fn_config_makefile dlls/dinput enable_dinput
20486 wine_fn_config_makefile dlls/dinput/tests enable_tests
20487 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20488 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20489 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20490 wine_fn_config_makefile dlls/dispex enable_dispex
20491 wine_fn_config_makefile dlls/dispex/tests enable_tests
20492 wine_fn_config_makefile dlls/display.drv16 enable_win16
20493 wine_fn_config_makefile dlls/dmband enable_dmband
20494 wine_fn_config_makefile dlls/dmband/tests enable_tests
20495 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20496 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20497 wine_fn_config_makefile dlls/dmime enable_dmime
20498 wine_fn_config_makefile dlls/dmime/tests enable_tests
20499 wine_fn_config_makefile dlls/dmloader enable_dmloader
20500 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20501 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20502 wine_fn_config_makefile dlls/dmscript enable_dmscript
20503 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20504 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20505 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20506 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20507 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20508 wine_fn_config_makefile dlls/dmusic enable_dmusic
20509 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20510 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20511 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20512 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20513 wine_fn_config_makefile dlls/dplay enable_dplay
20514 wine_fn_config_makefile dlls/dplayx enable_dplayx
20515 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20516 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20517 wine_fn_config_makefile dlls/dpnet enable_dpnet
20518 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20519 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20520 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20521 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20522 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20523 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20524 wine_fn_config_makefile dlls/drmclien enable_drmclien
20525 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20526 wine_fn_config_makefile dlls/dsound enable_dsound
20527 wine_fn_config_makefile dlls/dsound/tests enable_tests
20528 wine_fn_config_makefile dlls/dsquery enable_dsquery
20529 wine_fn_config_makefile dlls/dssenh enable_dssenh
20530 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20531 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20532 wine_fn_config_makefile dlls/dswave enable_dswave
20533 wine_fn_config_makefile dlls/dswave/tests enable_tests
20534 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20535 wine_fn_config_makefile dlls/dwrite enable_dwrite
20536 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20537 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20538 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20539 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20540 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20541 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20542 wine_fn_config_makefile dlls/dxgi enable_dxgi
20543 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20544 wine_fn_config_makefile dlls/dxguid enable_dxguid
20545 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20546 wine_fn_config_makefile dlls/esent enable_esent
20547 wine_fn_config_makefile dlls/evr enable_evr
20548 wine_fn_config_makefile dlls/evr/tests enable_tests
20549 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20550 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20551 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20557 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20560 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20562 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20585 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20591 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
20592 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20594 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20602 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20603 wine_fn_config_makefile dlls/faultrep enable_faultrep
20604 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20605 wine_fn_config_makefile dlls/feclient enable_feclient
20606 wine_fn_config_makefile dlls/fltlib enable_fltlib
20607 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20608 wine_fn_config_makefile dlls/fntcache enable_fntcache
20609 wine_fn_config_makefile dlls/fontsub enable_fontsub
20610 wine_fn_config_makefile dlls/fusion enable_fusion
20611 wine_fn_config_makefile dlls/fusion/tests enable_tests
20612 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20613 wine_fn_config_makefile dlls/gameux enable_gameux
20614 wine_fn_config_makefile dlls/gameux/tests enable_tests
20615 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20616 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20617 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20618 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20619 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20620 wine_fn_config_makefile dlls/glu32 enable_glu32
20621 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20622 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20623 wine_fn_config_makefile dlls/hal enable_hal
20624 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20625 wine_fn_config_makefile dlls/hid enable_hid
20626 wine_fn_config_makefile dlls/hid/tests enable_tests
20627 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20628 wine_fn_config_makefile dlls/hlink enable_hlink
20629 wine_fn_config_makefile dlls/hlink/tests enable_tests
20630 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20631 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20632 wine_fn_config_makefile dlls/http.sys enable_http_sys
20633 wine_fn_config_makefile dlls/httpapi enable_httpapi
20634 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20635 wine_fn_config_makefile dlls/iccvid enable_iccvid
20636 wine_fn_config_makefile dlls/icmp enable_icmp
20637 wine_fn_config_makefile dlls/ieframe enable_ieframe
20638 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20639 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20640 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20641 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20642 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20643 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20644 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20645 wine_fn_config_makefile dlls/imm32 enable_imm32
20646 wine_fn_config_makefile dlls/imm32/tests enable_tests
20647 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20648 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20649 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20650 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20651 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20652 wine_fn_config_makefile dlls/infosoft enable_infosoft
20653 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20654 wine_fn_config_makefile dlls/initpki enable_initpki
20655 wine_fn_config_makefile dlls/inkobj enable_inkobj
20656 wine_fn_config_makefile dlls/inseng enable_inseng
20657 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20658 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20659 wine_fn_config_makefile dlls/iprop enable_iprop
20660 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20661 wine_fn_config_makefile dlls/itircl enable_itircl
20662 wine_fn_config_makefile dlls/itss enable_itss
20663 wine_fn_config_makefile dlls/itss/tests enable_tests
20664 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20665 wine_fn_config_makefile dlls/jscript enable_jscript
20666 wine_fn_config_makefile dlls/jscript/tests enable_tests
20667 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20668 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20669 wine_fn_config_makefile dlls/kerberos enable_kerberos
20670 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20671 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20672 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20673 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20674 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20675 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20676 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20677 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20678 wine_fn_config_makefile dlls/ksuser enable_ksuser
20679 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20680 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20681 wine_fn_config_makefile dlls/loadperf enable_loadperf
20682 wine_fn_config_makefile dlls/localspl enable_localspl
20683 wine_fn_config_makefile dlls/localspl/tests enable_tests
20684 wine_fn_config_makefile dlls/localui enable_localui
20685 wine_fn_config_makefile dlls/localui/tests enable_tests
20686 wine_fn_config_makefile dlls/lz32 enable_lz32
20687 wine_fn_config_makefile dlls/lz32/tests enable_tests
20688 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20689 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20690 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20691 wine_fn_config_makefile dlls/mapistub enable_mapistub
20692 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20693 wine_fn_config_makefile dlls/mcicda enable_mcicda
20694 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20695 wine_fn_config_makefile dlls/mciseq enable_mciseq
20696 wine_fn_config_makefile dlls/mciwave enable_mciwave
20697 wine_fn_config_makefile dlls/mf enable_mf
20698 wine_fn_config_makefile dlls/mf/tests enable_tests
20699 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20700 wine_fn_config_makefile dlls/mferror enable_mferror
20701 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20702 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20703 wine_fn_config_makefile dlls/mfplat enable_mfplat
20704 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20705 wine_fn_config_makefile dlls/mfplay enable_mfplay
20706 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20707 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20708 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20709 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20710 wine_fn_config_makefile dlls/midimap enable_midimap
20711 wine_fn_config_makefile dlls/mlang enable_mlang
20712 wine_fn_config_makefile dlls/mlang/tests enable_tests
20713 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20714 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20715 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20716 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20717 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20718 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20719 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20720 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20721 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20722 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20723 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20724 wine_fn_config_makefile dlls/mpr enable_mpr
20725 wine_fn_config_makefile dlls/mpr/tests enable_tests
20726 wine_fn_config_makefile dlls/mprapi enable_mprapi
20727 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20728 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20729 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20730 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20731 wine_fn_config_makefile dlls/msado15 enable_msado15
20732 wine_fn_config_makefile dlls/msado15/tests enable_tests
20733 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20734 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20735 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20736 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20737 wine_fn_config_makefile dlls/mscms enable_mscms
20738 wine_fn_config_makefile dlls/mscms/tests enable_tests
20739 wine_fn_config_makefile dlls/mscoree enable_mscoree
20740 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20741 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20742 wine_fn_config_makefile dlls/msctf enable_msctf
20743 wine_fn_config_makefile dlls/msctf/tests enable_tests
20744 wine_fn_config_makefile dlls/msctfp enable_msctfp
20745 wine_fn_config_makefile dlls/msdaps enable_msdaps
20746 wine_fn_config_makefile dlls/msdelta enable_msdelta
20747 wine_fn_config_makefile dlls/msdmo enable_msdmo
20748 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20749 wine_fn_config_makefile dlls/msdrm enable_msdrm
20750 wine_fn_config_makefile dlls/msftedit enable_msftedit
20751 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20752 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20753 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20754 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20755 wine_fn_config_makefile dlls/mshtml enable_mshtml
20756 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20757 wine_fn_config_makefile dlls/msi enable_msi
20758 wine_fn_config_makefile dlls/msi/tests enable_tests
20759 wine_fn_config_makefile dlls/msident enable_msident
20760 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20761 wine_fn_config_makefile dlls/msimsg enable_msimsg
20762 wine_fn_config_makefile dlls/msimtf enable_msimtf
20763 wine_fn_config_makefile dlls/msisip enable_msisip
20764 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20765 wine_fn_config_makefile dlls/msls31 enable_msls31
20766 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20767 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20768 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20769 wine_fn_config_makefile dlls/msports enable_msports
20770 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20771 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20772 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20773 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20774 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20775 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20776 wine_fn_config_makefile dlls/mstask enable_mstask
20777 wine_fn_config_makefile dlls/mstask/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20779 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20781 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20782 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20783 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20785 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20787 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20789 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20790 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20791 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20792 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20794 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20795 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20796 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20797 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20798 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20799 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20800 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20801 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20802 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20803 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20804 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20805 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20806 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20807 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20808 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20809 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20810 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20811 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20812 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20813 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20814 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20815 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20816 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20817 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20818 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20819 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20820 wine_fn_config_makefile dlls/mswsock enable_mswsock
20821 wine_fn_config_makefile dlls/msxml enable_msxml
20822 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20823 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20824 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20825 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20826 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20827 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20828 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20829 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20830 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20831 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20832 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20833 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20834 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20835 wine_fn_config_makefile dlls/netprofm enable_netprofm
20836 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20837 wine_fn_config_makefile dlls/newdev enable_newdev
20838 wine_fn_config_makefile dlls/ninput enable_ninput
20839 wine_fn_config_makefile dlls/ninput/tests enable_tests
20840 wine_fn_config_makefile dlls/normaliz enable_normaliz
20841 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20842 wine_fn_config_makefile dlls/npptools enable_npptools
20843 wine_fn_config_makefile dlls/ntdll enable_ntdll
20844 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20845 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20846 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20847 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20848 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20849 wine_fn_config_makefile dlls/ntprint enable_ntprint
20850 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20851 wine_fn_config_makefile dlls/objsel enable_objsel
20852 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20853 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20854 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20855 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20856 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20857 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20858 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20861 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20862 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20863 wine_fn_config_makefile dlls/ole32 enable_ole32
20864 wine_fn_config_makefile dlls/ole32/tests enable_tests
20865 wine_fn_config_makefile dlls/oleacc enable_oleacc
20866 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20867 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20868 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20869 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20870 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20871 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20872 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20873 wine_fn_config_makefile dlls/oledlg enable_oledlg
20874 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20875 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20876 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20877 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20878 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20879 wine_fn_config_makefile dlls/opcservices enable_opcservices
20880 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20881 wine_fn_config_makefile dlls/openal32 enable_openal32
20882 wine_fn_config_makefile dlls/opencl enable_opencl
20883 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20884 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20885 wine_fn_config_makefile dlls/packager enable_packager
20886 wine_fn_config_makefile dlls/packager/tests enable_tests
20887 wine_fn_config_makefile dlls/pdh enable_pdh
20888 wine_fn_config_makefile dlls/pdh/tests enable_tests
20889 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20890 wine_fn_config_makefile dlls/pidgen enable_pidgen
20891 wine_fn_config_makefile dlls/powrprof enable_powrprof
20892 wine_fn_config_makefile dlls/printui enable_printui
20893 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20894 wine_fn_config_makefile dlls/propsys enable_propsys
20895 wine_fn_config_makefile dlls/propsys/tests enable_tests
20896 wine_fn_config_makefile dlls/psapi enable_psapi
20897 wine_fn_config_makefile dlls/psapi/tests enable_tests
20898 wine_fn_config_makefile dlls/pstorec enable_pstorec
20899 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20900 wine_fn_config_makefile dlls/qasf enable_qasf
20901 wine_fn_config_makefile dlls/qasf/tests enable_tests
20902 wine_fn_config_makefile dlls/qcap enable_qcap
20903 wine_fn_config_makefile dlls/qcap/tests enable_tests
20904 wine_fn_config_makefile dlls/qdvd enable_qdvd
20905 wine_fn_config_makefile dlls/qedit enable_qedit
20906 wine_fn_config_makefile dlls/qedit/tests enable_tests
20907 wine_fn_config_makefile dlls/qmgr enable_qmgr
20908 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20909 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20910 wine_fn_config_makefile dlls/quartz enable_quartz
20911 wine_fn_config_makefile dlls/quartz/tests enable_tests
20912 wine_fn_config_makefile dlls/query enable_query
20913 wine_fn_config_makefile dlls/qwave enable_qwave
20914 wine_fn_config_makefile dlls/qwave/tests enable_tests
20915 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20916 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20917 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20918 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20919 wine_fn_config_makefile dlls/regapi enable_regapi
20920 wine_fn_config_makefile dlls/resutils enable_resutils
20921 wine_fn_config_makefile dlls/riched20 enable_riched20
20922 wine_fn_config_makefile dlls/riched20/tests enable_tests
20923 wine_fn_config_makefile dlls/riched32 enable_riched32
20924 wine_fn_config_makefile dlls/riched32/tests enable_tests
20925 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20926 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20927 wine_fn_config_makefile dlls/rsabase enable_rsabase
20928 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20929 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20930 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20931 wine_fn_config_makefile dlls/rtutils enable_rtutils
20932 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20933 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20934 wine_fn_config_makefile dlls/samlib enable_samlib
20935 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20936 wine_fn_config_makefile dlls/sapi enable_sapi
20937 wine_fn_config_makefile dlls/sapi/tests enable_tests
20938 wine_fn_config_makefile dlls/sas enable_sas
20939 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20940 wine_fn_config_makefile dlls/sccbase enable_sccbase
20941 wine_fn_config_makefile dlls/schannel enable_schannel
20942 wine_fn_config_makefile dlls/schannel/tests enable_tests
20943 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20944 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20945 wine_fn_config_makefile dlls/scrobj enable_scrobj
20946 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20947 wine_fn_config_makefile dlls/scrrun enable_scrrun
20948 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20949 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20950 wine_fn_config_makefile dlls/sechost enable_sechost
20951 wine_fn_config_makefile dlls/secur32 enable_secur32
20952 wine_fn_config_makefile dlls/secur32/tests enable_tests
20953 wine_fn_config_makefile dlls/security enable_security
20954 wine_fn_config_makefile dlls/sensapi enable_sensapi
20955 wine_fn_config_makefile dlls/serialui enable_serialui
20956 wine_fn_config_makefile dlls/serialui/tests enable_tests
20957 wine_fn_config_makefile dlls/setupapi enable_setupapi
20958 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20959 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20960 wine_fn_config_makefile dlls/sfc enable_sfc
20961 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20962 wine_fn_config_makefile dlls/shcore enable_shcore
20963 wine_fn_config_makefile dlls/shcore/tests enable_tests
20964 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20965 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20966 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20967 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20968 wine_fn_config_makefile dlls/shell32 enable_shell32
20969 wine_fn_config_makefile dlls/shell32/tests enable_tests
20970 wine_fn_config_makefile dlls/shfolder enable_shfolder
20971 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20972 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20973 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20974 wine_fn_config_makefile dlls/slc enable_slc
20975 wine_fn_config_makefile dlls/slc/tests enable_tests
20976 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20977 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20978 wine_fn_config_makefile dlls/softpub enable_softpub
20979 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20980 wine_fn_config_makefile dlls/spoolss enable_spoolss
20981 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20982 wine_fn_config_makefile dlls/srclient enable_srclient
20983 wine_fn_config_makefile dlls/sspicli enable_sspicli
20984 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20985 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20986 wine_fn_config_makefile dlls/sti enable_sti
20987 wine_fn_config_makefile dlls/sti/tests enable_tests
20988 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20989 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20990 wine_fn_config_makefile dlls/strmbase enable_strmbase
20991 wine_fn_config_makefile dlls/strmdll enable_strmdll
20992 wine_fn_config_makefile dlls/strmiids enable_strmiids
20993 wine_fn_config_makefile dlls/svrapi enable_svrapi
20994 wine_fn_config_makefile dlls/sxs enable_sxs
20995 wine_fn_config_makefile dlls/sxs/tests enable_tests
20996 wine_fn_config_makefile dlls/system.drv16 enable_win16
20997 wine_fn_config_makefile dlls/t2embed enable_t2embed
20998 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20999 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21000 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21001 wine_fn_config_makefile dlls/taskschd enable_taskschd
21002 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21003 wine_fn_config_makefile dlls/tdh enable_tdh
21004 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21005 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21006 wine_fn_config_makefile dlls/traffic enable_traffic
21007 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21008 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21009 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21010 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21011 wine_fn_config_makefile dlls/tzres enable_tzres
21012 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21013 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21014 wine_fn_config_makefile dlls/uianimation enable_uianimation
21015 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21016 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21017 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21018 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21019 wine_fn_config_makefile dlls/unicows enable_unicows
21020 wine_fn_config_makefile dlls/updspapi enable_updspapi
21021 wine_fn_config_makefile dlls/url enable_url
21022 wine_fn_config_makefile dlls/urlmon enable_urlmon
21023 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21024 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21025 wine_fn_config_makefile dlls/user.exe16 enable_win16
21026 wine_fn_config_makefile dlls/user32 enable_user32
21027 wine_fn_config_makefile dlls/user32/tests enable_tests
21028 wine_fn_config_makefile dlls/userenv enable_userenv
21029 wine_fn_config_makefile dlls/userenv/tests enable_tests
21030 wine_fn_config_makefile dlls/usp10 enable_usp10
21031 wine_fn_config_makefile dlls/usp10/tests enable_tests
21032 wine_fn_config_makefile dlls/utildll enable_utildll
21033 wine_fn_config_makefile dlls/uuid enable_uuid
21034 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21035 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21036 wine_fn_config_makefile dlls/vbscript enable_vbscript
21037 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21038 wine_fn_config_makefile dlls/vcomp enable_vcomp
21039 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21040 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21041 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21042 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21043 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21044 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21045 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21046 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21047 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21048 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21049 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21050 wine_fn_config_makefile dlls/version enable_version
21051 wine_fn_config_makefile dlls/version/tests enable_tests
21052 wine_fn_config_makefile dlls/vga enable_vga
21053 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21054 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21055 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21056 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21057 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21058 wine_fn_config_makefile dlls/vssapi enable_vssapi
21059 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21060 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21061 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21062 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21063 wine_fn_config_makefile dlls/w32skrnl enable_win16
21064 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21065 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21066 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21067 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21068 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21069 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21070 wine_fn_config_makefile dlls/wdscore enable_wdscore
21071 wine_fn_config_makefile dlls/webservices enable_webservices
21072 wine_fn_config_makefile dlls/webservices/tests enable_tests
21073 wine_fn_config_makefile dlls/wer enable_wer
21074 wine_fn_config_makefile dlls/wer/tests enable_tests
21075 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21076 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21077 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21078 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21079 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21080 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21081 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21082 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21083 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21084 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21085 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21086 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21087 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21088 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21089 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21090 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21091 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21092 wine_fn_config_makefile dlls/wined3d enable_wined3d
21093 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21094 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21095 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21096 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21097 wine_fn_config_makefile dlls/winemapi enable_winemapi
21098 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21099 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21100 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21101 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21102 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21103 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21104 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21105 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21106 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21107 wine_fn_config_makefile dlls/wing32 enable_wing32
21108 wine_fn_config_makefile dlls/winhttp enable_winhttp
21109 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21110 wine_fn_config_makefile dlls/wininet enable_wininet
21111 wine_fn_config_makefile dlls/wininet/tests enable_tests
21112 wine_fn_config_makefile dlls/winmm enable_winmm
21113 wine_fn_config_makefile dlls/winmm/tests enable_tests
21114 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21115 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21116 wine_fn_config_makefile dlls/winscard enable_winscard
21117 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21118 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21119 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21120 wine_fn_config_makefile dlls/winsta enable_winsta
21121 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21122 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21123 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21124 wine_fn_config_makefile dlls/wintrust enable_wintrust
21125 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21126 wine_fn_config_makefile dlls/winusb enable_winusb
21127 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21128 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21129 wine_fn_config_makefile dlls/wlanui enable_wlanui
21130 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21131 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21132 wine_fn_config_makefile dlls/wmasf enable_wmasf
21133 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21134 wine_fn_config_makefile dlls/wmi enable_wmi
21135 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21136 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21137 wine_fn_config_makefile dlls/wmp enable_wmp
21138 wine_fn_config_makefile dlls/wmp/tests enable_tests
21139 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21140 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21141 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21142 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21143 wine_fn_config_makefile dlls/wow32 enable_win16
21144 wine_fn_config_makefile dlls/wpc enable_wpc
21145 wine_fn_config_makefile dlls/wpc/tests enable_tests
21146 wine_fn_config_makefile dlls/wpcap enable_wpcap
21147 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21148 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21149 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21150 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21151 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21152 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21153 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21154 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21155 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21156 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21157 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21158 wine_fn_config_makefile dlls/wuapi enable_wuapi
21159 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21160 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21161 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21162 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21163 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21164 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21165 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21166 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21167 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21168 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21169 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21170 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21171 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21172 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21173 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21174 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21175 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21176 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21177 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21178 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21179 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21180 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21181 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21182 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21183 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21184 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21185 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21186 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21187 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21188 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21189 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21190 wine_fn_config_makefile dlls/xmllite enable_xmllite
21191 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21192 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21193 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21194 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21195 wine_fn_config_makefile fonts enable_fonts
21196 wine_fn_config_makefile include enable_include
21197 wine_fn_config_makefile libs/port enable_port
21198 wine_fn_config_makefile libs/wine enable_wine
21199 wine_fn_config_makefile libs/wpp enable_wpp
21200 wine_fn_config_makefile loader enable_loader
21201 wine_fn_config_makefile nls enable_nls
21202 wine_fn_config_makefile po enable_po
21203 wine_fn_config_makefile programs/arp enable_arp
21204 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21205 wine_fn_config_makefile programs/attrib enable_attrib
21206 wine_fn_config_makefile programs/cabarc enable_cabarc
21207 wine_fn_config_makefile programs/cacls enable_cacls
21208 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21209 wine_fn_config_makefile programs/clock enable_clock
21210 wine_fn_config_makefile programs/cmd enable_cmd
21211 wine_fn_config_makefile programs/cmd/tests enable_tests
21212 wine_fn_config_makefile programs/conhost enable_conhost
21213 wine_fn_config_makefile programs/control enable_control
21214 wine_fn_config_makefile programs/cscript enable_cscript
21215 wine_fn_config_makefile programs/dism enable_dism
21216 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21217 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21218 wine_fn_config_makefile programs/eject enable_eject
21219 wine_fn_config_makefile programs/expand enable_expand
21220 wine_fn_config_makefile programs/explorer enable_explorer
21221 wine_fn_config_makefile programs/extrac32 enable_extrac32
21222 wine_fn_config_makefile programs/fc enable_fc
21223 wine_fn_config_makefile programs/find enable_find
21224 wine_fn_config_makefile programs/find/tests enable_tests
21225 wine_fn_config_makefile programs/findstr enable_findstr
21226 wine_fn_config_makefile programs/fsutil enable_fsutil
21227 wine_fn_config_makefile programs/hh enable_hh
21228 wine_fn_config_makefile programs/hostname enable_hostname
21229 wine_fn_config_makefile programs/icacls enable_icacls
21230 wine_fn_config_makefile programs/icinfo enable_icinfo
21231 wine_fn_config_makefile programs/iexplore enable_iexplore
21232 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21233 wine_fn_config_makefile programs/lodctr enable_lodctr
21234 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21235 wine_fn_config_makefile programs/mshta enable_mshta
21236 wine_fn_config_makefile programs/msidb enable_msidb
21237 wine_fn_config_makefile programs/msiexec enable_msiexec
21238 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21239 wine_fn_config_makefile programs/net enable_net
21240 wine_fn_config_makefile programs/netsh enable_netsh
21241 wine_fn_config_makefile programs/netstat enable_netstat
21242 wine_fn_config_makefile programs/ngen enable_ngen
21243 wine_fn_config_makefile programs/notepad enable_notepad
21244 wine_fn_config_makefile programs/oleview enable_oleview
21245 wine_fn_config_makefile programs/ping enable_ping
21246 wine_fn_config_makefile programs/plugplay enable_plugplay
21247 wine_fn_config_makefile programs/powershell enable_powershell
21248 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21249 wine_fn_config_makefile programs/progman enable_progman
21250 wine_fn_config_makefile programs/reg enable_reg
21251 wine_fn_config_makefile programs/reg/tests enable_tests
21252 wine_fn_config_makefile programs/regasm enable_regasm
21253 wine_fn_config_makefile programs/regedit enable_regedit
21254 wine_fn_config_makefile programs/regedit/tests enable_tests
21255 wine_fn_config_makefile programs/regini enable_regini
21256 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21257 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21258 wine_fn_config_makefile programs/rpcss enable_rpcss
21259 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21260 wine_fn_config_makefile programs/rundll32 enable_rundll32
21261 wine_fn_config_makefile programs/sc enable_sc
21262 wine_fn_config_makefile programs/schtasks enable_schtasks
21263 wine_fn_config_makefile programs/schtasks/tests enable_tests
21264 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21265 wine_fn_config_makefile programs/secedit enable_secedit
21266 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21267 wine_fn_config_makefile programs/services enable_services
21268 wine_fn_config_makefile programs/services/tests enable_tests
21269 wine_fn_config_makefile programs/shutdown enable_shutdown
21270 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21271 wine_fn_config_makefile programs/start enable_start
21272 wine_fn_config_makefile programs/subst enable_subst
21273 wine_fn_config_makefile programs/svchost enable_svchost
21274 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21275 wine_fn_config_makefile programs/taskkill enable_taskkill
21276 wine_fn_config_makefile programs/tasklist enable_tasklist
21277 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21278 wine_fn_config_makefile programs/termsv enable_termsv
21279 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21280 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21281 wine_fn_config_makefile programs/view enable_view
21282 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21283 wine_fn_config_makefile programs/whoami enable_whoami
21284 wine_fn_config_makefile programs/wineboot enable_wineboot
21285 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21286 wine_fn_config_makefile programs/winecfg enable_winecfg
21287 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21288 wine_fn_config_makefile programs/winedbg enable_winedbg
21289 wine_fn_config_makefile programs/winedevice enable_winedevice
21290 wine_fn_config_makefile programs/winefile enable_winefile
21291 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21292 wine_fn_config_makefile programs/winemine enable_winemine
21293 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21294 wine_fn_config_makefile programs/winepath enable_winepath
21295 wine_fn_config_makefile programs/winetest enable_winetest
21296 wine_fn_config_makefile programs/winevdm enable_win16
21297 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21298 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21299 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21300 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21301 wine_fn_config_makefile programs/winver enable_winver
21302 wine_fn_config_makefile programs/wmic enable_wmic
21303 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21304 wine_fn_config_makefile programs/wordpad enable_wordpad
21305 wine_fn_config_makefile programs/write enable_write
21306 wine_fn_config_makefile programs/wscript enable_wscript
21307 wine_fn_config_makefile programs/wscript/tests enable_tests
21308 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21309 wine_fn_config_makefile programs/wusa enable_wusa
21310 wine_fn_config_makefile programs/xcopy enable_xcopy
21311 wine_fn_config_makefile programs/xcopy/tests enable_tests
21312 wine_fn_config_makefile server enable_server
21313 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21324 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21325 wine_fn_append_file CONFIGURE_TARGETS "tags"
21326 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21327 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21328 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21329 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21330 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21331 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21333 if test "x$enable_tools" != xno
21334 then
21335 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21336 ac_config_commands="$ac_config_commands tools/makedep"
21340 ac_config_commands="$ac_config_commands Makefile"
21343 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21347 if test "x$enable_maintainer_mode" = xyes
21348 then
21349 wine_fn_append_rule "configure: configure.ac aclocal.m4
21350 autoconf --warnings=all
21351 include/config.h.in: include/stamp-h.in
21352 include/stamp-h.in: configure.ac aclocal.m4
21353 autoheader --warnings=all
21354 @echo timestamp > \$@"
21357 if test "x$enable_tools" != xno
21358 then
21359 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21360 @./config.status tools/makedep
21361 Makefile: tools/makedep$ac_exeext
21362 fonts: tools/sfnt2fon
21363 include: tools tools/widl"
21364 else
21365 wine_fn_append_rule "\$(MAKEDEP):
21366 @echo \"You need to run make in $TOOLSDIR first\" && false"
21369 if test -n "$with_wine64"
21370 then
21371 case "$with_wine64" in
21372 /*) reldir="" ;;
21373 *) reldir="../" ;;
21374 esac
21375 rm -f fonts server 2>/dev/null
21376 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21377 loader/wine64 loader/wine64-preloader:
21378 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21379 $with_wine64/loader/wine:
21380 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21381 $with_wine64/loader/wine-preloader:
21382 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21383 clean::
21384 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21385 else
21386 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21387 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21388 fonts \
21389 loader/wine.inf \
21390 loader/winebus.inf \
21391 loader/winehid.inf \
21392 loader/wineusb.inf \
21393 nls \
21394 programs/msidb/msidb \
21395 programs/msiexec/msiexec \
21396 programs/notepad/notepad \
21397 programs/regedit/regedit \
21398 programs/regsvr32/regsvr32 \
21399 programs/wineboot/wineboot \
21400 programs/winecfg/winecfg \
21401 programs/wineconsole/wineconsole \
21402 programs/winedbg/winedbg \
21403 programs/winefile/winefile \
21404 programs/winemine/winemine \
21405 programs/winepath/winepath \
21406 server/wineserver"
21408 case $host_os in
21409 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21410 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21411 esac
21414 $as_echo " done" >&6
21415 cat >confcache <<\_ACEOF
21416 # This file is a shell script that caches the results of configure
21417 # tests run on this system so they can be shared between configure
21418 # scripts and configure runs, see configure's option --config-cache.
21419 # It is not useful on other systems. If it contains results you don't
21420 # want to keep, you may remove or edit it.
21422 # config.status only pays attention to the cache file if you give it
21423 # the --recheck option to rerun configure.
21425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21427 # following values.
21429 _ACEOF
21431 # The following way of writing the cache mishandles newlines in values,
21432 # but we know of no workaround that is simple, portable, and efficient.
21433 # So, we kill variables containing newlines.
21434 # Ultrix sh set writes to stderr and can't be redirected directly,
21435 # and sets the high bit in the cache file unless we assign to the vars.
21437 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21438 eval ac_val=\$$ac_var
21439 case $ac_val in #(
21440 *${as_nl}*)
21441 case $ac_var in #(
21442 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21443 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21444 esac
21445 case $ac_var in #(
21446 _ | IFS | as_nl) ;; #(
21447 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21448 *) { eval $ac_var=; unset $ac_var;} ;;
21449 esac ;;
21450 esac
21451 done
21453 (set) 2>&1 |
21454 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21455 *${as_nl}ac_space=\ *)
21456 # `set' does not quote correctly, so add quotes: double-quote
21457 # substitution turns \\\\ into \\, and sed turns \\ into \.
21458 sed -n \
21459 "s/'/'\\\\''/g;
21460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21461 ;; #(
21463 # `set' quotes correctly as required by POSIX, so do not add quotes.
21464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21466 esac |
21467 sort
21469 sed '
21470 /^ac_cv_env_/b end
21471 t clear
21472 :clear
21473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21474 t end
21475 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21476 :end' >>confcache
21477 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21478 if test -w "$cache_file"; then
21479 if test "x$cache_file" != "x/dev/null"; then
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21481 $as_echo "$as_me: updating cache $cache_file" >&6;}
21482 if test ! -f "$cache_file" || test -h "$cache_file"; then
21483 cat confcache >"$cache_file"
21484 else
21485 case $cache_file in #(
21486 */* | ?:*)
21487 mv -f confcache "$cache_file"$$ &&
21488 mv -f "$cache_file"$$ "$cache_file" ;; #(
21490 mv -f confcache "$cache_file" ;;
21491 esac
21494 else
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21496 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21499 rm -f confcache
21501 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21502 # Let make expand exec_prefix.
21503 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21505 DEFS=-DHAVE_CONFIG_H
21507 ac_libobjs=
21508 ac_ltlibobjs=
21510 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21511 # 1. Remove the extension, and $U if already installed.
21512 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21513 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21514 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21515 # will be set to the directory where LIBOBJS objects are built.
21516 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21517 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21518 done
21519 LIBOBJS=$ac_libobjs
21521 LTLIBOBJS=$ac_ltlibobjs
21525 : "${CONFIG_STATUS=./config.status}"
21526 ac_write_fail=0
21527 ac_clean_files_save=$ac_clean_files
21528 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21530 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21531 as_write_fail=0
21532 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21533 #! $SHELL
21534 # Generated by $as_me.
21535 # Run this file to recreate the current configuration.
21536 # Compiler output produced by configure, useful for debugging
21537 # configure, is in config.log if it exists.
21539 debug=false
21540 ac_cs_recheck=false
21541 ac_cs_silent=false
21543 SHELL=\${CONFIG_SHELL-$SHELL}
21544 export SHELL
21545 _ASEOF
21546 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21547 ## -------------------- ##
21548 ## M4sh Initialization. ##
21549 ## -------------------- ##
21551 # Be more Bourne compatible
21552 DUALCASE=1; export DUALCASE # for MKS sh
21553 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21554 emulate sh
21555 NULLCMD=:
21556 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21557 # is contrary to our usage. Disable this feature.
21558 alias -g '${1+"$@"}'='"$@"'
21559 setopt NO_GLOB_SUBST
21560 else
21561 case `(set -o) 2>/dev/null` in #(
21562 *posix*) :
21563 set -o posix ;; #(
21564 *) :
21566 esac
21570 as_nl='
21572 export as_nl
21573 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21574 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21575 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21576 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21577 # Prefer a ksh shell builtin over an external printf program on Solaris,
21578 # but without wasting forks for bash or zsh.
21579 if test -z "$BASH_VERSION$ZSH_VERSION" \
21580 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21581 as_echo='print -r --'
21582 as_echo_n='print -rn --'
21583 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21584 as_echo='printf %s\n'
21585 as_echo_n='printf %s'
21586 else
21587 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21588 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21589 as_echo_n='/usr/ucb/echo -n'
21590 else
21591 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21592 as_echo_n_body='eval
21593 arg=$1;
21594 case $arg in #(
21595 *"$as_nl"*)
21596 expr "X$arg" : "X\\(.*\\)$as_nl";
21597 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21598 esac;
21599 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21601 export as_echo_n_body
21602 as_echo_n='sh -c $as_echo_n_body as_echo'
21604 export as_echo_body
21605 as_echo='sh -c $as_echo_body as_echo'
21608 # The user is always right.
21609 if test "${PATH_SEPARATOR+set}" != set; then
21610 PATH_SEPARATOR=:
21611 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21612 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21613 PATH_SEPARATOR=';'
21618 # IFS
21619 # We need space, tab and new line, in precisely that order. Quoting is
21620 # there to prevent editors from complaining about space-tab.
21621 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21622 # splitting by setting IFS to empty value.)
21623 IFS=" "" $as_nl"
21625 # Find who we are. Look in the path if we contain no directory separator.
21626 as_myself=
21627 case $0 in #((
21628 *[\\/]* ) as_myself=$0 ;;
21629 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21630 for as_dir in $PATH
21632 IFS=$as_save_IFS
21633 test -z "$as_dir" && as_dir=.
21634 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21635 done
21636 IFS=$as_save_IFS
21639 esac
21640 # We did not find ourselves, most probably we were run as `sh COMMAND'
21641 # in which case we are not to be found in the path.
21642 if test "x$as_myself" = x; then
21643 as_myself=$0
21645 if test ! -f "$as_myself"; then
21646 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21647 exit 1
21650 # Unset variables that we do not need and which cause bugs (e.g. in
21651 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21652 # suppresses any "Segmentation fault" message there. '((' could
21653 # trigger a bug in pdksh 5.2.14.
21654 for as_var in BASH_ENV ENV MAIL MAILPATH
21655 do eval test x\${$as_var+set} = xset \
21656 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21657 done
21658 PS1='$ '
21659 PS2='> '
21660 PS4='+ '
21662 # NLS nuisances.
21663 LC_ALL=C
21664 export LC_ALL
21665 LANGUAGE=C
21666 export LANGUAGE
21668 # CDPATH.
21669 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21672 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21673 # ----------------------------------------
21674 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21675 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21676 # script with STATUS, using 1 if that was 0.
21677 as_fn_error ()
21679 as_status=$1; test $as_status -eq 0 && as_status=1
21680 if test "$4"; then
21681 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21682 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21684 $as_echo "$as_me: error: $2" >&2
21685 as_fn_exit $as_status
21686 } # as_fn_error
21689 # as_fn_set_status STATUS
21690 # -----------------------
21691 # Set $? to STATUS, without forking.
21692 as_fn_set_status ()
21694 return $1
21695 } # as_fn_set_status
21697 # as_fn_exit STATUS
21698 # -----------------
21699 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21700 as_fn_exit ()
21702 set +e
21703 as_fn_set_status $1
21704 exit $1
21705 } # as_fn_exit
21707 # as_fn_unset VAR
21708 # ---------------
21709 # Portably unset VAR.
21710 as_fn_unset ()
21712 { eval $1=; unset $1;}
21714 as_unset=as_fn_unset
21715 # as_fn_append VAR VALUE
21716 # ----------------------
21717 # Append the text in VALUE to the end of the definition contained in VAR. Take
21718 # advantage of any shell optimizations that allow amortized linear growth over
21719 # repeated appends, instead of the typical quadratic growth present in naive
21720 # implementations.
21721 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21722 eval 'as_fn_append ()
21724 eval $1+=\$2
21726 else
21727 as_fn_append ()
21729 eval $1=\$$1\$2
21731 fi # as_fn_append
21733 # as_fn_arith ARG...
21734 # ------------------
21735 # Perform arithmetic evaluation on the ARGs, and store the result in the
21736 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21737 # must be portable across $(()) and expr.
21738 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21739 eval 'as_fn_arith ()
21741 as_val=$(( $* ))
21743 else
21744 as_fn_arith ()
21746 as_val=`expr "$@" || test $? -eq 1`
21748 fi # as_fn_arith
21751 if expr a : '\(a\)' >/dev/null 2>&1 &&
21752 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21753 as_expr=expr
21754 else
21755 as_expr=false
21758 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21759 as_basename=basename
21760 else
21761 as_basename=false
21764 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21765 as_dirname=dirname
21766 else
21767 as_dirname=false
21770 as_me=`$as_basename -- "$0" ||
21771 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21772 X"$0" : 'X\(//\)$' \| \
21773 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21774 $as_echo X/"$0" |
21775 sed '/^.*\/\([^/][^/]*\)\/*$/{
21776 s//\1/
21779 /^X\/\(\/\/\)$/{
21780 s//\1/
21783 /^X\/\(\/\).*/{
21784 s//\1/
21787 s/.*/./; q'`
21789 # Avoid depending upon Character Ranges.
21790 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21791 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21792 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21793 as_cr_digits='0123456789'
21794 as_cr_alnum=$as_cr_Letters$as_cr_digits
21796 ECHO_C= ECHO_N= ECHO_T=
21797 case `echo -n x` in #(((((
21798 -n*)
21799 case `echo 'xy\c'` in
21800 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21801 xy) ECHO_C='\c';;
21802 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21803 ECHO_T=' ';;
21804 esac;;
21806 ECHO_N='-n';;
21807 esac
21809 rm -f conf$$ conf$$.exe conf$$.file
21810 if test -d conf$$.dir; then
21811 rm -f conf$$.dir/conf$$.file
21812 else
21813 rm -f conf$$.dir
21814 mkdir conf$$.dir 2>/dev/null
21816 if (echo >conf$$.file) 2>/dev/null; then
21817 if ln -s conf$$.file conf$$ 2>/dev/null; then
21818 as_ln_s='ln -s'
21819 # ... but there are two gotchas:
21820 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21821 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21822 # In both cases, we have to default to `cp -pR'.
21823 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21824 as_ln_s='cp -pR'
21825 elif ln conf$$.file conf$$ 2>/dev/null; then
21826 as_ln_s=ln
21827 else
21828 as_ln_s='cp -pR'
21830 else
21831 as_ln_s='cp -pR'
21833 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21834 rmdir conf$$.dir 2>/dev/null
21837 # as_fn_mkdir_p
21838 # -------------
21839 # Create "$as_dir" as a directory, including parents if necessary.
21840 as_fn_mkdir_p ()
21843 case $as_dir in #(
21844 -*) as_dir=./$as_dir;;
21845 esac
21846 test -d "$as_dir" || eval $as_mkdir_p || {
21847 as_dirs=
21848 while :; do
21849 case $as_dir in #(
21850 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21851 *) as_qdir=$as_dir;;
21852 esac
21853 as_dirs="'$as_qdir' $as_dirs"
21854 as_dir=`$as_dirname -- "$as_dir" ||
21855 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21856 X"$as_dir" : 'X\(//\)[^/]' \| \
21857 X"$as_dir" : 'X\(//\)$' \| \
21858 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21859 $as_echo X"$as_dir" |
21860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21861 s//\1/
21864 /^X\(\/\/\)[^/].*/{
21865 s//\1/
21868 /^X\(\/\/\)$/{
21869 s//\1/
21872 /^X\(\/\).*/{
21873 s//\1/
21876 s/.*/./; q'`
21877 test -d "$as_dir" && break
21878 done
21879 test -z "$as_dirs" || eval "mkdir $as_dirs"
21880 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21883 } # as_fn_mkdir_p
21884 if mkdir -p . 2>/dev/null; then
21885 as_mkdir_p='mkdir -p "$as_dir"'
21886 else
21887 test -d ./-p && rmdir ./-p
21888 as_mkdir_p=false
21892 # as_fn_executable_p FILE
21893 # -----------------------
21894 # Test if FILE is an executable regular file.
21895 as_fn_executable_p ()
21897 test -f "$1" && test -x "$1"
21898 } # as_fn_executable_p
21899 as_test_x='test -x'
21900 as_executable_p=as_fn_executable_p
21902 # Sed expression to map a string onto a valid CPP name.
21903 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21905 # Sed expression to map a string onto a valid variable name.
21906 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21909 exec 6>&1
21910 ## ----------------------------------- ##
21911 ## Main body of $CONFIG_STATUS script. ##
21912 ## ----------------------------------- ##
21913 _ASEOF
21914 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21917 # Save the log message, to keep $0 and so on meaningful, and to
21918 # report actual input values of CONFIG_FILES etc. instead of their
21919 # values after options handling.
21920 ac_log="
21921 This file was extended by Wine $as_me 5.8, which was
21922 generated by GNU Autoconf 2.69. Invocation command line was
21924 CONFIG_FILES = $CONFIG_FILES
21925 CONFIG_HEADERS = $CONFIG_HEADERS
21926 CONFIG_LINKS = $CONFIG_LINKS
21927 CONFIG_COMMANDS = $CONFIG_COMMANDS
21928 $ $0 $@
21930 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21933 _ACEOF
21935 case $ac_config_files in *"
21936 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21937 esac
21939 case $ac_config_headers in *"
21940 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21941 esac
21944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21945 # Files that config.status was made for.
21946 config_files="$ac_config_files"
21947 config_headers="$ac_config_headers"
21948 config_links="$ac_config_links"
21949 config_commands="$ac_config_commands"
21951 _ACEOF
21953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21954 ac_cs_usage="\
21955 \`$as_me' instantiates files and other configuration actions
21956 from templates according to the current configuration. Unless the files
21957 and actions are specified as TAGs, all are instantiated by default.
21959 Usage: $0 [OPTION]... [TAG]...
21961 -h, --help print this help, then exit
21962 -V, --version print version number and configuration settings, then exit
21963 --config print configuration, then exit
21964 -q, --quiet, --silent
21965 do not print progress messages
21966 -d, --debug don't remove temporary files
21967 --recheck update $as_me by reconfiguring in the same conditions
21968 --file=FILE[:TEMPLATE]
21969 instantiate the configuration file FILE
21970 --header=FILE[:TEMPLATE]
21971 instantiate the configuration header FILE
21973 Configuration files:
21974 $config_files
21976 Configuration headers:
21977 $config_headers
21979 Configuration links:
21980 $config_links
21982 Configuration commands:
21983 $config_commands
21985 Report bugs to <wine-devel@winehq.org>.
21986 Wine home page: <https://www.winehq.org>."
21988 _ACEOF
21989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21990 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21991 ac_cs_version="\\
21992 Wine config.status 5.8
21993 configured by $0, generated by GNU Autoconf 2.69,
21994 with options \\"\$ac_cs_config\\"
21996 Copyright (C) 2012 Free Software Foundation, Inc.
21997 This config.status script is free software; the Free Software Foundation
21998 gives unlimited permission to copy, distribute and modify it."
22000 ac_pwd='$ac_pwd'
22001 srcdir='$srcdir'
22002 test -n "\$AWK" || AWK=awk
22003 _ACEOF
22005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22006 # The default lists apply if the user does not specify any file.
22007 ac_need_defaults=:
22008 while test $# != 0
22010 case $1 in
22011 --*=?*)
22012 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22013 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22014 ac_shift=:
22016 --*=)
22017 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22018 ac_optarg=
22019 ac_shift=:
22022 ac_option=$1
22023 ac_optarg=$2
22024 ac_shift=shift
22026 esac
22028 case $ac_option in
22029 # Handling of the options.
22030 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22031 ac_cs_recheck=: ;;
22032 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22033 $as_echo "$ac_cs_version"; exit ;;
22034 --config | --confi | --conf | --con | --co | --c )
22035 $as_echo "$ac_cs_config"; exit ;;
22036 --debug | --debu | --deb | --de | --d | -d )
22037 debug=: ;;
22038 --file | --fil | --fi | --f )
22039 $ac_shift
22040 case $ac_optarg in
22041 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22042 '') as_fn_error $? "missing file argument" ;;
22043 esac
22044 as_fn_append CONFIG_FILES " '$ac_optarg'"
22045 ac_need_defaults=false;;
22046 --header | --heade | --head | --hea )
22047 $ac_shift
22048 case $ac_optarg in
22049 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22050 esac
22051 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22052 ac_need_defaults=false;;
22053 --he | --h)
22054 # Conflict between --help and --header
22055 as_fn_error $? "ambiguous option: \`$1'
22056 Try \`$0 --help' for more information.";;
22057 --help | --hel | -h )
22058 $as_echo "$ac_cs_usage"; exit ;;
22059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22060 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22061 ac_cs_silent=: ;;
22063 # This is an error.
22064 -*) as_fn_error $? "unrecognized option: \`$1'
22065 Try \`$0 --help' for more information." ;;
22067 *) as_fn_append ac_config_targets " $1"
22068 ac_need_defaults=false ;;
22070 esac
22071 shift
22072 done
22074 ac_configure_extra_args=
22076 if $ac_cs_silent; then
22077 exec 6>/dev/null
22078 ac_configure_extra_args="$ac_configure_extra_args --silent"
22081 _ACEOF
22082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22083 if \$ac_cs_recheck; then
22084 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22085 shift
22086 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22087 CONFIG_SHELL='$SHELL'
22088 export CONFIG_SHELL
22089 exec "\$@"
22092 _ACEOF
22093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22094 exec 5>>config.log
22096 echo
22097 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22098 ## Running $as_me. ##
22099 _ASBOX
22100 $as_echo "$ac_log"
22101 } >&5
22103 _ACEOF
22104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22106 # INIT-COMMANDS
22108 wine_fn_output_makedep ()
22110 as_dir=tools; as_fn_mkdir_p
22111 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22113 wine_fn_output_makefile ()
22115 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22116 `cat $wine_rules_file`
22117 _WINE_EOF
22118 as_fn_error $? "could not create Makefile" "$LINENO" 5
22121 _ACEOF
22123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22125 # Handling of arguments.
22126 for ac_config_target in $ac_config_targets
22128 case $ac_config_target in
22129 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22130 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22131 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22132 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22133 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22134 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22135 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22137 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22138 esac
22139 done
22142 # If the user did not use the arguments to specify the items to instantiate,
22143 # then the envvar interface is used. Set only those that are not.
22144 # We use the long form for the default assignment because of an extremely
22145 # bizarre bug on SunOS 4.1.3.
22146 if $ac_need_defaults; then
22147 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22148 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22149 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22150 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22153 # Have a temporary directory for convenience. Make it in the build tree
22154 # simply because there is no reason against having it here, and in addition,
22155 # creating and moving files from /tmp can sometimes cause problems.
22156 # Hook for its removal unless debugging.
22157 # Note that there is a small window in which the directory will not be cleaned:
22158 # after its creation but before its name has been assigned to `$tmp'.
22159 $debug ||
22161 tmp= ac_tmp=
22162 trap 'exit_status=$?
22163 : "${ac_tmp:=$tmp}"
22164 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22166 trap 'as_fn_exit 1' 1 2 13 15
22168 # Create a (secure) tmp directory for tmp files.
22171 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22172 test -d "$tmp"
22173 } ||
22175 tmp=./conf$$-$RANDOM
22176 (umask 077 && mkdir "$tmp")
22177 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22178 ac_tmp=$tmp
22180 # Set up the scripts for CONFIG_FILES section.
22181 # No need to generate them if there are no CONFIG_FILES.
22182 # This happens for instance with `./config.status config.h'.
22183 if test -n "$CONFIG_FILES"; then
22186 ac_cr=`echo X | tr X '\015'`
22187 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22188 # But we know of no other shell where ac_cr would be empty at this
22189 # point, so we can use a bashism as a fallback.
22190 if test "x$ac_cr" = x; then
22191 eval ac_cr=\$\'\\r\'
22193 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22194 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22195 ac_cs_awk_cr='\\r'
22196 else
22197 ac_cs_awk_cr=$ac_cr
22200 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22201 _ACEOF
22205 echo "cat >conf$$subs.awk <<_ACEOF" &&
22206 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22207 echo "_ACEOF"
22208 } >conf$$subs.sh ||
22209 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22210 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22211 ac_delim='%!_!# '
22212 for ac_last_try in false false false false false :; do
22213 . ./conf$$subs.sh ||
22214 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22216 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22217 if test $ac_delim_n = $ac_delim_num; then
22218 break
22219 elif $ac_last_try; then
22220 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22221 else
22222 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22224 done
22225 rm -f conf$$subs.sh
22227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22228 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22229 _ACEOF
22230 sed -n '
22232 s/^/S["/; s/!.*/"]=/
22235 s/^[^!]*!//
22236 :repl
22237 t repl
22238 s/'"$ac_delim"'$//
22239 t delim
22242 s/\(.\{148\}\)..*/\1/
22243 t more1
22244 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22247 b repl
22248 :more1
22249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22252 s/.\{148\}//
22253 t nl
22254 :delim
22256 s/\(.\{148\}\)..*/\1/
22257 t more2
22258 s/["\\]/\\&/g; s/^/"/; s/$/"/
22261 :more2
22262 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22265 s/.\{148\}//
22266 t delim
22267 ' <conf$$subs.awk | sed '
22268 /^[^""]/{
22270 s/\n//
22272 ' >>$CONFIG_STATUS || ac_write_fail=1
22273 rm -f conf$$subs.awk
22274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22275 _ACAWK
22276 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22277 for (key in S) S_is_set[key] = 1
22278 FS = "\a"
22282 line = $ 0
22283 nfields = split(line, field, "@")
22284 substed = 0
22285 len = length(field[1])
22286 for (i = 2; i < nfields; i++) {
22287 key = field[i]
22288 keylen = length(key)
22289 if (S_is_set[key]) {
22290 value = S[key]
22291 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22292 len += length(value) + length(field[++i])
22293 substed = 1
22294 } else
22295 len += 1 + keylen
22298 print line
22301 _ACAWK
22302 _ACEOF
22303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22304 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22305 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22306 else
22308 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22309 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22310 _ACEOF
22312 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22313 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22314 # trailing colons and then remove the whole line if VPATH becomes empty
22315 # (actually we leave an empty line to preserve line numbers).
22316 if test "x$srcdir" = x.; then
22317 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22319 s///
22320 s/^/:/
22321 s/[ ]*$/:/
22322 s/:\$(srcdir):/:/g
22323 s/:\${srcdir}:/:/g
22324 s/:@srcdir@:/:/g
22325 s/^:*//
22326 s/:*$//
22328 s/\(=[ ]*\).*/\1/
22330 s/\n//
22331 s/^[^=]*=[ ]*$//
22335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22336 fi # test -n "$CONFIG_FILES"
22338 # Set up the scripts for CONFIG_HEADERS section.
22339 # No need to generate them if there are no CONFIG_HEADERS.
22340 # This happens for instance with `./config.status Makefile'.
22341 if test -n "$CONFIG_HEADERS"; then
22342 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22343 BEGIN {
22344 _ACEOF
22346 # Transform confdefs.h into an awk script `defines.awk', embedded as
22347 # here-document in config.status, that substitutes the proper values into
22348 # config.h.in to produce config.h.
22350 # Create a delimiter string that does not exist in confdefs.h, to ease
22351 # handling of long lines.
22352 ac_delim='%!_!# '
22353 for ac_last_try in false false :; do
22354 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22355 if test -z "$ac_tt"; then
22356 break
22357 elif $ac_last_try; then
22358 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22359 else
22360 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22362 done
22364 # For the awk script, D is an array of macro values keyed by name,
22365 # likewise P contains macro parameters if any. Preserve backslash
22366 # newline sequences.
22368 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22369 sed -n '
22370 s/.\{148\}/&'"$ac_delim"'/g
22371 t rset
22372 :rset
22373 s/^[ ]*#[ ]*define[ ][ ]*/ /
22374 t def
22376 :def
22377 s/\\$//
22378 t bsnl
22379 s/["\\]/\\&/g
22380 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22381 D["\1"]=" \3"/p
22382 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22384 :bsnl
22385 s/["\\]/\\&/g
22386 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22387 D["\1"]=" \3\\\\\\n"\\/p
22388 t cont
22389 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22390 t cont
22392 :cont
22394 s/.\{148\}/&'"$ac_delim"'/g
22395 t clear
22396 :clear
22397 s/\\$//
22398 t bsnlc
22399 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22401 :bsnlc
22402 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22403 b cont
22404 ' <confdefs.h | sed '
22405 s/'"$ac_delim"'/"\\\
22406 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22409 for (key in D) D_is_set[key] = 1
22410 FS = "\a"
22412 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22413 line = \$ 0
22414 split(line, arg, " ")
22415 if (arg[1] == "#") {
22416 defundef = arg[2]
22417 mac1 = arg[3]
22418 } else {
22419 defundef = substr(arg[1], 2)
22420 mac1 = arg[2]
22422 split(mac1, mac2, "(") #)
22423 macro = mac2[1]
22424 prefix = substr(line, 1, index(line, defundef) - 1)
22425 if (D_is_set[macro]) {
22426 # Preserve the white space surrounding the "#".
22427 print prefix "define", macro P[macro] D[macro]
22428 next
22429 } else {
22430 # Replace #undef with comments. This is necessary, for example,
22431 # in the case of _POSIX_SOURCE, which is predefined and required
22432 # on some systems where configure will not decide to define it.
22433 if (defundef == "undef") {
22434 print "/*", prefix defundef, macro, "*/"
22435 next
22439 { print }
22440 _ACAWK
22441 _ACEOF
22442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22443 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22444 fi # test -n "$CONFIG_HEADERS"
22447 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22448 shift
22449 for ac_tag
22451 case $ac_tag in
22452 :[FHLC]) ac_mode=$ac_tag; continue;;
22453 esac
22454 case $ac_mode$ac_tag in
22455 :[FHL]*:*);;
22456 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22457 :[FH]-) ac_tag=-:-;;
22458 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22459 esac
22460 ac_save_IFS=$IFS
22461 IFS=:
22462 set x $ac_tag
22463 IFS=$ac_save_IFS
22464 shift
22465 ac_file=$1
22466 shift
22468 case $ac_mode in
22469 :L) ac_source=$1;;
22470 :[FH])
22471 ac_file_inputs=
22472 for ac_f
22474 case $ac_f in
22475 -) ac_f="$ac_tmp/stdin";;
22476 *) # Look for the file first in the build tree, then in the source tree
22477 # (if the path is not absolute). The absolute path cannot be DOS-style,
22478 # because $ac_f cannot contain `:'.
22479 test -f "$ac_f" ||
22480 case $ac_f in
22481 [\\/$]*) false;;
22482 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22483 esac ||
22484 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22485 esac
22486 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22487 as_fn_append ac_file_inputs " '$ac_f'"
22488 done
22490 # Let's still pretend it is `configure' which instantiates (i.e., don't
22491 # use $as_me), people would be surprised to read:
22492 # /* config.h. Generated by config.status. */
22493 configure_input='Generated from '`
22494 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22495 `' by configure.'
22496 if test x"$ac_file" != x-; then
22497 configure_input="$ac_file. $configure_input"
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22499 $as_echo "$as_me: creating $ac_file" >&6;}
22501 # Neutralize special characters interpreted by sed in replacement strings.
22502 case $configure_input in #(
22503 *\&* | *\|* | *\\* )
22504 ac_sed_conf_input=`$as_echo "$configure_input" |
22505 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22506 *) ac_sed_conf_input=$configure_input;;
22507 esac
22509 case $ac_tag in
22510 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22511 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22512 esac
22514 esac
22516 ac_dir=`$as_dirname -- "$ac_file" ||
22517 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22518 X"$ac_file" : 'X\(//\)[^/]' \| \
22519 X"$ac_file" : 'X\(//\)$' \| \
22520 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22521 $as_echo X"$ac_file" |
22522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22523 s//\1/
22526 /^X\(\/\/\)[^/].*/{
22527 s//\1/
22530 /^X\(\/\/\)$/{
22531 s//\1/
22534 /^X\(\/\).*/{
22535 s//\1/
22538 s/.*/./; q'`
22539 as_dir="$ac_dir"; as_fn_mkdir_p
22540 ac_builddir=.
22542 case "$ac_dir" in
22543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22545 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22546 # A ".." for each directory in $ac_dir_suffix.
22547 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22548 case $ac_top_builddir_sub in
22549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22551 esac ;;
22552 esac
22553 ac_abs_top_builddir=$ac_pwd
22554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22555 # for backward compatibility:
22556 ac_top_builddir=$ac_top_build_prefix
22558 case $srcdir in
22559 .) # We are building in place.
22560 ac_srcdir=.
22561 ac_top_srcdir=$ac_top_builddir_sub
22562 ac_abs_top_srcdir=$ac_pwd ;;
22563 [\\/]* | ?:[\\/]* ) # Absolute name.
22564 ac_srcdir=$srcdir$ac_dir_suffix;
22565 ac_top_srcdir=$srcdir
22566 ac_abs_top_srcdir=$srcdir ;;
22567 *) # Relative name.
22568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22569 ac_top_srcdir=$ac_top_build_prefix$srcdir
22570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22571 esac
22572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22575 case $ac_mode in
22578 # CONFIG_FILE
22581 _ACEOF
22583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22584 # If the template does not know about datarootdir, expand it.
22585 # FIXME: This hack should be removed a few years after 2.60.
22586 ac_datarootdir_hack=; ac_datarootdir_seen=
22587 ac_sed_dataroot='
22588 /datarootdir/ {
22592 /@datadir@/p
22593 /@docdir@/p
22594 /@infodir@/p
22595 /@localedir@/p
22596 /@mandir@/p'
22597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22598 *datarootdir*) ac_datarootdir_seen=yes;;
22599 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22601 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22602 _ACEOF
22603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22604 ac_datarootdir_hack='
22605 s&@datadir@&$datadir&g
22606 s&@docdir@&$docdir&g
22607 s&@infodir@&$infodir&g
22608 s&@localedir@&$localedir&g
22609 s&@mandir@&$mandir&g
22610 s&\\\${datarootdir}&$datarootdir&g' ;;
22611 esac
22612 _ACEOF
22614 # Neutralize VPATH when `$srcdir' = `.'.
22615 # Shell code in configure.ac might set extrasub.
22616 # FIXME: do we really want to maintain this feature?
22617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22618 ac_sed_extra="$ac_vpsub
22619 $extrasub
22620 _ACEOF
22621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22624 s|@configure_input@|$ac_sed_conf_input|;t t
22625 s&@top_builddir@&$ac_top_builddir_sub&;t t
22626 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22627 s&@srcdir@&$ac_srcdir&;t t
22628 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22629 s&@top_srcdir@&$ac_top_srcdir&;t t
22630 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22631 s&@builddir@&$ac_builddir&;t t
22632 s&@abs_builddir@&$ac_abs_builddir&;t t
22633 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22634 $ac_datarootdir_hack
22636 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22637 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22639 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22640 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22641 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22642 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22644 which seems to be undefined. Please make sure it is defined" >&5
22645 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22646 which seems to be undefined. Please make sure it is defined" >&2;}
22648 rm -f "$ac_tmp/stdin"
22649 case $ac_file in
22650 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22651 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22652 esac \
22653 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22657 # CONFIG_HEADER
22659 if test x"$ac_file" != x-; then
22661 $as_echo "/* $configure_input */" \
22662 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22663 } >"$ac_tmp/config.h" \
22664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22665 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22667 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22668 else
22669 rm -f "$ac_file"
22670 mv "$ac_tmp/config.h" "$ac_file" \
22671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22673 else
22674 $as_echo "/* $configure_input */" \
22675 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22676 || as_fn_error $? "could not create -" "$LINENO" 5
22681 # CONFIG_LINK
22684 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22686 else
22687 # Prefer the file from the source tree if names are identical.
22688 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22689 ac_source=$srcdir/$ac_source
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22693 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22695 if test ! -r "$ac_source"; then
22696 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22698 rm -f "$ac_file"
22700 # Try a relative symlink, then a hard link, then a copy.
22701 case $ac_source in
22702 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22703 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22704 esac
22705 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22706 ln "$ac_source" "$ac_file" 2>/dev/null ||
22707 cp -p "$ac_source" "$ac_file" ||
22708 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22711 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22712 $as_echo "$as_me: executing $ac_file commands" >&6;}
22714 esac
22717 case $ac_file$ac_mode in
22718 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22719 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22720 "Makefile":C) wine_fn_output_makefile Makefile ;;
22722 esac
22723 done # for ac_tag
22726 as_fn_exit 0
22727 _ACEOF
22728 ac_clean_files=$ac_clean_files_save
22730 test $ac_write_fail = 0 ||
22731 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22734 # configure is writing to config.log, and then calls config.status.
22735 # config.status does its own redirection, appending to config.log.
22736 # Unfortunately, on DOS this fails, as config.log is still kept open
22737 # by configure, so config.status won't be able to write to it; its
22738 # output is simply discarded. So we exec the FD to /dev/null,
22739 # effectively closing config.log, so it can be properly (re)opened and
22740 # appended to by config.status. When coming back to configure, we
22741 # need to make the FD available again.
22742 if test "$no_create" != yes; then
22743 ac_cs_success=:
22744 ac_config_status_args=
22745 test "$silent" = yes &&
22746 ac_config_status_args="$ac_config_status_args --quiet"
22747 exec 5>/dev/null
22748 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22749 exec 5>>config.log
22750 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22751 # would make configure fail if this is the last instruction.
22752 $ac_cs_success || as_fn_exit 1
22754 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22756 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22760 if test "$no_create" = "yes"
22761 then
22762 exit 0
22765 ac_save_IFS="$IFS"
22766 if test "x$wine_notices" != x; then
22767 echo >&6
22768 IFS="|"
22769 for msg in $wine_notices; do
22770 IFS="$ac_save_IFS"
22771 if ${msg:+false} :; then :
22773 else
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22775 $as_echo "$as_me: $msg" >&6;}
22777 done
22779 IFS="|"
22780 for msg in $wine_warnings; do
22781 IFS="$ac_save_IFS"
22782 if ${msg:+false} :; then :
22784 else
22785 echo >&2
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22787 $as_echo "$as_me: WARNING: $msg" >&2;}
22789 done
22790 IFS="$ac_save_IFS"
22792 $as_echo "
22793 $as_me: Finished. Do '${ac_make}' to compile Wine.
22794 " >&6