include/ddk: Add _KAPC_STATE structure definition.
[wine.git] / configure
blob07adf68fce4a3c43290bc1f67bf2f1a79adaf85c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.9.
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.9'
584 PACKAGE_STRING='Wine 5.9'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_kernel32_l2_1_0
1075 enable_api_ms_win_downlevel_normaliz_l1_1_0
1076 enable_api_ms_win_downlevel_ole32_l1_1_0
1077 enable_api_ms_win_downlevel_shell32_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1079 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1080 enable_api_ms_win_downlevel_user32_l1_1_0
1081 enable_api_ms_win_downlevel_version_l1_1_0
1082 enable_api_ms_win_dx_d3dkmt_l1_1_0
1083 enable_api_ms_win_eventing_classicprovider_l1_1_0
1084 enable_api_ms_win_eventing_consumer_l1_1_0
1085 enable_api_ms_win_eventing_controller_l1_1_0
1086 enable_api_ms_win_eventing_legacy_l1_1_0
1087 enable_api_ms_win_eventing_provider_l1_1_0
1088 enable_api_ms_win_eventlog_legacy_l1_1_0
1089 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1090 enable_api_ms_win_mm_joystick_l1_1_0
1091 enable_api_ms_win_mm_misc_l1_1_1
1092 enable_api_ms_win_mm_mme_l1_1_0
1093 enable_api_ms_win_mm_time_l1_1_0
1094 enable_api_ms_win_ntuser_dc_access_l1_1_0
1095 enable_api_ms_win_ntuser_rectangle_l1_1_0
1096 enable_api_ms_win_ntuser_sysparams_l1_1_0
1097 enable_api_ms_win_perf_legacy_l1_1_0
1098 enable_api_ms_win_power_base_l1_1_0
1099 enable_api_ms_win_power_setting_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1103 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1106 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1107 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1108 enable_api_ms_win_security_audit_l1_1_1
1109 enable_api_ms_win_security_base_l1_1_0
1110 enable_api_ms_win_security_base_l1_2_0
1111 enable_api_ms_win_security_base_private_l1_1_1
1112 enable_api_ms_win_security_credentials_l1_1_0
1113 enable_api_ms_win_security_cryptoapi_l1_1_0
1114 enable_api_ms_win_security_grouppolicy_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_0
1116 enable_api_ms_win_security_lsalookup_l1_1_1
1117 enable_api_ms_win_security_lsalookup_l2_1_0
1118 enable_api_ms_win_security_lsalookup_l2_1_1
1119 enable_api_ms_win_security_lsapolicy_l1_1_0
1120 enable_api_ms_win_security_provider_l1_1_0
1121 enable_api_ms_win_security_sddl_l1_1_0
1122 enable_api_ms_win_security_systemfunctions_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_0
1124 enable_api_ms_win_service_core_l1_1_1
1125 enable_api_ms_win_service_management_l1_1_0
1126 enable_api_ms_win_service_management_l2_1_0
1127 enable_api_ms_win_service_private_l1_1_1
1128 enable_api_ms_win_service_winsvc_l1_1_0
1129 enable_api_ms_win_service_winsvc_l1_2_0
1130 enable_api_ms_win_shcore_obsolete_l1_1_0
1131 enable_api_ms_win_shcore_scaling_l1_1_1
1132 enable_api_ms_win_shcore_stream_l1_1_0
1133 enable_api_ms_win_shcore_thread_l1_1_0
1134 enable_api_ms_win_shell_shellcom_l1_1_0
1135 enable_api_ms_win_shell_shellfolders_l1_1_0
1136 enable_apphelp
1137 enable_appwiz_cpl
1138 enable_atl
1139 enable_atl100
1140 enable_atl110
1141 enable_atl80
1142 enable_atl90
1143 enable_atlthunk
1144 enable_atmlib
1145 enable_authz
1146 enable_avicap32
1147 enable_avifil32
1148 enable_avrt
1149 enable_bcrypt
1150 enable_bluetoothapis
1151 enable_browseui
1152 enable_bthprops_cpl
1153 enable_cabinet
1154 enable_capi2032
1155 enable_cards
1156 enable_cdosys
1157 enable_cfgmgr32
1158 enable_clusapi
1159 enable_combase
1160 enable_comcat
1161 enable_comctl32
1162 enable_comdlg32
1163 enable_compstui
1164 enable_comsvcs
1165 enable_concrt140
1166 enable_connect
1167 enable_credui
1168 enable_crtdll
1169 enable_crypt32
1170 enable_cryptdlg
1171 enable_cryptdll
1172 enable_cryptext
1173 enable_cryptnet
1174 enable_cryptui
1175 enable_ctapi32
1176 enable_ctl3d32
1177 enable_d2d1
1178 enable_d3d10
1179 enable_d3d10_1
1180 enable_d3d10core
1181 enable_d3d11
1182 enable_d3d12
1183 enable_d3d8
1184 enable_d3d9
1185 enable_d3dcompiler_33
1186 enable_d3dcompiler_34
1187 enable_d3dcompiler_35
1188 enable_d3dcompiler_36
1189 enable_d3dcompiler_37
1190 enable_d3dcompiler_38
1191 enable_d3dcompiler_39
1192 enable_d3dcompiler_40
1193 enable_d3dcompiler_41
1194 enable_d3dcompiler_42
1195 enable_d3dcompiler_43
1196 enable_d3dcompiler_46
1197 enable_d3dcompiler_47
1198 enable_d3dim
1199 enable_d3drm
1200 enable_d3dx10_33
1201 enable_d3dx10_34
1202 enable_d3dx10_35
1203 enable_d3dx10_36
1204 enable_d3dx10_37
1205 enable_d3dx10_38
1206 enable_d3dx10_39
1207 enable_d3dx10_40
1208 enable_d3dx10_41
1209 enable_d3dx10_42
1210 enable_d3dx10_43
1211 enable_d3dx11_42
1212 enable_d3dx11_43
1213 enable_d3dx9_24
1214 enable_d3dx9_25
1215 enable_d3dx9_26
1216 enable_d3dx9_27
1217 enable_d3dx9_28
1218 enable_d3dx9_29
1219 enable_d3dx9_30
1220 enable_d3dx9_31
1221 enable_d3dx9_32
1222 enable_d3dx9_33
1223 enable_d3dx9_34
1224 enable_d3dx9_35
1225 enable_d3dx9_36
1226 enable_d3dx9_37
1227 enable_d3dx9_38
1228 enable_d3dx9_39
1229 enable_d3dx9_40
1230 enable_d3dx9_41
1231 enable_d3dx9_42
1232 enable_d3dx9_43
1233 enable_d3dxof
1234 enable_davclnt
1235 enable_dbgeng
1236 enable_dbghelp
1237 enable_dciman32
1238 enable_ddraw
1239 enable_ddrawex
1240 enable_devenum
1241 enable_dhcpcsvc
1242 enable_dhtmled_ocx
1243 enable_difxapi
1244 enable_dinput
1245 enable_dinput8
1246 enable_dispex
1247 enable_dmband
1248 enable_dmcompos
1249 enable_dmime
1250 enable_dmloader
1251 enable_dmoguids
1252 enable_dmscript
1253 enable_dmstyle
1254 enable_dmsynth
1255 enable_dmusic
1256 enable_dmusic32
1257 enable_dnsapi
1258 enable_dplay
1259 enable_dplayx
1260 enable_dpnaddr
1261 enable_dpnet
1262 enable_dpnhpast
1263 enable_dpnlobby
1264 enable_dpvoice
1265 enable_dpwsockx
1266 enable_drmclien
1267 enable_dsdmo
1268 enable_dsound
1269 enable_dsquery
1270 enable_dssenh
1271 enable_dsuiext
1272 enable_dswave
1273 enable_dwmapi
1274 enable_dwrite
1275 enable_dx8vb
1276 enable_dxdiagn
1277 enable_dxerr8
1278 enable_dxerr9
1279 enable_dxgi
1280 enable_dxguid
1281 enable_dxva2
1282 enable_esent
1283 enable_evr
1284 enable_explorerframe
1285 enable_ext_ms_win_authz_context_l1_1_0
1286 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1287 enable_ext_ms_win_dwmapi_ext_l1_1_0
1288 enable_ext_ms_win_gdi_dc_create_l1_1_0
1289 enable_ext_ms_win_gdi_dc_create_l1_1_1
1290 enable_ext_ms_win_gdi_dc_l1_2_0
1291 enable_ext_ms_win_gdi_devcaps_l1_1_0
1292 enable_ext_ms_win_gdi_draw_l1_1_0
1293 enable_ext_ms_win_gdi_draw_l1_1_1
1294 enable_ext_ms_win_gdi_font_l1_1_0
1295 enable_ext_ms_win_gdi_font_l1_1_1
1296 enable_ext_ms_win_gdi_render_l1_1_0
1297 enable_ext_ms_win_kernel32_package_current_l1_1_0
1298 enable_ext_ms_win_kernel32_package_l1_1_1
1299 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1300 enable_ext_ms_win_ntuser_draw_l1_1_0
1301 enable_ext_ms_win_ntuser_gui_l1_1_0
1302 enable_ext_ms_win_ntuser_gui_l1_3_0
1303 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1304 enable_ext_ms_win_ntuser_message_l1_1_0
1305 enable_ext_ms_win_ntuser_message_l1_1_1
1306 enable_ext_ms_win_ntuser_misc_l1_1_0
1307 enable_ext_ms_win_ntuser_misc_l1_2_0
1308 enable_ext_ms_win_ntuser_misc_l1_5_1
1309 enable_ext_ms_win_ntuser_mouse_l1_1_0
1310 enable_ext_ms_win_ntuser_private_l1_1_1
1311 enable_ext_ms_win_ntuser_private_l1_3_1
1312 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1313 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1314 enable_ext_ms_win_ntuser_window_l1_1_0
1315 enable_ext_ms_win_ntuser_window_l1_1_1
1316 enable_ext_ms_win_ntuser_window_l1_1_4
1317 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1318 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1319 enable_ext_ms_win_oleacc_l1_1_0
1320 enable_ext_ms_win_ras_rasapi32_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1322 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1323 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1328 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1330 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1331 enable_ext_ms_win_security_credui_l1_1_0
1332 enable_ext_ms_win_security_cryptui_l1_1_0
1333 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1334 enable_ext_ms_win_shell_comdlg32_l1_1_0
1335 enable_ext_ms_win_shell_shell32_l1_2_0
1336 enable_ext_ms_win_uxtheme_themes_l1_1_0
1337 enable_faultrep
1338 enable_feclient
1339 enable_fltlib
1340 enable_fltmgr_sys
1341 enable_fntcache
1342 enable_fontsub
1343 enable_fusion
1344 enable_fwpuclnt
1345 enable_gameux
1346 enable_gdi32
1347 enable_gdiplus
1348 enable_glu32
1349 enable_gphoto2_ds
1350 enable_gpkcsp
1351 enable_hal
1352 enable_hhctrl_ocx
1353 enable_hid
1354 enable_hidclass_sys
1355 enable_hlink
1356 enable_hnetcfg
1357 enable_http_sys
1358 enable_httpapi
1359 enable_iccvid
1360 enable_icmp
1361 enable_ieframe
1362 enable_ieproxy
1363 enable_imaadp32_acm
1364 enable_imagehlp
1365 enable_imm32
1366 enable_inetcomm
1367 enable_inetcpl_cpl
1368 enable_inetmib1
1369 enable_infosoft
1370 enable_initpki
1371 enable_inkobj
1372 enable_inseng
1373 enable_iphlpapi
1374 enable_iprop
1375 enable_irprops_cpl
1376 enable_itircl
1377 enable_itss
1378 enable_joy_cpl
1379 enable_jscript
1380 enable_jsproxy
1381 enable_kerberos
1382 enable_kernel32
1383 enable_kernelbase
1384 enable_ksecdd_sys
1385 enable_ksproxy_ax
1386 enable_ksuser
1387 enable_ktmw32
1388 enable_l3codeca_acm
1389 enable_loadperf
1390 enable_localspl
1391 enable_localui
1392 enable_lz32
1393 enable_mapi32
1394 enable_mapistub
1395 enable_mciavi32
1396 enable_mcicda
1397 enable_mciqtz32
1398 enable_mciseq
1399 enable_mciwave
1400 enable_mf
1401 enable_mf3216
1402 enable_mferror
1403 enable_mfmediaengine
1404 enable_mfplat
1405 enable_mfplay
1406 enable_mfreadwrite
1407 enable_mfuuid
1408 enable_mgmtapi
1409 enable_midimap
1410 enable_mlang
1411 enable_mmcndmgr
1412 enable_mmdevapi
1413 enable_mountmgr_sys
1414 enable_mp3dmod
1415 enable_mpr
1416 enable_mprapi
1417 enable_msacm32_drv
1418 enable_msacm32
1419 enable_msado15
1420 enable_msadp32_acm
1421 enable_msasn1
1422 enable_mscat32
1423 enable_mscms
1424 enable_mscoree
1425 enable_mscorwks
1426 enable_msctf
1427 enable_msctfp
1428 enable_msdaps
1429 enable_msdelta
1430 enable_msdmo
1431 enable_msdrm
1432 enable_msftedit
1433 enable_msg711_acm
1434 enable_msgsm32_acm
1435 enable_mshtml_tlb
1436 enable_mshtml
1437 enable_msi
1438 enable_msident
1439 enable_msimg32
1440 enable_msimsg
1441 enable_msimtf
1442 enable_msisip
1443 enable_msisys_ocx
1444 enable_msls31
1445 enable_msnet32
1446 enable_mspatcha
1447 enable_msports
1448 enable_msrle32
1449 enable_msscript_ocx
1450 enable_mssign32
1451 enable_mssip32
1452 enable_mstask
1453 enable_msvcirt
1454 enable_msvcm80
1455 enable_msvcm90
1456 enable_msvcp100
1457 enable_msvcp110
1458 enable_msvcp120
1459 enable_msvcp120_app
1460 enable_msvcp140
1461 enable_msvcp60
1462 enable_msvcp70
1463 enable_msvcp71
1464 enable_msvcp80
1465 enable_msvcp90
1466 enable_msvcr100
1467 enable_msvcr110
1468 enable_msvcr120
1469 enable_msvcr120_app
1470 enable_msvcr70
1471 enable_msvcr71
1472 enable_msvcr80
1473 enable_msvcr90
1474 enable_msvcrt
1475 enable_msvcrt20
1476 enable_msvcrt40
1477 enable_msvcrtd
1478 enable_msvfw32
1479 enable_msvidc32
1480 enable_mswsock
1481 enable_msxml
1482 enable_msxml2
1483 enable_msxml3
1484 enable_msxml4
1485 enable_msxml6
1486 enable_mtxdm
1487 enable_ncrypt
1488 enable_nddeapi
1489 enable_ndis_sys
1490 enable_netapi32
1491 enable_netcfgx
1492 enable_netprofm
1493 enable_newdev
1494 enable_ninput
1495 enable_normaliz
1496 enable_npmshtml
1497 enable_npptools
1498 enable_ntdll
1499 enable_ntdsapi
1500 enable_ntoskrnl_exe
1501 enable_ntprint
1502 enable_objsel
1503 enable_odbc32
1504 enable_odbcbcp
1505 enable_odbccp32
1506 enable_odbccu32
1507 enable_ole32
1508 enable_oleacc
1509 enable_oleaut32
1510 enable_olecli32
1511 enable_oledb32
1512 enable_oledlg
1513 enable_olepro32
1514 enable_olesvr32
1515 enable_olethk32
1516 enable_opcservices
1517 enable_openal32
1518 enable_opencl
1519 enable_opengl32
1520 enable_packager
1521 enable_pdh
1522 enable_photometadatahandler
1523 enable_pidgen
1524 enable_powrprof
1525 enable_printui
1526 enable_prntvpt
1527 enable_propsys
1528 enable_psapi
1529 enable_pstorec
1530 enable_qasf
1531 enable_qcap
1532 enable_qdvd
1533 enable_qedit
1534 enable_qmgr
1535 enable_qmgrprxy
1536 enable_quartz
1537 enable_query
1538 enable_qwave
1539 enable_rasapi32
1540 enable_rasdlg
1541 enable_regapi
1542 enable_resutils
1543 enable_riched20
1544 enable_riched32
1545 enable_rpcrt4
1546 enable_rsabase
1547 enable_rsaenh
1548 enable_rstrtmgr
1549 enable_rtutils
1550 enable_rtworkq
1551 enable_samlib
1552 enable_sane_ds
1553 enable_sapi
1554 enable_sas
1555 enable_scarddlg
1556 enable_sccbase
1557 enable_schannel
1558 enable_schedsvc
1559 enable_scrobj
1560 enable_scrrun
1561 enable_scsiport_sys
1562 enable_sechost
1563 enable_secur32
1564 enable_security
1565 enable_sensapi
1566 enable_serialui
1567 enable_setupapi
1568 enable_sfc
1569 enable_sfc_os
1570 enable_shcore
1571 enable_shdoclc
1572 enable_shdocvw
1573 enable_shell32
1574 enable_shfolder
1575 enable_shlwapi
1576 enable_slbcsp
1577 enable_slc
1578 enable_snmpapi
1579 enable_softpub
1580 enable_spoolss
1581 enable_srclient
1582 enable_sspicli
1583 enable_stdole2_tlb
1584 enable_stdole32_tlb
1585 enable_sti
1586 enable_strmbase
1587 enable_strmdll
1588 enable_strmiids
1589 enable_svrapi
1590 enable_sxs
1591 enable_t2embed
1592 enable_tapi32
1593 enable_taskschd
1594 enable_tdh
1595 enable_tdi_sys
1596 enable_traffic
1597 enable_twain_32
1598 enable_tzres
1599 enable_ucrtbase
1600 enable_uianimation
1601 enable_uiautomationcore
1602 enable_uiribbon
1603 enable_unicows
1604 enable_updspapi
1605 enable_url
1606 enable_urlmon
1607 enable_usbd_sys
1608 enable_user32
1609 enable_userenv
1610 enable_usp10
1611 enable_utildll
1612 enable_uuid
1613 enable_uxtheme
1614 enable_vbscript
1615 enable_vcomp
1616 enable_vcomp100
1617 enable_vcomp110
1618 enable_vcomp120
1619 enable_vcomp140
1620 enable_vcomp90
1621 enable_vcruntime140
1622 enable_vcruntime140_1
1623 enable_vdmdbg
1624 enable_version
1625 enable_vga
1626 enable_virtdisk
1627 enable_vssapi
1628 enable_vulkan_1
1629 enable_wbemdisp
1630 enable_wbemprox
1631 enable_wbemuuid
1632 enable_wdscore
1633 enable_webservices
1634 enable_wer
1635 enable_wevtapi
1636 enable_wiaservc
1637 enable_wimgapi
1638 enable_windowscodecs
1639 enable_windowscodecsext
1640 enable_winealsa_drv
1641 enable_wineandroid_drv
1642 enable_winebus_sys
1643 enable_winecoreaudio_drv
1644 enable_winecrt0
1645 enable_wined3d
1646 enable_winegstreamer
1647 enable_winehid_sys
1648 enable_winejoystick_drv
1649 enable_winemac_drv
1650 enable_winemapi
1651 enable_wineoss_drv
1652 enable_wineps_drv
1653 enable_winepulse_drv
1654 enable_wineqtdecoder
1655 enable_wineusb_sys
1656 enable_winevulkan
1657 enable_winex11_drv
1658 enable_wing32
1659 enable_winhttp
1660 enable_wininet
1661 enable_winmm
1662 enable_winnls32
1663 enable_winscard
1664 enable_winspool_drv
1665 enable_winsta
1666 enable_wintab32
1667 enable_wintrust
1668 enable_winusb
1669 enable_wlanapi
1670 enable_wlanui
1671 enable_wldap32
1672 enable_wmasf
1673 enable_wmcodecdspuuid
1674 enable_wmi
1675 enable_wmiutils
1676 enable_wmp
1677 enable_wmphoto
1678 enable_wmvcore
1679 enable_wnaspi32
1680 enable_wpc
1681 enable_wpcap
1682 enable_ws2_32
1683 enable_wsdapi
1684 enable_wshom_ocx
1685 enable_wsnmp32
1686 enable_wsock32
1687 enable_wtsapi32
1688 enable_wuapi
1689 enable_wuaueng
1690 enable_x3daudio1_0
1691 enable_x3daudio1_1
1692 enable_x3daudio1_2
1693 enable_x3daudio1_3
1694 enable_x3daudio1_4
1695 enable_x3daudio1_5
1696 enable_x3daudio1_6
1697 enable_x3daudio1_7
1698 enable_xapofx1_1
1699 enable_xapofx1_2
1700 enable_xapofx1_3
1701 enable_xapofx1_4
1702 enable_xapofx1_5
1703 enable_xaudio2_0
1704 enable_xaudio2_1
1705 enable_xaudio2_2
1706 enable_xaudio2_3
1707 enable_xaudio2_4
1708 enable_xaudio2_5
1709 enable_xaudio2_6
1710 enable_xaudio2_7
1711 enable_xaudio2_8
1712 enable_xaudio2_9
1713 enable_xinput1_1
1714 enable_xinput1_2
1715 enable_xinput1_3
1716 enable_xinput1_4
1717 enable_xinput9_1_0
1718 enable_xmllite
1719 enable_xolehlp
1720 enable_xpsprint
1721 enable_xpssvcs
1722 enable_fonts
1723 enable_include
1724 enable_port
1725 enable_wine
1726 enable_wpp
1727 enable_loader
1728 enable_nls
1729 enable_po
1730 enable_arp
1731 enable_aspnet_regiis
1732 enable_attrib
1733 enable_cabarc
1734 enable_cacls
1735 enable_chcp_com
1736 enable_clock
1737 enable_cmd
1738 enable_conhost
1739 enable_control
1740 enable_cscript
1741 enable_dism
1742 enable_dpnsvr
1743 enable_dxdiag
1744 enable_eject
1745 enable_expand
1746 enable_explorer
1747 enable_extrac32
1748 enable_fc
1749 enable_find
1750 enable_findstr
1751 enable_fsutil
1752 enable_hh
1753 enable_hostname
1754 enable_icacls
1755 enable_icinfo
1756 enable_iexplore
1757 enable_ipconfig
1758 enable_lodctr
1759 enable_mofcomp
1760 enable_mshta
1761 enable_msidb
1762 enable_msiexec
1763 enable_msinfo32
1764 enable_net
1765 enable_netsh
1766 enable_netstat
1767 enable_ngen
1768 enable_notepad
1769 enable_oleview
1770 enable_ping
1771 enable_plugplay
1772 enable_powershell
1773 enable_presentationfontcache
1774 enable_progman
1775 enable_reg
1776 enable_regasm
1777 enable_regedit
1778 enable_regini
1779 enable_regsvcs
1780 enable_regsvr32
1781 enable_rpcss
1782 enable_rundll32
1783 enable_sc
1784 enable_schtasks
1785 enable_sdbinst
1786 enable_secedit
1787 enable_servicemodelreg
1788 enable_services
1789 enable_shutdown
1790 enable_spoolsv
1791 enable_start
1792 enable_subst
1793 enable_svchost
1794 enable_systeminfo
1795 enable_taskkill
1796 enable_tasklist
1797 enable_taskmgr
1798 enable_termsv
1799 enable_uninstaller
1800 enable_unlodctr
1801 enable_view
1802 enable_wevtutil
1803 enable_whoami
1804 enable_wineboot
1805 enable_winebrowser
1806 enable_winecfg
1807 enable_wineconsole
1808 enable_winedbg
1809 enable_winedevice
1810 enable_winefile
1811 enable_winemenubuilder
1812 enable_winemine
1813 enable_winemsibuilder
1814 enable_winepath
1815 enable_winetest
1816 enable_winhlp32
1817 enable_winmgmt
1818 enable_winver
1819 enable_wmic
1820 enable_wmplayer
1821 enable_wordpad
1822 enable_write
1823 enable_wscript
1824 enable_wuauserv
1825 enable_wusa
1826 enable_xcopy
1827 enable_server
1828 enable_tools
1829 enable_sfnt2fon
1830 enable_widl
1831 enable_winebuild
1832 enable_winedump
1833 enable_winegcc
1834 enable_winemaker
1835 enable_wmc
1836 enable_wrc
1838 ac_precious_vars='build_alias
1839 host_alias
1840 target_alias
1842 CFLAGS
1843 LDFLAGS
1844 LIBS
1845 CPPFLAGS
1847 CXXFLAGS
1850 OBJC
1851 OBJCFLAGS
1852 OBJCPP
1853 XMKMF
1854 XML2_CFLAGS
1855 XML2_LIBS
1856 XSLT_CFLAGS
1857 XSLT_LIBS
1858 INOTIFY_CFLAGS
1859 INOTIFY_LIBS
1860 DBUS_CFLAGS
1861 DBUS_LIBS
1862 HAL_CFLAGS
1863 HAL_LIBS
1864 GNUTLS_CFLAGS
1865 GNUTLS_LIBS
1866 SANE_CFLAGS
1867 SANE_LIBS
1868 USB_CFLAGS
1869 USB_LIBS
1870 GPHOTO2_CFLAGS
1871 GPHOTO2_LIBS
1872 GPHOTO2_PORT_CFLAGS
1873 GPHOTO2_PORT_LIBS
1874 LCMS2_CFLAGS
1875 LCMS2_LIBS
1876 FREETYPE_CFLAGS
1877 FREETYPE_LIBS
1878 PULSE_CFLAGS
1879 PULSE_LIBS
1880 GSTREAMER_CFLAGS
1881 GSTREAMER_LIBS
1882 UDEV_CFLAGS
1883 UDEV_LIBS
1884 UNWIND_CFLAGS
1885 UNWIND_LIBS
1886 SDL2_CFLAGS
1887 SDL2_LIBS
1888 FAUDIO_CFLAGS
1889 FAUDIO_LIBS
1890 CAPI20_CFLAGS
1891 CAPI20_LIBS
1892 CUPS_CFLAGS
1893 CUPS_LIBS
1894 FONTCONFIG_CFLAGS
1895 FONTCONFIG_LIBS
1896 KRB5_CFLAGS
1897 KRB5_LIBS
1898 GSSAPI_CFLAGS
1899 GSSAPI_LIBS
1900 JPEG_CFLAGS
1901 JPEG_LIBS
1902 PNG_CFLAGS
1903 PNG_LIBS
1904 TIFF_CFLAGS
1905 TIFF_LIBS
1906 MPG123_CFLAGS
1907 MPG123_LIBS
1908 NETAPI_CFLAGS
1909 NETAPI_LIBS
1910 VKD3D_CFLAGS
1911 VKD3D_LIBS
1912 LDAP_CFLAGS
1913 LDAP_LIBS'
1916 # Initialize some variables set by options.
1917 ac_init_help=
1918 ac_init_version=false
1919 ac_unrecognized_opts=
1920 ac_unrecognized_sep=
1921 # The variables have the same names as the options, with
1922 # dashes changed to underlines.
1923 cache_file=/dev/null
1924 exec_prefix=NONE
1925 no_create=
1926 no_recursion=
1927 prefix=NONE
1928 program_prefix=NONE
1929 program_suffix=NONE
1930 program_transform_name=s,x,x,
1931 silent=
1932 site=
1933 srcdir=
1934 verbose=
1935 x_includes=NONE
1936 x_libraries=NONE
1938 # Installation directory options.
1939 # These are left unexpanded so users can "make install exec_prefix=/foo"
1940 # and all the variables that are supposed to be based on exec_prefix
1941 # by default will actually change.
1942 # Use braces instead of parens because sh, perl, etc. also accept them.
1943 # (The list follows the same order as the GNU Coding Standards.)
1944 bindir='${exec_prefix}/bin'
1945 sbindir='${exec_prefix}/sbin'
1946 libexecdir='${exec_prefix}/libexec'
1947 datarootdir='${prefix}/share'
1948 datadir='${datarootdir}'
1949 sysconfdir='${prefix}/etc'
1950 sharedstatedir='${prefix}/com'
1951 localstatedir='${prefix}/var'
1952 runstatedir='${localstatedir}/run'
1953 includedir='${prefix}/include'
1954 oldincludedir='/usr/include'
1955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1956 infodir='${datarootdir}/info'
1957 htmldir='${docdir}'
1958 dvidir='${docdir}'
1959 pdfdir='${docdir}'
1960 psdir='${docdir}'
1961 libdir='${exec_prefix}/lib'
1962 localedir='${datarootdir}/locale'
1963 mandir='${datarootdir}/man'
1965 ac_prev=
1966 ac_dashdash=
1967 for ac_option
1969 # If the previous option needs an argument, assign it.
1970 if test -n "$ac_prev"; then
1971 eval $ac_prev=\$ac_option
1972 ac_prev=
1973 continue
1976 case $ac_option in
1977 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1978 *=) ac_optarg= ;;
1979 *) ac_optarg=yes ;;
1980 esac
1982 # Accept the important Cygnus configure options, so we can diagnose typos.
1984 case $ac_dashdash$ac_option in
1986 ac_dashdash=yes ;;
1988 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1989 ac_prev=bindir ;;
1990 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1991 bindir=$ac_optarg ;;
1993 -build | --build | --buil | --bui | --bu)
1994 ac_prev=build_alias ;;
1995 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1996 build_alias=$ac_optarg ;;
1998 -cache-file | --cache-file | --cache-fil | --cache-fi \
1999 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2000 ac_prev=cache_file ;;
2001 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2002 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2003 cache_file=$ac_optarg ;;
2005 --config-cache | -C)
2006 cache_file=config.cache ;;
2008 -datadir | --datadir | --datadi | --datad)
2009 ac_prev=datadir ;;
2010 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2011 datadir=$ac_optarg ;;
2013 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2014 | --dataroo | --dataro | --datar)
2015 ac_prev=datarootdir ;;
2016 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2017 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2018 datarootdir=$ac_optarg ;;
2020 -disable-* | --disable-*)
2021 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2022 # Reject names that are not valid shell variable names.
2023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2024 as_fn_error $? "invalid feature name: $ac_useropt"
2025 ac_useropt_orig=$ac_useropt
2026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2027 case $ac_user_opts in
2029 "enable_$ac_useropt"
2030 "*) ;;
2031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2032 ac_unrecognized_sep=', ';;
2033 esac
2034 eval enable_$ac_useropt=no ;;
2036 -docdir | --docdir | --docdi | --doc | --do)
2037 ac_prev=docdir ;;
2038 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2039 docdir=$ac_optarg ;;
2041 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2042 ac_prev=dvidir ;;
2043 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2044 dvidir=$ac_optarg ;;
2046 -enable-* | --enable-*)
2047 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2048 # Reject names that are not valid shell variable names.
2049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2050 as_fn_error $? "invalid feature name: $ac_useropt"
2051 ac_useropt_orig=$ac_useropt
2052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2053 case $ac_user_opts in
2055 "enable_$ac_useropt"
2056 "*) ;;
2057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2058 ac_unrecognized_sep=', ';;
2059 esac
2060 eval enable_$ac_useropt=\$ac_optarg ;;
2062 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2063 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2064 | --exec | --exe | --ex)
2065 ac_prev=exec_prefix ;;
2066 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2067 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2068 | --exec=* | --exe=* | --ex=*)
2069 exec_prefix=$ac_optarg ;;
2071 -gas | --gas | --ga | --g)
2072 # Obsolete; use --with-gas.
2073 with_gas=yes ;;
2075 -help | --help | --hel | --he | -h)
2076 ac_init_help=long ;;
2077 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2078 ac_init_help=recursive ;;
2079 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2080 ac_init_help=short ;;
2082 -host | --host | --hos | --ho)
2083 ac_prev=host_alias ;;
2084 -host=* | --host=* | --hos=* | --ho=*)
2085 host_alias=$ac_optarg ;;
2087 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2088 ac_prev=htmldir ;;
2089 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2090 | --ht=*)
2091 htmldir=$ac_optarg ;;
2093 -includedir | --includedir | --includedi | --included | --include \
2094 | --includ | --inclu | --incl | --inc)
2095 ac_prev=includedir ;;
2096 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2097 | --includ=* | --inclu=* | --incl=* | --inc=*)
2098 includedir=$ac_optarg ;;
2100 -infodir | --infodir | --infodi | --infod | --info | --inf)
2101 ac_prev=infodir ;;
2102 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2103 infodir=$ac_optarg ;;
2105 -libdir | --libdir | --libdi | --libd)
2106 ac_prev=libdir ;;
2107 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2108 libdir=$ac_optarg ;;
2110 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2111 | --libexe | --libex | --libe)
2112 ac_prev=libexecdir ;;
2113 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2114 | --libexe=* | --libex=* | --libe=*)
2115 libexecdir=$ac_optarg ;;
2117 -localedir | --localedir | --localedi | --localed | --locale)
2118 ac_prev=localedir ;;
2119 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2120 localedir=$ac_optarg ;;
2122 -localstatedir | --localstatedir | --localstatedi | --localstated \
2123 | --localstate | --localstat | --localsta | --localst | --locals)
2124 ac_prev=localstatedir ;;
2125 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2126 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2127 localstatedir=$ac_optarg ;;
2129 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2130 ac_prev=mandir ;;
2131 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2132 mandir=$ac_optarg ;;
2134 -nfp | --nfp | --nf)
2135 # Obsolete; use --without-fp.
2136 with_fp=no ;;
2138 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2139 | --no-cr | --no-c | -n)
2140 no_create=yes ;;
2142 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2143 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2144 no_recursion=yes ;;
2146 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2147 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2148 | --oldin | --oldi | --old | --ol | --o)
2149 ac_prev=oldincludedir ;;
2150 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2151 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2152 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2153 oldincludedir=$ac_optarg ;;
2155 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2156 ac_prev=prefix ;;
2157 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2158 prefix=$ac_optarg ;;
2160 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2161 | --program-pre | --program-pr | --program-p)
2162 ac_prev=program_prefix ;;
2163 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2164 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2165 program_prefix=$ac_optarg ;;
2167 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2168 | --program-suf | --program-su | --program-s)
2169 ac_prev=program_suffix ;;
2170 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2171 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2172 program_suffix=$ac_optarg ;;
2174 -program-transform-name | --program-transform-name \
2175 | --program-transform-nam | --program-transform-na \
2176 | --program-transform-n | --program-transform- \
2177 | --program-transform | --program-transfor \
2178 | --program-transfo | --program-transf \
2179 | --program-trans | --program-tran \
2180 | --progr-tra | --program-tr | --program-t)
2181 ac_prev=program_transform_name ;;
2182 -program-transform-name=* | --program-transform-name=* \
2183 | --program-transform-nam=* | --program-transform-na=* \
2184 | --program-transform-n=* | --program-transform-=* \
2185 | --program-transform=* | --program-transfor=* \
2186 | --program-transfo=* | --program-transf=* \
2187 | --program-trans=* | --program-tran=* \
2188 | --progr-tra=* | --program-tr=* | --program-t=*)
2189 program_transform_name=$ac_optarg ;;
2191 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2192 ac_prev=pdfdir ;;
2193 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2194 pdfdir=$ac_optarg ;;
2196 -psdir | --psdir | --psdi | --psd | --ps)
2197 ac_prev=psdir ;;
2198 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2199 psdir=$ac_optarg ;;
2201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2202 | -silent | --silent | --silen | --sile | --sil)
2203 silent=yes ;;
2205 -runstatedir | --runstatedir | --runstatedi | --runstated \
2206 | --runstate | --runstat | --runsta | --runst | --runs \
2207 | --run | --ru | --r)
2208 ac_prev=runstatedir ;;
2209 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2210 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2211 | --run=* | --ru=* | --r=*)
2212 runstatedir=$ac_optarg ;;
2214 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2215 ac_prev=sbindir ;;
2216 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2217 | --sbi=* | --sb=*)
2218 sbindir=$ac_optarg ;;
2220 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2221 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2222 | --sharedst | --shareds | --shared | --share | --shar \
2223 | --sha | --sh)
2224 ac_prev=sharedstatedir ;;
2225 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2226 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2227 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2228 | --sha=* | --sh=*)
2229 sharedstatedir=$ac_optarg ;;
2231 -site | --site | --sit)
2232 ac_prev=site ;;
2233 -site=* | --site=* | --sit=*)
2234 site=$ac_optarg ;;
2236 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2237 ac_prev=srcdir ;;
2238 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2239 srcdir=$ac_optarg ;;
2241 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2242 | --syscon | --sysco | --sysc | --sys | --sy)
2243 ac_prev=sysconfdir ;;
2244 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2245 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2246 sysconfdir=$ac_optarg ;;
2248 -target | --target | --targe | --targ | --tar | --ta | --t)
2249 ac_prev=target_alias ;;
2250 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2251 target_alias=$ac_optarg ;;
2253 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2254 verbose=yes ;;
2256 -version | --version | --versio | --versi | --vers | -V)
2257 ac_init_version=: ;;
2259 -with-* | --with-*)
2260 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2261 # Reject names that are not valid shell variable names.
2262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2263 as_fn_error $? "invalid package name: $ac_useropt"
2264 ac_useropt_orig=$ac_useropt
2265 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2266 case $ac_user_opts in
2268 "with_$ac_useropt"
2269 "*) ;;
2270 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2271 ac_unrecognized_sep=', ';;
2272 esac
2273 eval with_$ac_useropt=\$ac_optarg ;;
2275 -without-* | --without-*)
2276 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2277 # Reject names that are not valid shell variable names.
2278 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2279 as_fn_error $? "invalid package name: $ac_useropt"
2280 ac_useropt_orig=$ac_useropt
2281 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2282 case $ac_user_opts in
2284 "with_$ac_useropt"
2285 "*) ;;
2286 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2287 ac_unrecognized_sep=', ';;
2288 esac
2289 eval with_$ac_useropt=no ;;
2291 --x)
2292 # Obsolete; use --with-x.
2293 with_x=yes ;;
2295 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2296 | --x-incl | --x-inc | --x-in | --x-i)
2297 ac_prev=x_includes ;;
2298 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2299 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2300 x_includes=$ac_optarg ;;
2302 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2303 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2304 ac_prev=x_libraries ;;
2305 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2306 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2307 x_libraries=$ac_optarg ;;
2309 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2310 Try \`$0 --help' for more information"
2313 *=*)
2314 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2315 # Reject names that are not valid shell variable names.
2316 case $ac_envvar in #(
2317 '' | [0-9]* | *[!_$as_cr_alnum]* )
2318 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2319 esac
2320 eval $ac_envvar=\$ac_optarg
2321 export $ac_envvar ;;
2324 # FIXME: should be removed in autoconf 3.0.
2325 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2326 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2327 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2328 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2331 esac
2332 done
2334 if test -n "$ac_prev"; then
2335 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2336 as_fn_error $? "missing argument to $ac_option"
2339 if test -n "$ac_unrecognized_opts"; then
2340 case $enable_option_checking in
2341 no) ;;
2342 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2343 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2344 esac
2347 # Check all directory arguments for consistency.
2348 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2349 datadir sysconfdir sharedstatedir localstatedir includedir \
2350 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2351 libdir localedir mandir runstatedir
2353 eval ac_val=\$$ac_var
2354 # Remove trailing slashes.
2355 case $ac_val in
2356 */ )
2357 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2358 eval $ac_var=\$ac_val;;
2359 esac
2360 # Be sure to have absolute directory names.
2361 case $ac_val in
2362 [\\/$]* | ?:[\\/]* ) continue;;
2363 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2364 esac
2365 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2366 done
2368 # There might be people who depend on the old broken behavior: `$host'
2369 # used to hold the argument of --host etc.
2370 # FIXME: To remove some day.
2371 build=$build_alias
2372 host=$host_alias
2373 target=$target_alias
2375 # FIXME: To remove some day.
2376 if test "x$host_alias" != x; then
2377 if test "x$build_alias" = x; then
2378 cross_compiling=maybe
2379 elif test "x$build_alias" != "x$host_alias"; then
2380 cross_compiling=yes
2384 ac_tool_prefix=
2385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2387 test "$silent" = yes && exec 6>/dev/null
2390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2391 ac_ls_di=`ls -di .` &&
2392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2393 as_fn_error $? "working directory cannot be determined"
2394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2395 as_fn_error $? "pwd does not report name of working directory"
2398 # Find the source files, if location was not specified.
2399 if test -z "$srcdir"; then
2400 ac_srcdir_defaulted=yes
2401 # Try the directory containing this script, then the parent directory.
2402 ac_confdir=`$as_dirname -- "$as_myself" ||
2403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2404 X"$as_myself" : 'X\(//\)[^/]' \| \
2405 X"$as_myself" : 'X\(//\)$' \| \
2406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2407 $as_echo X"$as_myself" |
2408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2409 s//\1/
2412 /^X\(\/\/\)[^/].*/{
2413 s//\1/
2416 /^X\(\/\/\)$/{
2417 s//\1/
2420 /^X\(\/\).*/{
2421 s//\1/
2424 s/.*/./; q'`
2425 srcdir=$ac_confdir
2426 if test ! -r "$srcdir/$ac_unique_file"; then
2427 srcdir=..
2429 else
2430 ac_srcdir_defaulted=no
2432 if test ! -r "$srcdir/$ac_unique_file"; then
2433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2434 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2437 ac_abs_confdir=`(
2438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2439 pwd)`
2440 # When building in place, set srcdir=.
2441 if test "$ac_abs_confdir" = "$ac_pwd"; then
2442 srcdir=.
2444 # Remove unnecessary trailing slashes from srcdir.
2445 # Double slashes in file names in object file debugging info
2446 # mess up M-x gdb in Emacs.
2447 case $srcdir in
2448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2449 esac
2450 for ac_var in $ac_precious_vars; do
2451 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2452 eval ac_env_${ac_var}_value=\$${ac_var}
2453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2454 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2455 done
2458 # Report the --help message.
2460 if test "$ac_init_help" = "long"; then
2461 # Omit some internal or obsolete options to make the list less imposing.
2462 # This message is too long to be a string in the A/UX 3.1 sh.
2463 cat <<_ACEOF
2464 \`configure' configures Wine 5.9 to adapt to many kinds of systems.
2466 Usage: $0 [OPTION]... [VAR=VALUE]...
2468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2469 VAR=VALUE. See below for descriptions of some of the useful variables.
2471 Defaults for the options are specified in brackets.
2473 Configuration:
2474 -h, --help display this help and exit
2475 --help=short display options specific to this package
2476 --help=recursive display the short help of all the included packages
2477 -V, --version display version information and exit
2478 -q, --quiet, --silent do not print \`checking ...' messages
2479 --cache-file=FILE cache test results in FILE [disabled]
2480 -C, --config-cache alias for \`--cache-file=config.cache'
2481 -n, --no-create do not create output files
2482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2484 Installation directories:
2485 --prefix=PREFIX install architecture-independent files in PREFIX
2486 [$ac_default_prefix]
2487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2488 [PREFIX]
2490 By default, \`make install' will install all the files in
2491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2493 for instance \`--prefix=\$HOME'.
2495 For better control, use the options below.
2497 Fine tuning of the installation directories:
2498 --bindir=DIR user executables [EPREFIX/bin]
2499 --sbindir=DIR system admin executables [EPREFIX/sbin]
2500 --libexecdir=DIR program executables [EPREFIX/libexec]
2501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2504 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2505 --libdir=DIR object code libraries [EPREFIX/lib]
2506 --includedir=DIR C header files [PREFIX/include]
2507 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2508 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2509 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2510 --infodir=DIR info documentation [DATAROOTDIR/info]
2511 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2512 --mandir=DIR man documentation [DATAROOTDIR/man]
2513 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2514 --htmldir=DIR html documentation [DOCDIR]
2515 --dvidir=DIR dvi documentation [DOCDIR]
2516 --pdfdir=DIR pdf documentation [DOCDIR]
2517 --psdir=DIR ps documentation [DOCDIR]
2518 _ACEOF
2520 cat <<\_ACEOF
2522 X features:
2523 --x-includes=DIR X include files are in DIR
2524 --x-libraries=DIR X library files are in DIR
2526 System types:
2527 --build=BUILD configure for building on BUILD [guessed]
2528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2529 _ACEOF
2532 if test -n "$ac_init_help"; then
2533 case $ac_init_help in
2534 short | recursive ) echo "Configuration of Wine 5.9:";;
2535 esac
2536 cat <<\_ACEOF
2538 Optional Features:
2539 --disable-option-checking ignore unrecognized --enable/--with options
2540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2542 --disable-win16 do not include Win16 support
2543 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2544 binaries)
2545 --disable-tests do not build the regression tests
2546 --enable-maintainer-mode
2547 enable maintainer-specific build rules
2548 --enable-werror treat compilation warnings as errors
2549 --disable-largefile omit support for large files
2551 Optional Packages:
2552 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2553 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2554 --without-alsa do not use the Alsa sound support
2555 --without-capi do not use CAPI (ISDN support)
2556 --without-cms do not use CMS (color management support)
2557 --without-coreaudio do not use the CoreAudio sound support
2558 --without-cups do not use CUPS
2559 --without-curses do not use (n)curses
2560 --without-dbus do not use DBus (dynamic device support)
2561 --without-faudio do not use FAudio (XAudio2 support)
2562 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2563 --without-fontconfig do not use fontconfig
2564 --without-freetype do not use the FreeType library
2565 --without-gettext do not use gettext
2566 --with-gettextpo use the GetTextPO library to rebuild po files
2567 --without-gphoto do not use gphoto (Digital Camera support)
2568 --without-glu do not use the GLU library
2569 --without-gnutls do not use GnuTLS (schannel support)
2570 --without-gsm do not use libgsm (GSM 06.10 codec support)
2571 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2572 --without-gstreamer do not use GStreamer (codecs support)
2573 --without-hal do not use HAL (dynamic device support)
2574 --without-inotify do not use inotify (filesystem change notifications)
2575 --without-jpeg do not use JPEG
2576 --without-krb5 do not use krb5 (Kerberos)
2577 --without-ldap do not use LDAP
2578 --without-mingw do not use the MinGW cross-compiler
2579 --without-mpg123 do not use the mpg123 library
2580 --without-netapi do not use the Samba NetAPI library
2581 --without-openal do not use OpenAL
2582 --without-opencl do not use OpenCL
2583 --without-opengl do not use OpenGL
2584 --without-osmesa do not use the OSMesa library
2585 --without-oss do not use the OSS sound support
2586 --without-pcap do not use the Packet Capture library
2587 --without-png do not use PNG
2588 --without-pthread do not use the pthread library
2589 --without-pulse do not use PulseAudio sound support
2590 --without-sane do not use SANE (scanner support)
2591 --without-sdl do not use SDL
2592 --without-tiff do not use TIFF
2593 --without-udev do not use udev (plug and play support)
2594 --without-unwind do not use the libunwind library (exception
2595 handling)
2596 --without-usb do not use the libusb library
2597 --without-v4l2 do not use v4l2 (video capture)
2598 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2599 --without-vulkan do not use Vulkan
2600 --without-xcomposite do not use the Xcomposite extension
2601 --without-xcursor do not use the Xcursor extension
2602 --without-xfixes do not use Xfixes for clipboard change notifications
2603 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2604 --without-xinput do not use the Xinput extension
2605 --without-xinput2 do not use the Xinput 2 extension
2606 --without-xml do not use XML
2607 --without-xrandr do not use Xrandr (multi-monitor support)
2608 --without-xrender do not use the Xrender extension
2609 --without-xshape do not use the Xshape extension
2610 --without-xshm do not use XShm (shared memory extension)
2611 --without-xslt do not use XSLT
2612 --without-xxf86vm do not use XFree video mode extension
2613 --with-wine-tools=DIR use Wine tools from directory DIR
2614 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2615 --with-x use the X Window System
2617 Some influential environment variables:
2618 CC C compiler command
2619 CFLAGS C compiler flags
2620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2621 nonstandard directory <lib dir>
2622 LIBS libraries to pass to the linker, e.g. -l<library>
2623 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2624 you have headers in a nonstandard directory <include dir>
2625 CXX C++ compiler command
2626 CXXFLAGS C++ compiler flags
2627 CPP C preprocessor
2628 OBJC Objective C compiler command
2629 OBJCFLAGS Objective C compiler flags
2630 OBJCPP Objective C preprocessor
2631 XMKMF Path to xmkmf, Makefile generator for X Window System
2632 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2633 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2634 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2635 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2636 INOTIFY_CFLAGS
2637 C compiler flags for libinotify, overriding pkg-config
2638 INOTIFY_LIBS
2639 Linker flags for libinotify, overriding pkg-config
2640 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2641 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2642 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2643 HAL_LIBS Linker flags for hal, overriding pkg-config
2644 GNUTLS_CFLAGS
2645 C compiler flags for gnutls, overriding pkg-config
2646 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2647 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2648 SANE_LIBS Linker flags for libsane, overriding pkg-config
2649 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2650 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2651 GPHOTO2_CFLAGS
2652 C compiler flags for libgphoto2, overriding pkg-config
2653 GPHOTO2_LIBS
2654 Linker flags for libgphoto2, overriding pkg-config
2655 GPHOTO2_PORT_CFLAGS
2656 C compiler flags for libgphoto2_port, overriding pkg-config
2657 GPHOTO2_PORT_LIBS
2658 Linker flags for libgphoto2_port, overriding pkg-config
2659 LCMS2_CFLAGS
2660 C compiler flags for lcms2, overriding pkg-config
2661 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2662 FREETYPE_CFLAGS
2663 C compiler flags for freetype2, overriding pkg-config
2664 FREETYPE_LIBS
2665 Linker flags for freetype2, overriding pkg-config
2666 PULSE_CFLAGS
2667 C compiler flags for libpulse, overriding pkg-config
2668 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2669 GSTREAMER_CFLAGS
2670 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2671 gstreamer-audio-1.0, overriding pkg-config
2672 GSTREAMER_LIBS
2673 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2674 gstreamer-audio-1.0, overriding pkg-config
2675 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2676 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2677 UNWIND_CFLAGS
2678 C compiler flags for libunwind, overriding pkg-config
2679 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2680 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2681 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2682 FAUDIO_CFLAGS
2683 C compiler flags for faudio, overriding pkg-config
2684 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2685 CAPI20_CFLAGS
2686 C compiler flags for capi20, overriding pkg-config
2687 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2688 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2689 CUPS_LIBS Linker flags for cups, overriding pkg-config
2690 FONTCONFIG_CFLAGS
2691 C compiler flags for fontconfig, overriding pkg-config
2692 FONTCONFIG_LIBS
2693 Linker flags for fontconfig, overriding pkg-config
2694 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2695 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2696 GSSAPI_CFLAGS
2697 C compiler flags for krb5-gssapi, overriding pkg-config
2698 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2699 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2700 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2701 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2702 PNG_LIBS Linker flags for libpng, overriding pkg-config
2703 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2704 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2705 MPG123_CFLAGS
2706 C compiler flags for libmpg123, overriding pkg-config
2707 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2708 NETAPI_CFLAGS
2709 C compiler flags for netapi, overriding pkg-config
2710 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2711 VKD3D_CFLAGS
2712 C compiler flags for libvkd3d, overriding pkg-config
2713 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2714 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2715 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2717 Use these variables to override the choices made by `configure' or to help
2718 it to find libraries and programs with nonstandard names/locations.
2720 Report bugs to <wine-devel@winehq.org>.
2721 Wine home page: <https://www.winehq.org>.
2722 _ACEOF
2723 ac_status=$?
2726 if test "$ac_init_help" = "recursive"; then
2727 # If there are subdirs, report their specific --help.
2728 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2729 test -d "$ac_dir" ||
2730 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2731 continue
2732 ac_builddir=.
2734 case "$ac_dir" in
2735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2738 # A ".." for each directory in $ac_dir_suffix.
2739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2740 case $ac_top_builddir_sub in
2741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2743 esac ;;
2744 esac
2745 ac_abs_top_builddir=$ac_pwd
2746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2747 # for backward compatibility:
2748 ac_top_builddir=$ac_top_build_prefix
2750 case $srcdir in
2751 .) # We are building in place.
2752 ac_srcdir=.
2753 ac_top_srcdir=$ac_top_builddir_sub
2754 ac_abs_top_srcdir=$ac_pwd ;;
2755 [\\/]* | ?:[\\/]* ) # Absolute name.
2756 ac_srcdir=$srcdir$ac_dir_suffix;
2757 ac_top_srcdir=$srcdir
2758 ac_abs_top_srcdir=$srcdir ;;
2759 *) # Relative name.
2760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2761 ac_top_srcdir=$ac_top_build_prefix$srcdir
2762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2763 esac
2764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2766 cd "$ac_dir" || { ac_status=$?; continue; }
2767 # Check for guested configure.
2768 if test -f "$ac_srcdir/configure.gnu"; then
2769 echo &&
2770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2771 elif test -f "$ac_srcdir/configure"; then
2772 echo &&
2773 $SHELL "$ac_srcdir/configure" --help=recursive
2774 else
2775 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2776 fi || ac_status=$?
2777 cd "$ac_pwd" || { ac_status=$?; break; }
2778 done
2781 test -n "$ac_init_help" && exit $ac_status
2782 if $ac_init_version; then
2783 cat <<\_ACEOF
2784 Wine configure 5.9
2785 generated by GNU Autoconf 2.69
2787 Copyright (C) 2012 Free Software Foundation, Inc.
2788 This configure script is free software; the Free Software Foundation
2789 gives unlimited permission to copy, distribute and modify it.
2790 _ACEOF
2791 exit
2794 ## ------------------------ ##
2795 ## Autoconf initialization. ##
2796 ## ------------------------ ##
2798 # ac_fn_c_try_compile LINENO
2799 # --------------------------
2800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_c_try_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext
2805 if { { ac_try="$ac_compile"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 $as_echo "$ac_try_echo"; } >&5
2812 (eval "$ac_compile") 2>conftest.err
2813 ac_status=$?
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then :
2824 ac_retval=0
2825 else
2826 $as_echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 ac_retval=1
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status $ac_retval
2834 } # ac_fn_c_try_compile
2836 # ac_fn_cxx_try_compile LINENO
2837 # ----------------------------
2838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2839 ac_fn_cxx_try_compile ()
2841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2842 rm -f conftest.$ac_objext
2843 if { { ac_try="$ac_compile"
2844 case "(($ac_try" in
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2847 esac
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850 (eval "$ac_compile") 2>conftest.err
2851 ac_status=$?
2852 if test -s conftest.err; then
2853 grep -v '^ *+' conftest.err >conftest.er1
2854 cat conftest.er1 >&5
2855 mv -f conftest.er1 conftest.err
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; } && {
2859 test -z "$ac_cxx_werror_flag" ||
2860 test ! -s conftest.err
2861 } && test -s conftest.$ac_objext; then :
2862 ac_retval=0
2863 else
2864 $as_echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.$ac_ext >&5
2867 ac_retval=1
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 as_fn_set_status $ac_retval
2872 } # ac_fn_cxx_try_compile
2874 # ac_fn_c_try_link LINENO
2875 # -----------------------
2876 # Try to link conftest.$ac_ext, and return whether this succeeded.
2877 ac_fn_c_try_link ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 rm -f conftest.$ac_objext conftest$ac_exeext
2881 if { { ac_try="$ac_link"
2882 case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 $as_echo "$ac_try_echo"; } >&5
2888 (eval "$ac_link") 2>conftest.err
2889 ac_status=$?
2890 if test -s conftest.err; then
2891 grep -v '^ *+' conftest.err >conftest.er1
2892 cat conftest.er1 >&5
2893 mv -f conftest.er1 conftest.err
2895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; } && {
2897 test -z "$ac_c_werror_flag" ||
2898 test ! -s conftest.err
2899 } && test -s conftest$ac_exeext && {
2900 test "$cross_compiling" = yes ||
2901 test -x conftest$ac_exeext
2902 }; then :
2903 ac_retval=0
2904 else
2905 $as_echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=1
2910 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2911 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2912 # interfere with the next link command; also delete a directory that is
2913 # left behind by Apple's compiler. We do this before executing the actions.
2914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 as_fn_set_status $ac_retval
2918 } # ac_fn_c_try_link
2920 # ac_fn_c_try_cpp LINENO
2921 # ----------------------
2922 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2923 ac_fn_c_try_cpp ()
2925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2926 if { { ac_try="$ac_cpp conftest.$ac_ext"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932 $as_echo "$ac_try_echo"; } >&5
2933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2934 ac_status=$?
2935 if test -s conftest.err; then
2936 grep -v '^ *+' conftest.err >conftest.er1
2937 cat conftest.er1 >&5
2938 mv -f conftest.er1 conftest.err
2940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 test $ac_status = 0; } > conftest.i && {
2942 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 }; then :
2945 ac_retval=0
2946 else
2947 $as_echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 ac_retval=1
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2953 as_fn_set_status $ac_retval
2955 } # ac_fn_c_try_cpp
2957 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2958 # -------------------------------------------------------
2959 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2960 # the include files in INCLUDES and setting the cache variable VAR
2961 # accordingly.
2962 ac_fn_c_check_header_mongrel ()
2964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2965 if eval \${$3+:} false; then :
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2967 $as_echo_n "checking for $2... " >&6; }
2968 if eval \${$3+:} false; then :
2969 $as_echo_n "(cached) " >&6
2971 eval ac_res=\$$3
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973 $as_echo "$ac_res" >&6; }
2974 else
2975 # Is the header compilable?
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2977 $as_echo_n "checking $2 usability... " >&6; }
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2981 #include <$2>
2982 _ACEOF
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 ac_header_compiler=yes
2985 else
2986 ac_header_compiler=no
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2990 $as_echo "$ac_header_compiler" >&6; }
2992 # Is the header present?
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2994 $as_echo_n "checking $2 presence... " >&6; }
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
2997 #include <$2>
2998 _ACEOF
2999 if ac_fn_c_try_cpp "$LINENO"; then :
3000 ac_header_preproc=yes
3001 else
3002 ac_header_preproc=no
3004 rm -f conftest.err conftest.i conftest.$ac_ext
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3006 $as_echo "$ac_header_preproc" >&6; }
3008 # So? What about this header?
3009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3010 yes:no: )
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3012 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3014 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3016 no:yes:* )
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3018 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3020 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3022 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3024 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3026 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3027 ( $as_echo "## ------------------------------------ ##
3028 ## Report this to wine-devel@winehq.org ##
3029 ## ------------------------------------ ##"
3030 ) | sed "s/^/$as_me: WARNING: /" >&2
3032 esac
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 eval "$3=\$ac_header_compiler"
3040 eval ac_res=\$$3
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3042 $as_echo "$ac_res" >&6; }
3044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3046 } # ac_fn_c_check_header_mongrel
3048 # ac_fn_c_try_run LINENO
3049 # ----------------------
3050 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3051 # that executables *can* be run.
3052 ac_fn_c_try_run ()
3054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3055 if { { ac_try="$ac_link"
3056 case "(($ac_try" in
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3059 esac
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_link") 2>&5
3063 ac_status=$?
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3066 { { case "(($ac_try" in
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3069 esac
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_try") 2>&5
3073 ac_status=$?
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; }; then :
3076 ac_retval=0
3077 else
3078 $as_echo "$as_me: program exited with status $ac_status" >&5
3079 $as_echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3082 ac_retval=$ac_status
3084 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 as_fn_set_status $ac_retval
3088 } # ac_fn_c_try_run
3090 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3091 # -------------------------------------------------------
3092 # Tests whether HEADER exists and can be compiled using the include files in
3093 # INCLUDES, setting the cache variable VAR accordingly.
3094 ac_fn_c_check_header_compile ()
3096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3098 $as_echo_n "checking for $2... " >&6; }
3099 if eval \${$3+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3105 #include <$2>
3106 _ACEOF
3107 if ac_fn_c_try_compile "$LINENO"; then :
3108 eval "$3=yes"
3109 else
3110 eval "$3=no"
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 eval ac_res=\$$3
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 $as_echo "$ac_res" >&6; }
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3119 } # ac_fn_c_check_header_compile
3121 # ac_fn_objc_try_compile LINENO
3122 # -----------------------------
3123 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3124 ac_fn_objc_try_compile ()
3126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3127 rm -f conftest.$ac_objext
3128 if { { ac_try="$ac_compile"
3129 case "(($ac_try" in
3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3131 *) ac_try_echo=$ac_try;;
3132 esac
3133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3134 $as_echo "$ac_try_echo"; } >&5
3135 (eval "$ac_compile") 2>conftest.err
3136 ac_status=$?
3137 if test -s conftest.err; then
3138 grep -v '^ *+' conftest.err >conftest.er1
3139 cat conftest.er1 >&5
3140 mv -f conftest.er1 conftest.err
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; } && {
3144 test -z "$ac_objc_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then :
3147 ac_retval=0
3148 else
3149 $as_echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_retval=1
3154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3155 as_fn_set_status $ac_retval
3157 } # ac_fn_objc_try_compile
3159 # ac_fn_objc_try_cpp LINENO
3160 # -------------------------
3161 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3162 ac_fn_objc_try_cpp ()
3164 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3165 if { { ac_try="$ac_cpp conftest.$ac_ext"
3166 case "(($ac_try" in
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3169 esac
3170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3171 $as_echo "$ac_try_echo"; } >&5
3172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3173 ac_status=$?
3174 if test -s conftest.err; then
3175 grep -v '^ *+' conftest.err >conftest.er1
3176 cat conftest.er1 >&5
3177 mv -f conftest.er1 conftest.err
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; } > conftest.i && {
3181 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3182 test ! -s conftest.err
3183 }; then :
3184 ac_retval=0
3185 else
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3189 ac_retval=1
3191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3192 as_fn_set_status $ac_retval
3194 } # ac_fn_objc_try_cpp
3196 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3197 # ----------------------------------------------------------
3198 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3199 # the include files in INCLUDES and setting the cache variable VAR
3200 # accordingly.
3201 ac_fn_objc_check_header_mongrel ()
3203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3204 if eval \${$3+:} false; then :
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3206 $as_echo_n "checking for $2... " >&6; }
3207 if eval \${$3+:} false; then :
3208 $as_echo_n "(cached) " >&6
3210 eval ac_res=\$$3
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3212 $as_echo "$ac_res" >&6; }
3213 else
3214 # Is the header compilable?
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3216 $as_echo_n "checking $2 usability... " >&6; }
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3220 #include <$2>
3221 _ACEOF
3222 if ac_fn_objc_try_compile "$LINENO"; then :
3223 ac_header_compiler=yes
3224 else
3225 ac_header_compiler=no
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3229 $as_echo "$ac_header_compiler" >&6; }
3231 # Is the header present?
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3233 $as_echo_n "checking $2 presence... " >&6; }
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3236 #include <$2>
3237 _ACEOF
3238 if ac_fn_objc_try_cpp "$LINENO"; then :
3239 ac_header_preproc=yes
3240 else
3241 ac_header_preproc=no
3243 rm -f conftest.err conftest.i conftest.$ac_ext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3245 $as_echo "$ac_header_preproc" >&6; }
3247 # So? What about this header?
3248 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3249 yes:no: )
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3251 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3255 no:yes:* )
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3257 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3259 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3261 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3263 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3265 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3266 ( $as_echo "## ------------------------------------ ##
3267 ## Report this to wine-devel@winehq.org ##
3268 ## ------------------------------------ ##"
3269 ) | sed "s/^/$as_me: WARNING: /" >&2
3271 esac
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3273 $as_echo_n "checking for $2... " >&6; }
3274 if eval \${$3+:} false; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 eval "$3=\$ac_header_compiler"
3279 eval ac_res=\$$3
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3281 $as_echo "$ac_res" >&6; }
3283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3285 } # ac_fn_objc_check_header_mongrel
3287 # ac_fn_c_check_func LINENO FUNC VAR
3288 # ----------------------------------
3289 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3290 ac_fn_c_check_func ()
3292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3294 $as_echo_n "checking for $2... " >&6; }
3295 if eval \${$3+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297 else
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3300 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3302 #define $2 innocuous_$2
3304 /* System header to define __stub macros and hopefully few prototypes,
3305 which can conflict with char $2 (); below.
3306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3307 <limits.h> exists even on freestanding compilers. */
3309 #ifdef __STDC__
3310 # include <limits.h>
3311 #else
3312 # include <assert.h>
3313 #endif
3315 #undef $2
3317 /* Override any GCC internal prototype to avoid an error.
3318 Use char because int might match the return type of a GCC
3319 builtin and then its argument prototype would still apply. */
3320 #ifdef __cplusplus
3321 extern "C"
3322 #endif
3323 char $2 ();
3324 /* The GNU C library defines this for functions which it implements
3325 to always fail with ENOSYS. Some functions are actually named
3326 something starting with __ and the normal name is an alias. */
3327 #if defined __stub_$2 || defined __stub___$2
3328 choke me
3329 #endif
3332 main ()
3334 return $2 ();
3336 return 0;
3338 _ACEOF
3339 if ac_fn_c_try_link "$LINENO"; then :
3340 eval "$3=yes"
3341 else
3342 eval "$3=no"
3344 rm -f core conftest.err conftest.$ac_objext \
3345 conftest$ac_exeext conftest.$ac_ext
3347 eval ac_res=\$$3
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3349 $as_echo "$ac_res" >&6; }
3350 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3352 } # ac_fn_c_check_func
3354 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3355 # ----------------------------------------------------
3356 # Tries to find if the field MEMBER exists in type AGGR, after including
3357 # INCLUDES, setting cache variable VAR accordingly.
3358 ac_fn_c_check_member ()
3360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3362 $as_echo_n "checking for $2.$3... " >&6; }
3363 if eval \${$4+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3370 main ()
3372 static $2 ac_aggr;
3373 if (ac_aggr.$3)
3374 return 0;
3376 return 0;
3378 _ACEOF
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 eval "$4=yes"
3381 else
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3386 main ()
3388 static $2 ac_aggr;
3389 if (sizeof ac_aggr.$3)
3390 return 0;
3392 return 0;
3394 _ACEOF
3395 if ac_fn_c_try_compile "$LINENO"; then :
3396 eval "$4=yes"
3397 else
3398 eval "$4=no"
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3404 eval ac_res=\$$4
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3406 $as_echo "$ac_res" >&6; }
3407 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3409 } # ac_fn_c_check_member
3411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3412 # -------------------------------------------
3413 # Tests whether TYPE exists after having included INCLUDES, setting cache
3414 # variable VAR accordingly.
3415 ac_fn_c_check_type ()
3417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3419 $as_echo_n "checking for $2... " >&6; }
3420 if eval \${$3+:} false; then :
3421 $as_echo_n "(cached) " >&6
3422 else
3423 eval "$3=no"
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3428 main ()
3430 if (sizeof ($2))
3431 return 0;
3433 return 0;
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3441 main ()
3443 if (sizeof (($2)))
3444 return 0;
3446 return 0;
3448 _ACEOF
3449 if ac_fn_c_try_compile "$LINENO"; then :
3451 else
3452 eval "$3=yes"
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 eval ac_res=\$$3
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3460 $as_echo "$ac_res" >&6; }
3461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3463 } # ac_fn_c_check_type
3464 cat >config.log <<_ACEOF
3465 This file contains any messages produced by compilers while
3466 running configure, to aid debugging if configure makes a mistake.
3468 It was created by Wine $as_me 5.9, which was
3469 generated by GNU Autoconf 2.69. Invocation command line was
3471 $ $0 $@
3473 _ACEOF
3474 exec 5>>config.log
3476 cat <<_ASUNAME
3477 ## --------- ##
3478 ## Platform. ##
3479 ## --------- ##
3481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3498 _ASUNAME
3500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3501 for as_dir in $PATH
3503 IFS=$as_save_IFS
3504 test -z "$as_dir" && as_dir=.
3505 $as_echo "PATH: $as_dir"
3506 done
3507 IFS=$as_save_IFS
3509 } >&5
3511 cat >&5 <<_ACEOF
3514 ## ----------- ##
3515 ## Core tests. ##
3516 ## ----------- ##
3518 _ACEOF
3521 # Keep a trace of the command line.
3522 # Strip out --no-create and --no-recursion so they do not pile up.
3523 # Strip out --silent because we don't want to record it for future runs.
3524 # Also quote any args containing shell meta-characters.
3525 # Make two passes to allow for proper duplicate-argument suppression.
3526 ac_configure_args=
3527 ac_configure_args0=
3528 ac_configure_args1=
3529 ac_must_keep_next=false
3530 for ac_pass in 1 2
3532 for ac_arg
3534 case $ac_arg in
3535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3537 | -silent | --silent | --silen | --sile | --sil)
3538 continue ;;
3539 *\'*)
3540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3541 esac
3542 case $ac_pass in
3543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3545 as_fn_append ac_configure_args1 " '$ac_arg'"
3546 if test $ac_must_keep_next = true; then
3547 ac_must_keep_next=false # Got value, back to normal.
3548 else
3549 case $ac_arg in
3550 *=* | --config-cache | -C | -disable-* | --disable-* \
3551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3553 | -with-* | --with-* | -without-* | --without-* | --x)
3554 case "$ac_configure_args0 " in
3555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3556 esac
3558 -* ) ac_must_keep_next=true ;;
3559 esac
3561 as_fn_append ac_configure_args " '$ac_arg'"
3563 esac
3564 done
3565 done
3566 { ac_configure_args0=; unset ac_configure_args0;}
3567 { ac_configure_args1=; unset ac_configure_args1;}
3569 # When interrupted or exit'd, cleanup temporary files, and complete
3570 # config.log. We remove comments because anyway the quotes in there
3571 # would cause problems or look ugly.
3572 # WARNING: Use '\'' to represent an apostrophe within the trap.
3573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3574 trap 'exit_status=$?
3575 # Save into config.log some information that might help in debugging.
3577 echo
3579 $as_echo "## ---------------- ##
3580 ## Cache variables. ##
3581 ## ---------------- ##"
3582 echo
3583 # The following way of writing the cache mishandles newlines in values,
3585 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3586 eval ac_val=\$$ac_var
3587 case $ac_val in #(
3588 *${as_nl}*)
3589 case $ac_var in #(
3590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3592 esac
3593 case $ac_var in #(
3594 _ | IFS | as_nl) ;; #(
3595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3596 *) { eval $ac_var=; unset $ac_var;} ;;
3597 esac ;;
3598 esac
3599 done
3600 (set) 2>&1 |
3601 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3602 *${as_nl}ac_space=\ *)
3603 sed -n \
3604 "s/'\''/'\''\\\\'\'''\''/g;
3605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3606 ;; #(
3608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3610 esac |
3611 sort
3613 echo
3615 $as_echo "## ----------------- ##
3616 ## Output variables. ##
3617 ## ----------------- ##"
3618 echo
3619 for ac_var in $ac_subst_vars
3621 eval ac_val=\$$ac_var
3622 case $ac_val in
3623 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3624 esac
3625 $as_echo "$ac_var='\''$ac_val'\''"
3626 done | sort
3627 echo
3629 if test -n "$ac_subst_files"; then
3630 $as_echo "## ------------------- ##
3631 ## File substitutions. ##
3632 ## ------------------- ##"
3633 echo
3634 for ac_var in $ac_subst_files
3636 eval ac_val=\$$ac_var
3637 case $ac_val in
3638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3639 esac
3640 $as_echo "$ac_var='\''$ac_val'\''"
3641 done | sort
3642 echo
3645 if test -s confdefs.h; then
3646 $as_echo "## ----------- ##
3647 ## confdefs.h. ##
3648 ## ----------- ##"
3649 echo
3650 cat confdefs.h
3651 echo
3653 test "$ac_signal" != 0 &&
3654 $as_echo "$as_me: caught signal $ac_signal"
3655 $as_echo "$as_me: exit $exit_status"
3656 } >&5
3657 rm -f core *.core core.conftest.* &&
3658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3659 exit $exit_status
3661 for ac_signal in 1 2 13 15; do
3662 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3663 done
3664 ac_signal=0
3666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3667 rm -f -r conftest* confdefs.h
3669 $as_echo "/* confdefs.h */" > confdefs.h
3671 # Predefined preprocessor variables.
3673 cat >>confdefs.h <<_ACEOF
3674 #define PACKAGE_NAME "$PACKAGE_NAME"
3675 _ACEOF
3677 cat >>confdefs.h <<_ACEOF
3678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3679 _ACEOF
3681 cat >>confdefs.h <<_ACEOF
3682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3683 _ACEOF
3685 cat >>confdefs.h <<_ACEOF
3686 #define PACKAGE_STRING "$PACKAGE_STRING"
3687 _ACEOF
3689 cat >>confdefs.h <<_ACEOF
3690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3691 _ACEOF
3693 cat >>confdefs.h <<_ACEOF
3694 #define PACKAGE_URL "$PACKAGE_URL"
3695 _ACEOF
3698 # Let the site file select an alternate cache file if it wants to.
3699 # Prefer an explicitly selected file to automatically selected ones.
3700 ac_site_file1=NONE
3701 ac_site_file2=NONE
3702 if test -n "$CONFIG_SITE"; then
3703 # We do not want a PATH search for config.site.
3704 case $CONFIG_SITE in #((
3705 -*) ac_site_file1=./$CONFIG_SITE;;
3706 */*) ac_site_file1=$CONFIG_SITE;;
3707 *) ac_site_file1=./$CONFIG_SITE;;
3708 esac
3709 elif test "x$prefix" != xNONE; then
3710 ac_site_file1=$prefix/share/config.site
3711 ac_site_file2=$prefix/etc/config.site
3712 else
3713 ac_site_file1=$ac_default_prefix/share/config.site
3714 ac_site_file2=$ac_default_prefix/etc/config.site
3716 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3718 test "x$ac_site_file" = xNONE && continue
3719 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3721 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3722 sed 's/^/| /' "$ac_site_file" >&5
3723 . "$ac_site_file" \
3724 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error $? "failed to load site script $ac_site_file
3727 See \`config.log' for more details" "$LINENO" 5; }
3729 done
3731 if test -r "$cache_file"; then
3732 # Some versions of bash will fail to source /dev/null (special files
3733 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3734 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3736 $as_echo "$as_me: loading cache $cache_file" >&6;}
3737 case $cache_file in
3738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3739 *) . "./$cache_file";;
3740 esac
3742 else
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3744 $as_echo "$as_me: creating cache $cache_file" >&6;}
3745 >$cache_file
3748 # Check that the precious variables saved in the cache have kept the same
3749 # value.
3750 ac_cache_corrupted=false
3751 for ac_var in $ac_precious_vars; do
3752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3753 eval ac_new_set=\$ac_env_${ac_var}_set
3754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3755 eval ac_new_val=\$ac_env_${ac_var}_value
3756 case $ac_old_set,$ac_new_set in
3757 set,)
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3760 ac_cache_corrupted=: ;;
3761 ,set)
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3764 ac_cache_corrupted=: ;;
3765 ,);;
3767 if test "x$ac_old_val" != "x$ac_new_val"; then
3768 # differences in whitespace do not lead to failure.
3769 ac_old_val_w=`echo x $ac_old_val`
3770 ac_new_val_w=`echo x $ac_new_val`
3771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3774 ac_cache_corrupted=:
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3778 eval $ac_var=\$ac_old_val
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3784 fi;;
3785 esac
3786 # Pass precious variables to config.status.
3787 if test "$ac_new_set" = set; then
3788 case $ac_new_val in
3789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3790 *) ac_arg=$ac_var=$ac_new_val ;;
3791 esac
3792 case " $ac_configure_args " in
3793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3794 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3795 esac
3797 done
3798 if $ac_cache_corrupted; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3803 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3805 ## -------------------- ##
3806 ## Main body of script. ##
3807 ## -------------------- ##
3809 ac_ext=c
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817 ac_config_headers="$ac_config_headers include/config.h"
3819 ac_aux_dir=
3820 for ac_dir in tools "$srcdir"/tools; do
3821 if test -f "$ac_dir/install-sh"; then
3822 ac_aux_dir=$ac_dir
3823 ac_install_sh="$ac_aux_dir/install-sh -c"
3824 break
3825 elif test -f "$ac_dir/install.sh"; then
3826 ac_aux_dir=$ac_dir
3827 ac_install_sh="$ac_aux_dir/install.sh -c"
3828 break
3829 elif test -f "$ac_dir/shtool"; then
3830 ac_aux_dir=$ac_dir
3831 ac_install_sh="$ac_aux_dir/shtool install -c"
3832 break
3834 done
3835 if test -z "$ac_aux_dir"; then
3836 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3839 # These three variables are undocumented and unsupported,
3840 # and are intended to be withdrawn in a future Autoconf release.
3841 # They can cause serious problems if a builder's source tree is in a directory
3842 # whose full name contains unusual characters.
3843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3849 libwine_version="1.0"
3853 # Check whether --enable-win16 was given.
3854 if test "${enable_win16+set}" = set; then :
3855 enableval=$enable_win16;
3858 # Check whether --enable-win64 was given.
3859 if test "${enable_win64+set}" = set; then :
3860 enableval=$enable_win64;
3863 # Check whether --enable-tests was given.
3864 if test "${enable_tests+set}" = set; then :
3865 enableval=$enable_tests;
3868 # Check whether --enable-maintainer-mode was given.
3869 if test "${enable_maintainer_mode+set}" = set; then :
3870 enableval=$enable_maintainer_mode;
3873 # Check whether --enable-werror was given.
3874 if test "${enable_werror+set}" = set; then :
3875 enableval=$enable_werror;
3880 # Check whether --with-alsa was given.
3881 if test "${with_alsa+set}" = set; then :
3882 withval=$with_alsa;
3886 # Check whether --with-capi was given.
3887 if test "${with_capi+set}" = set; then :
3888 withval=$with_capi;
3892 # Check whether --with-cms was given.
3893 if test "${with_cms+set}" = set; then :
3894 withval=$with_cms;
3898 # Check whether --with-coreaudio was given.
3899 if test "${with_coreaudio+set}" = set; then :
3900 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3904 # Check whether --with-cups was given.
3905 if test "${with_cups+set}" = set; then :
3906 withval=$with_cups;
3910 # Check whether --with-curses was given.
3911 if test "${with_curses+set}" = set; then :
3912 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3916 # Check whether --with-dbus was given.
3917 if test "${with_dbus+set}" = set; then :
3918 withval=$with_dbus;
3922 # Check whether --with-faudio was given.
3923 if test "${with_faudio+set}" = set; then :
3924 withval=$with_faudio;
3928 # Check whether --with-float-abi was given.
3929 if test "${with_float_abi+set}" = set; then :
3930 withval=$with_float_abi;
3934 # Check whether --with-fontconfig was given.
3935 if test "${with_fontconfig+set}" = set; then :
3936 withval=$with_fontconfig;
3940 # Check whether --with-freetype was given.
3941 if test "${with_freetype+set}" = set; then :
3942 withval=$with_freetype;
3946 # Check whether --with-gettext was given.
3947 if test "${with_gettext+set}" = set; then :
3948 withval=$with_gettext;
3952 # Check whether --with-gettextpo was given.
3953 if test "${with_gettextpo+set}" = set; then :
3954 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3958 # Check whether --with-gphoto was given.
3959 if test "${with_gphoto+set}" = set; then :
3960 withval=$with_gphoto;
3964 # Check whether --with-glu was given.
3965 if test "${with_glu+set}" = set; then :
3966 withval=$with_glu;
3970 # Check whether --with-gnutls was given.
3971 if test "${with_gnutls+set}" = set; then :
3972 withval=$with_gnutls;
3976 # Check whether --with-gsm was given.
3977 if test "${with_gsm+set}" = set; then :
3978 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3982 # Check whether --with-gssapi was given.
3983 if test "${with_gssapi+set}" = set; then :
3984 withval=$with_gssapi;
3988 # Check whether --with-gstreamer was given.
3989 if test "${with_gstreamer+set}" = set; then :
3990 withval=$with_gstreamer;
3994 # Check whether --with-hal was given.
3995 if test "${with_hal+set}" = set; then :
3996 withval=$with_hal;
4000 # Check whether --with-inotify was given.
4001 if test "${with_inotify+set}" = set; then :
4002 withval=$with_inotify;
4006 # Check whether --with-jpeg was given.
4007 if test "${with_jpeg+set}" = set; then :
4008 withval=$with_jpeg;
4012 # Check whether --with-krb5 was given.
4013 if test "${with_krb5+set}" = set; then :
4014 withval=$with_krb5;
4018 # Check whether --with-ldap was given.
4019 if test "${with_ldap+set}" = set; then :
4020 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4024 # Check whether --with-mingw was given.
4025 if test "${with_mingw+set}" = set; then :
4026 withval=$with_mingw;
4030 # Check whether --with-mpg123 was given.
4031 if test "${with_mpg123+set}" = set; then :
4032 withval=$with_mpg123;
4036 # Check whether --with-netapi was given.
4037 if test "${with_netapi+set}" = set; then :
4038 withval=$with_netapi;
4042 # Check whether --with-openal was given.
4043 if test "${with_openal+set}" = set; then :
4044 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4048 # Check whether --with-opencl was given.
4049 if test "${with_opencl+set}" = set; then :
4050 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4054 # Check whether --with-opengl was given.
4055 if test "${with_opengl+set}" = set; then :
4056 withval=$with_opengl;
4060 # Check whether --with-osmesa was given.
4061 if test "${with_osmesa+set}" = set; then :
4062 withval=$with_osmesa;
4066 # Check whether --with-oss was given.
4067 if test "${with_oss+set}" = set; then :
4068 withval=$with_oss;
4072 # Check whether --with-pcap was given.
4073 if test "${with_pcap+set}" = set; then :
4074 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4078 # Check whether --with-png was given.
4079 if test "${with_png+set}" = set; then :
4080 withval=$with_png;
4084 # Check whether --with-pthread was given.
4085 if test "${with_pthread+set}" = set; then :
4086 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4090 # Check whether --with-pulse was given.
4091 if test "${with_pulse+set}" = set; then :
4092 withval=$with_pulse;
4096 # Check whether --with-sane was given.
4097 if test "${with_sane+set}" = set; then :
4098 withval=$with_sane;
4102 # Check whether --with-sdl was given.
4103 if test "${with_sdl+set}" = set; then :
4104 withval=$with_sdl;
4108 # Check whether --with-tiff was given.
4109 if test "${with_tiff+set}" = set; then :
4110 withval=$with_tiff;
4114 # Check whether --with-udev was given.
4115 if test "${with_udev+set}" = set; then :
4116 withval=$with_udev;
4120 # Check whether --with-unwind was given.
4121 if test "${with_unwind+set}" = set; then :
4122 withval=$with_unwind;
4126 # Check whether --with-usb was given.
4127 if test "${with_usb+set}" = set; then :
4128 withval=$with_usb;
4132 # Check whether --with-v4l2 was given.
4133 if test "${with_v4l2+set}" = set; then :
4134 withval=$with_v4l2;
4138 # Check whether --with-vkd3d was given.
4139 if test "${with_vkd3d+set}" = set; then :
4140 withval=$with_vkd3d;
4144 # Check whether --with-vulkan was given.
4145 if test "${with_vulkan+set}" = set; then :
4146 withval=$with_vulkan;
4150 # Check whether --with-xcomposite was given.
4151 if test "${with_xcomposite+set}" = set; then :
4152 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4156 # Check whether --with-xcursor was given.
4157 if test "${with_xcursor+set}" = set; then :
4158 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4162 # Check whether --with-xfixes was given.
4163 if test "${with_xfixes+set}" = set; then :
4164 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4168 # Check whether --with-xinerama was given.
4169 if test "${with_xinerama+set}" = set; then :
4170 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4174 # Check whether --with-xinput was given.
4175 if test "${with_xinput+set}" = set; then :
4176 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4180 # Check whether --with-xinput2 was given.
4181 if test "${with_xinput2+set}" = set; then :
4182 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4186 # Check whether --with-xml was given.
4187 if test "${with_xml+set}" = set; then :
4188 withval=$with_xml;
4192 # Check whether --with-xrandr was given.
4193 if test "${with_xrandr+set}" = set; then :
4194 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4198 # Check whether --with-xrender was given.
4199 if test "${with_xrender+set}" = set; then :
4200 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4204 # Check whether --with-xshape was given.
4205 if test "${with_xshape+set}" = set; then :
4206 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4210 # Check whether --with-xshm was given.
4211 if test "${with_xshm+set}" = set; then :
4212 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4216 # Check whether --with-xslt was given.
4217 if test "${with_xslt+set}" = set; then :
4218 withval=$with_xslt;
4222 # Check whether --with-xxf86vm was given.
4223 if test "${with_xxf86vm+set}" = set; then :
4224 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
4229 # Check whether --with-wine-tools was given.
4230 if test "${with_wine_tools+set}" = set; then :
4231 withval=$with_wine_tools;
4235 # Check whether --with-wine64 was given.
4236 if test "${with_wine64+set}" = set; then :
4237 withval=$with_wine64;
4241 # Make sure we can run config.sub.
4242 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4243 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4246 $as_echo_n "checking build system type... " >&6; }
4247 if ${ac_cv_build+:} false; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_build_alias=$build_alias
4251 test "x$ac_build_alias" = x &&
4252 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4253 test "x$ac_build_alias" = x &&
4254 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4255 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4256 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4260 $as_echo "$ac_cv_build" >&6; }
4261 case $ac_cv_build in
4262 *-*-*) ;;
4263 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4264 esac
4265 build=$ac_cv_build
4266 ac_save_IFS=$IFS; IFS='-'
4267 set x $ac_cv_build
4268 shift
4269 build_cpu=$1
4270 build_vendor=$2
4271 shift; shift
4272 # Remember, the first character of IFS is used to create $*,
4273 # except with old shells:
4274 build_os=$*
4275 IFS=$ac_save_IFS
4276 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4280 $as_echo_n "checking host system type... " >&6; }
4281 if ${ac_cv_host+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284 if test "x$host_alias" = x; then
4285 ac_cv_host=$ac_cv_build
4286 else
4287 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4288 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4293 $as_echo "$ac_cv_host" >&6; }
4294 case $ac_cv_host in
4295 *-*-*) ;;
4296 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4297 esac
4298 host=$ac_cv_host
4299 ac_save_IFS=$IFS; IFS='-'
4300 set x $ac_cv_host
4301 shift
4302 host_cpu=$1
4303 host_vendor=$2
4304 shift; shift
4305 # Remember, the first character of IFS is used to create $*,
4306 # except with old shells:
4307 host_os=$*
4308 IFS=$ac_save_IFS
4309 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4316 set x ${MAKE-make}
4317 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4318 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 cat >conftest.make <<\_ACEOF
4322 SHELL = /bin/sh
4323 all:
4324 @echo '@@@%%%=$(MAKE)=@@@%%%'
4325 _ACEOF
4326 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4328 *@@@%%%=?*=@@@%%%*)
4329 eval ac_cv_prog_make_${ac_make}_set=yes;;
4331 eval ac_cv_prog_make_${ac_make}_set=no;;
4332 esac
4333 rm -f conftest.make
4335 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4337 $as_echo "yes" >&6; }
4338 SET_MAKE=
4339 else
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4342 SET_MAKE="MAKE=${MAKE-make}"
4345 ac_ext=c
4346 ac_cpp='$CPP $CPPFLAGS'
4347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 if test -n "$ac_tool_prefix"; then
4351 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4352 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_CC+:} false; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 if test -n "$CC"; then
4359 ac_cv_prog_CC="$CC" # Let the user override the test.
4360 else
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 for as_dir in $PATH
4364 IFS=$as_save_IFS
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 break 2
4372 done
4373 done
4374 IFS=$as_save_IFS
4378 CC=$ac_cv_prog_CC
4379 if test -n "$CC"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4381 $as_echo "$CC" >&6; }
4382 else
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4389 if test -z "$ac_cv_prog_CC"; then
4390 ac_ct_CC=$CC
4391 # Extract the first word of "gcc", so it can be a program name with args.
4392 set dummy gcc; ac_word=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 if test -n "$ac_ct_CC"; then
4399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4400 else
4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 for as_dir in $PATH
4404 IFS=$as_save_IFS
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4408 ac_cv_prog_ac_ct_CC="gcc"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 break 2
4412 done
4413 done
4414 IFS=$as_save_IFS
4418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4419 if test -n "$ac_ct_CC"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4421 $as_echo "$ac_ct_CC" >&6; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4427 if test "x$ac_ct_CC" = x; then
4428 CC=""
4429 else
4430 case $cross_compiling:$ac_tool_warned in
4431 yes:)
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned=yes ;;
4435 esac
4436 CC=$ac_ct_CC
4438 else
4439 CC="$ac_cv_prog_CC"
4442 if test -z "$CC"; then
4443 if test -n "$ac_tool_prefix"; then
4444 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4445 set dummy ${ac_tool_prefix}cc; ac_word=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if ${ac_cv_prog_CC+:} false; then :
4449 $as_echo_n "(cached) " >&6
4450 else
4451 if test -n "$CC"; then
4452 ac_cv_prog_CC="$CC" # Let the user override the test.
4453 else
4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 for as_dir in $PATH
4457 IFS=$as_save_IFS
4458 test -z "$as_dir" && as_dir=.
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_prog_CC="${ac_tool_prefix}cc"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 break 2
4465 done
4466 done
4467 IFS=$as_save_IFS
4471 CC=$ac_cv_prog_CC
4472 if test -n "$CC"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4474 $as_echo "$CC" >&6; }
4475 else
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4483 if test -z "$CC"; then
4484 # Extract the first word of "cc", so it can be a program name with args.
4485 set dummy cc; ac_word=$2
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4487 $as_echo_n "checking for $ac_word... " >&6; }
4488 if ${ac_cv_prog_CC+:} false; then :
4489 $as_echo_n "(cached) " >&6
4490 else
4491 if test -n "$CC"; then
4492 ac_cv_prog_CC="$CC" # Let the user override the test.
4493 else
4494 ac_prog_rejected=no
4495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 for as_dir in $PATH
4498 IFS=$as_save_IFS
4499 test -z "$as_dir" && as_dir=.
4500 for ac_exec_ext in '' $ac_executable_extensions; do
4501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4502 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4503 ac_prog_rejected=yes
4504 continue
4506 ac_cv_prog_CC="cc"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4514 if test $ac_prog_rejected = yes; then
4515 # We found a bogon in the path, so make sure we never use it.
4516 set dummy $ac_cv_prog_CC
4517 shift
4518 if test $# != 0; then
4519 # We chose a different compiler from the bogus one.
4520 # However, it has the same basename, so the bogon will be chosen
4521 # first if we set CC to just the basename; use the full file name.
4522 shift
4523 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4528 CC=$ac_cv_prog_CC
4529 if test -n "$CC"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4531 $as_echo "$CC" >&6; }
4532 else
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4539 if test -z "$CC"; then
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in cl.exe
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_CC+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 if test -n "$CC"; then
4551 ac_cv_prog_CC="$CC" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4564 done
4565 done
4566 IFS=$as_save_IFS
4570 CC=$ac_cv_prog_CC
4571 if test -n "$CC"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4573 $as_echo "$CC" >&6; }
4574 else
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4580 test -n "$CC" && break
4581 done
4583 if test -z "$CC"; then
4584 ac_ct_CC=$CC
4585 for ac_prog in cl.exe
4587 # Extract the first word of "$ac_prog", so it can be a program name with args.
4588 set dummy $ac_prog; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 if test -n "$ac_ct_CC"; then
4595 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_CC="$ac_prog"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4608 done
4609 done
4610 IFS=$as_save_IFS
4614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4615 if test -n "$ac_ct_CC"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4617 $as_echo "$ac_ct_CC" >&6; }
4618 else
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4624 test -n "$ac_ct_CC" && break
4625 done
4627 if test "x$ac_ct_CC" = x; then
4628 CC=""
4629 else
4630 case $cross_compiling:$ac_tool_warned in
4631 yes:)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4635 esac
4636 CC=$ac_ct_CC
4643 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4645 as_fn_error $? "no acceptable C compiler found in \$PATH
4646 See \`config.log' for more details" "$LINENO" 5; }
4648 # Provide some information about the compiler.
4649 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4650 set X $ac_compile
4651 ac_compiler=$2
4652 for ac_option in --version -v -V -qversion; do
4653 { { ac_try="$ac_compiler $ac_option >&5"
4654 case "(($ac_try" in
4655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4656 *) ac_try_echo=$ac_try;;
4657 esac
4658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4659 $as_echo "$ac_try_echo"; } >&5
4660 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4661 ac_status=$?
4662 if test -s conftest.err; then
4663 sed '10a\
4664 ... rest of stderr output deleted ...
4665 10q' conftest.err >conftest.er1
4666 cat conftest.er1 >&5
4668 rm -f conftest.er1 conftest.err
4669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4670 test $ac_status = 0; }
4671 done
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4677 main ()
4681 return 0;
4683 _ACEOF
4684 ac_clean_files_save=$ac_clean_files
4685 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4686 # Try to create an executable without -o first, disregard a.out.
4687 # It will help us diagnose broken compilers, and finding out an intuition
4688 # of exeext.
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4690 $as_echo_n "checking whether the C compiler works... " >&6; }
4691 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4693 # The possible output files:
4694 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4696 ac_rmfiles=
4697 for ac_file in $ac_files
4699 case $ac_file in
4700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4701 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4702 esac
4703 done
4704 rm -f $ac_rmfiles
4706 if { { ac_try="$ac_link_default"
4707 case "(($ac_try" in
4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4710 esac
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_link_default") 2>&5
4714 ac_status=$?
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }; then :
4717 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4718 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4719 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4720 # so that the user can short-circuit this test for compilers unknown to
4721 # Autoconf.
4722 for ac_file in $ac_files ''
4724 test -f "$ac_file" || continue
4725 case $ac_file in
4726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4728 [ab].out )
4729 # We found the default executable, but exeext='' is most
4730 # certainly right.
4731 break;;
4732 *.* )
4733 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4734 then :; else
4735 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4737 # We set ac_cv_exeext here because the later test for it is not
4738 # safe: cross compilers may not add the suffix if given an `-o'
4739 # argument, so we may need to know it at that point already.
4740 # Even if this section looks crufty: it has the advantage of
4741 # actually working.
4742 break;;
4744 break;;
4745 esac
4746 done
4747 test "$ac_cv_exeext" = no && ac_cv_exeext=
4749 else
4750 ac_file=''
4752 if test -z "$ac_file"; then :
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4755 $as_echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4760 as_fn_error 77 "C compiler cannot create executables
4761 See \`config.log' for more details" "$LINENO" 5; }
4762 else
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4764 $as_echo "yes" >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4767 $as_echo_n "checking for C compiler default output file name... " >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4769 $as_echo "$ac_file" >&6; }
4770 ac_exeext=$ac_cv_exeext
4772 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4773 ac_clean_files=$ac_clean_files_save
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4775 $as_echo_n "checking for suffix of executables... " >&6; }
4776 if { { ac_try="$ac_link"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782 $as_echo "$ac_try_echo"; } >&5
4783 (eval "$ac_link") 2>&5
4784 ac_status=$?
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }; then :
4787 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4788 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4789 # work properly (i.e., refer to `conftest.exe'), while it won't with
4790 # `rm'.
4791 for ac_file in conftest.exe conftest conftest.*; do
4792 test -f "$ac_file" || continue
4793 case $ac_file in
4794 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4795 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4796 break;;
4797 * ) break;;
4798 esac
4799 done
4800 else
4801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4803 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4804 See \`config.log' for more details" "$LINENO" 5; }
4806 rm -f conftest conftest$ac_cv_exeext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4808 $as_echo "$ac_cv_exeext" >&6; }
4810 rm -f conftest.$ac_ext
4811 EXEEXT=$ac_cv_exeext
4812 ac_exeext=$EXEEXT
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4815 #include <stdio.h>
4817 main ()
4819 FILE *f = fopen ("conftest.out", "w");
4820 return ferror (f) || fclose (f) != 0;
4823 return 0;
4825 _ACEOF
4826 ac_clean_files="$ac_clean_files conftest.out"
4827 # Check that the compiler produces executables we can run. If not, either
4828 # the compiler is broken, or we cross compile.
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4830 $as_echo_n "checking whether we are cross compiling... " >&6; }
4831 if test "$cross_compiling" != yes; then
4832 { { ac_try="$ac_link"
4833 case "(($ac_try" in
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4836 esac
4837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4838 $as_echo "$ac_try_echo"; } >&5
4839 (eval "$ac_link") 2>&5
4840 ac_status=$?
4841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4842 test $ac_status = 0; }
4843 if { ac_try='./conftest$ac_cv_exeext'
4844 { { case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4847 esac
4848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4849 $as_echo "$ac_try_echo"; } >&5
4850 (eval "$ac_try") 2>&5
4851 ac_status=$?
4852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4853 test $ac_status = 0; }; }; then
4854 cross_compiling=no
4855 else
4856 if test "$cross_compiling" = maybe; then
4857 cross_compiling=yes
4858 else
4859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4861 as_fn_error $? "cannot run C compiled programs.
4862 If you meant to cross compile, use \`--host'.
4863 See \`config.log' for more details" "$LINENO" 5; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4868 $as_echo "$cross_compiling" >&6; }
4870 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4871 ac_clean_files=$ac_clean_files_save
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4873 $as_echo_n "checking for suffix of object files... " >&6; }
4874 if ${ac_cv_objext+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4881 main ()
4885 return 0;
4887 _ACEOF
4888 rm -f conftest.o conftest.obj
4889 if { { ac_try="$ac_compile"
4890 case "(($ac_try" in
4891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4893 esac
4894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4895 $as_echo "$ac_try_echo"; } >&5
4896 (eval "$ac_compile") 2>&5
4897 ac_status=$?
4898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4899 test $ac_status = 0; }; then :
4900 for ac_file in conftest.o conftest.obj conftest.*; do
4901 test -f "$ac_file" || continue;
4902 case $ac_file in
4903 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4904 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4905 break;;
4906 esac
4907 done
4908 else
4909 $as_echo "$as_me: failed program was:" >&5
4910 sed 's/^/| /' conftest.$ac_ext >&5
4912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4914 as_fn_error $? "cannot compute suffix of object files: cannot compile
4915 See \`config.log' for more details" "$LINENO" 5; }
4917 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4920 $as_echo "$ac_cv_objext" >&6; }
4921 OBJEXT=$ac_cv_objext
4922 ac_objext=$OBJEXT
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4924 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4925 if ${ac_cv_c_compiler_gnu+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4932 main ()
4934 #ifndef __GNUC__
4935 choke me
4936 #endif
4939 return 0;
4941 _ACEOF
4942 if ac_fn_c_try_compile "$LINENO"; then :
4943 ac_compiler_gnu=yes
4944 else
4945 ac_compiler_gnu=no
4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4952 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4953 if test $ac_compiler_gnu = yes; then
4954 GCC=yes
4955 else
4956 GCC=
4958 ac_test_CFLAGS=${CFLAGS+set}
4959 ac_save_CFLAGS=$CFLAGS
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4961 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4962 if ${ac_cv_prog_cc_g+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 ac_save_c_werror_flag=$ac_c_werror_flag
4966 ac_c_werror_flag=yes
4967 ac_cv_prog_cc_g=no
4968 CFLAGS="-g"
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_compile "$LINENO"; then :
4981 ac_cv_prog_cc_g=yes
4982 else
4983 CFLAGS=""
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h. */
4988 main ()
4992 return 0;
4994 _ACEOF
4995 if ac_fn_c_try_compile "$LINENO"; then :
4997 else
4998 ac_c_werror_flag=$ac_save_c_werror_flag
4999 CFLAGS="-g"
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5004 main ()
5008 return 0;
5010 _ACEOF
5011 if ac_fn_c_try_compile "$LINENO"; then :
5012 ac_cv_prog_cc_g=yes
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 ac_c_werror_flag=$ac_save_c_werror_flag
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5022 $as_echo "$ac_cv_prog_cc_g" >&6; }
5023 if test "$ac_test_CFLAGS" = set; then
5024 CFLAGS=$ac_save_CFLAGS
5025 elif test $ac_cv_prog_cc_g = yes; then
5026 if test "$GCC" = yes; then
5027 CFLAGS="-g -O2"
5028 else
5029 CFLAGS="-g"
5031 else
5032 if test "$GCC" = yes; then
5033 CFLAGS="-O2"
5034 else
5035 CFLAGS=
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5039 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5040 if ${ac_cv_prog_cc_c89+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 ac_cv_prog_cc_c89=no
5044 ac_save_CC=$CC
5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5047 #include <stdarg.h>
5048 #include <stdio.h>
5049 struct stat;
5050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5051 struct buf { int x; };
5052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5053 static char *e (p, i)
5054 char **p;
5055 int i;
5057 return p[i];
5059 static char *f (char * (*g) (char **, int), char **p, ...)
5061 char *s;
5062 va_list v;
5063 va_start (v,p);
5064 s = g (p, va_arg (v,int));
5065 va_end (v);
5066 return s;
5069 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5070 function prototypes and stuff, but not '\xHH' hex character constants.
5071 These don't provoke an error unfortunately, instead are silently treated
5072 as 'x'. The following induces an error, until -std is added to get
5073 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5074 array size at least. It's necessary to write '\x00'==0 to get something
5075 that's true only with -std. */
5076 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5078 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5079 inside strings and character constants. */
5080 #define FOO(x) 'x'
5081 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5083 int test (int i, double x);
5084 struct s1 {int (*f) (int a);};
5085 struct s2 {int (*f) (double a);};
5086 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5087 int argc;
5088 char **argv;
5090 main ()
5092 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5094 return 0;
5096 _ACEOF
5097 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5098 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5100 CC="$ac_save_CC $ac_arg"
5101 if ac_fn_c_try_compile "$LINENO"; then :
5102 ac_cv_prog_cc_c89=$ac_arg
5104 rm -f core conftest.err conftest.$ac_objext
5105 test "x$ac_cv_prog_cc_c89" != "xno" && break
5106 done
5107 rm -f conftest.$ac_ext
5108 CC=$ac_save_CC
5111 # AC_CACHE_VAL
5112 case "x$ac_cv_prog_cc_c89" in
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5115 $as_echo "none needed" >&6; } ;;
5116 xno)
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5118 $as_echo "unsupported" >&6; } ;;
5120 CC="$CC $ac_cv_prog_cc_c89"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5122 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5123 esac
5124 if test "x$ac_cv_prog_cc_c89" != xno; then :
5128 ac_ext=c
5129 ac_cpp='$CPP $CPPFLAGS'
5130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134 ac_ext=cpp
5135 ac_cpp='$CXXCPP $CPPFLAGS'
5136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5139 if test -z "$CXX"; then
5140 if test -n "$CCC"; then
5141 CXX=$CCC
5142 else
5143 if test -n "$ac_tool_prefix"; then
5144 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_CXX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$CXX"; then
5154 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 CXX=$ac_cv_prog_CXX
5174 if test -n "$CXX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5176 $as_echo "$CXX" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$CXX" && break
5184 done
5186 if test -z "$CXX"; then
5187 ac_ct_CXX=$CXX
5188 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5190 # Extract the first word of "$ac_prog", so it can be a program name with args.
5191 set dummy $ac_prog; ac_word=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 if test -n "$ac_ct_CXX"; then
5198 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5199 else
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 for as_dir in $PATH
5203 IFS=$as_save_IFS
5204 test -z "$as_dir" && as_dir=.
5205 for ac_exec_ext in '' $ac_executable_extensions; do
5206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5207 ac_cv_prog_ac_ct_CXX="$ac_prog"
5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 break 2
5211 done
5212 done
5213 IFS=$as_save_IFS
5217 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5218 if test -n "$ac_ct_CXX"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5220 $as_echo "$ac_ct_CXX" >&6; }
5221 else
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5227 test -n "$ac_ct_CXX" && break
5228 done
5230 if test "x$ac_ct_CXX" = x; then
5231 CXX="g++"
5232 else
5233 case $cross_compiling:$ac_tool_warned in
5234 yes:)
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5237 ac_tool_warned=yes ;;
5238 esac
5239 CXX=$ac_ct_CXX
5245 # Provide some information about the compiler.
5246 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5247 set X $ac_compile
5248 ac_compiler=$2
5249 for ac_option in --version -v -V -qversion; do
5250 { { ac_try="$ac_compiler $ac_option >&5"
5251 case "(($ac_try" in
5252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5253 *) ac_try_echo=$ac_try;;
5254 esac
5255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5256 $as_echo "$ac_try_echo"; } >&5
5257 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5258 ac_status=$?
5259 if test -s conftest.err; then
5260 sed '10a\
5261 ... rest of stderr output deleted ...
5262 10q' conftest.err >conftest.er1
5263 cat conftest.er1 >&5
5265 rm -f conftest.er1 conftest.err
5266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5267 test $ac_status = 0; }
5268 done
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5271 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5272 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5279 main ()
5281 #ifndef __GNUC__
5282 choke me
5283 #endif
5286 return 0;
5288 _ACEOF
5289 if ac_fn_cxx_try_compile "$LINENO"; then :
5290 ac_compiler_gnu=yes
5291 else
5292 ac_compiler_gnu=no
5294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5299 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5300 if test $ac_compiler_gnu = yes; then
5301 GXX=yes
5302 else
5303 GXX=
5305 ac_test_CXXFLAGS=${CXXFLAGS+set}
5306 ac_save_CXXFLAGS=$CXXFLAGS
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5308 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5309 if ${ac_cv_prog_cxx_g+:} false; then :
5310 $as_echo_n "(cached) " >&6
5311 else
5312 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5313 ac_cxx_werror_flag=yes
5314 ac_cv_prog_cxx_g=no
5315 CXXFLAGS="-g"
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main ()
5324 return 0;
5326 _ACEOF
5327 if ac_fn_cxx_try_compile "$LINENO"; then :
5328 ac_cv_prog_cxx_g=yes
5329 else
5330 CXXFLAGS=""
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5335 main ()
5339 return 0;
5341 _ACEOF
5342 if ac_fn_cxx_try_compile "$LINENO"; then :
5344 else
5345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5346 CXXFLAGS="-g"
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5351 main ()
5355 return 0;
5357 _ACEOF
5358 if ac_fn_cxx_try_compile "$LINENO"; then :
5359 ac_cv_prog_cxx_g=yes
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5366 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5369 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5370 if test "$ac_test_CXXFLAGS" = set; then
5371 CXXFLAGS=$ac_save_CXXFLAGS
5372 elif test $ac_cv_prog_cxx_g = yes; then
5373 if test "$GXX" = yes; then
5374 CXXFLAGS="-g -O2"
5375 else
5376 CXXFLAGS="-g"
5378 else
5379 if test "$GXX" = yes; then
5380 CXXFLAGS="-O2"
5381 else
5382 CXXFLAGS=
5385 ac_ext=c
5386 ac_cpp='$CPP $CPPFLAGS'
5387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_CPPBIN+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$CPPBIN"; then
5400 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 CPPBIN=$ac_cv_prog_CPPBIN
5420 if test -n "$CPPBIN"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5422 $as_echo "$CPPBIN" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5430 if test -z "$ac_cv_prog_CPPBIN"; then
5431 ac_ct_CPPBIN=$CPPBIN
5432 # Extract the first word of "cpp", so it can be a program name with args.
5433 set dummy cpp; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5437 $as_echo_n "(cached) " >&6
5438 else
5439 if test -n "$ac_ct_CPPBIN"; then
5440 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_prog_ac_ct_CPPBIN="cpp"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5460 if test -n "$ac_ct_CPPBIN"; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5462 $as_echo "$ac_ct_CPPBIN" >&6; }
5463 else
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5468 if test "x$ac_ct_CPPBIN" = x; then
5469 CPPBIN="cpp"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5475 ac_tool_warned=yes ;;
5476 esac
5477 CPPBIN=$ac_ct_CPPBIN
5479 else
5480 CPPBIN="$ac_cv_prog_CPPBIN"
5484 cat >>confdefs.h <<_ACEOF
5485 #define EXEEXT "$ac_exeext"
5486 _ACEOF
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5490 set dummy ${ac_tool_prefix}ld; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_LD+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test -n "$LD"; then
5497 ac_cv_prog_LD="$LD" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_LD="${ac_tool_prefix}ld"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 LD=$ac_cv_prog_LD
5517 if test -n "$LD"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5519 $as_echo "$LD" >&6; }
5520 else
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5527 if test -z "$ac_cv_prog_LD"; then
5528 ac_ct_LD=$LD
5529 # Extract the first word of "ld", so it can be a program name with args.
5530 set dummy ld; ac_word=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5536 if test -n "$ac_ct_LD"; then
5537 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5546 ac_cv_prog_ac_ct_LD="ld"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5557 if test -n "$ac_ct_LD"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5559 $as_echo "$ac_ct_LD" >&6; }
5560 else
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5565 if test "x$ac_ct_LD" = x; then
5566 LD=""
5567 else
5568 case $cross_compiling:$ac_tool_warned in
5569 yes:)
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5572 ac_tool_warned=yes ;;
5573 esac
5574 LD=$ac_ct_LD
5576 else
5577 LD="$ac_cv_prog_LD"
5581 case $host in
5582 *-darwin*)
5583 with_fontconfig=${with_fontconfig:-no}
5585 *-mingw32*|*-cygwin*)
5586 enable_win16=${enable_win16:-no}
5587 with_mingw=${with_mingw:-no}
5588 CFLAGS="$CFLAGS -D_WIN32"
5590 esac
5592 case $host in
5593 x86_64*|amd64*)
5594 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5595 then
5596 CC="$CC -m32"
5597 CXX="$CXX -m32"
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5600 $as_echo_n "checking whether $CC works... " >&6; }
5601 if ${wine_cv_cc_m32+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5608 main ()
5612 return 0;
5614 _ACEOF
5615 if ac_fn_c_try_link "$LINENO"; then :
5616 wine_cv_cc_m32=yes
5617 else
5618 wine_cv_cc_m32=no
5620 rm -f core conftest.err conftest.$ac_objext \
5621 conftest$ac_exeext conftest.$ac_ext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5624 $as_echo "$wine_cv_cc_m32" >&6; }
5625 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
5626 host_cpu="i386"
5627 notice_platform="32-bit "
5628 TARGETFLAGS="-m32"
5630 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5631 export PKG_CONFIG_PATH
5632 enable_win16=${enable_win16:-yes}
5633 with_unwind=${with_unwind:-no}
5634 else
5635 if test "x${GCC}" = "xyes"
5636 then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5638 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5639 if ${wine_cv_builtin_ms_va_list+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5644 #include <stdarg.h>
5646 main ()
5648 void func(__builtin_ms_va_list *args);
5650 return 0;
5652 _ACEOF
5653 if ac_fn_c_try_compile "$LINENO"; then :
5654 wine_cv_builtin_ms_va_list=yes
5655 else
5656 wine_cv_builtin_ms_va_list=no
5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5661 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5662 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
5664 CC="$CC -m64"
5665 CXX="$CXX -m64"
5666 host_cpu="x86_64"
5667 notice_platform="64-bit "
5668 TARGETFLAGS="-m64"
5672 arm*)
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5674 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5675 if ${wine_cv_thumb+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5679 /* end confdefs.h. */
5680 int ac_test(int i) { return i; }
5682 main ()
5684 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5686 return 0;
5688 _ACEOF
5689 if ac_fn_c_try_link "$LINENO"; then :
5690 wine_cv_thumb=yes
5691 else
5692 wine_cv_thumb=no
5694 rm -f core conftest.err conftest.$ac_objext \
5695 conftest$ac_exeext conftest.$ac_ext
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5698 $as_echo "$wine_cv_thumb" >&6; }
5699 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5700 case $with_float_abi in
5701 soft|softfp|hard)
5702 float_abi=$with_float_abi ;;
5704 case $host_os in
5705 *eabihf)
5706 float_abi=hard ;;
5708 float_abi=softfp
5709 saved_CFLAGS=$CFLAGS
5710 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5712 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5713 if ${wine_cv_float_abi+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5720 main ()
5722 asm("vmrs r2,fpscr");
5724 return 0;
5726 _ACEOF
5727 if ac_fn_c_try_link "$LINENO"; then :
5728 wine_cv_float_abi=yes
5729 else
5730 wine_cv_float_abi=no
5732 rm -f core conftest.err conftest.$ac_objext \
5733 conftest$ac_exeext conftest.$ac_ext
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5736 $as_echo "$wine_cv_float_abi" >&6; }
5737 if test $wine_cv_float_abi = no
5738 then
5739 float_abi=soft
5740 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5742 CFLAGS=$saved_CFLAGS
5743 esac
5745 esac
5746 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5747 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5750 aarch64*)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5752 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5753 if ${wine_cv_builtin_ms_va_list+:} false; then :
5754 $as_echo_n "(cached) " >&6
5755 else
5756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5757 /* end confdefs.h. */
5758 #include <stdarg.h>
5760 main ()
5762 void func(__builtin_ms_va_list *args);
5764 return 0;
5766 _ACEOF
5767 if ac_fn_c_try_compile "$LINENO"; then :
5768 wine_cv_builtin_ms_va_list=yes
5769 else
5770 wine_cv_builtin_ms_va_list=no
5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5775 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5776 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5778 i[3456789]86*)
5779 enable_win16=${enable_win16:-yes}
5780 with_unwind=${with_unwind:-no}
5782 esac
5784 enable_win16=${enable_win16:-no}
5785 enable_win64=${enable_win64:-no}
5787 enable_winetest=${enable_winetest:-$enable_tests}
5789 if test "x$enable_win64" = "xyes"
5790 then
5791 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5792 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5793 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5797 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5798 if ${wine_cv_toolsdir+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 wine_cv_toolsdir="$with_wine_tools"
5802 if test -z "$with_wine_tools"; then
5803 if test "$cross_compiling" = "yes"; then
5804 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5805 elif test -n "$with_wine64"; then
5806 wine_cv_toolsdir="$with_wine64"
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5811 $as_echo "$wine_cv_toolsdir" >&6; }
5812 if test -z "$wine_cv_toolsdir"; then
5813 wine_makedep=tools/makedep
5814 TOOLSDIR="\$(top_builddir)"
5816 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5817 wine_makedep=$wine_cv_toolsdir/tools/makedep
5818 case "$wine_cv_toolsdir" in
5819 /*) TOOLSDIR=$wine_cv_toolsdir
5821 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5823 esac
5824 enable_tools=${enable_tools:-no}
5825 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5826 else
5827 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5829 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5830 then
5831 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5835 for ac_prog in flex
5837 # Extract the first word of "$ac_prog", so it can be a program name with args.
5838 set dummy $ac_prog; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_FLEX+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843 else
5844 if test -n "$FLEX"; then
5845 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_FLEX="$ac_prog"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5860 IFS=$as_save_IFS
5864 FLEX=$ac_cv_prog_FLEX
5865 if test -n "$FLEX"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5867 $as_echo "$FLEX" >&6; }
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5874 test -n "$FLEX" && break
5875 done
5876 test -n "$FLEX" || FLEX="none"
5878 if test "$FLEX" = "none"
5879 then
5880 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5883 $as_echo_n "checking whether flex is recent enough... " >&6; }
5884 if ${wine_cv_recent_flex+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 cat >conftest.l <<EOF
5888 %top{
5889 #include "prediluvian.h"
5893 if $FLEX -t conftest.l >/dev/null 2>&5
5894 then
5895 wine_cv_recent_flex=yes
5896 else
5897 wine_cv_recent_flex=no
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5901 $as_echo "$wine_cv_recent_flex" >&6; }
5902 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
5904 for ac_prog in bison
5906 # Extract the first word of "$ac_prog", so it can be a program name with args.
5907 set dummy $ac_prog; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_BISON+:} false; then :
5911 $as_echo_n "(cached) " >&6
5912 else
5913 if test -n "$BISON"; then
5914 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5919 IFS=$as_save_IFS
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_BISON="$ac_prog"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 break 2
5927 done
5928 done
5929 IFS=$as_save_IFS
5933 BISON=$ac_cv_prog_BISON
5934 if test -n "$BISON"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5936 $as_echo "$BISON" >&6; }
5937 else
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5943 test -n "$BISON" && break
5944 done
5945 test -n "$BISON" || BISON="none"
5947 if test "$BISON" = "none"
5948 then
5949 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5952 $as_echo_n "checking whether bison is recent enough... " >&6; }
5953 if ${wine_cv_recent_bison+:} false; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 cat >conftest.y <<EOF
5957 %define parse.error verbose
5959 empty: ;
5961 if $BISON conftest.y >/dev/null 2>&5
5962 then
5963 wine_cv_recent_bison=yes
5964 else
5965 wine_cv_recent_bison=no
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5969 $as_echo "$wine_cv_recent_bison" >&6; }
5970 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
5972 if test -n "$ac_tool_prefix"; then
5973 for ac_prog in ar gar
5975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_AR+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$AR"; then
5983 ac_cv_prog_AR="$AR" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 AR=$ac_cv_prog_AR
6003 if test -n "$AR"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6005 $as_echo "$AR" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$AR" && break
6013 done
6015 if test -z "$AR"; then
6016 ac_ct_AR=$AR
6017 for ac_prog in ar gar
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy $ac_prog; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$ac_ct_AR"; then
6027 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_ac_ct_AR="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6047 if test -n "$ac_ct_AR"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6049 $as_echo "$ac_ct_AR" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$ac_ct_AR" && break
6057 done
6059 if test "x$ac_ct_AR" = x; then
6060 AR="ar"
6061 else
6062 case $cross_compiling:$ac_tool_warned in
6063 yes:)
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned=yes ;;
6067 esac
6068 AR=$ac_ct_AR
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6074 set dummy ${ac_tool_prefix}strip; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if ${ac_cv_prog_STRIP+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 if test -n "$STRIP"; then
6081 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6086 IFS=$as_save_IFS
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 STRIP=$ac_cv_prog_STRIP
6101 if test -n "$STRIP"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6103 $as_echo "$STRIP" >&6; }
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6111 if test -z "$ac_cv_prog_STRIP"; then
6112 ac_ct_STRIP=$STRIP
6113 # Extract the first word of "strip", so it can be a program name with args.
6114 set dummy strip; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$ac_ct_STRIP"; then
6121 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_STRIP="strip"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6141 if test -n "$ac_ct_STRIP"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6143 $as_echo "$ac_ct_STRIP" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6149 if test "x$ac_ct_STRIP" = x; then
6150 STRIP="strip"
6151 else
6152 case $cross_compiling:$ac_tool_warned in
6153 yes:)
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6156 ac_tool_warned=yes ;;
6157 esac
6158 STRIP=$ac_ct_STRIP
6160 else
6161 STRIP="$ac_cv_prog_STRIP"
6164 if test -n "$ac_tool_prefix"; then
6165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if ${ac_cv_prog_RANLIB+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$RANLIB"; then
6173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6186 done
6187 done
6188 IFS=$as_save_IFS
6192 RANLIB=$ac_cv_prog_RANLIB
6193 if test -n "$RANLIB"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6195 $as_echo "$RANLIB" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6203 if test -z "$ac_cv_prog_RANLIB"; then
6204 ac_ct_RANLIB=$RANLIB
6205 # Extract the first word of "ranlib", so it can be a program name with args.
6206 set dummy ranlib; ac_word=$2
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208 $as_echo_n "checking for $ac_word... " >&6; }
6209 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 if test -n "$ac_ct_RANLIB"; then
6213 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6214 else
6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 for as_dir in $PATH
6218 IFS=$as_save_IFS
6219 test -z "$as_dir" && as_dir=.
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6222 ac_cv_prog_ac_ct_RANLIB="ranlib"
6223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 break 2
6226 done
6227 done
6228 IFS=$as_save_IFS
6232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6233 if test -n "$ac_ct_RANLIB"; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6235 $as_echo "$ac_ct_RANLIB" >&6; }
6236 else
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238 $as_echo "no" >&6; }
6241 if test "x$ac_ct_RANLIB" = x; then
6242 RANLIB=":"
6243 else
6244 case $cross_compiling:$ac_tool_warned in
6245 yes:)
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6248 ac_tool_warned=yes ;;
6249 esac
6250 RANLIB=$ac_ct_RANLIB
6252 else
6253 RANLIB="$ac_cv_prog_RANLIB"
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6257 $as_echo_n "checking whether ln -s works... " >&6; }
6258 LN_S=$as_ln_s
6259 if test "$LN_S" = "ln -s"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6261 $as_echo "yes" >&6; }
6262 else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6264 $as_echo "no, using $LN_S" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6268 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6269 if ${ac_cv_path_GREP+:} false; then :
6270 $as_echo_n "(cached) " >&6
6271 else
6272 if test -z "$GREP"; then
6273 ac_path_GREP_found=false
6274 # Loop through the user's path and test for each of PROGNAME-LIST
6275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6278 IFS=$as_save_IFS
6279 test -z "$as_dir" && as_dir=.
6280 for ac_prog in grep ggrep; do
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6283 as_fn_executable_p "$ac_path_GREP" || continue
6284 # Check for GNU ac_path_GREP and select it if it is found.
6285 # Check for GNU $ac_path_GREP
6286 case `"$ac_path_GREP" --version 2>&1` in
6287 *GNU*)
6288 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6290 ac_count=0
6291 $as_echo_n 0123456789 >"conftest.in"
6292 while :
6294 cat "conftest.in" "conftest.in" >"conftest.tmp"
6295 mv "conftest.tmp" "conftest.in"
6296 cp "conftest.in" "conftest.nl"
6297 $as_echo 'GREP' >> "conftest.nl"
6298 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6299 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6300 as_fn_arith $ac_count + 1 && ac_count=$as_val
6301 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6302 # Best one so far, save it but keep looking for a better one
6303 ac_cv_path_GREP="$ac_path_GREP"
6304 ac_path_GREP_max=$ac_count
6306 # 10*(2^10) chars as input seems more than enough
6307 test $ac_count -gt 10 && break
6308 done
6309 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6310 esac
6312 $ac_path_GREP_found && break 3
6313 done
6314 done
6315 done
6316 IFS=$as_save_IFS
6317 if test -z "$ac_cv_path_GREP"; then
6318 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6320 else
6321 ac_cv_path_GREP=$GREP
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6326 $as_echo "$ac_cv_path_GREP" >&6; }
6327 GREP="$ac_cv_path_GREP"
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6331 $as_echo_n "checking for egrep... " >&6; }
6332 if ${ac_cv_path_EGREP+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6336 then ac_cv_path_EGREP="$GREP -E"
6337 else
6338 if test -z "$EGREP"; then
6339 ac_path_EGREP_found=false
6340 # Loop through the user's path and test for each of PROGNAME-LIST
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_prog in egrep; do
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6349 as_fn_executable_p "$ac_path_EGREP" || continue
6350 # Check for GNU ac_path_EGREP and select it if it is found.
6351 # Check for GNU $ac_path_EGREP
6352 case `"$ac_path_EGREP" --version 2>&1` in
6353 *GNU*)
6354 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6356 ac_count=0
6357 $as_echo_n 0123456789 >"conftest.in"
6358 while :
6360 cat "conftest.in" "conftest.in" >"conftest.tmp"
6361 mv "conftest.tmp" "conftest.in"
6362 cp "conftest.in" "conftest.nl"
6363 $as_echo 'EGREP' >> "conftest.nl"
6364 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6365 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6366 as_fn_arith $ac_count + 1 && ac_count=$as_val
6367 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6368 # Best one so far, save it but keep looking for a better one
6369 ac_cv_path_EGREP="$ac_path_EGREP"
6370 ac_path_EGREP_max=$ac_count
6372 # 10*(2^10) chars as input seems more than enough
6373 test $ac_count -gt 10 && break
6374 done
6375 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6376 esac
6378 $ac_path_EGREP_found && break 3
6379 done
6380 done
6381 done
6382 IFS=$as_save_IFS
6383 if test -z "$ac_cv_path_EGREP"; then
6384 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6386 else
6387 ac_cv_path_EGREP=$EGREP
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6393 $as_echo "$ac_cv_path_EGREP" >&6; }
6394 EGREP="$ac_cv_path_EGREP"
6397 # Extract the first word of "ldconfig", so it can be a program name with args.
6398 set dummy ldconfig; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_path_LDCONFIG+:} false; then :
6402 $as_echo_n "(cached) " >&6
6403 else
6404 case $LDCONFIG in
6405 [\\/]* | ?:[\\/]*)
6406 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410 for as_dir in /sbin /usr/sbin $PATH
6412 IFS=$as_save_IFS
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6416 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418 break 2
6420 done
6421 done
6422 IFS=$as_save_IFS
6424 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6426 esac
6428 LDCONFIG=$ac_cv_path_LDCONFIG
6429 if test -n "$LDCONFIG"; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6431 $as_echo "$LDCONFIG" >&6; }
6432 else
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6438 for ac_prog in msgfmt
6440 # Extract the first word of "$ac_prog", so it can be a program name with args.
6441 set dummy $ac_prog; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_MSGFMT+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6447 if test -n "$MSGFMT"; then
6448 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6449 else
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH
6453 IFS=$as_save_IFS
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_MSGFMT="$ac_prog"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 break 2
6461 done
6462 done
6463 IFS=$as_save_IFS
6467 MSGFMT=$ac_cv_prog_MSGFMT
6468 if test -n "$MSGFMT"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6470 $as_echo "$MSGFMT" >&6; }
6471 else
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6477 test -n "$MSGFMT" && break
6478 done
6479 test -n "$MSGFMT" || MSGFMT="false"
6481 if ${ac_tool_prefix+:} false; then :
6482 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6483 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6485 $as_echo_n "checking for $ac_word... " >&6; }
6486 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6487 $as_echo_n "(cached) " >&6
6488 else
6489 if test -n "$PKG_CONFIG"; then
6490 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6491 else
6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493 for as_dir in $PATH
6495 IFS=$as_save_IFS
6496 test -z "$as_dir" && as_dir=.
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6501 break 2
6503 done
6504 done
6505 IFS=$as_save_IFS
6509 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6510 if test -n "$PKG_CONFIG"; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6512 $as_echo "$PKG_CONFIG" >&6; }
6513 else
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515 $as_echo "no" >&6; }
6520 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6521 if test "x$cross_compiling" = xyes; then :
6523 else
6524 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6525 # Extract the first word of "pkg-config", so it can be a program name with args.
6526 set dummy pkg-config; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6530 $as_echo_n "(cached) " >&6
6531 else
6532 if test -n "$PKG_CONFIG"; then
6533 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542 ac_cv_prog_PKG_CONFIG="pkg-config"
6543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 break 2
6546 done
6547 done
6548 IFS=$as_save_IFS
6552 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6553 if test -n "$PKG_CONFIG"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6555 $as_echo "$PKG_CONFIG" >&6; }
6556 else
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6563 else
6564 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6567 if test "x$enable_maintainer_mode" != "xyes"
6568 then
6569 FONTFORGE=""
6570 RSVG=""
6571 CONVERT=""
6572 ICOTOOL=""
6573 else
6574 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6575 for ac_prog in fontforge
6577 # Extract the first word of "$ac_prog", so it can be a program name with args.
6578 set dummy $ac_prog; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if ${ac_cv_prog_FONTFORGE+:} false; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$FONTFORGE"; then
6585 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_FONTFORGE="$ac_prog"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 FONTFORGE=$ac_cv_prog_FONTFORGE
6605 if test -n "$FONTFORGE"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6607 $as_echo "$FONTFORGE" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6614 test -n "$FONTFORGE" && break
6615 done
6616 test -n "$FONTFORGE" || FONTFORGE="false"
6618 for ac_prog in rsvg-convert rsvg
6620 # Extract the first word of "$ac_prog", so it can be a program name with args.
6621 set dummy $ac_prog; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_prog_RSVG+:} false; then :
6625 $as_echo_n "(cached) " >&6
6626 else
6627 if test -n "$RSVG"; then
6628 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6629 else
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $PATH
6633 IFS=$as_save_IFS
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_prog_RSVG="$ac_prog"
6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 break 2
6641 done
6642 done
6643 IFS=$as_save_IFS
6647 RSVG=$ac_cv_prog_RSVG
6648 if test -n "$RSVG"; then
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6650 $as_echo "$RSVG" >&6; }
6651 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
6657 test -n "$RSVG" && break
6658 done
6659 test -n "$RSVG" || RSVG="false"
6661 for ac_prog in convert
6663 # Extract the first word of "$ac_prog", so it can be a program name with args.
6664 set dummy $ac_prog; ac_word=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if ${ac_cv_prog_CONVERT+:} false; then :
6668 $as_echo_n "(cached) " >&6
6669 else
6670 if test -n "$CONVERT"; then
6671 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6676 IFS=$as_save_IFS
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_CONVERT="$ac_prog"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 break 2
6684 done
6685 done
6686 IFS=$as_save_IFS
6690 CONVERT=$ac_cv_prog_CONVERT
6691 if test -n "$CONVERT"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6693 $as_echo "$CONVERT" >&6; }
6694 else
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6700 test -n "$CONVERT" && break
6701 done
6702 test -n "$CONVERT" || CONVERT="false"
6704 for ac_prog in icotool
6706 # Extract the first word of "$ac_prog", so it can be a program name with args.
6707 set dummy $ac_prog; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_ICOTOOL+:} false; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$ICOTOOL"; then
6714 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6723 ac_cv_prog_ICOTOOL="$ac_prog"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 ICOTOOL=$ac_cv_prog_ICOTOOL
6734 if test -n "$ICOTOOL"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6736 $as_echo "$ICOTOOL" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6743 test -n "$ICOTOOL" && break
6744 done
6745 test -n "$ICOTOOL" || ICOTOOL="false"
6747 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6748 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6750 if test "$CONVERT" = false
6751 then
6752 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6753 else
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6755 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6756 convert_version=`convert --version | head -n1`
6757 if test "x$convert_version" != "x"
6758 then
6759 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6760 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6761 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6762 then
6763 CONVERT=false
6766 if test "$CONVERT" = false
6767 then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6769 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6770 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6771 else
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6773 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6777 if test "$ICOTOOL" = false
6778 then
6779 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6782 $as_echo_n "checking for recent enough icotool... " >&6; }
6783 icotool_version=`icotool --version | head -n1`
6784 if test "x$icotool_version" != "x"
6785 then
6786 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6787 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6788 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6789 then
6790 ICOTOOL=false
6791 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6794 if test "$ICOTOOL" = false
6795 then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6797 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6798 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6799 else
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6801 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6805 with_gettext=yes
6806 with_gettextpo=yes
6808 enable_werror=yes
6811 test "x$with_gettext" != xno || MSGFMT=false
6812 if test "$MSGFMT" != "false"
6813 then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6815 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6816 if ${wine_cv_msgfmt_contexts+:} false; then :
6817 $as_echo_n "(cached) " >&6
6818 else
6819 cat >conftest.po <<EOF
6820 # comment
6821 msgctxt "ctxt"
6822 msgid "id"
6823 msgstr "str"
6825 if $MSGFMT -o /dev/null conftest.po 2>&5
6826 then
6827 wine_cv_msgfmt_contexts=yes
6828 else
6829 wine_cv_msgfmt_contexts=no
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6833 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6834 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6836 if test "$MSGFMT" = false; then :
6837 case "x$with_gettext" in
6838 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6839 xno) ;;
6840 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6841 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6842 esac
6843 enable_po=${enable_po:-no}
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6848 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6849 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6850 $as_echo_n "(cached) " >&6
6851 else
6852 ac_check_lib_save_LIBS=$LIBS
6853 LIBS="-li386 $LIBS"
6854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6855 /* end confdefs.h. */
6857 /* Override any GCC internal prototype to avoid an error.
6858 Use char because int might match the return type of a GCC
6859 builtin and then its argument prototype would still apply. */
6860 #ifdef __cplusplus
6861 extern "C"
6862 #endif
6863 char i386_set_ldt ();
6865 main ()
6867 return i386_set_ldt ();
6869 return 0;
6871 _ACEOF
6872 if ac_fn_c_try_link "$LINENO"; then :
6873 ac_cv_lib_i386_i386_set_ldt=yes
6874 else
6875 ac_cv_lib_i386_i386_set_ldt=no
6877 rm -f core conftest.err conftest.$ac_objext \
6878 conftest$ac_exeext conftest.$ac_ext
6879 LIBS=$ac_check_lib_save_LIBS
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6882 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6883 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6884 I386_LIBS="-li386"
6889 OPENGL_LIBS=""
6893 # Check whether --enable-largefile was given.
6894 if test "${enable_largefile+set}" = set; then :
6895 enableval=$enable_largefile;
6898 if test "$enable_largefile" != no; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6901 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6902 if ${ac_cv_sys_largefile_CC+:} false; then :
6903 $as_echo_n "(cached) " >&6
6904 else
6905 ac_cv_sys_largefile_CC=no
6906 if test "$GCC" != yes; then
6907 ac_save_CC=$CC
6908 while :; do
6909 # IRIX 6.2 and later do not support large files by default,
6910 # so use the C compiler's -n32 option if that helps.
6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 #include <sys/types.h>
6914 /* Check that off_t can represent 2**63 - 1 correctly.
6915 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6916 since some C++ compilers masquerading as C compilers
6917 incorrectly reject 9223372036854775807. */
6918 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6919 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6920 && LARGE_OFF_T % 2147483647 == 1)
6921 ? 1 : -1];
6923 main ()
6927 return 0;
6929 _ACEOF
6930 if ac_fn_c_try_compile "$LINENO"; then :
6931 break
6933 rm -f core conftest.err conftest.$ac_objext
6934 CC="$CC -n32"
6935 if ac_fn_c_try_compile "$LINENO"; then :
6936 ac_cv_sys_largefile_CC=' -n32'; break
6938 rm -f core conftest.err conftest.$ac_objext
6939 break
6940 done
6941 CC=$ac_save_CC
6942 rm -f conftest.$ac_ext
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6946 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6947 if test "$ac_cv_sys_largefile_CC" != no; then
6948 CC=$CC$ac_cv_sys_largefile_CC
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6952 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6953 if ${ac_cv_sys_file_offset_bits+:} false; then :
6954 $as_echo_n "(cached) " >&6
6955 else
6956 while :; do
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <sys/types.h>
6960 /* Check that off_t can represent 2**63 - 1 correctly.
6961 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6962 since some C++ compilers masquerading as C compilers
6963 incorrectly reject 9223372036854775807. */
6964 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6965 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6966 && LARGE_OFF_T % 2147483647 == 1)
6967 ? 1 : -1];
6969 main ()
6973 return 0;
6975 _ACEOF
6976 if ac_fn_c_try_compile "$LINENO"; then :
6977 ac_cv_sys_file_offset_bits=no; break
6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 #define _FILE_OFFSET_BITS 64
6983 #include <sys/types.h>
6984 /* Check that off_t can represent 2**63 - 1 correctly.
6985 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6986 since some C++ compilers masquerading as C compilers
6987 incorrectly reject 9223372036854775807. */
6988 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6989 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6990 && LARGE_OFF_T % 2147483647 == 1)
6991 ? 1 : -1];
6993 main ()
6997 return 0;
6999 _ACEOF
7000 if ac_fn_c_try_compile "$LINENO"; then :
7001 ac_cv_sys_file_offset_bits=64; break
7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 ac_cv_sys_file_offset_bits=unknown
7005 break
7006 done
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7009 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7010 case $ac_cv_sys_file_offset_bits in #(
7011 no | unknown) ;;
7013 cat >>confdefs.h <<_ACEOF
7014 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7015 _ACEOF
7017 esac
7018 rm -rf conftest*
7019 if test $ac_cv_sys_file_offset_bits = unknown; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7021 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7022 if ${ac_cv_sys_large_files+:} false; then :
7023 $as_echo_n "(cached) " >&6
7024 else
7025 while :; do
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 #include <sys/types.h>
7029 /* Check that off_t can represent 2**63 - 1 correctly.
7030 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7031 since some C++ compilers masquerading as C compilers
7032 incorrectly reject 9223372036854775807. */
7033 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7034 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7035 && LARGE_OFF_T % 2147483647 == 1)
7036 ? 1 : -1];
7038 main ()
7042 return 0;
7044 _ACEOF
7045 if ac_fn_c_try_compile "$LINENO"; then :
7046 ac_cv_sys_large_files=no; break
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #define _LARGE_FILES 1
7052 #include <sys/types.h>
7053 /* Check that off_t can represent 2**63 - 1 correctly.
7054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7055 since some C++ compilers masquerading as C compilers
7056 incorrectly reject 9223372036854775807. */
7057 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7059 && LARGE_OFF_T % 2147483647 == 1)
7060 ? 1 : -1];
7062 main ()
7066 return 0;
7068 _ACEOF
7069 if ac_fn_c_try_compile "$LINENO"; then :
7070 ac_cv_sys_large_files=1; break
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 ac_cv_sys_large_files=unknown
7074 break
7075 done
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7078 $as_echo "$ac_cv_sys_large_files" >&6; }
7079 case $ac_cv_sys_large_files in #(
7080 no | unknown) ;;
7082 cat >>confdefs.h <<_ACEOF
7083 #define _LARGE_FILES $ac_cv_sys_large_files
7084 _ACEOF
7086 esac
7087 rm -rf conftest*
7094 ac_ext=c
7095 ac_cpp='$CPP $CPPFLAGS'
7096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7100 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7101 # On Suns, sometimes $CPP names a directory.
7102 if test -n "$CPP" && test -d "$CPP"; then
7103 CPP=
7105 if test -z "$CPP"; then
7106 if ${ac_cv_prog_CPP+:} false; then :
7107 $as_echo_n "(cached) " >&6
7108 else
7109 # Double quotes because CPP needs to be expanded
7110 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7112 ac_preproc_ok=false
7113 for ac_c_preproc_warn_flag in '' yes
7115 # Use a header file that comes with gcc, so configuring glibc
7116 # with a fresh cross-compiler works.
7117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7118 # <limits.h> exists even on freestanding compilers.
7119 # On the NeXT, cc -E runs the code through the compiler's parser,
7120 # not just through cpp. "Syntax error" is here to catch this case.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #ifdef __STDC__
7124 # include <limits.h>
7125 #else
7126 # include <assert.h>
7127 #endif
7128 Syntax error
7129 _ACEOF
7130 if ac_fn_c_try_cpp "$LINENO"; then :
7132 else
7133 # Broken: fails on valid input.
7134 continue
7136 rm -f conftest.err conftest.i conftest.$ac_ext
7138 # OK, works on sane cases. Now check whether nonexistent headers
7139 # can be detected and how.
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 #include <ac_nonexistent.h>
7143 _ACEOF
7144 if ac_fn_c_try_cpp "$LINENO"; then :
7145 # Broken: success on invalid input.
7146 continue
7147 else
7148 # Passes both tests.
7149 ac_preproc_ok=:
7150 break
7152 rm -f conftest.err conftest.i conftest.$ac_ext
7154 done
7155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7156 rm -f conftest.i conftest.err conftest.$ac_ext
7157 if $ac_preproc_ok; then :
7158 break
7161 done
7162 ac_cv_prog_CPP=$CPP
7165 CPP=$ac_cv_prog_CPP
7166 else
7167 ac_cv_prog_CPP=$CPP
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7170 $as_echo "$CPP" >&6; }
7171 ac_preproc_ok=false
7172 for ac_c_preproc_warn_flag in '' yes
7174 # Use a header file that comes with gcc, so configuring glibc
7175 # with a fresh cross-compiler works.
7176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7177 # <limits.h> exists even on freestanding compilers.
7178 # On the NeXT, cc -E runs the code through the compiler's parser,
7179 # not just through cpp. "Syntax error" is here to catch this case.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #ifdef __STDC__
7183 # include <limits.h>
7184 #else
7185 # include <assert.h>
7186 #endif
7187 Syntax error
7188 _ACEOF
7189 if ac_fn_c_try_cpp "$LINENO"; then :
7191 else
7192 # Broken: fails on valid input.
7193 continue
7195 rm -f conftest.err conftest.i conftest.$ac_ext
7197 # OK, works on sane cases. Now check whether nonexistent headers
7198 # can be detected and how.
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201 #include <ac_nonexistent.h>
7202 _ACEOF
7203 if ac_fn_c_try_cpp "$LINENO"; then :
7204 # Broken: success on invalid input.
7205 continue
7206 else
7207 # Passes both tests.
7208 ac_preproc_ok=:
7209 break
7211 rm -f conftest.err conftest.i conftest.$ac_ext
7213 done
7214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7215 rm -f conftest.i conftest.err conftest.$ac_ext
7216 if $ac_preproc_ok; then :
7218 else
7219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7221 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7222 See \`config.log' for more details" "$LINENO" 5; }
7225 ac_ext=c
7226 ac_cpp='$CPP $CPPFLAGS'
7227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7233 $as_echo_n "checking for ANSI C header files... " >&6; }
7234 if ${ac_cv_header_stdc+:} false; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7239 #include <stdlib.h>
7240 #include <stdarg.h>
7241 #include <string.h>
7242 #include <float.h>
7245 main ()
7249 return 0;
7251 _ACEOF
7252 if ac_fn_c_try_compile "$LINENO"; then :
7253 ac_cv_header_stdc=yes
7254 else
7255 ac_cv_header_stdc=no
7257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7259 if test $ac_cv_header_stdc = yes; then
7260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <string.h>
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "memchr" >/dev/null 2>&1; then :
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f conftest*
7276 if test $ac_cv_header_stdc = yes; then
7277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7280 #include <stdlib.h>
7282 _ACEOF
7283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7284 $EGREP "free" >/dev/null 2>&1; then :
7286 else
7287 ac_cv_header_stdc=no
7289 rm -f conftest*
7293 if test $ac_cv_header_stdc = yes; then
7294 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7295 if test "$cross_compiling" = yes; then :
7297 else
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 #include <ctype.h>
7301 #include <stdlib.h>
7302 #if ((' ' & 0x0FF) == 0x020)
7303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7305 #else
7306 # define ISLOWER(c) \
7307 (('a' <= (c) && (c) <= 'i') \
7308 || ('j' <= (c) && (c) <= 'r') \
7309 || ('s' <= (c) && (c) <= 'z'))
7310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7311 #endif
7313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7315 main ()
7317 int i;
7318 for (i = 0; i < 256; i++)
7319 if (XOR (islower (i), ISLOWER (i))
7320 || toupper (i) != TOUPPER (i))
7321 return 2;
7322 return 0;
7324 _ACEOF
7325 if ac_fn_c_try_run "$LINENO"; then :
7327 else
7328 ac_cv_header_stdc=no
7330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7331 conftest.$ac_objext conftest.beam conftest.$ac_ext
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7337 $as_echo "$ac_cv_header_stdc" >&6; }
7338 if test $ac_cv_header_stdc = yes; then
7340 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7344 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7345 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7346 inttypes.h stdint.h unistd.h
7347 do :
7348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7354 _ACEOF
7358 done
7361 for ac_header in \
7362 AL/al.h \
7363 ApplicationServices/ApplicationServices.h \
7364 AudioToolbox/AudioConverter.h \
7365 AudioUnit/AudioUnit.h \
7366 AudioUnit/AudioComponent.h \
7367 CL/cl.h \
7368 Carbon/Carbon.h \
7369 CommonCrypto/CommonCryptor.h \
7370 CoreAudio/CoreAudio.h \
7371 CoreServices/CoreServices.h \
7372 DiskArbitration/DiskArbitration.h \
7373 EGL/egl.h \
7374 IOKit/IOKitLib.h \
7375 IOKit/hid/IOHIDLib.h \
7376 OpenAL/al.h \
7377 OpenCL/opencl.h \
7378 QuickTime/ImageCompression.h \
7379 Security/Security.h \
7380 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7381 SystemConfiguration/SCNetworkConfiguration.h \
7382 alias.h \
7383 arpa/inet.h \
7384 arpa/nameser.h \
7385 asm/types.h \
7386 asm/user.h \
7387 curses.h \
7388 dirent.h \
7389 dlfcn.h \
7390 elf.h \
7391 float.h \
7392 fnmatch.h \
7393 getopt.h \
7394 gettext-po.h \
7395 grp.h \
7396 gsm.h \
7397 gsm/gsm.h \
7398 ieeefp.h \
7399 inet/mib2.h \
7400 kstat.h \
7401 libproc.h \
7402 link.h \
7403 linux/cdrom.h \
7404 linux/compiler.h \
7405 linux/filter.h \
7406 linux/hdreg.h \
7407 linux/hidraw.h \
7408 linux/input.h \
7409 linux/ioctl.h \
7410 linux/joystick.h \
7411 linux/major.h \
7412 linux/param.h \
7413 linux/serial.h \
7414 linux/types.h \
7415 linux/ucdrom.h \
7416 lwp.h \
7417 mach-o/nlist.h \
7418 mach-o/loader.h \
7419 mach/mach.h \
7420 mach/machine.h \
7421 machine/cpu.h \
7422 machine/sysarch.h \
7423 mntent.h \
7424 ncurses.h \
7425 netdb.h \
7426 netinet/in.h \
7427 netinet/in_systm.h \
7428 netinet/tcp.h \
7429 netinet/tcp_fsm.h \
7430 pcap/pcap.h \
7431 poll.h \
7432 port.h \
7433 pthread.h \
7434 pwd.h \
7435 sasl/sasl.h \
7436 sched.h \
7437 scsi/scsi.h \
7438 scsi/scsi_ioctl.h \
7439 scsi/sg.h \
7440 stdbool.h \
7441 stdint.h \
7442 stropts.h \
7443 sys/attr.h \
7444 sys/auxv.h \
7445 sys/cdio.h \
7446 sys/epoll.h \
7447 sys/event.h \
7448 sys/filio.h \
7449 sys/ioctl.h \
7450 sys/ipc.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*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8240 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8241 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8252 else
8253 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8260 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8261 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8262 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8263 fi ;;
8264 esac
8265 enable_iphlpapi=${enable_iphlpapi:-no}
8266 enable_kernel32=${enable_kernel32:-no}
8267 enable_ntdll=${enable_ntdll:-no}
8268 enable_ws2_32=${enable_ws2_32:-no}
8269 enable_loader=${enable_loader:-no}
8270 enable_server=${enable_server:-no}
8271 with_x=${with_x:-no}
8272 with_pthread=${with_pthread:-no}
8275 darwin*|macosx*)
8276 ac_ext=m
8277 ac_cpp='$OBJCPP $CPPFLAGS'
8278 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8279 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8280 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8282 ac_ext=m
8283 ac_cpp='$OBJCPP $CPPFLAGS'
8284 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8285 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8286 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8287 if test -n "$ac_tool_prefix"; then
8288 for ac_prog in gcc objcc objc cc CC
8290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293 $as_echo_n "checking for $ac_word... " >&6; }
8294 if ${ac_cv_prog_OBJC+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 if test -n "$OBJC"; then
8298 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8299 else
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301 for as_dir in $PATH
8303 IFS=$as_save_IFS
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8307 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 break 2
8311 done
8312 done
8313 IFS=$as_save_IFS
8317 OBJC=$ac_cv_prog_OBJC
8318 if test -n "$OBJC"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8320 $as_echo "$OBJC" >&6; }
8321 else
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 $as_echo "no" >&6; }
8327 test -n "$OBJC" && break
8328 done
8330 if test -z "$OBJC"; then
8331 ac_ct_OBJC=$OBJC
8332 for ac_prog in gcc objcc objc cc CC
8334 # Extract the first word of "$ac_prog", so it can be a program name with args.
8335 set dummy $ac_prog; ac_word=$2
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8337 $as_echo_n "checking for $ac_word... " >&6; }
8338 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 if test -n "$ac_ct_OBJC"; then
8342 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8343 else
8344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 for as_dir in $PATH
8347 IFS=$as_save_IFS
8348 test -z "$as_dir" && as_dir=.
8349 for ac_exec_ext in '' $ac_executable_extensions; do
8350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8351 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8353 break 2
8355 done
8356 done
8357 IFS=$as_save_IFS
8361 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8362 if test -n "$ac_ct_OBJC"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8364 $as_echo "$ac_ct_OBJC" >&6; }
8365 else
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8371 test -n "$ac_ct_OBJC" && break
8372 done
8374 if test "x$ac_ct_OBJC" = x; then
8375 OBJC="gcc"
8376 else
8377 case $cross_compiling:$ac_tool_warned in
8378 yes:)
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8381 ac_tool_warned=yes ;;
8382 esac
8383 OBJC=$ac_ct_OBJC
8387 # Provide some information about the compiler.
8388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8389 set X $ac_compile
8390 ac_compiler=$2
8391 for ac_option in --version -v -V -qversion; do
8392 { { ac_try="$ac_compiler $ac_option >&5"
8393 case "(($ac_try" in
8394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8395 *) ac_try_echo=$ac_try;;
8396 esac
8397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8398 $as_echo "$ac_try_echo"; } >&5
8399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8400 ac_status=$?
8401 if test -s conftest.err; then
8402 sed '10a\
8403 ... rest of stderr output deleted ...
8404 10q' conftest.err >conftest.er1
8405 cat conftest.er1 >&5
8407 rm -f conftest.er1 conftest.err
8408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8409 test $ac_status = 0; }
8410 done
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8413 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8414 if ${ac_cv_objc_compiler_gnu+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8421 main ()
8423 #ifndef __GNUC__
8424 choke me
8425 #endif
8428 return 0;
8430 _ACEOF
8431 if ac_fn_objc_try_compile "$LINENO"; then :
8432 ac_compiler_gnu=yes
8433 else
8434 ac_compiler_gnu=no
8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8437 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8441 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8442 if test $ac_compiler_gnu = yes; then
8443 GOBJC=yes
8444 else
8445 GOBJC=
8447 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8448 ac_save_OBJCFLAGS=$OBJCFLAGS
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8450 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8451 if ${ac_cv_prog_objc_g+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 ac_save_objc_werror_flag=$ac_objc_werror_flag
8455 ac_objc_werror_flag=yes
8456 ac_cv_prog_objc_g=no
8457 OBJCFLAGS="-g"
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8462 main ()
8466 return 0;
8468 _ACEOF
8469 if ac_fn_objc_try_compile "$LINENO"; then :
8470 ac_cv_prog_objc_g=yes
8471 else
8472 OBJCFLAGS=""
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8477 main ()
8481 return 0;
8483 _ACEOF
8484 if ac_fn_objc_try_compile "$LINENO"; then :
8486 else
8487 ac_objc_werror_flag=$ac_save_objc_werror_flag
8488 OBJCFLAGS="-g"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8493 main ()
8497 return 0;
8499 _ACEOF
8500 if ac_fn_objc_try_compile "$LINENO"; then :
8501 ac_cv_prog_objc_g=yes
8503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8508 ac_objc_werror_flag=$ac_save_objc_werror_flag
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8511 $as_echo "$ac_cv_prog_objc_g" >&6; }
8512 if test "$ac_test_OBJCFLAGS" = set; then
8513 OBJCFLAGS=$ac_save_OBJCFLAGS
8514 elif test $ac_cv_prog_objc_g = yes; then
8515 if test "$GOBJC" = yes; then
8516 OBJCFLAGS="-g -O2"
8517 else
8518 OBJCFLAGS="-g"
8520 else
8521 if test "$GOBJC" = yes; then
8522 OBJCFLAGS="-O2"
8523 else
8524 OBJCFLAGS=
8527 ac_ext=m
8528 ac_cpp='$OBJCPP $CPPFLAGS'
8529 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8530 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8531 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8534 ac_ext=m
8535 ac_cpp='$OBJCPP $CPPFLAGS'
8536 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8537 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8538 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8540 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8541 if test -z "$OBJCPP"; then
8542 if ${ac_cv_prog_OBJCPP+:} false; then :
8543 $as_echo_n "(cached) " >&6
8544 else
8545 # Double quotes because OBJCPP needs to be expanded
8546 for OBJCPP in "$OBJC -E" "/lib/cpp"
8548 ac_preproc_ok=false
8549 for ac_objc_preproc_warn_flag in '' yes
8551 # Use a header file that comes with gcc, so configuring glibc
8552 # with a fresh cross-compiler works.
8553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8554 # <limits.h> exists even on freestanding compilers.
8555 # On the NeXT, cc -E runs the code through the compiler's parser,
8556 # not just through cpp. "Syntax error" is here to catch this case.
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 #ifdef __STDC__
8560 # include <limits.h>
8561 #else
8562 # include <assert.h>
8563 #endif
8564 Syntax error
8565 _ACEOF
8566 if ac_fn_objc_try_cpp "$LINENO"; then :
8568 else
8569 # Broken: fails on valid input.
8570 continue
8572 rm -f conftest.err conftest.i conftest.$ac_ext
8574 # OK, works on sane cases. Now check whether nonexistent headers
8575 # can be detected and how.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #include <ac_nonexistent.h>
8579 _ACEOF
8580 if ac_fn_objc_try_cpp "$LINENO"; then :
8581 # Broken: success on invalid input.
8582 continue
8583 else
8584 # Passes both tests.
8585 ac_preproc_ok=:
8586 break
8588 rm -f conftest.err conftest.i conftest.$ac_ext
8590 done
8591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8592 rm -f conftest.i conftest.err conftest.$ac_ext
8593 if $ac_preproc_ok; then :
8594 break
8597 done
8598 ac_cv_prog_OBJCPP=$OBJCPP
8601 OBJCPP=$ac_cv_prog_OBJCPP
8602 else
8603 ac_cv_prog_OBJCPP=$OBJCPP
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8606 $as_echo "$OBJCPP" >&6; }
8607 ac_preproc_ok=false
8608 for ac_objc_preproc_warn_flag in '' yes
8610 # Use a header file that comes with gcc, so configuring glibc
8611 # with a fresh cross-compiler works.
8612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8613 # <limits.h> exists even on freestanding compilers.
8614 # On the NeXT, cc -E runs the code through the compiler's parser,
8615 # not just through cpp. "Syntax error" is here to catch this case.
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 #ifdef __STDC__
8619 # include <limits.h>
8620 #else
8621 # include <assert.h>
8622 #endif
8623 Syntax error
8624 _ACEOF
8625 if ac_fn_objc_try_cpp "$LINENO"; then :
8627 else
8628 # Broken: fails on valid input.
8629 continue
8631 rm -f conftest.err conftest.i conftest.$ac_ext
8633 # OK, works on sane cases. Now check whether nonexistent headers
8634 # can be detected and how.
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 #include <ac_nonexistent.h>
8638 _ACEOF
8639 if ac_fn_objc_try_cpp "$LINENO"; then :
8640 # Broken: success on invalid input.
8641 continue
8642 else
8643 # Passes both tests.
8644 ac_preproc_ok=:
8645 break
8647 rm -f conftest.err conftest.i conftest.$ac_ext
8649 done
8650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8651 rm -f conftest.i conftest.err conftest.$ac_ext
8652 if $ac_preproc_ok; then :
8654 else
8655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8657 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8658 See \`config.log' for more details" "$LINENO" 5; }
8661 ac_ext=m
8662 ac_cpp='$OBJCPP $CPPFLAGS'
8663 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8664 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8665 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8668 for ac_header in Metal/Metal.h
8669 do :
8670 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8671 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8672 cat >>confdefs.h <<_ACEOF
8673 #define HAVE_METAL_METAL_H 1
8674 _ACEOF
8678 done
8680 ac_ext=c
8681 ac_cpp='$CPP $CPPFLAGS'
8682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8686 LIBEXT="dylib"
8687 DLLFLAGS="$DLLFLAGS -fPIC"
8688 LDDLLFLAGS="-fPIC"
8689 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8690 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8691 COREFOUNDATION_LIBS="-framework CoreFoundation"
8693 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8695 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8697 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8699 CORESERVICES_LIBS="-framework CoreServices"
8701 APPKIT_LIBS="-framework AppKit"
8703 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8706 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8708 wine_can_build_preloader=yes
8709 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8711 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8712 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} 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"
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=yes
8723 else
8724 ac_cv_cflags__Wl__no_new_main__e__main=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" >&5
8731 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8732 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8733 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8735 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8736 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 int main(int argc, char **argv) { return 0; }
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8747 else
8748 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 CFLAGS=$ac_wine_try_cflags_saved
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8755 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8756 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8757 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8758 else
8759 { $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
8760 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8761 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 ac_wine_try_cflags_saved=$CFLAGS
8765 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8768 int main(int argc, char **argv) { return 0; }
8769 _ACEOF
8770 if ac_fn_c_try_link "$LINENO"; then :
8771 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8772 else
8773 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8775 rm -f core conftest.err conftest.$ac_objext \
8776 conftest$ac_exeext conftest.$ac_ext
8777 CFLAGS=$ac_wine_try_cflags_saved
8779 { $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
8780 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8781 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8782 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8783 else
8784 wine_can_build_preloader=no
8787 else
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8789 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8790 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8801 else
8802 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8809 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8810 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8811 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8812 else
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8814 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8815 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 int main(int argc, char **argv) { return 0; }
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8826 else
8827 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8834 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8835 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8836 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8837 else
8838 wine_can_build_preloader=no
8842 if test "$wine_can_build_preloader" = "yes"
8843 then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8845 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8846 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 ac_wine_try_cflags_saved=$CFLAGS
8850 CFLAGS="$CFLAGS -Wl,-no_pie"
8851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8853 int main(int argc, char **argv) { return 0; }
8854 _ACEOF
8855 if ac_fn_c_try_link "$LINENO"; then :
8856 ac_cv_cflags__Wl__no_pie=yes
8857 else
8858 ac_cv_cflags__Wl__no_pie=no
8860 rm -f core conftest.err conftest.$ac_objext \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8865 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8866 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8867 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8869 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8870 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8871 else
8872 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8875 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8876 then
8877 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8880 if test "$ac_cv_header_Security_Security_h" = "yes"
8881 then
8882 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8884 ac_save_LIBS="$LIBS"
8885 LIBS="$LIBS $SECURITY_LIBS"
8886 for ac_func in SSLCopyPeerCertificates
8887 do :
8888 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8889 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8890 cat >>confdefs.h <<_ACEOF
8891 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8892 _ACEOF
8895 done
8897 LIBS="$ac_save_LIBS"
8899 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8900 then
8901 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8902 then
8903 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8905 else
8906 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8909 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8910 ac_save_LIBS="$LIBS"
8911 LIBS="$LIBS $COREAUDIO_LIBS"
8912 for ac_func in AUGraphAddNode
8913 do :
8914 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8915 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8916 cat >>confdefs.h <<_ACEOF
8917 #define HAVE_AUGRAPHADDNODE 1
8918 _ACEOF
8921 done
8923 LIBS="$ac_save_LIBS"
8925 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8926 then
8927 OPENAL_LIBS="-framework OpenAL"
8930 cat >>confdefs.h <<_ACEOF
8931 #define HAVE_OPENAL 1
8932 _ACEOF
8934 ac_cv_lib_openal=yes
8936 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8937 then
8938 OPENCL_LIBS="-framework OpenCL"
8940 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8942 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8943 then
8944 ac_save_LIBS="$LIBS"
8945 LIBS="$LIBS $IOKIT_LIBS"
8946 for ac_func in IOHIDManagerCreate
8947 do :
8948 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8949 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8950 cat >>confdefs.h <<_ACEOF
8951 #define HAVE_IOHIDMANAGERCREATE 1
8952 _ACEOF
8955 done
8957 LIBS="$ac_save_LIBS"
8959 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8960 then
8961 ac_save_LIBS="$LIBS"
8962 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8964 $as_echo_n "checking for the QuickTime framework... " >&6; }
8965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8966 /* end confdefs.h. */
8967 #include <QuickTime/ImageCompression.h>
8969 main ()
8971 CodecManagerVersion(NULL);
8973 return 0;
8975 _ACEOF
8976 if ac_fn_c_try_link "$LINENO"; then :
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8978 $as_echo "yes" >&6; }
8979 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8981 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8982 else
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8984 $as_echo "no" >&6; }
8985 ac_cv_header_QuickTime_ImageCompression_h=no
8987 rm -f core conftest.err conftest.$ac_objext \
8988 conftest$ac_exeext conftest.$ac_ext
8989 LIBS="$ac_save_LIBS"
8991 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8992 then
8993 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8995 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8996 then
8997 CARBON_LIBS="-framework Carbon"
9000 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9001 then
9002 METAL_LIBS="-framework Metal -framework QuartzCore"
9006 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9007 then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9009 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9010 ac_ext=m
9011 ac_cpp='$OBJCPP $CPPFLAGS'
9012 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9013 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9014 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9018 #include <Metal/Metal.h>
9020 main ()
9022 id<MTLDevice> device; device.registryID;
9024 return 0;
9026 _ACEOF
9027 if ac_fn_objc_try_compile "$LINENO"; then :
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9029 $as_echo "yes" >&6; }
9031 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9033 else
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9035 $as_echo "no" >&6; }
9037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9038 ac_ext=c
9039 ac_cpp='$CPP $CPPFLAGS'
9040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9046 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9047 then
9048 ac_save_LIBS="$LIBS"
9049 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9050 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9051 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9052 enable_winemac_drv=${enable_winemac_drv:-yes}
9055 LIBS="$ac_save_LIBS"
9058 if test "x$enable_win16" = "xyes"
9059 then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9061 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9062 if test "$cross_compiling" = yes; then :
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9064 $as_echo "cross-compiling, assuming yes" >&6; }
9065 else
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9068 asm(".text\n"
9069 "bad:\tnop;nop\n"
9070 "good:\tnop;nop\n\t"
9071 ".globl _testfunc\n"
9072 "_testfunc:\tcallw good");
9073 extern void testfunc();
9075 main ()
9077 unsigned short *p = (unsigned short *)testfunc;
9078 return p[0] != 0xe866 || p[1] != 0xfffa
9080 return 0;
9082 _ACEOF
9083 if ac_fn_c_try_run "$LINENO"; then :
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9085 $as_echo "yes" >&6; }
9086 else
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9088 $as_echo "no" >&6; }
9089 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
9091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9092 conftest.$ac_objext conftest.beam conftest.$ac_ext
9097 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9099 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9101 WINELOADER_DEPENDS="wine_info.plist"
9103 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9104 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9107 linux-android*)
9108 DLLFLAGS="$DLLFLAGS -fPIC"
9109 LDDLLFLAGS="-fPIC"
9110 LDEXECFLAGS="-Wl,-pie"
9111 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9113 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9114 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9115 $as_echo_n "(cached) " >&6
9116 else
9117 ac_wine_try_cflags_saved=$CFLAGS
9118 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9121 int main(int argc, char **argv) { return 0; }
9122 _ACEOF
9123 if ac_fn_c_try_link "$LINENO"; then :
9124 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9125 else
9126 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9128 rm -f core conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 CFLAGS=$ac_wine_try_cflags_saved
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9133 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9134 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9135 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9137 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9138 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9140 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9141 if eval \${$as_ac_var+:} false; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 ac_wine_try_cflags_saved=$CFLAGS
9145 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9148 int main(int argc, char **argv) { return 0; }
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 eval "$as_ac_var=yes"
9152 else
9153 eval "$as_ac_var=no"
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 CFLAGS=$ac_wine_try_cflags_saved
9159 eval ac_res=\$$as_ac_var
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9161 $as_echo "$ac_res" >&6; }
9162 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9163 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9164 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9165 else
9166 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9168 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9169 if eval \${$as_ac_var+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_wine_try_cflags_saved=$CFLAGS
9173 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9176 int main(int argc, char **argv) { return 0; }
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 eval "$as_ac_var=yes"
9180 else
9181 eval "$as_ac_var=no"
9183 rm -f core conftest.err conftest.$ac_objext \
9184 conftest$ac_exeext conftest.$ac_ext
9185 CFLAGS=$ac_wine_try_cflags_saved
9187 eval ac_res=\$$as_ac_var
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9189 $as_echo "$ac_res" >&6; }
9190 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9191 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9192 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9196 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9197 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9198 $as_echo_n "(cached) " >&6
9199 else
9200 ac_wine_try_cflags_saved=$CFLAGS
9201 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9204 int main(int argc, char **argv) { return 0; }
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 ac_cv_cflags__Wl___enable_new_dtags=yes
9208 else
9209 ac_cv_cflags__Wl___enable_new_dtags=no
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 CFLAGS=$ac_wine_try_cflags_saved
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9216 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9217 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9218 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9221 LIBWINE_SHAREDLIB="libwine.so"
9223 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9225 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9228 $as_echo_n "checking for -lEGL... " >&6; }
9229 if ${ac_cv_lib_soname_EGL+:} false; then :
9230 $as_echo_n "(cached) " >&6
9231 else
9232 ac_check_soname_save_LIBS=$LIBS
9233 LIBS="-lEGL $LIBS"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9240 #ifdef __cplusplus
9241 extern "C"
9242 #endif
9243 char eglGetProcAddress ();
9245 main ()
9247 return eglGetProcAddress ();
9249 return 0;
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253 case "$LIBEXT" in
9254 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9255 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'` ;;
9256 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9257 if ${ac_cv_lib_soname_EGL:+false} :; then :
9258 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9259 fi ;;
9260 esac
9261 else
9262 ac_cv_lib_soname_EGL=
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_soname_save_LIBS
9268 if ${ac_cv_lib_soname_EGL:+false} :; then :
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9270 $as_echo "not found" >&6; }
9272 else
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9274 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9276 cat >>confdefs.h <<_ACEOF
9277 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9278 _ACEOF
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9283 $as_echo_n "checking for -lGLESv2... " >&6; }
9284 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_check_soname_save_LIBS=$LIBS
9288 LIBS="-lGLESv2 $LIBS"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9295 #ifdef __cplusplus
9296 extern "C"
9297 #endif
9298 char glFlush ();
9300 main ()
9302 return glFlush ();
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 case "$LIBEXT" in
9309 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9310 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'` ;;
9311 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9312 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9313 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9314 fi ;;
9315 esac
9316 else
9317 ac_cv_lib_soname_GLESv2=
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 LIBS=$ac_check_soname_save_LIBS
9323 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9325 $as_echo "not found" >&6; }
9327 else
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9329 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9331 cat >>confdefs.h <<_ACEOF
9332 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9333 _ACEOF
9338 if test "x$exec_prefix" = xNONE
9339 then
9340 case $host_cpu in
9341 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9342 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9343 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9344 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9345 esac
9350 case $host_cpu in
9351 *i[3456789]86*)
9352 DLLFLAGS="$DLLFLAGS -fno-PIC"
9353 LDDLLFLAGS="-fno-PIC" ;;
9355 DLLFLAGS="$DLLFLAGS -fPIC"
9356 LDDLLFLAGS="-fPIC" ;;
9357 esac
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9359 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9360 if ${ac_cv_c_dll_gnuelf+:} false; then :
9361 $as_echo_n "(cached) " >&6
9362 else
9363 ac_wine_try_cflags_saved=$CFLAGS
9364 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9367 void myfunc() {}
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9371 else
9372 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 CFLAGS=$ac_wine_try_cflags_saved
9377 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9378 ac_cv_c_dll_gnuelf="yes"
9379 else
9380 ac_cv_c_dll_gnuelf="no"
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9384 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9385 if test "$ac_cv_c_dll_gnuelf" = "yes"
9386 then
9387 LIBWINE_LDFLAGS="-shared"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9389 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9390 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9391 $as_echo_n "(cached) " >&6
9392 else
9393 ac_wine_try_cflags_saved=$CFLAGS
9394 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9397 int main(int argc, char **argv) { return 0; }
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9401 else
9402 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 CFLAGS=$ac_wine_try_cflags_saved
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9409 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9410 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9411 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9412 else
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9414 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9415 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_wine_try_cflags_saved=$CFLAGS
9419 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9422 int main(int argc, char **argv) { return 0; }
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9426 else
9427 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 CFLAGS=$ac_wine_try_cflags_saved
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9434 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9435 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9436 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9440 echo '{ global: *; };' >conftest.map
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9442 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9443 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_wine_try_cflags_saved=$CFLAGS
9447 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9450 int main(int argc, char **argv) { return 0; }
9451 _ACEOF
9452 if ac_fn_c_try_link "$LINENO"; then :
9453 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9454 else
9455 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9457 rm -f core conftest.err conftest.$ac_objext \
9458 conftest$ac_exeext conftest.$ac_ext
9459 CFLAGS=$ac_wine_try_cflags_saved
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9462 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9463 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9464 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9466 rm -f conftest.map
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9469 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9470 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9471 $as_echo_n "(cached) " >&6
9472 else
9473 ac_wine_try_cflags_saved=$CFLAGS
9474 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_cflags__Wl___export_dynamic=yes
9481 else
9482 ac_cv_cflags__Wl___export_dynamic=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 CFLAGS=$ac_wine_try_cflags_saved
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9489 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9490 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9491 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9493 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9495 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9497 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9498 if eval \${$as_ac_var+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_wine_try_cflags_saved=$CFLAGS
9502 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9505 int main(int argc, char **argv) { return 0; }
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 eval "$as_ac_var=yes"
9509 else
9510 eval "$as_ac_var=no"
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 CFLAGS=$ac_wine_try_cflags_saved
9516 eval ac_res=\$$as_ac_var
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9518 $as_echo "$ac_res" >&6; }
9519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9520 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9521 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9522 else
9523 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9525 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9526 if eval \${$as_ac_var+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_wine_try_cflags_saved=$CFLAGS
9530 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533 int main(int argc, char **argv) { return 0; }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 eval "$as_ac_var=yes"
9537 else
9538 eval "$as_ac_var=no"
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 CFLAGS=$ac_wine_try_cflags_saved
9544 eval ac_res=\$$as_ac_var
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9546 $as_echo "$ac_res" >&6; }
9547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9548 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9549 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9554 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9555 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 ac_wine_try_cflags_saved=$CFLAGS
9559 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9562 int main(int argc, char **argv) { return 0; }
9563 _ACEOF
9564 if ac_fn_c_try_link "$LINENO"; then :
9565 ac_cv_cflags__Wl___enable_new_dtags=yes
9566 else
9567 ac_cv_cflags__Wl___enable_new_dtags=no
9569 rm -f core conftest.err conftest.$ac_objext \
9570 conftest$ac_exeext conftest.$ac_ext
9571 CFLAGS=$ac_wine_try_cflags_saved
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9574 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9575 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9576 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9579 case $host_cpu in
9580 *i[3456789]86* | x86_64 | *aarch64*)
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9582 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9583 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 ac_wine_try_cflags_saved=$CFLAGS
9587 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9590 int main(int argc, char **argv) { return 0; }
9591 _ACEOF
9592 if ac_fn_c_try_link "$LINENO"; then :
9593 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9594 else
9595 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9597 rm -f core conftest.err conftest.$ac_objext \
9598 conftest$ac_exeext conftest.$ac_ext
9599 CFLAGS=$ac_wine_try_cflags_saved
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9602 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9603 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9604 case $host_os in
9605 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9606 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9607 esac
9608 else
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9610 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9611 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 ac_wine_try_cflags_saved=$CFLAGS
9615 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9618 int main(int argc, char **argv) { return 0; }
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9622 else
9623 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 CFLAGS=$ac_wine_try_cflags_saved
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9630 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9631 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9632 case $host_os in
9633 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9634 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9635 esac
9637 # Extract the first word of "prelink", so it can be a program name with args.
9638 set dummy prelink; ac_word=$2
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 $as_echo_n "checking for $ac_word... " >&6; }
9641 if ${ac_cv_path_PRELINK+:} false; then :
9642 $as_echo_n "(cached) " >&6
9643 else
9644 case $PRELINK in
9645 [\\/]* | ?:[\\/]*)
9646 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 for as_dir in /sbin /usr/sbin $PATH
9652 IFS=$as_save_IFS
9653 test -z "$as_dir" && as_dir=.
9654 for ac_exec_ext in '' $ac_executable_extensions; do
9655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9656 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 break 2
9660 done
9661 done
9662 IFS=$as_save_IFS
9664 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9666 esac
9668 PRELINK=$ac_cv_path_PRELINK
9669 if test -n "$PRELINK"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9671 $as_echo "$PRELINK" >&6; }
9672 else
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 $as_echo "no" >&6; }
9678 if test "x$PRELINK" = xfalse
9679 then
9680 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9684 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9685 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9686 $as_echo_n "(cached) " >&6
9687 else
9688 ac_wine_try_cflags_saved=$CFLAGS
9689 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9692 int main(int argc, char **argv) { return 0; }
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9696 else
9697 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 CFLAGS=$ac_wine_try_cflags_saved
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9704 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9705 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9706 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9709 esac
9711 else
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9713 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9714 if ${ac_cv_c_dll_unixware+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 ac_wine_try_cflags_saved=$CFLAGS
9718 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9721 void myfunc() {}
9722 _ACEOF
9723 if ac_fn_c_try_link "$LINENO"; then :
9724 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9725 else
9726 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9728 rm -f core conftest.err conftest.$ac_objext \
9729 conftest$ac_exeext conftest.$ac_ext
9730 CFLAGS=$ac_wine_try_cflags_saved
9731 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9732 ac_cv_c_dll_unixware="yes"
9733 else
9734 ac_cv_c_dll_unixware="no"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9738 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9739 if test "$ac_cv_c_dll_unixware" = "yes"
9740 then
9741 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9744 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9746 LIBWINE_DEPENDS="wine.map"
9748 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9749 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9751 esac
9753 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9754 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9755 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9756 enable_winemac_drv=${enable_winemac_drv:-no}
9757 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9760 if test "x$with_mingw" != xno
9761 then
9762 case "x$with_mingw" in
9763 x|xyes) case "$host_cpu" in
9764 aarch64*)
9765 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9766 arm*)
9767 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9768 i[3456789]86*)
9769 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
9770 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9771 mingw32-gcc" ;;
9772 x86_64)
9773 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
9774 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9776 ac_prefix_list="" ;;
9777 esac
9778 for ac_prog in $ac_prefix_list
9780 # Extract the first word of "$ac_prog", so it can be a program name with args.
9781 set dummy $ac_prog; ac_word=$2
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9783 $as_echo_n "checking for $ac_word... " >&6; }
9784 if ${ac_cv_prog_CROSSCC+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 if test -n "$CROSSCC"; then
9788 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9789 else
9790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9791 for as_dir in $PATH
9793 IFS=$as_save_IFS
9794 test -z "$as_dir" && as_dir=.
9795 for ac_exec_ext in '' $ac_executable_extensions; do
9796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9797 ac_cv_prog_CROSSCC="$ac_prog"
9798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9799 break 2
9801 done
9802 done
9803 IFS=$as_save_IFS
9807 CROSSCC=$ac_cv_prog_CROSSCC
9808 if test -n "$CROSSCC"; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9810 $as_echo "$CROSSCC" >&6; }
9811 else
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9813 $as_echo "no" >&6; }
9817 test -n "$CROSSCC" && break
9818 done
9819 test -n "$CROSSCC" || CROSSCC="false"
9821 *) CROSSCC=$with_mingw ;;
9822 esac
9823 if test "$CROSSCC" != "false"
9824 then
9825 ac_save_CC="$CC"
9826 saved_CFLAGS=$CFLAGS
9827 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9829 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9833 CC="$CROSSCC"
9834 CFLAGS=$CROSSCFLAGS
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9836 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9837 if ${wine_cv_crosscc+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9844 main ()
9848 return 0;
9850 _ACEOF
9851 if ac_fn_c_try_compile "$LINENO"; then :
9852 wine_cv_crosscc=yes
9853 else
9854 wine_cv_crosscc=no
9856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9859 $as_echo "$wine_cv_crosscc" >&6; }
9860 if test $wine_cv_crosscc = yes
9861 then
9862 set x $CROSSCC
9863 shift
9864 while test $# -ge 1
9866 case "$1" in
9867 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9868 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9869 esac
9870 shift
9871 done
9873 llvm_target=$CROSSTARGET
9874 llvm_cflags="-fuse-ld=lld"
9875 if test -z "$llvm_target"
9876 then
9877 case $host_cpu in
9878 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9879 *) llvm_target=$host_cpu-windows-gnu ;;
9880 esac
9882 case $llvm_target in
9883 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9884 esac
9885 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9887 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9888 if eval \${$as_ac_var+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 ac_wine_try_cflags_saved_cc=$CC
9893 ac_wine_try_cflags_saved_exeext=$ac_exeext
9894 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9895 CC="$CROSSCC"
9896 ac_exeext=".exe"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 int __cdecl mainCRTStartup(void) { return 0; }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 eval "$as_ac_var=yes"
9903 else
9904 eval "$as_ac_var=no"
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 CFLAGS=$ac_wine_try_cflags_saved
9909 CC=$ac_wine_try_cflags_saved_cc
9910 ac_exeext=$ac_wine_try_cflags_saved_exeext
9912 eval ac_res=\$$as_ac_var
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9914 $as_echo "$ac_res" >&6; }
9915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9916 CROSSTARGET=$llvm_target
9917 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9918 DELAYLOADFLAG="-Wl,-delayload,"
9920 CFLAGS="$CFLAGS $llvm_cflags"
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9924 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9925 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9926 $as_echo_n "(cached) " >&6
9927 else
9928 ac_wine_try_cflags_saved=$CFLAGS
9929 ac_wine_try_cflags_saved_cc=$CC
9930 ac_wine_try_cflags_saved_exeext=$ac_exeext
9931 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9932 CC="$CROSSCC"
9933 ac_exeext=".exe"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 int __cdecl mainCRTStartup(void) { return 0; }
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"; then :
9939 ac_cv_crosscflags__fno_strict_aliasing=yes
9940 else
9941 ac_cv_crosscflags__fno_strict_aliasing=no
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9946 CC=$ac_wine_try_cflags_saved_cc
9947 ac_exeext=$ac_wine_try_cflags_saved_exeext
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9950 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9951 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9952 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9955 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9956 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9957 $as_echo_n "(cached) " >&6
9958 else
9959 ac_wine_try_cflags_saved=$CFLAGS
9960 ac_wine_try_cflags_saved_cc=$CC
9961 ac_wine_try_cflags_saved_exeext=$ac_exeext
9962 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9963 CC="$CROSSCC"
9964 ac_exeext=".exe"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 int __cdecl mainCRTStartup(void) { return 0; }
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9971 else
9972 ac_cv_crosscflags__Werror_unknown_warning_option=no
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 CFLAGS=$ac_wine_try_cflags_saved
9977 CC=$ac_wine_try_cflags_saved_cc
9978 ac_exeext=$ac_wine_try_cflags_saved_exeext
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9981 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9982 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9983 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9986 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9987 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_wine_try_cflags_saved=$CFLAGS
9991 ac_wine_try_cflags_saved_cc=$CC
9992 ac_wine_try_cflags_saved_exeext=$ac_exeext
9993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9994 CC="$CROSSCC"
9995 ac_exeext=".exe"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9998 int __cdecl mainCRTStartup(void) { return 0; }
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10002 else
10003 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 CFLAGS=$ac_wine_try_cflags_saved
10008 CC=$ac_wine_try_cflags_saved_cc
10009 ac_exeext=$ac_wine_try_cflags_saved_exeext
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10012 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10013 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10014 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10017 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10018 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_wine_try_cflags_saved=$CFLAGS
10022 ac_wine_try_cflags_saved_cc=$CC
10023 ac_wine_try_cflags_saved_exeext=$ac_exeext
10024 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10025 CC="$CROSSCC"
10026 ac_exeext=".exe"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10029 int __cdecl mainCRTStartup(void) { return 0; }
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10033 else
10034 ac_cv_crosscflags__Wdeclaration_after_statement=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 CFLAGS=$ac_wine_try_cflags_saved
10039 CC=$ac_wine_try_cflags_saved_cc
10040 ac_exeext=$ac_wine_try_cflags_saved_exeext
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10043 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10044 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10045 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10048 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10049 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_wine_try_cflags_saved=$CFLAGS
10053 ac_wine_try_cflags_saved_cc=$CC
10054 ac_wine_try_cflags_saved_exeext=$ac_exeext
10055 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10056 CC="$CROSSCC"
10057 ac_exeext=".exe"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 int __cdecl mainCRTStartup(void) { return 0; }
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 ac_cv_crosscflags__Wempty_body=yes
10064 else
10065 ac_cv_crosscflags__Wempty_body=no
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 CFLAGS=$ac_wine_try_cflags_saved
10070 CC=$ac_wine_try_cflags_saved_cc
10071 ac_exeext=$ac_wine_try_cflags_saved_exeext
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10074 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10075 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10076 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10079 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10080 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_wine_try_cflags_saved=$CFLAGS
10084 ac_wine_try_cflags_saved_cc=$CC
10085 ac_wine_try_cflags_saved_exeext=$ac_exeext
10086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10087 CC="$CROSSCC"
10088 ac_exeext=".exe"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10091 int __cdecl mainCRTStartup(void) { return 0; }
10092 _ACEOF
10093 if ac_fn_c_try_link "$LINENO"; then :
10094 ac_cv_crosscflags__Wignored_qualifiers=yes
10095 else
10096 ac_cv_crosscflags__Wignored_qualifiers=no
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 CFLAGS=$ac_wine_try_cflags_saved
10101 CC=$ac_wine_try_cflags_saved_cc
10102 ac_exeext=$ac_wine_try_cflags_saved_exeext
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10105 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10106 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10107 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10110 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10111 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_wine_try_cflags_saved=$CFLAGS
10115 ac_wine_try_cflags_saved_cc=$CC
10116 ac_wine_try_cflags_saved_exeext=$ac_exeext
10117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10118 CC="$CROSSCC"
10119 ac_exeext=".exe"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 int __cdecl mainCRTStartup(void) { return 0; }
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 ac_cv_crosscflags__Wpacked_not_aligned=yes
10126 else
10127 ac_cv_crosscflags__Wpacked_not_aligned=no
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10132 CC=$ac_wine_try_cflags_saved_cc
10133 ac_exeext=$ac_wine_try_cflags_saved_exeext
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10136 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10137 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10138 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10141 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10142 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_wine_try_cflags_saved=$CFLAGS
10146 ac_wine_try_cflags_saved_cc=$CC
10147 ac_wine_try_cflags_saved_exeext=$ac_exeext
10148 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10149 CC="$CROSSCC"
10150 ac_exeext=".exe"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 int __cdecl mainCRTStartup(void) { return 0; }
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 ac_cv_crosscflags__Wpragma_pack=yes
10157 else
10158 ac_cv_crosscflags__Wpragma_pack=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10163 CC=$ac_wine_try_cflags_saved_cc
10164 ac_exeext=$ac_wine_try_cflags_saved_exeext
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10167 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10168 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10169 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10172 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10173 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 ac_wine_try_cflags_saved_cc=$CC
10178 ac_wine_try_cflags_saved_exeext=$ac_exeext
10179 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10180 CC="$CROSSCC"
10181 ac_exeext=".exe"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 int __cdecl mainCRTStartup(void) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 ac_cv_crosscflags__Wshift_overflow_2=yes
10188 else
10189 ac_cv_crosscflags__Wshift_overflow_2=no
10191 rm -f core conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 CFLAGS=$ac_wine_try_cflags_saved
10194 CC=$ac_wine_try_cflags_saved_cc
10195 ac_exeext=$ac_wine_try_cflags_saved_exeext
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10198 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10199 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10200 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10203 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10204 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 ac_wine_try_cflags_saved_cc=$CC
10209 ac_wine_try_cflags_saved_exeext=$ac_exeext
10210 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10211 CC="$CROSSCC"
10212 ac_exeext=".exe"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int __cdecl mainCRTStartup(void) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_crosscflags__Wstrict_prototypes=yes
10219 else
10220 ac_cv_crosscflags__Wstrict_prototypes=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10225 CC=$ac_wine_try_cflags_saved_cc
10226 ac_exeext=$ac_wine_try_cflags_saved_exeext
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10229 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10230 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10234 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10235 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 ac_wine_try_cflags_saved_cc=$CC
10240 ac_wine_try_cflags_saved_exeext=$ac_exeext
10241 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10242 CC="$CROSSCC"
10243 ac_exeext=".exe"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int __cdecl mainCRTStartup(void) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 ac_cv_crosscflags__Wtype_limits=yes
10250 else
10251 ac_cv_crosscflags__Wtype_limits=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10256 CC=$ac_wine_try_cflags_saved_cc
10257 ac_exeext=$ac_wine_try_cflags_saved_exeext
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10260 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10261 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10262 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10265 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10266 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 ac_wine_try_cflags_saved_cc=$CC
10271 ac_wine_try_cflags_saved_exeext=$ac_exeext
10272 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10273 CC="$CROSSCC"
10274 ac_exeext=".exe"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int __cdecl mainCRTStartup(void) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10281 else
10282 ac_cv_crosscflags__Wunused_but_set_parameter=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10287 CC=$ac_wine_try_cflags_saved_cc
10288 ac_exeext=$ac_wine_try_cflags_saved_exeext
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10291 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10292 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10293 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10296 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10297 if ${ac_cv_crosscflags__Wvla+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 ac_wine_try_cflags_saved_cc=$CC
10302 ac_wine_try_cflags_saved_exeext=$ac_exeext
10303 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10304 CC="$CROSSCC"
10305 ac_exeext=".exe"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 int __cdecl mainCRTStartup(void) { return 0; }
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"; then :
10311 ac_cv_crosscflags__Wvla=yes
10312 else
10313 ac_cv_crosscflags__Wvla=no
10315 rm -f core conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 CFLAGS=$ac_wine_try_cflags_saved
10318 CC=$ac_wine_try_cflags_saved_cc
10319 ac_exeext=$ac_wine_try_cflags_saved_exeext
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10322 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10323 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10324 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10327 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10328 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10329 $as_echo_n "(cached) " >&6
10330 else
10331 ac_wine_try_cflags_saved=$CFLAGS
10332 ac_wine_try_cflags_saved_cc=$CC
10333 ac_wine_try_cflags_saved_exeext=$ac_exeext
10334 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10335 CC="$CROSSCC"
10336 ac_exeext=".exe"
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 int __cdecl mainCRTStartup(void) { return 0; }
10340 _ACEOF
10341 if ac_fn_c_try_link "$LINENO"; then :
10342 ac_cv_crosscflags__Wwrite_strings=yes
10343 else
10344 ac_cv_crosscflags__Wwrite_strings=no
10346 rm -f core conftest.err conftest.$ac_objext \
10347 conftest$ac_exeext conftest.$ac_ext
10348 CFLAGS=$ac_wine_try_cflags_saved
10349 CC=$ac_wine_try_cflags_saved_cc
10350 ac_exeext=$ac_wine_try_cflags_saved_exeext
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10353 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10354 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10355 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10358 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10359 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 ac_wine_try_cflags_saved_cc=$CC
10364 ac_wine_try_cflags_saved_exeext=$ac_exeext
10365 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10366 CC="$CROSSCC"
10367 ac_exeext=".exe"
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10370 int __cdecl mainCRTStartup(void) { return 0; }
10371 _ACEOF
10372 if ac_fn_c_try_link "$LINENO"; then :
10373 ac_cv_crosscflags__Wpointer_arith=yes
10374 else
10375 ac_cv_crosscflags__Wpointer_arith=no
10377 rm -f core conftest.err conftest.$ac_objext \
10378 conftest$ac_exeext conftest.$ac_ext
10379 CFLAGS=$ac_wine_try_cflags_saved
10380 CC=$ac_wine_try_cflags_saved_cc
10381 ac_exeext=$ac_wine_try_cflags_saved_exeext
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10384 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10385 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10386 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10389 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10390 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 ac_wine_try_cflags_saved_cc=$CC
10395 ac_wine_try_cflags_saved_exeext=$ac_exeext
10396 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10397 CC="$CROSSCC"
10398 ac_exeext=".exe"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10401 int __cdecl mainCRTStartup(void) { return 0; }
10402 _ACEOF
10403 if ac_fn_c_try_link "$LINENO"; then :
10404 ac_cv_crosscflags__Wlogical_op=yes
10405 else
10406 ac_cv_crosscflags__Wlogical_op=no
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 CFLAGS=$ac_wine_try_cflags_saved
10411 CC=$ac_wine_try_cflags_saved_cc
10412 ac_exeext=$ac_wine_try_cflags_saved_exeext
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10415 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10416 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10417 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10420 case $host_cpu in
10421 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10422 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10423 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_wine_try_cflags_saved=$CFLAGS
10427 ac_wine_try_cflags_saved_cc=$CC
10428 ac_wine_try_cflags_saved_exeext=$ac_exeext
10429 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10430 CC="$CROSSCC"
10431 ac_exeext=".exe"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 int __cdecl mainCRTStartup(void) { return 0; }
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10438 else
10439 ac_cv_crosscflags__fno_omit_frame_pointer=no
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 CFLAGS=$ac_wine_try_cflags_saved
10444 CC=$ac_wine_try_cflags_saved_cc
10445 ac_exeext=$ac_wine_try_cflags_saved_exeext
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10448 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10449 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10450 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10451 fi ;;
10452 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10453 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10454 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_wine_try_cflags_saved=$CFLAGS
10458 ac_wine_try_cflags_saved_cc=$CC
10459 ac_wine_try_cflags_saved_exeext=$ac_exeext
10460 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10461 CC="$CROSSCC"
10462 ac_exeext=".exe"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10465 int __cdecl mainCRTStartup(void) { return 0; }
10466 _ACEOF
10467 if ac_fn_c_try_link "$LINENO"; then :
10468 ac_cv_crosscflags__Wno_format=yes
10469 else
10470 ac_cv_crosscflags__Wno_format=no
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 CFLAGS=$ac_wine_try_cflags_saved
10475 CC=$ac_wine_try_cflags_saved_cc
10476 ac_exeext=$ac_wine_try_cflags_saved_exeext
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10479 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10480 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10481 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10484 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10485 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_wine_try_cflags_saved=$CFLAGS
10489 ac_wine_try_cflags_saved_cc=$CC
10490 ac_wine_try_cflags_saved_exeext=$ac_exeext
10491 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10492 CC="$CROSSCC"
10493 ac_exeext=".exe"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 int __cdecl mainCRTStartup(void) { return 0; }
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_crosscflags__Wformat_overflow=yes
10500 else
10501 ac_cv_crosscflags__Wformat_overflow=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 CFLAGS=$ac_wine_try_cflags_saved
10506 CC=$ac_wine_try_cflags_saved_cc
10507 ac_exeext=$ac_wine_try_cflags_saved_exeext
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10510 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10511 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10512 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10515 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10516 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_wine_try_cflags_saved=$CFLAGS
10520 ac_wine_try_cflags_saved_cc=$CC
10521 ac_wine_try_cflags_saved_exeext=$ac_exeext
10522 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10523 CC="$CROSSCC"
10524 ac_exeext=".exe"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10527 int __cdecl mainCRTStartup(void) { return 0; }
10528 _ACEOF
10529 if ac_fn_c_try_link "$LINENO"; then :
10530 ac_cv_crosscflags__Wnonnull=yes
10531 else
10532 ac_cv_crosscflags__Wnonnull=no
10534 rm -f core conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10536 CFLAGS=$ac_wine_try_cflags_saved
10537 CC=$ac_wine_try_cflags_saved_cc
10538 ac_exeext=$ac_wine_try_cflags_saved_exeext
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10541 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10542 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10543 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10544 fi ;;
10545 esac
10548 if test -z "$CROSSDEBUG"
10549 then
10550 for ac_flag in $CROSSCFLAGS; do
10551 case $ac_flag in
10552 -gdwarf*) CROSSDEBUG=dwarf ;;
10553 -gcodeview) CROSSDEBUG=pdb ;;
10554 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10555 esac
10556 done
10558 case $CROSSDEBUG in
10559 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10560 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10561 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_wine_try_cflags_saved=$CFLAGS
10565 ac_wine_try_cflags_saved_cc=$CC
10566 ac_wine_try_cflags_saved_exeext=$ac_exeext
10567 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10568 CC="$CROSSCC"
10569 ac_exeext=".exe"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10572 int __cdecl mainCRTStartup(void) { return 0; }
10573 _ACEOF
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 ac_cv_crosscflags__gdwarf_2=yes
10576 else
10577 ac_cv_crosscflags__gdwarf_2=no
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 CFLAGS=$ac_wine_try_cflags_saved
10582 CC=$ac_wine_try_cflags_saved_cc
10583 ac_exeext=$ac_wine_try_cflags_saved_exeext
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10586 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10587 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10588 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10591 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10592 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_cc=$CC
10597 ac_wine_try_cflags_saved_exeext=$ac_exeext
10598 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10599 CC="$CROSSCC"
10600 ac_exeext=".exe"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 int __cdecl mainCRTStartup(void) { return 0; }
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 ac_cv_crosscflags__gstrict_dwarf=yes
10607 else
10608 ac_cv_crosscflags__gstrict_dwarf=no
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 CFLAGS=$ac_wine_try_cflags_saved
10613 CC=$ac_wine_try_cflags_saved_cc
10614 ac_exeext=$ac_wine_try_cflags_saved_exeext
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10617 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10618 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10620 fi ;;
10621 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10622 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10623 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10624 $as_echo_n "(cached) " >&6
10625 else
10626 ac_wine_try_cflags_saved=$CFLAGS
10627 ac_wine_try_cflags_saved_cc=$CC
10628 ac_wine_try_cflags_saved_exeext=$ac_exeext
10629 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10630 CC="$CROSSCC"
10631 ac_exeext=".exe"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634 int __cdecl mainCRTStartup(void) { return 0; }
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 ac_cv_crosscflags__gcodeview=yes
10638 else
10639 ac_cv_crosscflags__gcodeview=no
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 CFLAGS=$ac_wine_try_cflags_saved
10644 CC=$ac_wine_try_cflags_saved_cc
10645 ac_exeext=$ac_wine_try_cflags_saved_exeext
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10648 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10649 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10650 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10651 fi ;;
10652 esac
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10655 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10656 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10657 $as_echo_n "(cached) " >&6
10658 else
10659 ac_wine_try_cflags_saved=$CFLAGS
10660 ac_wine_try_cflags_saved_cc=$CC
10661 ac_wine_try_cflags_saved_exeext=$ac_exeext
10662 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10663 CC="$CROSSCC"
10664 ac_exeext=".exe"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 int __cdecl mainCRTStartup(void) { return 0; }
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 ac_cv_crosscflags__fexcess_precision_standard=yes
10671 else
10672 ac_cv_crosscflags__fexcess_precision_standard=no
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 CFLAGS=$ac_wine_try_cflags_saved
10677 CC=$ac_wine_try_cflags_saved_cc
10678 ac_exeext=$ac_wine_try_cflags_saved_exeext
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10681 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10682 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10683 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10687 if test "x$enable_werror" = "xyes"
10688 then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10690 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10691 if ${ac_cv_crosscflags__Werror+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_wine_try_cflags_saved=$CFLAGS
10695 ac_wine_try_cflags_saved_cc=$CC
10696 ac_wine_try_cflags_saved_exeext=$ac_exeext
10697 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10698 CC="$CROSSCC"
10699 ac_exeext=".exe"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10702 int __cdecl mainCRTStartup(void) { return 0; }
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 ac_cv_crosscflags__Werror=yes
10706 else
10707 ac_cv_crosscflags__Werror=no
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 CFLAGS=$ac_wine_try_cflags_saved
10712 CC=$ac_wine_try_cflags_saved_cc
10713 ac_exeext=$ac_wine_try_cflags_saved_exeext
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10716 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10717 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10718 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10722 CFLAGS=$saved_CFLAGS
10723 CC="$ac_save_CC"
10726 if test "x$CROSSTARGET" = "x"; then :
10727 case "x$with_mingw" in
10728 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10729 xno) ;;
10730 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10731 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10732 esac
10737 if test "$ac_cv_header_pthread_h" = "yes"
10738 then
10739 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10740 if test "x$ac_cv_func_pthread_create" = xyes; then :
10742 else
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10744 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10745 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lpthread $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char pthread_create ();
10761 main ()
10763 return pthread_create ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_pthread_pthread_create=yes
10770 else
10771 ac_cv_lib_pthread_pthread_create=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10778 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10779 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10780 PTHREAD_LIBS="-lpthread"
10787 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10788 case "x$with_pthread" in
10789 xno) ;;
10790 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10791 Wine cannot support threads without libpthread.
10792 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10793 esac
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10799 $as_echo_n "checking for X... " >&6; }
10802 # Check whether --with-x was given.
10803 if test "${with_x+set}" = set; then :
10804 withval=$with_x;
10807 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10808 if test "x$with_x" = xno; then
10809 # The user explicitly disabled X.
10810 have_x=disabled
10811 else
10812 case $x_includes,$x_libraries in #(
10813 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10814 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10815 $as_echo_n "(cached) " >&6
10816 else
10817 # One or both of the vars are not set, and there is no cached value.
10818 ac_x_includes=no ac_x_libraries=no
10819 rm -f -r conftest.dir
10820 if mkdir conftest.dir; then
10821 cd conftest.dir
10822 cat >Imakefile <<'_ACEOF'
10823 incroot:
10824 @echo incroot='${INCROOT}'
10825 usrlibdir:
10826 @echo usrlibdir='${USRLIBDIR}'
10827 libdir:
10828 @echo libdir='${LIBDIR}'
10829 _ACEOF
10830 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10831 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10832 for ac_var in incroot usrlibdir libdir; do
10833 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10834 done
10835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10836 for ac_extension in a so sl dylib la dll; do
10837 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10838 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10839 ac_im_usrlibdir=$ac_im_libdir; break
10841 done
10842 # Screen out bogus values from the imake configuration. They are
10843 # bogus both because they are the default anyway, and because
10844 # using them would break gcc on systems where it needs fixed includes.
10845 case $ac_im_incroot in
10846 /usr/include) ac_x_includes= ;;
10847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10848 esac
10849 case $ac_im_usrlibdir in
10850 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10852 esac
10854 cd ..
10855 rm -f -r conftest.dir
10858 # Standard set of common directories for X headers.
10859 # Check X11 before X11Rn because it is often a symlink to the current release.
10860 ac_x_header_dirs='
10861 /usr/X11/include
10862 /usr/X11R7/include
10863 /usr/X11R6/include
10864 /usr/X11R5/include
10865 /usr/X11R4/include
10867 /usr/include/X11
10868 /usr/include/X11R7
10869 /usr/include/X11R6
10870 /usr/include/X11R5
10871 /usr/include/X11R4
10873 /usr/local/X11/include
10874 /usr/local/X11R7/include
10875 /usr/local/X11R6/include
10876 /usr/local/X11R5/include
10877 /usr/local/X11R4/include
10879 /usr/local/include/X11
10880 /usr/local/include/X11R7
10881 /usr/local/include/X11R6
10882 /usr/local/include/X11R5
10883 /usr/local/include/X11R4
10885 /usr/X386/include
10886 /usr/x386/include
10887 /usr/XFree86/include/X11
10889 /usr/include
10890 /usr/local/include
10891 /usr/unsupported/include
10892 /usr/athena/include
10893 /usr/local/x11r5/include
10894 /usr/lpp/Xamples/include
10896 /usr/openwin/include
10897 /usr/openwin/share/include'
10899 if test "$ac_x_includes" = no; then
10900 # Guess where to find include files, by looking for Xlib.h.
10901 # First, try using that file with no special directory specified.
10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10904 #include <X11/Xlib.h>
10905 _ACEOF
10906 if ac_fn_c_try_cpp "$LINENO"; then :
10907 # We can compile using X headers with no special include directory.
10908 ac_x_includes=
10909 else
10910 for ac_dir in $ac_x_header_dirs; do
10911 if test -r "$ac_dir/X11/Xlib.h"; then
10912 ac_x_includes=$ac_dir
10913 break
10915 done
10917 rm -f conftest.err conftest.i conftest.$ac_ext
10918 fi # $ac_x_includes = no
10920 if test "$ac_x_libraries" = no; then
10921 # Check for the libraries.
10922 # See if we find them without any special options.
10923 # Don't add to $LIBS permanently.
10924 ac_save_LIBS=$LIBS
10925 LIBS="-lX11 $LIBS"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 #include <X11/Xlib.h>
10930 main ()
10932 XrmInitialize ()
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 LIBS=$ac_save_LIBS
10939 # We can link X programs with no special library path.
10940 ac_x_libraries=
10941 else
10942 LIBS=$ac_save_LIBS
10943 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10945 # Don't even attempt the hair of trying to link an X program!
10946 for ac_extension in a so sl dylib la dll; do
10947 if test -r "$ac_dir/libX11.$ac_extension"; then
10948 ac_x_libraries=$ac_dir
10949 break 2
10951 done
10952 done
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 fi # $ac_x_libraries = no
10958 case $ac_x_includes,$ac_x_libraries in #(
10959 no,* | *,no | *\'*)
10960 # Didn't find X, or a directory has "'" in its name.
10961 ac_cv_have_x="have_x=no";; #(
10963 # Record where we found X for the cache.
10964 ac_cv_have_x="have_x=yes\
10965 ac_x_includes='$ac_x_includes'\
10966 ac_x_libraries='$ac_x_libraries'"
10967 esac
10969 ;; #(
10970 *) have_x=yes;;
10971 esac
10972 eval "$ac_cv_have_x"
10973 fi # $with_x != no
10975 if test "$have_x" != yes; then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10977 $as_echo "$have_x" >&6; }
10978 no_x=yes
10979 else
10980 # If each of the values was on the command line, it overrides each guess.
10981 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10982 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10983 # Update the cache value to reflect the command line values.
10984 ac_cv_have_x="have_x=yes\
10985 ac_x_includes='$x_includes'\
10986 ac_x_libraries='$x_libraries'"
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10988 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10991 if test "$no_x" = yes; then
10992 # Not all programs may use this symbol, but it does not hurt to define it.
10994 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10996 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10997 else
10998 if test -n "$x_includes"; then
10999 X_CFLAGS="$X_CFLAGS -I$x_includes"
11002 # It would also be nice to do this for all -L options, not just this one.
11003 if test -n "$x_libraries"; then
11004 X_LIBS="$X_LIBS -L$x_libraries"
11005 # For Solaris; some versions of Sun CC require a space after -R and
11006 # others require no space. Words are not sufficient . . . .
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11008 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11009 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11010 ac_xsave_c_werror_flag=$ac_c_werror_flag
11011 ac_c_werror_flag=yes
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11016 main ()
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11025 $as_echo "no" >&6; }
11026 X_LIBS="$X_LIBS -R$x_libraries"
11027 else
11028 LIBS="$ac_xsave_LIBS -R $x_libraries"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11033 main ()
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11042 $as_echo "yes" >&6; }
11043 X_LIBS="$X_LIBS -R $x_libraries"
11044 else
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11046 $as_echo "neither works" >&6; }
11048 rm -f core conftest.err conftest.$ac_objext \
11049 conftest$ac_exeext conftest.$ac_ext
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11053 ac_c_werror_flag=$ac_xsave_c_werror_flag
11054 LIBS=$ac_xsave_LIBS
11057 # Check for system-dependent libraries X programs must link with.
11058 # Do this before checking for the system-independent R6 libraries
11059 # (-lICE), since we may need -lsocket or whatever for X linking.
11061 if test "$ISC" = yes; then
11062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11063 else
11064 # Martyn Johnson says this is needed for Ultrix, if the X
11065 # libraries were built with DECnet support. And Karl Berry says
11066 # the Alpha needs dnet_stub (dnet does not exist).
11067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 char XOpenDisplay ();
11079 main ()
11081 return XOpenDisplay ();
11083 return 0;
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"; then :
11088 else
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11090 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11091 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-ldnet $LIBS"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char dnet_ntoa ();
11107 main ()
11109 return dnet_ntoa ();
11111 return 0;
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 ac_cv_lib_dnet_dnet_ntoa=yes
11116 else
11117 ac_cv_lib_dnet_dnet_ntoa=no
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_lib_save_LIBS
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11124 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11125 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11129 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11131 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11132 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11133 $as_echo_n "(cached) " >&6
11134 else
11135 ac_check_lib_save_LIBS=$LIBS
11136 LIBS="-ldnet_stub $LIBS"
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11140 /* Override any GCC internal prototype to avoid an error.
11141 Use char because int might match the return type of a GCC
11142 builtin and then its argument prototype would still apply. */
11143 #ifdef __cplusplus
11144 extern "C"
11145 #endif
11146 char dnet_ntoa ();
11148 main ()
11150 return dnet_ntoa ();
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_link "$LINENO"; then :
11156 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11157 else
11158 ac_cv_lib_dnet_stub_dnet_ntoa=no
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_lib_save_LIBS
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11165 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11166 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS="$ac_xsave_LIBS"
11176 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11177 # to get the SysV transport functions.
11178 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11179 # needs -lnsl.
11180 # The nsl library prevents programs from opening the X display
11181 # on Irix 5.2, according to T.E. Dickey.
11182 # The functions gethostbyname, getservbyname, and inet_addr are
11183 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11184 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11185 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11189 if test $ac_cv_func_gethostbyname = no; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11191 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11192 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lnsl $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char gethostbyname ();
11208 main ()
11210 return gethostbyname ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_nsl_gethostbyname=yes
11217 else
11218 ac_cv_lib_nsl_gethostbyname=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11225 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11226 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11230 if test $ac_cv_lib_nsl_gethostbyname = no; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11232 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11233 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lbsd $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char gethostbyname ();
11249 main ()
11251 return gethostbyname ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_bsd_gethostbyname=yes
11258 else
11259 ac_cv_lib_bsd_gethostbyname=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11266 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11267 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11274 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11275 # socket/setsockopt and other routines are undefined under SCO ODT
11276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11277 # on later versions), says Simon Leinen: it contains gethostby*
11278 # variants that don't use the name server (or something). -lsocket
11279 # must be given before -lnsl if both are needed. We assume that
11280 # if connect needs -lnsl, so does gethostbyname.
11281 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11282 if test "x$ac_cv_func_connect" = xyes; then :
11286 if test $ac_cv_func_connect = no; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11288 $as_echo_n "checking for connect in -lsocket... " >&6; }
11289 if ${ac_cv_lib_socket_connect+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char connect ();
11305 main ()
11307 return connect ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_socket_connect=yes
11314 else
11315 ac_cv_lib_socket_connect=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11322 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11323 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11324 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11329 # Guillermo Gomez says -lposix is necessary on A/UX.
11330 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11331 if test "x$ac_cv_func_remove" = xyes; then :
11335 if test $ac_cv_func_remove = no; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11337 $as_echo_n "checking for remove in -lposix... " >&6; }
11338 if ${ac_cv_lib_posix_remove+:} false; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_lib_save_LIBS=$LIBS
11342 LIBS="-lposix $LIBS"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char remove ();
11354 main ()
11356 return remove ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 ac_cv_lib_posix_remove=yes
11363 else
11364 ac_cv_lib_posix_remove=no
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_lib_save_LIBS
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11371 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11372 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11373 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11378 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11379 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11380 if test "x$ac_cv_func_shmat" = xyes; then :
11384 if test $ac_cv_func_shmat = no; then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11386 $as_echo_n "checking for shmat in -lipc... " >&6; }
11387 if ${ac_cv_lib_ipc_shmat+:} false; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lipc $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char shmat ();
11403 main ()
11405 return shmat ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 ac_cv_lib_ipc_shmat=yes
11412 else
11413 ac_cv_lib_ipc_shmat=no
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11420 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11421 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11422 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11428 # Check for libraries that X11R6 Xt/Xaw programs need.
11429 ac_save_LDFLAGS=$LDFLAGS
11430 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11431 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11432 # check for ICE first), but we must link in the order -lSM -lICE or
11433 # we get undefined symbols. So assume we have SM if we have ICE.
11434 # These have to be linked with before -lX11, unlike the other
11435 # libraries we check for below, so use a different variable.
11436 # John Interrante, Karl Berry
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11438 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11439 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char IceConnectionNumber ();
11455 main ()
11457 return IceConnectionNumber ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_ICE_IceConnectionNumber=yes
11464 else
11465 ac_cv_lib_ICE_IceConnectionNumber=no
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11472 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11473 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11474 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11477 LDFLAGS=$ac_save_LDFLAGS
11482 if test "$have_x" = "yes"
11483 then
11484 ac_save_CPPFLAGS="$CPPFLAGS"
11485 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11488 $as_echo_n "checking for -lX11... " >&6; }
11489 if ${ac_cv_lib_soname_X11+:} false; then :
11490 $as_echo_n "(cached) " >&6
11491 else
11492 ac_check_soname_save_LIBS=$LIBS
11493 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char XCreateWindow ();
11505 main ()
11507 return XCreateWindow ();
11509 return 0;
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513 case "$LIBEXT" in
11514 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11517 if ${ac_cv_lib_soname_X11:+false} :; then :
11518 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11519 fi ;;
11520 esac
11521 else
11522 ac_cv_lib_soname_X11=
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_soname_save_LIBS
11528 if ${ac_cv_lib_soname_X11:+false} :; then :
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11530 $as_echo "not found" >&6; }
11532 else
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11534 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11536 cat >>confdefs.h <<_ACEOF
11537 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11538 _ACEOF
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11543 $as_echo_n "checking for -lXext... " >&6; }
11544 if ${ac_cv_lib_soname_Xext+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_soname_save_LIBS=$LIBS
11548 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char XextCreateExtension ();
11560 main ()
11562 return XextCreateExtension ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 case "$LIBEXT" in
11569 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11570 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'` ;;
11571 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11572 if ${ac_cv_lib_soname_Xext:+false} :; then :
11573 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11574 fi ;;
11575 esac
11576 else
11577 ac_cv_lib_soname_Xext=
11579 rm -f core conftest.err conftest.$ac_objext \
11580 conftest$ac_exeext conftest.$ac_ext
11581 LIBS=$ac_check_soname_save_LIBS
11583 if ${ac_cv_lib_soname_Xext:+false} :; then :
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11585 $as_echo "not found" >&6; }
11587 else
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11589 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11591 cat >>confdefs.h <<_ACEOF
11592 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11593 _ACEOF
11595 X_LIBS="$X_LIBS -lXext"
11597 X_LIBS="$X_LIBS -lX11"
11599 for ac_header in X11/Xlib.h \
11600 X11/XKBlib.h \
11601 X11/Xutil.h \
11602 X11/Xcursor/Xcursor.h \
11603 X11/extensions/shape.h \
11604 X11/extensions/XInput.h \
11605 X11/extensions/XInput2.h \
11606 X11/extensions/XShm.h \
11607 X11/extensions/Xcomposite.h \
11608 X11/extensions/Xfixes.h \
11609 X11/extensions/Xinerama.h \
11610 X11/extensions/Xrandr.h \
11611 X11/extensions/Xrender.h \
11612 X11/extensions/xf86vmode.h \
11613 X11/extensions/xf86vmproto.h
11614 do :
11615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11616 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11617 # include <X11/Xlib.h>
11618 #endif
11619 #ifdef HAVE_X11_XUTIL_H
11620 # include <X11/Xutil.h>
11621 #endif
11623 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11624 cat >>confdefs.h <<_ACEOF
11625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11626 _ACEOF
11630 done
11633 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11634 then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11636 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11637 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 ac_check_lib_save_LIBS=$LIBS
11641 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11648 #ifdef __cplusplus
11649 extern "C"
11650 #endif
11651 char XkbQueryExtension ();
11653 main ()
11655 return XkbQueryExtension ();
11657 return 0;
11659 _ACEOF
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 ac_cv_lib_X11_XkbQueryExtension=yes
11662 else
11663 ac_cv_lib_X11_XkbQueryExtension=no
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_lib_save_LIBS
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11670 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11671 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11673 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11679 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11680 then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11682 $as_echo_n "checking for -lXcursor... " >&6; }
11683 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11684 $as_echo_n "(cached) " >&6
11685 else
11686 ac_check_soname_save_LIBS=$LIBS
11687 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11694 #ifdef __cplusplus
11695 extern "C"
11696 #endif
11697 char XcursorImageLoadCursor ();
11699 main ()
11701 return XcursorImageLoadCursor ();
11703 return 0;
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"; then :
11707 case "$LIBEXT" in
11708 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11709 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'` ;;
11710 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11711 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11712 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11713 fi ;;
11714 esac
11715 else
11716 ac_cv_lib_soname_Xcursor=
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_soname_save_LIBS
11722 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11724 $as_echo "not found" >&6; }
11726 else
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11728 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11730 cat >>confdefs.h <<_ACEOF
11731 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11732 _ACEOF
11737 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11738 case "x$with_xcursor" in
11739 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11740 xno) ;;
11741 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11742 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11743 esac
11747 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11748 then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11750 $as_echo_n "checking for -lXi... " >&6; }
11751 if ${ac_cv_lib_soname_Xi+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_soname_save_LIBS=$LIBS
11755 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char XOpenDevice ();
11767 main ()
11769 return XOpenDevice ();
11771 return 0;
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 case "$LIBEXT" in
11776 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11777 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'` ;;
11778 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11779 if ${ac_cv_lib_soname_Xi:+false} :; then :
11780 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11781 fi ;;
11782 esac
11783 else
11784 ac_cv_lib_soname_Xi=
11786 rm -f core conftest.err conftest.$ac_objext \
11787 conftest$ac_exeext conftest.$ac_ext
11788 LIBS=$ac_check_soname_save_LIBS
11790 if ${ac_cv_lib_soname_Xi:+false} :; then :
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11792 $as_echo "not found" >&6; }
11794 else
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11796 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11798 cat >>confdefs.h <<_ACEOF
11799 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11800 _ACEOF
11805 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11806 case "x$with_xinput" in
11807 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11808 xno) ;;
11809 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11810 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11811 esac
11815 if test "x$ac_cv_lib_soname_Xi" != x
11816 then
11817 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11818 case "x$with_xinput2" in
11819 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11820 xno) ;;
11821 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11822 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11823 esac
11828 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11829 then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11831 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11832 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11833 $as_echo_n "(cached) " >&6
11834 else
11835 ac_check_lib_save_LIBS=$LIBS
11836 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11843 #ifdef __cplusplus
11844 extern "C"
11845 #endif
11846 char XShmQueryExtension ();
11848 main ()
11850 return XShmQueryExtension ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"; then :
11856 ac_cv_lib_Xext_XShmQueryExtension=yes
11857 else
11858 ac_cv_lib_Xext_XShmQueryExtension=no
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_lib_save_LIBS
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11865 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11866 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11868 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11873 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11874 case "x$with_xshm" in
11875 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11876 xno) ;;
11877 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11878 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11879 esac
11883 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11884 then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11886 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11887 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_lib_save_LIBS=$LIBS
11891 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char XShapeQueryExtension ();
11903 main ()
11905 return XShapeQueryExtension ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 ac_cv_lib_Xext_XShapeQueryExtension=yes
11912 else
11913 ac_cv_lib_Xext_XShapeQueryExtension=no
11915 rm -f core conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11920 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11921 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11923 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11928 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11929 case "x$with_xshape" in
11930 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11931 xno) ;;
11932 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11933 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11934 esac
11938 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11939 then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11941 $as_echo_n "checking for -lXxf86vm... " >&6; }
11942 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11943 $as_echo_n "(cached) " >&6
11944 else
11945 ac_check_soname_save_LIBS=$LIBS
11946 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11953 #ifdef __cplusplus
11954 extern "C"
11955 #endif
11956 char XF86VidModeQueryExtension ();
11958 main ()
11960 return XF86VidModeQueryExtension ();
11962 return 0;
11964 _ACEOF
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 case "$LIBEXT" in
11967 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11968 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'` ;;
11969 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11970 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11971 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11972 fi ;;
11973 esac
11974 else
11975 ac_cv_lib_soname_Xxf86vm=
11977 rm -f core conftest.err conftest.$ac_objext \
11978 conftest$ac_exeext conftest.$ac_ext
11979 LIBS=$ac_check_soname_save_LIBS
11981 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11983 $as_echo "not found" >&6; }
11985 else
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11987 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11989 cat >>confdefs.h <<_ACEOF
11990 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11991 _ACEOF
11996 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11997 case "x$with_xxf86vm" in
11998 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11999 xno) ;;
12000 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12001 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12002 esac
12006 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12007 then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12009 $as_echo_n "checking for -lXrender... " >&6; }
12010 if ${ac_cv_lib_soname_Xrender+:} false; then :
12011 $as_echo_n "(cached) " >&6
12012 else
12013 ac_check_soname_save_LIBS=$LIBS
12014 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12021 #ifdef __cplusplus
12022 extern "C"
12023 #endif
12024 char XRenderQueryExtension ();
12026 main ()
12028 return XRenderQueryExtension ();
12030 return 0;
12032 _ACEOF
12033 if ac_fn_c_try_link "$LINENO"; then :
12034 case "$LIBEXT" in
12035 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12036 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'` ;;
12037 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12038 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12039 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12040 fi ;;
12041 esac
12042 else
12043 ac_cv_lib_soname_Xrender=
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_soname_save_LIBS
12049 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12051 $as_echo "not found" >&6; }
12053 else
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12055 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12057 cat >>confdefs.h <<_ACEOF
12058 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12059 _ACEOF
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12062 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12063 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_lib_save_LIBS=$LIBS
12067 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char XRenderSetPictureTransform ();
12079 main ()
12081 return XRenderSetPictureTransform ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12088 else
12089 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12096 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12097 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12099 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12104 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12105 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107 else
12108 ac_check_lib_save_LIBS=$LIBS
12109 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char XRenderCreateLinearGradient ();
12121 main ()
12123 return XRenderCreateLinearGradient ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12130 else
12131 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_lib_save_LIBS
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12138 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12139 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12141 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12148 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12149 case "x$with_xrender" in
12150 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12151 xno) ;;
12152 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12153 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12154 esac
12158 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12159 then
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12162 #include <X11/Xlib.h>
12163 #include <X11/extensions/Xrandr.h>
12165 main ()
12167 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12169 return 0;
12171 _ACEOF
12172 if ac_fn_c_try_compile "$LINENO"; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12174 $as_echo_n "checking for -lXrandr... " >&6; }
12175 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 ac_check_soname_save_LIBS=$LIBS
12179 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12186 #ifdef __cplusplus
12187 extern "C"
12188 #endif
12189 char XRRQueryExtension ();
12191 main ()
12193 return XRRQueryExtension ();
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_link "$LINENO"; then :
12199 case "$LIBEXT" in
12200 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12201 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'` ;;
12202 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12203 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12204 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12205 fi ;;
12206 esac
12207 else
12208 ac_cv_lib_soname_Xrandr=
12210 rm -f core conftest.err conftest.$ac_objext \
12211 conftest$ac_exeext conftest.$ac_ext
12212 LIBS=$ac_check_soname_save_LIBS
12214 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12216 $as_echo "not found" >&6; }
12218 else
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12220 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12222 cat >>confdefs.h <<_ACEOF
12223 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12224 _ACEOF
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12228 #include <X11/Xlib.h>
12229 #include <X11/extensions/Xrandr.h>
12231 main ()
12233 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_compile "$LINENO"; then :
12240 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #include <X11/Xlib.h>
12247 #include <X11/extensions/Xrandr.h>
12249 main ()
12251 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12253 return 0;
12255 _ACEOF
12256 if ac_fn_c_try_compile "$LINENO"; then :
12258 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12260 else
12261 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12268 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12269 case "x$with_xrandr" in
12270 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12271 xno) ;;
12272 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12273 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12274 esac
12278 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12279 then
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 #include <X11/Xlib.h>
12283 #include <X11/extensions/Xfixes.h>
12285 main ()
12287 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_compile "$LINENO"; then :
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12294 $as_echo_n "checking for -lXfixes... " >&6; }
12295 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12296 $as_echo_n "(cached) " >&6
12297 else
12298 ac_check_soname_save_LIBS=$LIBS
12299 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char XFixesQueryVersion ();
12311 main ()
12313 return XFixesQueryVersion ();
12315 return 0;
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"; then :
12319 case "$LIBEXT" in
12320 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12321 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'` ;;
12322 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12323 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12324 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12325 fi ;;
12326 esac
12327 else
12328 ac_cv_lib_soname_Xfixes=
12330 rm -f core conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12332 LIBS=$ac_check_soname_save_LIBS
12334 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12336 $as_echo "not found" >&6; }
12338 else
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12340 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12342 cat >>confdefs.h <<_ACEOF
12343 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12344 _ACEOF
12349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12352 case "x$with_xfixes" in
12353 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12354 xno) ;;
12355 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12356 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12357 esac
12361 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12362 then
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365 #include <X11/Xlib.h>
12366 #include <X11/extensions/Xinerama.h>
12368 main ()
12370 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_compile "$LINENO"; then :
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12377 $as_echo_n "checking for -lXinerama... " >&6; }
12378 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 ac_check_soname_save_LIBS=$LIBS
12382 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 #ifdef __cplusplus
12390 extern "C"
12391 #endif
12392 char XineramaQueryScreens ();
12394 main ()
12396 return XineramaQueryScreens ();
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 case "$LIBEXT" in
12403 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12404 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'` ;;
12405 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12406 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12407 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12408 fi ;;
12409 esac
12410 else
12411 ac_cv_lib_soname_Xinerama=
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_soname_save_LIBS
12417 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12419 $as_echo "not found" >&6; }
12421 else
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12423 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12425 cat >>confdefs.h <<_ACEOF
12426 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12427 _ACEOF
12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12435 case "x$with_xinerama" in
12436 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12437 xno) ;;
12438 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12439 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12440 esac
12444 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12445 then
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12447 $as_echo_n "checking for -lXcomposite... " >&6; }
12448 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12449 $as_echo_n "(cached) " >&6
12450 else
12451 ac_check_soname_save_LIBS=$LIBS
12452 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12456 /* Override any GCC internal prototype to avoid an error.
12457 Use char because int might match the return type of a GCC
12458 builtin and then its argument prototype would still apply. */
12459 #ifdef __cplusplus
12460 extern "C"
12461 #endif
12462 char XCompositeRedirectWindow ();
12464 main ()
12466 return XCompositeRedirectWindow ();
12468 return 0;
12470 _ACEOF
12471 if ac_fn_c_try_link "$LINENO"; then :
12472 case "$LIBEXT" in
12473 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12474 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'` ;;
12475 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12476 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12477 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12478 fi ;;
12479 esac
12480 else
12481 ac_cv_lib_soname_Xcomposite=
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 LIBS=$ac_check_soname_save_LIBS
12487 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12489 $as_echo "not found" >&6; }
12491 else
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12493 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12495 cat >>confdefs.h <<_ACEOF
12496 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12497 _ACEOF
12502 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12503 case "x$with_xcomposite" in
12504 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12505 xno) ;;
12506 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12507 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12508 esac
12512 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12513 #include <X11/Xlib.h>
12514 #endif
12516 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12518 cat >>confdefs.h <<_ACEOF
12519 #define HAVE_XICCALLBACK_CALLBACK 1
12520 _ACEOF
12524 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12525 #include <X11/Xlib.h>
12526 #endif
12528 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12530 cat >>confdefs.h <<_ACEOF
12531 #define HAVE_XEVENT_XCOOKIE 1
12532 _ACEOF
12539 opengl_msg=""
12540 if test "x$with_opengl" != "xno"
12541 then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12543 $as_echo_n "checking for -lGL... " >&6; }
12544 if ${ac_cv_lib_soname_GL+:} false; then :
12545 $as_echo_n "(cached) " >&6
12546 else
12547 ac_check_soname_save_LIBS=$LIBS
12548 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12555 #ifdef __cplusplus
12556 extern "C"
12557 #endif
12558 char glXCreateContext ();
12560 main ()
12562 return glXCreateContext ();
12564 return 0;
12566 _ACEOF
12567 if ac_fn_c_try_link "$LINENO"; then :
12568 case "$LIBEXT" in
12569 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12570 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'` ;;
12571 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12572 if ${ac_cv_lib_soname_GL:+false} :; then :
12573 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12574 fi ;;
12575 esac
12576 else
12577 ac_cv_lib_soname_GL=
12579 rm -f core conftest.err conftest.$ac_objext \
12580 conftest$ac_exeext conftest.$ac_ext
12581 LIBS=$ac_check_soname_save_LIBS
12583 if ${ac_cv_lib_soname_GL:+false} :; then :
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12585 $as_echo "not found" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12587 $as_echo_n "checking for -lGL... " >&6; }
12588 if ${ac_cv_lib_soname_GL+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_check_soname_save_LIBS=$LIBS
12592 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"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char glXCreateContext ();
12604 main ()
12606 return glXCreateContext ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 case "$LIBEXT" in
12613 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12614 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'` ;;
12615 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12616 if ${ac_cv_lib_soname_GL:+false} :; then :
12617 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12618 fi ;;
12619 esac
12620 else
12621 ac_cv_lib_soname_GL=
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_soname_save_LIBS
12627 if ${ac_cv_lib_soname_GL:+false} :; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12629 $as_echo "not found" >&6; }
12630 if test -f /usr/X11R6/lib/libGL.a
12631 then
12632 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12633 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12634 else
12635 opengl_msg="No OpenGL library found on this system."
12637 else
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12639 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12641 cat >>confdefs.h <<_ACEOF
12642 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12643 _ACEOF
12645 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"
12647 else
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12649 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12651 cat >>confdefs.h <<_ACEOF
12652 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12653 _ACEOF
12655 OPENGL_LIBS="-lGL"
12657 if test "x$with_glu" != "xno"
12658 then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12660 $as_echo_n "checking for -lGLU... " >&6; }
12661 if ${ac_cv_lib_soname_GLU+:} false; then :
12662 $as_echo_n "(cached) " >&6
12663 else
12664 ac_check_soname_save_LIBS=$LIBS
12665 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12672 #ifdef __cplusplus
12673 extern "C"
12674 #endif
12675 char gluLookAt ();
12677 main ()
12679 return gluLookAt ();
12681 return 0;
12683 _ACEOF
12684 if ac_fn_c_try_link "$LINENO"; then :
12685 case "$LIBEXT" in
12686 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12687 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'` ;;
12688 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12689 if ${ac_cv_lib_soname_GLU:+false} :; then :
12690 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12691 fi ;;
12692 esac
12693 else
12694 ac_cv_lib_soname_GLU=
12696 rm -f core conftest.err conftest.$ac_objext \
12697 conftest$ac_exeext conftest.$ac_ext
12698 LIBS=$ac_check_soname_save_LIBS
12700 if ${ac_cv_lib_soname_GLU:+false} :; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12702 $as_echo "not found" >&6; }
12704 else
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12706 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12708 cat >>confdefs.h <<_ACEOF
12709 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12710 _ACEOF
12714 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12715 case "x$with_glu" in
12716 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12717 xno) ;;
12718 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12719 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12720 esac
12725 if test "x$with_osmesa" != "xno"
12726 then
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12728 $as_echo_n "checking for -lOSMesa... " >&6; }
12729 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12730 $as_echo_n "(cached) " >&6
12731 else
12732 ac_check_soname_save_LIBS=$LIBS
12733 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 #ifdef __cplusplus
12741 extern "C"
12742 #endif
12743 char OSMesaGetProcAddress ();
12745 main ()
12747 return OSMesaGetProcAddress ();
12749 return 0;
12751 _ACEOF
12752 if ac_fn_c_try_link "$LINENO"; then :
12753 case "$LIBEXT" in
12754 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12755 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'` ;;
12756 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12757 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12758 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12759 fi ;;
12760 esac
12761 else
12762 ac_cv_lib_soname_OSMesa=
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 LIBS=$ac_check_soname_save_LIBS
12768 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12770 $as_echo "not found" >&6; }
12772 else
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12774 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12776 cat >>confdefs.h <<_ACEOF
12777 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12778 _ACEOF
12782 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12783 case "x$with_osmesa" in
12784 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12785 xno) ;;
12786 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12787 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12788 esac
12793 if test -n "$opengl_msg"; then :
12794 case "x$with_opengl" in
12795 x) as_fn_append wine_warnings "|$opengl_msg
12796 OpenGL and Direct3D won't be supported." ;;
12797 xno) ;;
12798 *) as_fn_error $? "$opengl_msg
12799 OpenGL and Direct3D won't be supported.
12800 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12801 esac
12805 CPPFLAGS="$ac_save_CPPFLAGS"
12806 else
12807 X_CFLAGS=""
12808 X_LIBS=""
12811 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12812 then
12813 if test "x$X_LIBS" = "x"; then :
12814 case "x$with_x" in
12815 xno) ;;
12816 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12817 without X support, which probably isn't what you want. You will need
12818 to install ${notice_platform}development packages of Xlib at the very least.
12819 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12820 esac
12821 enable_winex11_drv=${enable_winex11_drv:-no}
12823 else
12824 if test "x$X_LIBS" = "x"; then :
12825 case "x$with_x" in
12826 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12827 xno) ;;
12828 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12829 This is an error since --with-x was requested." "$LINENO" 5 ;;
12830 esac
12831 enable_winex11_drv=${enable_winex11_drv:-no}
12835 if test "$ac_cv_header_CL_cl_h" = "yes"
12836 then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12838 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12839 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
12842 ac_check_lib_save_LIBS=$LIBS
12843 LIBS="-lOpenCL $LIBS"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char clGetPlatformInfo ();
12855 main ()
12857 return clGetPlatformInfo ();
12859 return 0;
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12864 else
12865 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_lib_save_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12872 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12873 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12874 OPENCL_LIBS="-lOpenCL"
12879 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12880 case "x$with_opencl" in
12881 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12882 xno) ;;
12883 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12884 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12885 esac
12886 enable_opencl=${enable_opencl:-no}
12889 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12890 then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12892 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12893 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12894 $as_echo_n "(cached) " >&6
12895 else
12896 ac_check_lib_save_LIBS=$LIBS
12897 LIBS="-lpcap $LIBS"
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12901 /* Override any GCC internal prototype to avoid an error.
12902 Use char because int might match the return type of a GCC
12903 builtin and then its argument prototype would still apply. */
12904 #ifdef __cplusplus
12905 extern "C"
12906 #endif
12907 char pcap_create ();
12909 main ()
12911 return pcap_create ();
12913 return 0;
12915 _ACEOF
12916 if ac_fn_c_try_link "$LINENO"; then :
12917 ac_cv_lib_pcap_pcap_create=yes
12918 else
12919 ac_cv_lib_pcap_pcap_create=no
12921 rm -f core conftest.err conftest.$ac_objext \
12922 conftest$ac_exeext conftest.$ac_ext
12923 LIBS=$ac_check_lib_save_LIBS
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12926 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12927 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12928 PCAP_LIBS="-lpcap"
12933 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12934 case "x$with_pcap" in
12935 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12936 xno) ;;
12937 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12938 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12939 esac
12940 enable_wpcap=${enable_wpcap:-no}
12944 if test "x$with_xml" != "xno"
12945 then
12946 if ${XML2_CFLAGS:+false} :; then :
12947 if ${PKG_CONFIG+:} false; then :
12948 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12951 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12952 if ${XML2_LIBS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12957 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12958 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12959 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12961 ac_save_CPPFLAGS=$CPPFLAGS
12962 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12963 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12964 do :
12965 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12966 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12968 cat >>confdefs.h <<_ACEOF
12969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12970 _ACEOF
12974 done
12976 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"
12977 then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12979 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12980 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lxml2 $XML2_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char xmlParseMemory ();
12996 main ()
12998 return xmlParseMemory ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_xml2_xmlParseMemory=yes
13005 else
13006 ac_cv_lib_xml2_xmlParseMemory=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13013 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13014 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13016 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13018 else
13019 XML2_LIBS=""
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13023 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13024 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_lib_save_LIBS=$LIBS
13028 LIBS="-lxml2 $XML2_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char xmlReadMemory ();
13040 main ()
13042 return xmlReadMemory ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 ac_cv_lib_xml2_xmlReadMemory=yes
13049 else
13050 ac_cv_lib_xml2_xmlReadMemory=no
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 LIBS=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13057 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13058 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13060 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13065 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13066 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13067 $as_echo_n "(cached) " >&6
13068 else
13069 ac_check_lib_save_LIBS=$LIBS
13070 LIBS="-lxml2 $XML2_LIBS $LIBS"
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13074 /* Override any GCC internal prototype to avoid an error.
13075 Use char because int might match the return type of a GCC
13076 builtin and then its argument prototype would still apply. */
13077 #ifdef __cplusplus
13078 extern "C"
13079 #endif
13080 char xmlNewDocPI ();
13082 main ()
13084 return xmlNewDocPI ();
13086 return 0;
13088 _ACEOF
13089 if ac_fn_c_try_link "$LINENO"; then :
13090 ac_cv_lib_xml2_xmlNewDocPI=yes
13091 else
13092 ac_cv_lib_xml2_xmlNewDocPI=no
13094 rm -f core conftest.err conftest.$ac_objext \
13095 conftest$ac_exeext conftest.$ac_ext
13096 LIBS=$ac_check_lib_save_LIBS
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13099 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13100 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13102 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13107 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13108 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13109 $as_echo_n "(cached) " >&6
13110 else
13111 ac_check_lib_save_LIBS=$LIBS
13112 LIBS="-lxml2 $XML2_LIBS $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13119 #ifdef __cplusplus
13120 extern "C"
13121 #endif
13122 char xmlSchemaSetParserStructuredErrors ();
13124 main ()
13126 return xmlSchemaSetParserStructuredErrors ();
13128 return 0;
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"; then :
13132 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13133 else
13134 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_lib_save_LIBS
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13141 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13142 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13144 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13149 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13150 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13151 $as_echo_n "(cached) " >&6
13152 else
13153 ac_check_lib_save_LIBS=$LIBS
13154 LIBS="-lxml2 $XML2_LIBS $LIBS"
13155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13161 #ifdef __cplusplus
13162 extern "C"
13163 #endif
13164 char xmlSchemaSetValidStructuredErrors ();
13166 main ()
13168 return xmlSchemaSetValidStructuredErrors ();
13170 return 0;
13172 _ACEOF
13173 if ac_fn_c_try_link "$LINENO"; then :
13174 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13175 else
13176 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13178 rm -f core conftest.err conftest.$ac_objext \
13179 conftest$ac_exeext conftest.$ac_ext
13180 LIBS=$ac_check_lib_save_LIBS
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13183 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13184 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13186 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13191 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13192 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13193 $as_echo_n "(cached) " >&6
13194 else
13195 ac_check_lib_save_LIBS=$LIBS
13196 LIBS="-lxml2 $XML2_LIBS $LIBS"
13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13203 #ifdef __cplusplus
13204 extern "C"
13205 #endif
13206 char xmlFirstElementChild ();
13208 main ()
13210 return xmlFirstElementChild ();
13212 return 0;
13214 _ACEOF
13215 if ac_fn_c_try_link "$LINENO"; then :
13216 ac_cv_lib_xml2_xmlFirstElementChild=yes
13217 else
13218 ac_cv_lib_xml2_xmlFirstElementChild=no
13220 rm -f core conftest.err conftest.$ac_objext \
13221 conftest$ac_exeext conftest.$ac_ext
13222 LIBS=$ac_check_lib_save_LIBS
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13225 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13226 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13228 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13232 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13234 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13236 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13240 else
13241 XML2_CFLAGS=""
13242 XML2_LIBS=""
13244 CPPFLAGS=$ac_save_CPPFLAGS
13245 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13246 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13249 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13250 case "x$with_xml" in
13251 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13252 xno) ;;
13253 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13254 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13255 esac
13259 if test "x$with_xslt" != "xno"
13260 then
13261 if ${XSLT_CFLAGS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13266 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13267 if ${XSLT_LIBS:+false} :; then :
13268 if ${PKG_CONFIG+:} false; then :
13269 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13272 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13273 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13274 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13275 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13276 ac_save_CPPFLAGS=$CPPFLAGS
13277 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13278 for ac_header in libxslt/pattern.h libxslt/transform.h
13279 do :
13280 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13281 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13282 # include <libxslt/pattern.h>
13283 #endif
13285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13286 cat >>confdefs.h <<_ACEOF
13287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13288 _ACEOF
13292 done
13294 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13295 then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13297 $as_echo_n "checking for -lxslt... " >&6; }
13298 if ${ac_cv_lib_soname_xslt+:} false; then :
13299 $as_echo_n "(cached) " >&6
13300 else
13301 ac_check_soname_save_LIBS=$LIBS
13302 LIBS="-lxslt $XSLT_LIBS $LIBS"
13303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13304 /* end confdefs.h. */
13306 /* Override any GCC internal prototype to avoid an error.
13307 Use char because int might match the return type of a GCC
13308 builtin and then its argument prototype would still apply. */
13309 #ifdef __cplusplus
13310 extern "C"
13311 #endif
13312 char xsltCompilePattern ();
13314 main ()
13316 return xsltCompilePattern ();
13318 return 0;
13320 _ACEOF
13321 if ac_fn_c_try_link "$LINENO"; then :
13322 case "$LIBEXT" in
13323 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13324 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'` ;;
13325 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13326 if ${ac_cv_lib_soname_xslt:+false} :; then :
13327 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13328 fi ;;
13329 esac
13330 else
13331 ac_cv_lib_soname_xslt=
13333 rm -f core conftest.err conftest.$ac_objext \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_soname_save_LIBS
13337 if ${ac_cv_lib_soname_xslt:+false} :; then :
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13339 $as_echo "not found" >&6; }
13341 else
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13343 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13345 cat >>confdefs.h <<_ACEOF
13346 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13347 _ACEOF
13351 else
13352 XSLT_CFLAGS=""
13354 CPPFLAGS=$ac_save_CPPFLAGS
13355 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13356 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13359 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13360 case "x$with_xslt" in
13361 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13362 xno) ;;
13363 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13364 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13365 esac
13369 if test "x$with_inotify" != "xno"
13370 then
13371 if ${INOTIFY_CFLAGS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13377 if ${INOTIFY_LIBS:+false} :; then :
13378 if ${PKG_CONFIG+:} false; then :
13379 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13384 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13385 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13386 ac_save_CPPFLAGS=$CPPFLAGS
13387 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13388 for ac_header in sys/inotify.h
13389 do :
13390 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13391 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13392 cat >>confdefs.h <<_ACEOF
13393 #define HAVE_SYS_INOTIFY_H 1
13394 _ACEOF
13398 done
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13401 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13402 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13403 $as_echo_n "(cached) " >&6
13404 else
13405 ac_check_lib_save_LIBS=$LIBS
13406 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13410 /* Override any GCC internal prototype to avoid an error.
13411 Use char because int might match the return type of a GCC
13412 builtin and then its argument prototype would still apply. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 #endif
13416 char inotify_add_watch ();
13418 main ()
13420 return inotify_add_watch ();
13422 return 0;
13424 _ACEOF
13425 if ac_fn_c_try_link "$LINENO"; then :
13426 ac_cv_lib_inotify_inotify_add_watch=yes
13427 else
13428 ac_cv_lib_inotify_inotify_add_watch=no
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_lib_save_LIBS
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13435 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13436 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13438 else
13439 INOTIFY_LIBS=""
13442 CPPFLAGS=$ac_save_CPPFLAGS
13443 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13444 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13447 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13448 case "x$with_inotify" in
13449 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13450 xno) ;;
13451 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13452 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13453 esac
13457 if test "x$with_dbus" != "xno"
13458 then
13459 if ${DBUS_CFLAGS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13465 if ${DBUS_LIBS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13472 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13474 ac_save_CPPFLAGS=$CPPFLAGS
13475 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13476 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13477 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13479 $as_echo_n "checking for -ldbus-1... " >&6; }
13480 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_check_soname_save_LIBS=$LIBS
13484 LIBS="-ldbus-1 $DBUS_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 dbus_connection_close ();
13496 main ()
13498 return dbus_connection_close ();
13500 return 0;
13502 _ACEOF
13503 if ac_fn_c_try_link "$LINENO"; then :
13504 case "$LIBEXT" in
13505 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13506 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'` ;;
13507 *) 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'`
13508 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13509 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13510 fi ;;
13511 esac
13512 else
13513 ac_cv_lib_soname_dbus_1=
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_dbus_1:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13522 DBUS_CFLAGS=""
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13525 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13529 _ACEOF
13533 else
13534 DBUS_CFLAGS=""
13538 CPPFLAGS=$ac_save_CPPFLAGS
13539 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13540 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13543 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13544 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13545 case "x$with_dbus" in
13546 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13547 xno) ;;
13548 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13549 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13550 esac
13554 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13555 then
13556 if ${HAL_CFLAGS:+false} :; then :
13557 if ${PKG_CONFIG+:} false; then :
13558 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13562 if ${HAL_LIBS:+false} :; then :
13563 if ${PKG_CONFIG+:} false; then :
13564 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13568 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13569 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13570 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13571 ac_save_CPPFLAGS=$CPPFLAGS
13572 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13573 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13574 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13576 $as_echo_n "checking for -lhal... " >&6; }
13577 if ${ac_cv_lib_soname_hal+:} false; then :
13578 $as_echo_n "(cached) " >&6
13579 else
13580 ac_check_soname_save_LIBS=$LIBS
13581 LIBS="-lhal $HAL_LIBS $LIBS"
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13588 #ifdef __cplusplus
13589 extern "C"
13590 #endif
13591 char libhal_ctx_new ();
13593 main ()
13595 return libhal_ctx_new ();
13597 return 0;
13599 _ACEOF
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 case "$LIBEXT" in
13602 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13603 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'` ;;
13604 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13605 if ${ac_cv_lib_soname_hal:+false} :; then :
13606 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13607 fi ;;
13608 esac
13609 else
13610 ac_cv_lib_soname_hal=
13612 rm -f core conftest.err conftest.$ac_objext \
13613 conftest$ac_exeext conftest.$ac_ext
13614 LIBS=$ac_check_soname_save_LIBS
13616 if ${ac_cv_lib_soname_hal:+false} :; then :
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13618 $as_echo "not found" >&6; }
13619 HAL_CFLAGS=""
13620 else
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13622 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13624 cat >>confdefs.h <<_ACEOF
13625 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13626 _ACEOF
13630 else
13631 HAL_CFLAGS=""
13635 CPPFLAGS=$ac_save_CPPFLAGS
13636 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13637 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13639 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13640 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13641 case "x$with_hal" in
13642 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13643 xno) ;;
13644 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13645 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13646 esac
13651 if test "x$with_gnutls" != "xno"
13652 then
13653 if ${GNUTLS_CFLAGS:+false} :; then :
13654 if ${PKG_CONFIG+:} false; then :
13655 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13659 if ${GNUTLS_LIBS:+false} :; then :
13660 if ${PKG_CONFIG+:} false; then :
13661 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13665 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13666 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13667 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13668 ac_save_CPPFLAGS=$CPPFLAGS
13669 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13670 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13671 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 #include <gnutls/gnutls.h>
13675 #include <gnutls/crypto.h>
13677 main ()
13679 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_compile "$LINENO"; then :
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13686 $as_echo_n "checking for -lgnutls... " >&6; }
13687 if ${ac_cv_lib_soname_gnutls+:} false; then :
13688 $as_echo_n "(cached) " >&6
13689 else
13690 ac_check_soname_save_LIBS=$LIBS
13691 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13695 /* Override any GCC internal prototype to avoid an error.
13696 Use char because int might match the return type of a GCC
13697 builtin and then its argument prototype would still apply. */
13698 #ifdef __cplusplus
13699 extern "C"
13700 #endif
13701 char gnutls_global_init ();
13703 main ()
13705 return gnutls_global_init ();
13707 return 0;
13709 _ACEOF
13710 if ac_fn_c_try_link "$LINENO"; then :
13711 case "$LIBEXT" in
13712 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13713 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'` ;;
13714 *) 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'`
13715 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13716 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'`
13717 fi ;;
13718 esac
13719 else
13720 ac_cv_lib_soname_gnutls=
13722 rm -f core conftest.err conftest.$ac_objext \
13723 conftest$ac_exeext conftest.$ac_ext
13724 LIBS=$ac_check_soname_save_LIBS
13726 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13728 $as_echo "not found" >&6; }
13729 GNUTLS_CFLAGS=""
13730 else
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13732 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13734 cat >>confdefs.h <<_ACEOF
13735 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13736 _ACEOF
13740 ac_wine_check_funcs_save_LIBS="$LIBS"
13741 LIBS="$LIBS $GNUTLS_LIBS"
13742 for ac_func in gnutls_cipher_init
13743 do :
13744 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13745 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13746 cat >>confdefs.h <<_ACEOF
13747 #define HAVE_GNUTLS_CIPHER_INIT 1
13748 _ACEOF
13750 else
13751 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13753 done
13755 LIBS="$ac_wine_check_funcs_save_LIBS"
13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13758 else
13759 GNUTLS_CFLAGS=""
13763 CPPFLAGS=$ac_save_CPPFLAGS
13764 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13765 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13768 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13769 case "x$with_gnutls" in
13770 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13771 xno) ;;
13772 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13773 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13774 esac
13778 CURSES_LIBS=""
13779 if test "$ac_cv_header_ncurses_h" = "yes"
13780 then
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13782 $as_echo_n "checking for -lncurses... " >&6; }
13783 if ${ac_cv_lib_soname_ncurses+:} false; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 ac_check_soname_save_LIBS=$LIBS
13787 LIBS="-lncurses $LIBS"
13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13791 /* Override any GCC internal prototype to avoid an error.
13792 Use char because int might match the return type of a GCC
13793 builtin and then its argument prototype would still apply. */
13794 #ifdef __cplusplus
13795 extern "C"
13796 #endif
13797 char waddch ();
13799 main ()
13801 return waddch ();
13803 return 0;
13805 _ACEOF
13806 if ac_fn_c_try_link "$LINENO"; then :
13807 case "$LIBEXT" in
13808 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13809 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'` ;;
13810 *) 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'`
13811 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13812 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13813 fi ;;
13814 esac
13815 else
13816 ac_cv_lib_soname_ncurses=
13818 rm -f core conftest.err conftest.$ac_objext \
13819 conftest$ac_exeext conftest.$ac_ext
13820 LIBS=$ac_check_soname_save_LIBS
13822 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13824 $as_echo "not found" >&6; }
13826 else
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13828 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13830 cat >>confdefs.h <<_ACEOF
13831 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13832 _ACEOF
13834 CURSES_LIBS="-lncurses"
13836 elif test "$ac_cv_header_curses_h" = "yes"
13837 then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13839 $as_echo_n "checking for -lcurses... " >&6; }
13840 if ${ac_cv_lib_soname_curses+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_check_soname_save_LIBS=$LIBS
13844 LIBS="-lcurses $LIBS"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 #ifdef __cplusplus
13852 extern "C"
13853 #endif
13854 char waddch ();
13856 main ()
13858 return waddch ();
13860 return 0;
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"; then :
13864 case "$LIBEXT" in
13865 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13866 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'` ;;
13867 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13868 if ${ac_cv_lib_soname_curses:+false} :; then :
13869 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13870 fi ;;
13871 esac
13872 else
13873 ac_cv_lib_soname_curses=
13875 rm -f core conftest.err conftest.$ac_objext \
13876 conftest$ac_exeext conftest.$ac_ext
13877 LIBS=$ac_check_soname_save_LIBS
13879 if ${ac_cv_lib_soname_curses:+false} :; then :
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13881 $as_echo "not found" >&6; }
13883 else
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13885 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13887 cat >>confdefs.h <<_ACEOF
13888 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13889 _ACEOF
13891 CURSES_LIBS="-lcurses"
13894 ac_save_LIBS="$LIBS"
13895 LIBS="$LIBS $CURSES_LIBS"
13896 for ac_func in mousemask
13897 do :
13898 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13899 if test "x$ac_cv_func_mousemask" = xyes; then :
13900 cat >>confdefs.h <<_ACEOF
13901 #define HAVE_MOUSEMASK 1
13902 _ACEOF
13905 done
13907 LIBS="$ac_save_LIBS"
13908 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13909 case "x$with_curses" in
13910 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13911 xno) ;;
13912 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13913 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13914 esac
13918 if test "x$with_sane" != "xno"
13919 then
13920 if ${SANE_CFLAGS:+false} :; then :
13921 if ${PKG_CONFIG+:} false; then :
13922 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13925 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13926 if ${SANE_LIBS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13931 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13933 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13934 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13935 ac_save_CPPFLAGS=$CPPFLAGS
13936 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13937 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13938 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13940 $as_echo_n "checking for -lsane... " >&6; }
13941 if ${ac_cv_lib_soname_sane+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_check_soname_save_LIBS=$LIBS
13945 LIBS="-lsane $SANE_LIBS $LIBS"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 #ifdef __cplusplus
13953 extern "C"
13954 #endif
13955 char sane_init ();
13957 main ()
13959 return sane_init ();
13961 return 0;
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 case "$LIBEXT" in
13966 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13967 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'` ;;
13968 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13969 if ${ac_cv_lib_soname_sane:+false} :; then :
13970 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13971 fi ;;
13972 esac
13973 else
13974 ac_cv_lib_soname_sane=
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_soname_save_LIBS
13980 if ${ac_cv_lib_soname_sane:+false} :; then :
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13982 $as_echo "not found" >&6; }
13983 SANE_CFLAGS=""
13984 else
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13986 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13988 cat >>confdefs.h <<_ACEOF
13989 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13990 _ACEOF
13994 else
13995 SANE_CFLAGS=""
13999 CPPFLAGS=$ac_save_CPPFLAGS
14000 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14001 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14004 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14005 case "x$with_sane" in
14006 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14007 xno) ;;
14008 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14009 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14010 esac
14014 if test "x$with_usb" != "xno"
14015 then
14016 if ${USB_CFLAGS:+false} :; then :
14017 if ${PKG_CONFIG+:} false; then :
14018 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14022 if ${USB_LIBS:+false} :; then :
14023 if ${PKG_CONFIG+:} false; then :
14024 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14028 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14029 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14031 ac_save_CPPFLAGS=$CPPFLAGS
14032 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14033 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14034 if test "x$ac_cv_header_libusb_h" = xyes; then :
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14036 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14037 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_check_lib_save_LIBS=$LIBS
14041 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 #ifdef __cplusplus
14049 extern "C"
14050 #endif
14051 char libusb_interrupt_event_handler ();
14053 main ()
14055 return libusb_interrupt_event_handler ();
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14062 else
14063 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 LIBS=$ac_check_lib_save_LIBS
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14070 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14071 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14073 else
14074 USB_LIBS=""
14077 else
14078 USB_LIBS=""
14082 CPPFLAGS=$ac_save_CPPFLAGS
14083 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14084 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14087 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14088 case "x$with_usb" in
14089 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14090 xno) ;;
14091 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14092 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14093 esac
14094 enable_wineusb_sys=${enable_wineusb_sys:-no}
14097 if test "x$with_v4l2" != "xno"
14098 then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14100 $as_echo_n "checking for -lv4l2... " >&6; }
14101 if ${ac_cv_lib_soname_v4l2+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_check_soname_save_LIBS=$LIBS
14105 LIBS="-lv4l2 $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14112 #ifdef __cplusplus
14113 extern "C"
14114 #endif
14115 char v4l2_open ();
14117 main ()
14119 return v4l2_open ();
14121 return 0;
14123 _ACEOF
14124 if ac_fn_c_try_link "$LINENO"; then :
14125 case "$LIBEXT" in
14126 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14127 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'` ;;
14128 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14129 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14130 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14131 fi ;;
14132 esac
14133 else
14134 ac_cv_lib_soname_v4l2=
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_soname_save_LIBS
14140 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14142 $as_echo "not found" >&6; }
14144 else
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14146 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14148 cat >>confdefs.h <<_ACEOF
14149 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14150 _ACEOF
14155 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14156 case "x$with_v4l2" in
14157 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14158 xno) ;;
14159 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14160 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14161 esac
14165 if test "x$with_gphoto" != "xno"
14166 then
14167 if ${GPHOTO2_CFLAGS:+false} :; then :
14168 if ${PKG_CONFIG+:} false; then :
14169 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14172 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14173 if ${GPHOTO2_LIBS:+false} :; then :
14174 if ${PKG_CONFIG+:} false; then :
14175 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14178 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14179 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14180 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14181 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14182 ac_save_CPPFLAGS=$CPPFLAGS
14183 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14184 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14185 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14187 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14188 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_check_lib_save_LIBS=$LIBS
14192 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14196 /* Override any GCC internal prototype to avoid an error.
14197 Use char because int might match the return type of a GCC
14198 builtin and then its argument prototype would still apply. */
14199 #ifdef __cplusplus
14200 extern "C"
14201 #endif
14202 char gp_camera_new ();
14204 main ()
14206 return gp_camera_new ();
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 ac_cv_lib_gphoto2_gp_camera_new=yes
14213 else
14214 ac_cv_lib_gphoto2_gp_camera_new=no
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_lib_save_LIBS
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14221 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14222 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14224 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14226 else
14227 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14230 else
14231 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14235 CPPFLAGS=$ac_save_CPPFLAGS
14236 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14237 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14239 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14240 if ${PKG_CONFIG+:} false; then :
14241 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14244 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14245 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14246 if ${PKG_CONFIG+:} false; then :
14247 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14250 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14251 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14252 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14253 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14254 ac_save_CPPFLAGS=$CPPFLAGS
14255 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14256 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14257 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14259 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14260 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 ac_check_lib_save_LIBS=$LIBS
14264 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14271 #ifdef __cplusplus
14272 extern "C"
14273 #endif
14274 char gp_port_info_list_new ();
14276 main ()
14278 return gp_port_info_list_new ();
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"; then :
14284 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14285 else
14286 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290 LIBS=$ac_check_lib_save_LIBS
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14293 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14294 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14296 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14298 else
14299 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14302 else
14303 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14307 CPPFLAGS=$ac_save_CPPFLAGS
14308 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14309 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14312 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14313 case "x$with_gphoto" in
14314 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14315 xno) ;;
14316 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14317 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14318 esac
14321 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14322 case "x$with_gphoto" in
14323 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14324 xno) ;;
14325 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14326 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14327 esac
14332 if test "$ac_cv_header_resolv_h" = "yes"
14333 then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14335 $as_echo_n "checking for resolver library... " >&6; }
14336 if ${ac_cv_have_resolv+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 ac_save_LIBS="$LIBS"
14340 for lib in '' -lresolv
14342 LIBS="$lib $ac_save_LIBS"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 #ifdef HAVE_NETINET_IN_H
14346 #include <netinet/in.h>
14347 #endif
14348 #include <resolv.h>
14350 main ()
14352 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14354 return 0;
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_have_resolv=${lib:-"none required"}
14359 else
14360 ac_cv_have_resolv="not found"
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 test "x$ac_cv_have_resolv" = "xnot found" || break
14365 done
14366 LIBS="$ac_save_LIBS"
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14369 $as_echo "$ac_cv_have_resolv" >&6; }
14371 case "$ac_cv_have_resolv" in
14372 "not found") ;;
14373 "none required")
14375 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14378 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14380 RESOLV_LIBS=$ac_cv_have_resolv
14382 esac
14384 if test "x$ac_cv_have_resolv" != "xnot found"
14385 then
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14387 $as_echo_n "checking for res_getservers... " >&6; }
14388 if ${ac_cv_have_res_getservers+:} false; then :
14389 $as_echo_n "(cached) " >&6
14390 else
14391 ac_save_LIBS="$LIBS"
14392 LIBS="$RESOLV_LIBS $LIBS"
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 #include <resolv.h>
14397 main ()
14399 res_getservers(NULL, NULL, 0);
14401 return 0;
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 ac_cv_have_res_getservers=yes
14406 else
14407 ac_cv_have_res_getservers=no
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LIBS="$ac_save_LIBS"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14414 $as_echo "$ac_cv_have_res_getservers" >&6; }
14415 if test "$ac_cv_have_res_getservers" = "yes"
14416 then
14418 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14424 if test "x$with_cms" != "xno"
14425 then
14426 if ${LCMS2_CFLAGS:+false} :; then :
14427 if ${PKG_CONFIG+:} false; then :
14428 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14432 if ${LCMS2_LIBS:+false} :; then :
14433 if ${PKG_CONFIG+:} false; then :
14434 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14438 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14439 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14440 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14441 ac_save_CPPFLAGS=$CPPFLAGS
14442 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14443 for ac_header in lcms2.h
14444 do :
14445 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14446 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14447 cat >>confdefs.h <<_ACEOF
14448 #define HAVE_LCMS2_H 1
14449 _ACEOF
14453 done
14455 if test "$ac_cv_header_lcms2_h" = "yes"
14456 then
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14458 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14459 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 ac_check_lib_save_LIBS=$LIBS
14463 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 #ifdef __cplusplus
14471 extern "C"
14472 #endif
14473 char cmsOpenProfileFromFile ();
14475 main ()
14477 return cmsOpenProfileFromFile ();
14479 return 0;
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14484 else
14485 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14487 rm -f core conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14492 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14493 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14495 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14497 else
14498 LCMS2_LIBS=""
14501 else
14502 LCMS2_CFLAGS=""
14503 LCMS2_LIBS=""
14505 CPPFLAGS=$ac_save_CPPFLAGS
14506 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14507 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14510 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14511 case "x$with_cms" in
14512 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14513 xno) ;;
14514 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14515 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14516 esac
14520 if test "x$with_freetype" != "xno"
14521 then
14522 if ${FREETYPE_CFLAGS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14527 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14528 if ${FREETYPE_LIBS:+false} :; then :
14529 if ${PKG_CONFIG+:} false; then :
14530 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14533 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14534 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14535 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14536 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14537 ac_save_CPPFLAGS=$CPPFLAGS
14538 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14539 for ac_header in ft2build.h
14540 do :
14541 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14542 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14543 cat >>confdefs.h <<_ACEOF
14544 #define HAVE_FT2BUILD_H 1
14545 _ACEOF
14549 done
14551 if test "$ac_cv_header_ft2build_h" = "yes"
14552 then
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14554 $as_echo_n "checking for -lfreetype... " >&6; }
14555 if ${ac_cv_lib_soname_freetype+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_check_soname_save_LIBS=$LIBS
14559 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14563 /* Override any GCC internal prototype to avoid an error.
14564 Use char because int might match the return type of a GCC
14565 builtin and then its argument prototype would still apply. */
14566 #ifdef __cplusplus
14567 extern "C"
14568 #endif
14569 char FT_Init_FreeType ();
14571 main ()
14573 return FT_Init_FreeType ();
14575 return 0;
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 case "$LIBEXT" in
14580 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14581 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'` ;;
14582 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14583 if ${ac_cv_lib_soname_freetype:+false} :; then :
14584 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14585 fi ;;
14586 esac
14587 else
14588 ac_cv_lib_soname_freetype=
14590 rm -f core conftest.err conftest.$ac_objext \
14591 conftest$ac_exeext conftest.$ac_ext
14592 LIBS=$ac_check_soname_save_LIBS
14594 if ${ac_cv_lib_soname_freetype:+false} :; then :
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14596 $as_echo "not found" >&6; }
14597 FREETYPE_LIBS=""
14598 else
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14600 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14602 cat >>confdefs.h <<_ACEOF
14603 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14604 _ACEOF
14607 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14609 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14610 #include FT_MODULE_H
14612 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14614 cat >>confdefs.h <<_ACEOF
14615 #define HAVE_FT_TRUETYPEENGINETYPE 1
14616 _ACEOF
14622 else
14623 FREETYPE_CFLAGS=""
14624 FREETYPE_LIBS=""
14626 CPPFLAGS=$ac_save_CPPFLAGS
14627 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14628 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14631 if test "x$ac_cv_lib_soname_freetype" = x; then :
14632 case "x$with_freetype" in
14633 xno) ;;
14634 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14635 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14636 esac
14637 enable_fonts=${enable_fonts:-no}
14640 ac_wine_check_funcs_save_LIBS="$LIBS"
14641 LIBS="$LIBS $PTHREAD_LIBS"
14642 for ac_func in \
14643 pthread_getthreadid_np
14644 do :
14645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14647 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14648 cat >>confdefs.h <<_ACEOF
14649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14650 _ACEOF
14653 done
14655 LIBS="$ac_wine_check_funcs_save_LIBS"
14657 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14658 then
14659 if test "$ac_cv_header_gettext_po_h" = "yes"
14660 then
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14662 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14663 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 ac_check_lib_save_LIBS=$LIBS
14667 LIBS="-lgettextpo $LIBS"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14671 /* Override any GCC internal prototype to avoid an error.
14672 Use char because int might match the return type of a GCC
14673 builtin and then its argument prototype would still apply. */
14674 #ifdef __cplusplus
14675 extern "C"
14676 #endif
14677 char po_message_msgctxt ();
14679 main ()
14681 return po_message_msgctxt ();
14683 return 0;
14685 _ACEOF
14686 if ac_fn_c_try_link "$LINENO"; then :
14687 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14688 else
14689 ac_cv_lib_gettextpo_po_message_msgctxt=no
14691 rm -f core conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14693 LIBS=$ac_check_lib_save_LIBS
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14696 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14697 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14699 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14701 GETTEXTPO_LIBS="-lgettextpo"
14706 if test "x$GETTEXTPO_LIBS" = "x"; then :
14707 case "x$with_gettextpo" in
14708 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14709 xno) ;;
14710 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14711 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14712 esac
14715 if test "$srcdir" != .; then :
14716 case "x$with_gettextpo" in
14717 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14718 xno) ;;
14719 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14720 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14721 esac
14726 if test "x$with_pulse" != "xno";
14727 then
14728 if ${PULSE_CFLAGS:+false} :; then :
14729 if ${PKG_CONFIG+:} false; then :
14730 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14734 if ${PULSE_LIBS:+false} :; then :
14735 if ${PKG_CONFIG+:} false; then :
14736 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14741 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14742 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14743 ac_save_CPPFLAGS=$CPPFLAGS
14744 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14745 for ac_header in pulse/pulseaudio.h
14746 do :
14747 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14748 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14749 cat >>confdefs.h <<_ACEOF
14750 #define HAVE_PULSE_PULSEAUDIO_H 1
14751 _ACEOF
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14753 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14754 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 ac_check_lib_save_LIBS=$LIBS
14758 LIBS="-lpulse $PULSE_LIBS $LIBS"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 #ifdef __cplusplus
14766 extern "C"
14767 #endif
14768 char pa_stream_is_corked ();
14770 main ()
14772 return pa_stream_is_corked ();
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"; then :
14778 ac_cv_lib_pulse_pa_stream_is_corked=yes
14779 else
14780 ac_cv_lib_pulse_pa_stream_is_corked=no
14782 rm -f core conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext conftest.$ac_ext
14784 LIBS=$ac_check_lib_save_LIBS
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14787 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14788 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14790 else
14791 PULSE_LIBS=""
14794 else
14795 PULSE_LIBS=""
14798 done
14800 CPPFLAGS=$ac_save_CPPFLAGS
14801 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14802 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14805 if test -z "$PULSE_LIBS"; then :
14806 case "x$with_pulse" in
14807 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14808 xno) ;;
14809 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14810 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14811 esac
14812 enable_winepulse_drv=${enable_winepulse_drv:-no}
14815 if test "x$with_gstreamer" != "xno"
14816 then
14817 if ${GSTREAMER_CFLAGS:+false} :; then :
14818 if ${PKG_CONFIG+:} false; then :
14819 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14823 if ${GSTREAMER_LIBS:+false} :; then :
14824 if ${PKG_CONFIG+:} false; then :
14825 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14830 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14831 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14832 ac_save_CPPFLAGS=$CPPFLAGS
14833 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14834 ac_gst_incl=""
14835 for i in $GSTREAMER_CFLAGS
14837 case "$i" in
14838 -I*) ac_gst_incl="$ac_gst_incl $i";;
14839 esac
14840 done
14841 GSTREAMER_CFLAGS=$ac_gst_incl
14842 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14843 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14844 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14846 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 #include <gst/gst.h>
14851 main ()
14853 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_compile "$LINENO"; then :
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14860 $as_echo "yes" >&6; }
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14862 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14863 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_check_lib_save_LIBS=$LIBS
14867 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 #ifdef __cplusplus
14875 extern "C"
14876 #endif
14877 char gst_pad_new ();
14879 main ()
14881 return gst_pad_new ();
14883 return 0;
14885 _ACEOF
14886 if ac_fn_c_try_link "$LINENO"; then :
14887 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14888 else
14889 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14893 LIBS=$ac_check_lib_save_LIBS
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14896 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14897 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14901 else
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14903 $as_echo "no" >&6; }
14904 ac_glib2_broken=yes
14905 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14911 CPPFLAGS=$ac_save_CPPFLAGS
14912 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14913 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14916 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 :
14917 case "x$with_gstreamer" in
14918 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14919 xno) ;;
14920 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14921 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14922 esac
14925 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14927 ALSA_LIBS=""
14929 if test "x$with_alsa" != "xno"
14930 then
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14932 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14933 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 ac_check_lib_save_LIBS=$LIBS
14937 LIBS="-lasound $LIBS"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 char snd_pcm_hw_params_get_access_mask ();
14949 main ()
14951 return snd_pcm_hw_params_get_access_mask ();
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14958 else
14959 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 LIBS=$ac_check_lib_save_LIBS
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14966 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14967 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #include <alsa/asoundlib.h>
14972 main ()
14974 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14976 return 0;
14978 _ACEOF
14979 if ac_fn_c_try_compile "$LINENO"; then :
14980 ALSA_LIBS="-lasound"
14982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14986 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14988 if test "x$with_oss" != xno
14989 then
14990 ac_save_CPPFLAGS="$CPPFLAGS"
14991 if test -f /etc/oss.conf
14992 then
14993 . /etc/oss.conf
14995 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14996 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14997 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14998 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14999 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15001 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15003 cat >>confdefs.h <<_ACEOF
15004 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15005 _ACEOF
15007 OSS4_CFLAGS="$ac_oss_incl"
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15010 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15011 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 ac_check_lib_save_LIBS=$LIBS
15015 LIBS="-lossaudio $LIBS"
15016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15019 /* Override any GCC internal prototype to avoid an error.
15020 Use char because int might match the return type of a GCC
15021 builtin and then its argument prototype would still apply. */
15022 #ifdef __cplusplus
15023 extern "C"
15024 #endif
15025 char _oss_ioctl ();
15027 main ()
15029 return _oss_ioctl ();
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_lib_ossaudio__oss_ioctl=yes
15036 else
15037 ac_cv_lib_ossaudio__oss_ioctl=no
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 LIBS=$ac_check_lib_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15044 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15045 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15046 OSS4_LIBS="-lossaudio"
15055 CPPFLAGS="$ac_save_CPPFLAGS"
15057 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15058 case "x$with_oss" in
15059 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15060 xno) ;;
15061 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15062 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15063 esac
15064 enable_wineoss_drv=${enable_wineoss_drv:-no}
15067 if test "x$with_udev" != "xno"
15068 then
15069 if ${UDEV_CFLAGS:+false} :; then :
15070 if ${PKG_CONFIG+:} false; then :
15071 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15075 if ${UDEV_LIBS:+false} :; then :
15076 if ${PKG_CONFIG+:} false; then :
15077 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15081 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15082 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15083 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15084 ac_save_CPPFLAGS=$CPPFLAGS
15085 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15086 for ac_header in libudev.h
15087 do :
15088 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15089 if test "x$ac_cv_header_libudev_h" = xyes; then :
15090 cat >>confdefs.h <<_ACEOF
15091 #define HAVE_LIBUDEV_H 1
15092 _ACEOF
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15094 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15095 if ${ac_cv_lib_udev_udev_new+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 ac_check_lib_save_LIBS=$LIBS
15099 LIBS="-ludev $UDEV_LIBS $LIBS"
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15103 /* Override any GCC internal prototype to avoid an error.
15104 Use char because int might match the return type of a GCC
15105 builtin and then its argument prototype would still apply. */
15106 #ifdef __cplusplus
15107 extern "C"
15108 #endif
15109 char udev_new ();
15111 main ()
15113 return udev_new ();
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_link "$LINENO"; then :
15119 ac_cv_lib_udev_udev_new=yes
15120 else
15121 ac_cv_lib_udev_udev_new=no
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15125 LIBS=$ac_check_lib_save_LIBS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15128 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15129 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15131 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15133 else
15134 UDEV_LIBS=""
15137 else
15138 UDEV_LIBS=""
15141 done
15143 CPPFLAGS=$ac_save_CPPFLAGS
15144 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15145 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15148 if test "x$UDEV_LIBS" = "x"; then :
15149 case "x$with_udev" in
15150 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15151 xno) ;;
15152 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15153 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15154 esac
15158 if test "x$with_unwind" != xno
15159 then
15160 if ${UNWIND_CFLAGS:+false} :; then :
15161 if ${PKG_CONFIG+:} false; then :
15162 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15166 if ${UNWIND_LIBS:+false} :; then :
15167 if ${PKG_CONFIG+:} false; then :
15168 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15172 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15173 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15174 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15175 ac_save_CPPFLAGS=$CPPFLAGS
15176 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15178 $as_echo_n "checking for unw_step... " >&6; }
15179 if ${wine_cv_have_unw_step+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15184 #define UNW_LOCAL_ONLY
15185 #include <libunwind.h>
15187 main ()
15189 unw_cursor_t cursor; unw_step( &cursor );
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"; then :
15195 wine_cv_have_unw_step="yes"
15196 else
15197 wine_cv_have_unw_step="no"
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15203 $as_echo "$wine_cv_have_unw_step" >&6; }
15204 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15205 then
15206 save_libs=$LIBS
15207 LIBS="$UNWIND_LIBS $LIBS"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15209 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15210 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15215 #define UNW_LOCAL_ONLY
15216 #include <libunwind.h>
15218 main ()
15220 unw_cursor_t cursor; unw_step( &cursor );
15222 return 0;
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 wine_cv_have_libunwind_unw_step="yes"
15227 else
15228 wine_cv_have_libunwind_unw_step="no"
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15234 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15235 LIBS=$save_libs
15237 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15238 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15239 then
15241 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15244 CPPFLAGS=$ac_save_CPPFLAGS
15245 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15246 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15249 case $host in
15250 aarch64*|*-darwin*)
15251 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15252 case "x$with_unwind" in
15253 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15254 xno) ;;
15255 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15256 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15257 esac
15259 fi ;;
15260 esac
15262 if test "x$with_sdl" != "xno"
15263 then
15264 if ${SDL2_CFLAGS:+false} :; then :
15265 if ${PKG_CONFIG+:} false; then :
15266 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15270 if ${SDL2_LIBS:+false} :; then :
15271 if ${PKG_CONFIG+:} false; then :
15272 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15276 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15277 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15278 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15279 ac_save_CPPFLAGS=$CPPFLAGS
15280 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15281 for ac_header in SDL2/SDL.h
15282 do :
15283 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15284 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15285 cat >>confdefs.h <<_ACEOF
15286 #define HAVE_SDL2_SDL_H 1
15287 _ACEOF
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15289 $as_echo_n "checking for -lSDL2... " >&6; }
15290 if ${ac_cv_lib_soname_SDL2+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 char SDL_Init ();
15306 main ()
15308 return SDL_Init ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 case "$LIBEXT" in
15315 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 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'` ;;
15317 *) 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'`
15318 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15319 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15320 fi ;;
15321 esac
15322 else
15323 ac_cv_lib_soname_SDL2=
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_soname_save_LIBS
15329 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 $as_echo "not found" >&6; }
15333 else
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15335 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15339 _ACEOF
15345 done
15347 CPPFLAGS=$ac_save_CPPFLAGS
15348 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15349 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15352 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15353 case "x$with_sdl" in
15354 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15357 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15358 esac
15362 if test "x$with_faudio" != "xno"
15363 then
15364 if ${FAUDIO_CFLAGS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15370 if ${FAUDIO_LIBS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15376 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15377 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15378 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15379 ac_save_CPPFLAGS=$CPPFLAGS
15380 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15381 for ac_header in FAudio.h
15382 do :
15383 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15384 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define HAVE_FAUDIO_H 1
15387 _ACEOF
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15389 $as_echo_n "checking for -lFAudio... " >&6; }
15390 if ${ac_cv_lib_soname_FAudio+:} false; then :
15391 $as_echo_n "(cached) " >&6
15392 else
15393 ac_check_soname_save_LIBS=$LIBS
15394 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15396 /* end confdefs.h. */
15398 /* Override any GCC internal prototype to avoid an error.
15399 Use char because int might match the return type of a GCC
15400 builtin and then its argument prototype would still apply. */
15401 #ifdef __cplusplus
15402 extern "C"
15403 #endif
15404 char FAudioCreate ();
15406 main ()
15408 return FAudioCreate ();
15410 return 0;
15412 _ACEOF
15413 if ac_fn_c_try_link "$LINENO"; then :
15414 case "$LIBEXT" in
15415 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15416 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'` ;;
15417 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15418 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15419 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15420 fi ;;
15421 esac
15422 else
15423 ac_cv_lib_soname_FAudio=
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15427 LIBS=$ac_check_soname_save_LIBS
15429 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15431 $as_echo "not found" >&6; }
15433 else
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15435 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15437 cat >>confdefs.h <<_ACEOF
15438 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15439 _ACEOF
15445 done
15447 ac_wine_check_funcs_save_LIBS="$LIBS"
15448 LIBS="$LIBS $FAUDIO_LIBS"
15449 for ac_func in FAudio_CommitOperationSet \
15450 F3DAudioInitialize8 \
15451 FAudioLinkedVersion
15452 do :
15453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15458 _ACEOF
15461 done
15463 LIBS="$ac_wine_check_funcs_save_LIBS"
15465 CPPFLAGS=$ac_save_CPPFLAGS
15466 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15467 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15470 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15471 case "x$with_faudio" in
15472 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15473 xno) ;;
15474 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15475 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15476 esac
15480 if test "x$with_capi" != "xno"
15481 then
15482 if ${CAPI20_CFLAGS:+false} :; then :
15483 if ${PKG_CONFIG+:} false; then :
15484 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15488 if ${CAPI20_LIBS:+false} :; then :
15489 if ${PKG_CONFIG+:} false; then :
15490 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15495 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15496 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15497 ac_save_CPPFLAGS=$CPPFLAGS
15498 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15499 for ac_header in capi20.h linux/capi.h
15500 do :
15501 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15502 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15504 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15505 cat >>confdefs.h <<_ACEOF
15506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15507 _ACEOF
15511 done
15513 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15514 then
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15516 $as_echo_n "checking for -lcapi20... " >&6; }
15517 if ${ac_cv_lib_soname_capi20+:} false; then :
15518 $as_echo_n "(cached) " >&6
15519 else
15520 ac_check_soname_save_LIBS=$LIBS
15521 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15525 /* Override any GCC internal prototype to avoid an error.
15526 Use char because int might match the return type of a GCC
15527 builtin and then its argument prototype would still apply. */
15528 #ifdef __cplusplus
15529 extern "C"
15530 #endif
15531 char capi20_register ();
15533 main ()
15535 return capi20_register ();
15537 return 0;
15539 _ACEOF
15540 if ac_fn_c_try_link "$LINENO"; then :
15541 case "$LIBEXT" in
15542 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15543 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'` ;;
15544 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15545 if ${ac_cv_lib_soname_capi20:+false} :; then :
15546 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15547 fi ;;
15548 esac
15549 else
15550 ac_cv_lib_soname_capi20=
15552 rm -f core conftest.err conftest.$ac_objext \
15553 conftest$ac_exeext conftest.$ac_ext
15554 LIBS=$ac_check_soname_save_LIBS
15556 if ${ac_cv_lib_soname_capi20:+false} :; then :
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15558 $as_echo "not found" >&6; }
15560 else
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15562 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15564 cat >>confdefs.h <<_ACEOF
15565 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15566 _ACEOF
15571 CPPFLAGS=$ac_save_CPPFLAGS
15572 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15573 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15576 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15577 case "x$with_capi" in
15578 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15579 xno) ;;
15580 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15581 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15582 esac
15586 if test "x$with_cups" != "xno"
15587 then
15588 if ${CUPS_CFLAGS:+false} :; then :
15589 if ${PKG_CONFIG+:} false; then :
15590 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15593 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15594 if ${CUPS_LIBS:+false} :; then :
15595 if ${PKG_CONFIG+:} false; then :
15596 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15599 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15600 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15601 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15602 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15603 ac_save_CPPFLAGS=$CPPFLAGS
15604 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15605 for ac_header in cups/cups.h cups/ppd.h
15606 do :
15607 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15608 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15610 cat >>confdefs.h <<_ACEOF
15611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15612 _ACEOF
15616 done
15618 if test "$ac_cv_header_cups_cups_h" = "yes"
15619 then
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15621 $as_echo_n "checking for -lcups... " >&6; }
15622 if ${ac_cv_lib_soname_cups+:} false; then :
15623 $as_echo_n "(cached) " >&6
15624 else
15625 ac_check_soname_save_LIBS=$LIBS
15626 LIBS="-lcups $CUPS_LIBS $LIBS"
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15630 /* Override any GCC internal prototype to avoid an error.
15631 Use char because int might match the return type of a GCC
15632 builtin and then its argument prototype would still apply. */
15633 #ifdef __cplusplus
15634 extern "C"
15635 #endif
15636 char cupsGetDefault ();
15638 main ()
15640 return cupsGetDefault ();
15642 return 0;
15644 _ACEOF
15645 if ac_fn_c_try_link "$LINENO"; then :
15646 case "$LIBEXT" in
15647 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15648 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'` ;;
15649 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15650 if ${ac_cv_lib_soname_cups:+false} :; then :
15651 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15652 fi ;;
15653 esac
15654 else
15655 ac_cv_lib_soname_cups=
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15659 LIBS=$ac_check_soname_save_LIBS
15661 if ${ac_cv_lib_soname_cups:+false} :; then :
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15663 $as_echo "not found" >&6; }
15664 CUPS_LIBS=""
15665 else
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15667 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15669 cat >>confdefs.h <<_ACEOF
15670 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15671 _ACEOF
15675 else
15676 CUPS_CFLAGS=""
15677 CUPS_LIBS=""
15679 CPPFLAGS=$ac_save_CPPFLAGS
15680 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15681 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15684 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15685 case "x$with_cups" in
15686 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15687 xno) ;;
15688 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15689 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15690 esac
15694 if test "x$with_fontconfig" != "xno"
15695 then
15696 if ${FONTCONFIG_CFLAGS:+false} :; then :
15697 if ${PKG_CONFIG+:} false; then :
15698 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15701 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15702 if ${FONTCONFIG_LIBS:+false} :; then :
15703 if ${PKG_CONFIG+:} false; then :
15704 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15707 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15709 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15710 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15711 ac_save_CPPFLAGS=$CPPFLAGS
15712 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15713 for ac_header in fontconfig/fontconfig.h
15714 do :
15715 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15716 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15717 cat >>confdefs.h <<_ACEOF
15718 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15719 _ACEOF
15723 done
15725 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15726 then
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15728 $as_echo_n "checking for -lfontconfig... " >&6; }
15729 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15730 $as_echo_n "(cached) " >&6
15731 else
15732 ac_check_soname_save_LIBS=$LIBS
15733 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15737 /* Override any GCC internal prototype to avoid an error.
15738 Use char because int might match the return type of a GCC
15739 builtin and then its argument prototype would still apply. */
15740 #ifdef __cplusplus
15741 extern "C"
15742 #endif
15743 char FcInit ();
15745 main ()
15747 return FcInit ();
15749 return 0;
15751 _ACEOF
15752 if ac_fn_c_try_link "$LINENO"; then :
15753 case "$LIBEXT" in
15754 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15755 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'` ;;
15756 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15757 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15758 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15759 fi ;;
15760 esac
15761 else
15762 ac_cv_lib_soname_fontconfig=
15764 rm -f core conftest.err conftest.$ac_objext \
15765 conftest$ac_exeext conftest.$ac_ext
15766 LIBS=$ac_check_soname_save_LIBS
15768 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15770 $as_echo "not found" >&6; }
15771 FONTCONFIG_CFLAGS=""
15772 else
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15774 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15776 cat >>confdefs.h <<_ACEOF
15777 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15778 _ACEOF
15782 else
15783 FONTCONFIG_CFLAGS=""
15785 CPPFLAGS=$ac_save_CPPFLAGS
15786 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15787 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15790 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15791 case "x$with_fontconfig" in
15792 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15793 xno) ;;
15794 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15795 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15796 esac
15800 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15801 then
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15803 $as_echo_n "checking for -lgsm... " >&6; }
15804 if ${ac_cv_lib_soname_gsm+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 ac_check_soname_save_LIBS=$LIBS
15808 LIBS="-lgsm $LIBS"
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15812 /* Override any GCC internal prototype to avoid an error.
15813 Use char because int might match the return type of a GCC
15814 builtin and then its argument prototype would still apply. */
15815 #ifdef __cplusplus
15816 extern "C"
15817 #endif
15818 char gsm_create ();
15820 main ()
15822 return gsm_create ();
15824 return 0;
15826 _ACEOF
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 case "$LIBEXT" in
15829 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15830 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'` ;;
15831 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15832 if ${ac_cv_lib_soname_gsm:+false} :; then :
15833 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15834 fi ;;
15835 esac
15836 else
15837 ac_cv_lib_soname_gsm=
15839 rm -f core conftest.err conftest.$ac_objext \
15840 conftest$ac_exeext conftest.$ac_ext
15841 LIBS=$ac_check_soname_save_LIBS
15843 if ${ac_cv_lib_soname_gsm:+false} :; then :
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15845 $as_echo "not found" >&6; }
15847 else
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15849 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15851 cat >>confdefs.h <<_ACEOF
15852 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15853 _ACEOF
15858 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15859 case "x$with_gsm" in
15860 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15861 xno) ;;
15862 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15863 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15864 esac
15868 if test "x$with_krb5" != "xno"
15869 then
15870 if ${KRB5_CFLAGS:+false} :; then :
15871 if ${PKG_CONFIG+:} false; then :
15872 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15875 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15876 if ${KRB5_LIBS:+false} :; then :
15877 if ${PKG_CONFIG+:} false; then :
15878 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15881 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15883 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15884 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15885 ac_save_CPPFLAGS=$CPPFLAGS
15886 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15887 for ac_header in krb5/krb5.h
15888 do :
15889 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15890 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15891 cat >>confdefs.h <<_ACEOF
15892 #define HAVE_KRB5_KRB5_H 1
15893 _ACEOF
15897 done
15899 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15900 then
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15902 $as_echo_n "checking for -lkrb5... " >&6; }
15903 if ${ac_cv_lib_soname_krb5+:} false; then :
15904 $as_echo_n "(cached) " >&6
15905 else
15906 ac_check_soname_save_LIBS=$LIBS
15907 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15911 /* Override any GCC internal prototype to avoid an error.
15912 Use char because int might match the return type of a GCC
15913 builtin and then its argument prototype would still apply. */
15914 #ifdef __cplusplus
15915 extern "C"
15916 #endif
15917 char krb5_is_config_principal ();
15919 main ()
15921 return krb5_is_config_principal ();
15923 return 0;
15925 _ACEOF
15926 if ac_fn_c_try_link "$LINENO"; then :
15927 case "$LIBEXT" in
15928 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15929 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'` ;;
15930 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15931 if ${ac_cv_lib_soname_krb5:+false} :; then :
15932 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15933 fi ;;
15934 esac
15935 else
15936 ac_cv_lib_soname_krb5=
15938 rm -f core conftest.err conftest.$ac_objext \
15939 conftest$ac_exeext conftest.$ac_ext
15940 LIBS=$ac_check_soname_save_LIBS
15942 if ${ac_cv_lib_soname_krb5:+false} :; then :
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15944 $as_echo "not found" >&6; }
15945 KRB5_CFLAGS=""
15946 else
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15948 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15950 cat >>confdefs.h <<_ACEOF
15951 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15952 _ACEOF
15956 else
15957 KRB5_CFLAGS=""
15959 CPPFLAGS=$ac_save_CPPFLAGS
15960 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15961 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15964 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15965 case "x$with_krb5" in
15966 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15967 xno) ;;
15968 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15969 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15970 esac
15973 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15975 if test "x$with_gssapi" != "xno"
15976 then
15977 if ${GSSAPI_CFLAGS:+false} :; then :
15978 if ${PKG_CONFIG+:} false; then :
15979 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15982 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15983 if ${GSSAPI_LIBS:+false} :; then :
15984 if ${PKG_CONFIG+:} false; then :
15985 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15988 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15990 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15991 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15992 ac_save_CPPFLAGS=$CPPFLAGS
15993 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15994 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15995 do :
15996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15997 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15998 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16001 _ACEOF
16005 done
16007 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16008 then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16010 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16011 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_check_soname_save_LIBS=$LIBS
16015 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 #ifdef __cplusplus
16023 extern "C"
16024 #endif
16025 char gss_init_sec_context ();
16027 main ()
16029 return gss_init_sec_context ();
16031 return 0;
16033 _ACEOF
16034 if ac_fn_c_try_link "$LINENO"; then :
16035 case "$LIBEXT" in
16036 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16037 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'` ;;
16038 *) 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'`
16039 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16040 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16041 fi ;;
16042 esac
16043 else
16044 ac_cv_lib_soname_gssapi_krb5=
16046 rm -f core conftest.err conftest.$ac_objext \
16047 conftest$ac_exeext conftest.$ac_ext
16048 LIBS=$ac_check_soname_save_LIBS
16050 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16052 $as_echo "not found" >&6; }
16053 GSSAPI_CFLAGS=""
16054 else
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16056 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16058 cat >>confdefs.h <<_ACEOF
16059 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16060 _ACEOF
16064 else
16065 GSSAPI_CFLAGS=""
16067 CPPFLAGS=$ac_save_CPPFLAGS
16068 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16069 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16072 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16073 case "x$with_gssapi" in
16074 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16075 xno) ;;
16076 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16077 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16078 esac
16082 if test "x$with_jpeg" != "xno"
16083 then
16084 if ${JPEG_CFLAGS:+false} :; then :
16085 if ${PKG_CONFIG+:} false; then :
16086 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16090 if ${JPEG_LIBS:+false} :; then :
16091 if ${PKG_CONFIG+:} false; then :
16092 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16097 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16098 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16099 ac_save_CPPFLAGS=$CPPFLAGS
16100 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16101 for ac_header in jpeglib.h
16102 do :
16103 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16104 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_JPEGLIB_H 1
16107 _ACEOF
16111 done
16113 if test "$ac_cv_header_jpeglib_h" = "yes"
16114 then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16116 $as_echo_n "checking for -ljpeg... " >&6; }
16117 if ${ac_cv_lib_soname_jpeg+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 ac_check_soname_save_LIBS=$LIBS
16121 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16125 /* Override any GCC internal prototype to avoid an error.
16126 Use char because int might match the return type of a GCC
16127 builtin and then its argument prototype would still apply. */
16128 #ifdef __cplusplus
16129 extern "C"
16130 #endif
16131 char jpeg_start_decompress ();
16133 main ()
16135 return jpeg_start_decompress ();
16137 return 0;
16139 _ACEOF
16140 if ac_fn_c_try_link "$LINENO"; then :
16141 case "$LIBEXT" in
16142 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16143 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'` ;;
16144 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16145 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16146 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16147 fi ;;
16148 esac
16149 else
16150 ac_cv_lib_soname_jpeg=
16152 rm -f core conftest.err conftest.$ac_objext \
16153 conftest$ac_exeext conftest.$ac_ext
16154 LIBS=$ac_check_soname_save_LIBS
16156 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16158 $as_echo "not found" >&6; }
16159 JPEG_CFLAGS=""
16160 else
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16162 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16164 cat >>confdefs.h <<_ACEOF
16165 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16166 _ACEOF
16170 else
16171 JPEG_CFLAGS=""
16173 CPPFLAGS=$ac_save_CPPFLAGS
16174 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16175 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16178 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16179 case "x$with_jpeg" in
16180 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16181 xno) ;;
16182 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16183 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16184 esac
16188 if test "x$with_png" != "xno"
16189 then
16190 if ${PNG_CFLAGS:+false} :; then :
16191 if ${PKG_CONFIG+:} false; then :
16192 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16195 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16196 if ${PNG_LIBS:+false} :; then :
16197 if ${PKG_CONFIG+:} false; then :
16198 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16201 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16203 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16204 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16205 ac_save_CPPFLAGS=$CPPFLAGS
16206 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16207 for ac_header in png.h
16208 do :
16209 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16210 if test "x$ac_cv_header_png_h" = xyes; then :
16211 cat >>confdefs.h <<_ACEOF
16212 #define HAVE_PNG_H 1
16213 _ACEOF
16217 done
16219 if test "$ac_cv_header_png_h" = "yes"
16220 then
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16222 $as_echo_n "checking for -lpng... " >&6; }
16223 if ${ac_cv_lib_soname_png+:} false; then :
16224 $as_echo_n "(cached) " >&6
16225 else
16226 ac_check_soname_save_LIBS=$LIBS
16227 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16231 /* Override any GCC internal prototype to avoid an error.
16232 Use char because int might match the return type of a GCC
16233 builtin and then its argument prototype would still apply. */
16234 #ifdef __cplusplus
16235 extern "C"
16236 #endif
16237 char png_create_read_struct ();
16239 main ()
16241 return png_create_read_struct ();
16243 return 0;
16245 _ACEOF
16246 if ac_fn_c_try_link "$LINENO"; then :
16247 case "$LIBEXT" in
16248 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16249 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'` ;;
16250 *) 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'`
16251 if ${ac_cv_lib_soname_png:+false} :; then :
16252 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16253 fi ;;
16254 esac
16255 else
16256 ac_cv_lib_soname_png=
16258 rm -f core conftest.err conftest.$ac_objext \
16259 conftest$ac_exeext conftest.$ac_ext
16260 LIBS=$ac_check_soname_save_LIBS
16262 if ${ac_cv_lib_soname_png:+false} :; then :
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16264 $as_echo "not found" >&6; }
16265 PNG_CFLAGS=""
16266 else
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16268 $as_echo "$ac_cv_lib_soname_png" >&6; }
16270 cat >>confdefs.h <<_ACEOF
16271 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16272 _ACEOF
16276 else
16277 PNG_CFLAGS=""
16279 CPPFLAGS=$ac_save_CPPFLAGS
16280 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16281 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16284 if test "x$ac_cv_lib_soname_png" = "x"; then :
16285 case "x$with_png" in
16286 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16287 xno) ;;
16288 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16289 This is an error since --with-png was requested." "$LINENO" 5 ;;
16290 esac
16294 if test "x$with_tiff" != "xno"
16295 then
16296 if ${TIFF_CFLAGS:+false} :; then :
16297 if ${PKG_CONFIG+:} false; then :
16298 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16302 if ${TIFF_LIBS:+false} :; then :
16303 if ${PKG_CONFIG+:} false; then :
16304 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16309 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16310 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16311 ac_save_CPPFLAGS=$CPPFLAGS
16312 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16313 for ac_header in tiffio.h
16314 do :
16315 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_TIFFIO_H 1
16319 _ACEOF
16323 done
16325 if test "$ac_cv_header_tiffio_h" = "yes"
16326 then
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16328 $as_echo_n "checking for -ltiff... " >&6; }
16329 if ${ac_cv_lib_soname_tiff+:} false; then :
16330 $as_echo_n "(cached) " >&6
16331 else
16332 ac_check_soname_save_LIBS=$LIBS
16333 LIBS="-ltiff $TIFF_LIBS $LIBS"
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16340 #ifdef __cplusplus
16341 extern "C"
16342 #endif
16343 char TIFFClientOpen ();
16345 main ()
16347 return TIFFClientOpen ();
16349 return 0;
16351 _ACEOF
16352 if ac_fn_c_try_link "$LINENO"; then :
16353 case "$LIBEXT" in
16354 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16355 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'` ;;
16356 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16357 if ${ac_cv_lib_soname_tiff:+false} :; then :
16358 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16359 fi ;;
16360 esac
16361 else
16362 ac_cv_lib_soname_tiff=
16364 rm -f core conftest.err conftest.$ac_objext \
16365 conftest$ac_exeext conftest.$ac_ext
16366 LIBS=$ac_check_soname_save_LIBS
16368 if ${ac_cv_lib_soname_tiff:+false} :; then :
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16370 $as_echo "not found" >&6; }
16372 else
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16374 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16376 cat >>confdefs.h <<_ACEOF
16377 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16378 _ACEOF
16383 CPPFLAGS=$ac_save_CPPFLAGS
16384 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16385 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16388 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16389 case "x$with_tiff" in
16390 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16391 xno) ;;
16392 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16393 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16394 esac
16398 if test "x$with_mpg123" != "xno"
16399 then
16400 if ${MPG123_CFLAGS:+false} :; then :
16401 if ${PKG_CONFIG+:} false; then :
16402 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16406 if ${MPG123_LIBS:+false} :; then :
16407 if ${PKG_CONFIG+:} false; then :
16408 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16412 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16413 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16414 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16415 ac_save_CPPFLAGS=$CPPFLAGS
16416 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16417 for ac_header in mpg123.h
16418 do :
16419 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16420 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_MPG123_H 1
16423 _ACEOF
16427 done
16429 if test "$ac_cv_header_mpg123_h" = "yes"
16430 then
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16432 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16433 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16434 $as_echo_n "(cached) " >&6
16435 else
16436 ac_check_lib_save_LIBS=$LIBS
16437 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16439 /* end confdefs.h. */
16441 /* Override any GCC internal prototype to avoid an error.
16442 Use char because int might match the return type of a GCC
16443 builtin and then its argument prototype would still apply. */
16444 #ifdef __cplusplus
16445 extern "C"
16446 #endif
16447 char mpg123_feed ();
16449 main ()
16451 return mpg123_feed ();
16453 return 0;
16455 _ACEOF
16456 if ac_fn_c_try_link "$LINENO"; then :
16457 ac_cv_lib_mpg123_mpg123_feed=yes
16458 else
16459 ac_cv_lib_mpg123_mpg123_feed=no
16461 rm -f core conftest.err conftest.$ac_objext \
16462 conftest$ac_exeext conftest.$ac_ext
16463 LIBS=$ac_check_lib_save_LIBS
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16466 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16467 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16469 else
16470 MPG123_LIBS=""
16473 else
16474 MPG123_CFLAGS=""
16475 MPG123_LIBS=""
16477 CPPFLAGS=$ac_save_CPPFLAGS
16478 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16479 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16482 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16483 case "x$with_mpg123" in
16484 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16485 xno) ;;
16486 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16487 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16488 esac
16489 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16491 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16493 if test "$ac_cv_header_AL_al_h" = "yes"
16494 then
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16496 $as_echo_n "checking for -lopenal... " >&6; }
16497 if ${ac_cv_lib_soname_openal+:} false; then :
16498 $as_echo_n "(cached) " >&6
16499 else
16500 ac_check_soname_save_LIBS=$LIBS
16501 LIBS="-lopenal $LIBS"
16502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16505 /* Override any GCC internal prototype to avoid an error.
16506 Use char because int might match the return type of a GCC
16507 builtin and then its argument prototype would still apply. */
16508 #ifdef __cplusplus
16509 extern "C"
16510 #endif
16511 char alGetSource3i ();
16513 main ()
16515 return alGetSource3i ();
16517 return 0;
16519 _ACEOF
16520 if ac_fn_c_try_link "$LINENO"; then :
16521 case "$LIBEXT" in
16522 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16523 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'` ;;
16524 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16525 if ${ac_cv_lib_soname_openal:+false} :; then :
16526 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16527 fi ;;
16528 esac
16529 else
16530 ac_cv_lib_soname_openal=
16532 rm -f core conftest.err conftest.$ac_objext \
16533 conftest$ac_exeext conftest.$ac_ext
16534 LIBS=$ac_check_soname_save_LIBS
16536 if ${ac_cv_lib_soname_openal:+false} :; then :
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16538 $as_echo "not found" >&6; }
16540 else
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16542 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16544 cat >>confdefs.h <<_ACEOF
16545 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16546 _ACEOF
16548 OPENAL_LIBS="-lopenal"
16550 ac_cv_lib_openal=yes
16552 cat >>confdefs.h <<_ACEOF
16553 #define HAVE_OPENAL 1
16554 _ACEOF
16558 if test "x$ac_cv_lib_openal" != xyes; then :
16559 case "x$with_openal" in
16560 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16561 xno) ;;
16562 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16563 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16564 esac
16565 enable_openal32=${enable_openal32:-no}
16568 if test "x$ac_cv_lib_soname_FAudio" = "x"
16569 then
16570 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16571 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16572 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16573 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16574 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16575 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16576 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16577 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16578 enable_xapofx1_1=${enable_xapofx1_1:-no}
16579 enable_xapofx1_2=${enable_xapofx1_2:-no}
16580 enable_xapofx1_3=${enable_xapofx1_3:-no}
16581 enable_xapofx1_4=${enable_xapofx1_4:-no}
16582 enable_xapofx1_5=${enable_xapofx1_5:-no}
16583 enable_xaudio2_0=${enable_xaudio2_0:-no}
16584 enable_xaudio2_1=${enable_xaudio2_1:-no}
16585 enable_xaudio2_2=${enable_xaudio2_2:-no}
16586 enable_xaudio2_3=${enable_xaudio2_3:-no}
16587 enable_xaudio2_4=${enable_xaudio2_4:-no}
16588 enable_xaudio2_5=${enable_xaudio2_5:-no}
16589 enable_xaudio2_6=${enable_xaudio2_6:-no}
16590 enable_xaudio2_7=${enable_xaudio2_7:-no}
16591 enable_xaudio2_8=${enable_xaudio2_8:-no}
16592 enable_xaudio2_9=${enable_xaudio2_9:-no}
16595 if test "$ac_cv_header_kstat_h" = "yes"
16596 then
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16598 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16599 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16600 $as_echo_n "(cached) " >&6
16601 else
16602 ac_check_lib_save_LIBS=$LIBS
16603 LIBS="-lkstat $LIBS"
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16607 /* Override any GCC internal prototype to avoid an error.
16608 Use char because int might match the return type of a GCC
16609 builtin and then its argument prototype would still apply. */
16610 #ifdef __cplusplus
16611 extern "C"
16612 #endif
16613 char kstat_open ();
16615 main ()
16617 return kstat_open ();
16619 return 0;
16621 _ACEOF
16622 if ac_fn_c_try_link "$LINENO"; then :
16623 ac_cv_lib_kstat_kstat_open=yes
16624 else
16625 ac_cv_lib_kstat_kstat_open=no
16627 rm -f core conftest.err conftest.$ac_objext \
16628 conftest$ac_exeext conftest.$ac_ext
16629 LIBS=$ac_check_lib_save_LIBS
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16632 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16633 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16635 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16637 KSTAT_LIBS="-lkstat"
16643 if test "$ac_cv_header_libprocstat_h" = "yes"
16644 then
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16646 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16647 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 ac_check_lib_save_LIBS=$LIBS
16651 LIBS="-lprocstat $LIBS"
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16658 #ifdef __cplusplus
16659 extern "C"
16660 #endif
16661 char procstat_open_sysctl ();
16663 main ()
16665 return procstat_open_sysctl ();
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 ac_cv_lib_procstat_procstat_open_sysctl=yes
16672 else
16673 ac_cv_lib_procstat_procstat_open_sysctl=no
16675 rm -f core conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16677 LIBS=$ac_check_lib_save_LIBS
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16680 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16681 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16683 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16685 PROCSTAT_LIBS="-lprocstat"
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16692 $as_echo_n "checking for -lodbc... " >&6; }
16693 if ${ac_cv_lib_soname_odbc+:} false; then :
16694 $as_echo_n "(cached) " >&6
16695 else
16696 ac_check_soname_save_LIBS=$LIBS
16697 LIBS="-lodbc $LIBS"
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16701 /* Override any GCC internal prototype to avoid an error.
16702 Use char because int might match the return type of a GCC
16703 builtin and then its argument prototype would still apply. */
16704 #ifdef __cplusplus
16705 extern "C"
16706 #endif
16707 char SQLConnect ();
16709 main ()
16711 return SQLConnect ();
16713 return 0;
16715 _ACEOF
16716 if ac_fn_c_try_link "$LINENO"; then :
16717 case "$LIBEXT" in
16718 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16719 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'` ;;
16720 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16721 if ${ac_cv_lib_soname_odbc:+false} :; then :
16722 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16723 fi ;;
16724 esac
16725 else
16726 ac_cv_lib_soname_odbc=
16728 rm -f core conftest.err conftest.$ac_objext \
16729 conftest$ac_exeext conftest.$ac_ext
16730 LIBS=$ac_check_soname_save_LIBS
16732 if ${ac_cv_lib_soname_odbc:+false} :; then :
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16734 $as_echo "not found" >&6; }
16735 cat >>confdefs.h <<_ACEOF
16736 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16737 _ACEOF
16739 else
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16741 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16743 cat >>confdefs.h <<_ACEOF
16744 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16745 _ACEOF
16750 if test "x$with_netapi" != "xno"
16751 then
16752 if ${NETAPI_CFLAGS:+false} :; then :
16753 if ${PKG_CONFIG+:} false; then :
16754 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16758 if ${NETAPI_LIBS:+false} :; then :
16759 if ${PKG_CONFIG+:} false; then :
16760 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16765 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16766 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16767 ac_save_CPPFLAGS=$CPPFLAGS
16768 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16770 $as_echo_n "checking for -lnetapi... " >&6; }
16771 if ${ac_cv_lib_soname_netapi+:} false; then :
16772 $as_echo_n "(cached) " >&6
16773 else
16774 ac_check_soname_save_LIBS=$LIBS
16775 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16779 /* Override any GCC internal prototype to avoid an error.
16780 Use char because int might match the return type of a GCC
16781 builtin and then its argument prototype would still apply. */
16782 #ifdef __cplusplus
16783 extern "C"
16784 #endif
16785 char libnetapi_init ();
16787 main ()
16789 return libnetapi_init ();
16791 return 0;
16793 _ACEOF
16794 if ac_fn_c_try_link "$LINENO"; then :
16795 case "$LIBEXT" in
16796 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16797 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'` ;;
16798 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16799 if ${ac_cv_lib_soname_netapi:+false} :; then :
16800 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16801 fi ;;
16802 esac
16803 else
16804 ac_cv_lib_soname_netapi=
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_soname_save_LIBS
16810 if ${ac_cv_lib_soname_netapi:+false} :; then :
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16812 $as_echo "not found" >&6; }
16813 cat >>confdefs.h <<_ACEOF
16814 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16815 _ACEOF
16817 else
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16819 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16821 cat >>confdefs.h <<_ACEOF
16822 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16823 _ACEOF
16827 CPPFLAGS=$ac_save_CPPFLAGS
16828 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16829 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16833 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16834 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16835 then
16836 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16839 if test "x$with_vulkan" != "xno"
16840 then
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16842 $as_echo_n "checking for -lvulkan... " >&6; }
16843 if ${ac_cv_lib_soname_vulkan+:} false; then :
16844 $as_echo_n "(cached) " >&6
16845 else
16846 ac_check_soname_save_LIBS=$LIBS
16847 LIBS="-lvulkan $LIBS"
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 /* Override any GCC internal prototype to avoid an error.
16852 Use char because int might match the return type of a GCC
16853 builtin and then its argument prototype would still apply. */
16854 #ifdef __cplusplus
16855 extern "C"
16856 #endif
16857 char vkGetInstanceProcAddr ();
16859 main ()
16861 return vkGetInstanceProcAddr ();
16863 return 0;
16865 _ACEOF
16866 if ac_fn_c_try_link "$LINENO"; then :
16867 case "$LIBEXT" in
16868 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16869 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'` ;;
16870 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16871 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16872 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16873 fi ;;
16874 esac
16875 else
16876 ac_cv_lib_soname_vulkan=
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16880 LIBS=$ac_check_soname_save_LIBS
16882 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16884 $as_echo "not found" >&6; }
16886 else
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16888 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16890 cat >>confdefs.h <<_ACEOF
16891 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16892 _ACEOF
16896 if test "x$ac_cv_lib_soname_vulkan" = "x"
16897 then
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16899 $as_echo_n "checking for -lMoltenVK... " >&6; }
16900 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903 ac_check_soname_save_LIBS=$LIBS
16904 LIBS="-lMoltenVK $LIBS"
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16908 /* Override any GCC internal prototype to avoid an error.
16909 Use char because int might match the return type of a GCC
16910 builtin and then its argument prototype would still apply. */
16911 #ifdef __cplusplus
16912 extern "C"
16913 #endif
16914 char vkGetInstanceProcAddr ();
16916 main ()
16918 return vkGetInstanceProcAddr ();
16920 return 0;
16922 _ACEOF
16923 if ac_fn_c_try_link "$LINENO"; then :
16924 case "$LIBEXT" in
16925 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16926 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'` ;;
16927 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16928 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16929 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16930 fi ;;
16931 esac
16932 else
16933 ac_cv_lib_soname_MoltenVK=
16935 rm -f core conftest.err conftest.$ac_objext \
16936 conftest$ac_exeext conftest.$ac_ext
16937 LIBS=$ac_check_soname_save_LIBS
16939 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16941 $as_echo "not found" >&6; }
16943 else
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16945 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16947 cat >>confdefs.h <<_ACEOF
16948 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16949 _ACEOF
16955 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16956 case "x$with_vulkan" in
16957 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16958 xno) ;;
16959 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16960 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16961 esac
16965 if test "x$with_vkd3d" != "xno"
16966 then
16967 if ${VKD3D_CFLAGS:+false} :; then :
16968 if ${PKG_CONFIG+:} false; then :
16969 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16973 if ${VKD3D_LIBS:+false} :; then :
16974 if ${PKG_CONFIG+:} false; then :
16975 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16980 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16981 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16982 ac_save_CPPFLAGS=$CPPFLAGS
16983 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16985 $as_echo_n "checking for -lvkd3d... " >&6; }
16986 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 ac_check_soname_save_LIBS=$LIBS
16990 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16994 /* Override any GCC internal prototype to avoid an error.
16995 Use char because int might match the return type of a GCC
16996 builtin and then its argument prototype would still apply. */
16997 #ifdef __cplusplus
16998 extern "C"
16999 #endif
17000 char vkd3d_get_dxgi_format ();
17002 main ()
17004 return vkd3d_get_dxgi_format ();
17006 return 0;
17008 _ACEOF
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 case "$LIBEXT" in
17011 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17012 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'` ;;
17013 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17014 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17015 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17016 fi ;;
17017 esac
17018 else
17019 ac_cv_lib_soname_vkd3d=
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 LIBS=$ac_check_soname_save_LIBS
17025 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17027 $as_echo "not found" >&6; }
17029 else
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17031 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17033 cat >>confdefs.h <<_ACEOF
17034 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17035 _ACEOF
17039 CPPFLAGS=$ac_save_CPPFLAGS
17040 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17041 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17044 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17045 case "x$with_vkd3d" in
17046 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17047 xno) ;;
17048 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17049 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17050 esac
17053 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17056 EXTRACFLAGS=""
17058 if test "x${GCC}" = "xyes"
17059 then
17060 EXTRACFLAGS="-Wall -pipe"
17062 saved_CFLAGS=$CFLAGS
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17064 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17065 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 ac_wine_try_cflags_saved=$CFLAGS
17069 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17072 int main(int argc, char **argv) { return 0; }
17073 _ACEOF
17074 if ac_fn_c_try_link "$LINENO"; then :
17075 ac_cv_cflags__Werror_unknown_warning_option=yes
17076 else
17077 ac_cv_cflags__Werror_unknown_warning_option=no
17079 rm -f core conftest.err conftest.$ac_objext \
17080 conftest$ac_exeext conftest.$ac_ext
17081 CFLAGS=$ac_wine_try_cflags_saved
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17084 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17085 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17086 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17089 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17090 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17091 $as_echo_n "(cached) " >&6
17092 else
17093 ac_wine_try_cflags_saved=$CFLAGS
17094 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17097 int main(int argc, char **argv) { return 0; }
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"; then :
17100 ac_cv_cflags__Werror_unused_command_line_argument=yes
17101 else
17102 ac_cv_cflags__Werror_unused_command_line_argument=no
17104 rm -f core conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17106 CFLAGS=$ac_wine_try_cflags_saved
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17109 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17110 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17111 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17114 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17115 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 ac_wine_try_cflags_saved=$CFLAGS
17119 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 int main(int argc, char **argv) { return 0; }
17123 _ACEOF
17124 if ac_fn_c_try_link "$LINENO"; then :
17125 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17126 else
17127 ac_cv_cflags__Werror_ignored_optimization_argument=no
17129 rm -f core conftest.err conftest.$ac_objext \
17130 conftest$ac_exeext conftest.$ac_ext
17131 CFLAGS=$ac_wine_try_cflags_saved
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17134 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17135 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17136 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17139 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17140 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17141 $as_echo_n "(cached) " >&6
17142 else
17143 ac_wine_try_cflags_saved=$CFLAGS
17144 CFLAGS="$CFLAGS -fcf-protection=none"
17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17147 int main(int argc, char **argv) { return 0; }
17148 _ACEOF
17149 if ac_fn_c_try_link "$LINENO"; then :
17150 ac_cv_cflags__fcf_protection_none=yes
17151 else
17152 ac_cv_cflags__fcf_protection_none=no
17154 rm -f core conftest.err conftest.$ac_objext \
17155 conftest$ac_exeext conftest.$ac_ext
17156 CFLAGS=$ac_wine_try_cflags_saved
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17159 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17160 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17161 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17164 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17165 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17166 $as_echo_n "(cached) " >&6
17167 else
17168 ac_wine_try_cflags_saved=$CFLAGS
17169 CFLAGS="$CFLAGS -fno-stack-protector"
17170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17172 int main(int argc, char **argv) { return 0; }
17173 _ACEOF
17174 if ac_fn_c_try_link "$LINENO"; then :
17175 ac_cv_cflags__fno_stack_protector=yes
17176 else
17177 ac_cv_cflags__fno_stack_protector=no
17179 rm -f core conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17181 CFLAGS=$ac_wine_try_cflags_saved
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17184 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17185 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17186 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17189 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17190 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17193 ac_wine_try_cflags_saved=$CFLAGS
17194 CFLAGS="$CFLAGS -fno-strict-aliasing"
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17197 int main(int argc, char **argv) { return 0; }
17198 _ACEOF
17199 if ac_fn_c_try_link "$LINENO"; then :
17200 ac_cv_cflags__fno_strict_aliasing=yes
17201 else
17202 ac_cv_cflags__fno_strict_aliasing=no
17204 rm -f core conftest.err conftest.$ac_objext \
17205 conftest$ac_exeext conftest.$ac_ext
17206 CFLAGS=$ac_wine_try_cflags_saved
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17209 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17210 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17211 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17214 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17215 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17216 $as_echo_n "(cached) " >&6
17217 else
17218 ac_wine_try_cflags_saved=$CFLAGS
17219 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17222 int main(int argc, char **argv) { return 0; }
17223 _ACEOF
17224 if ac_fn_c_try_link "$LINENO"; then :
17225 ac_cv_cflags__Wdeclaration_after_statement=yes
17226 else
17227 ac_cv_cflags__Wdeclaration_after_statement=no
17229 rm -f core conftest.err conftest.$ac_objext \
17230 conftest$ac_exeext conftest.$ac_ext
17231 CFLAGS=$ac_wine_try_cflags_saved
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17234 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17235 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17236 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17239 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17240 if ${ac_cv_cflags__Wempty_body+:} false; then :
17241 $as_echo_n "(cached) " >&6
17242 else
17243 ac_wine_try_cflags_saved=$CFLAGS
17244 CFLAGS="$CFLAGS -Wempty-body"
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17247 int main(int argc, char **argv) { return 0; }
17248 _ACEOF
17249 if ac_fn_c_try_link "$LINENO"; then :
17250 ac_cv_cflags__Wempty_body=yes
17251 else
17252 ac_cv_cflags__Wempty_body=no
17254 rm -f core conftest.err conftest.$ac_objext \
17255 conftest$ac_exeext conftest.$ac_ext
17256 CFLAGS=$ac_wine_try_cflags_saved
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17259 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17260 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17261 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17264 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17265 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17266 $as_echo_n "(cached) " >&6
17267 else
17268 ac_wine_try_cflags_saved=$CFLAGS
17269 CFLAGS="$CFLAGS -Wignored-qualifiers"
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 int main(int argc, char **argv) { return 0; }
17273 _ACEOF
17274 if ac_fn_c_try_link "$LINENO"; then :
17275 ac_cv_cflags__Wignored_qualifiers=yes
17276 else
17277 ac_cv_cflags__Wignored_qualifiers=no
17279 rm -f core conftest.err conftest.$ac_objext \
17280 conftest$ac_exeext conftest.$ac_ext
17281 CFLAGS=$ac_wine_try_cflags_saved
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17284 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17285 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17286 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17289 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17290 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17291 $as_echo_n "(cached) " >&6
17292 else
17293 ac_wine_try_cflags_saved=$CFLAGS
17294 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 int main(int argc, char **argv) { return 0; }
17298 _ACEOF
17299 if ac_fn_c_try_link "$LINENO"; then :
17300 ac_cv_cflags__Wpacked_not_aligned=yes
17301 else
17302 ac_cv_cflags__Wpacked_not_aligned=no
17304 rm -f core conftest.err conftest.$ac_objext \
17305 conftest$ac_exeext conftest.$ac_ext
17306 CFLAGS=$ac_wine_try_cflags_saved
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17309 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17310 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17311 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17314 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17315 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17318 ac_wine_try_cflags_saved=$CFLAGS
17319 CFLAGS="$CFLAGS -Wpragma-pack"
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 int main(int argc, char **argv) { return 0; }
17323 _ACEOF
17324 if ac_fn_c_try_link "$LINENO"; then :
17325 ac_cv_cflags__Wpragma_pack=yes
17326 else
17327 ac_cv_cflags__Wpragma_pack=no
17329 rm -f core conftest.err conftest.$ac_objext \
17330 conftest$ac_exeext conftest.$ac_ext
17331 CFLAGS=$ac_wine_try_cflags_saved
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17334 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17335 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17336 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17339 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17340 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17341 $as_echo_n "(cached) " >&6
17342 else
17343 ac_wine_try_cflags_saved=$CFLAGS
17344 CFLAGS="$CFLAGS -Wshift-overflow=2"
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 int main(int argc, char **argv) { return 0; }
17348 _ACEOF
17349 if ac_fn_c_try_link "$LINENO"; then :
17350 ac_cv_cflags__Wshift_overflow_2=yes
17351 else
17352 ac_cv_cflags__Wshift_overflow_2=no
17354 rm -f core conftest.err conftest.$ac_objext \
17355 conftest$ac_exeext conftest.$ac_ext
17356 CFLAGS=$ac_wine_try_cflags_saved
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17359 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17360 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17361 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17364 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17365 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17366 $as_echo_n "(cached) " >&6
17367 else
17368 ac_wine_try_cflags_saved=$CFLAGS
17369 CFLAGS="$CFLAGS -Wstrict-prototypes"
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17372 int main(int argc, char **argv) { return 0; }
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"; then :
17375 ac_cv_cflags__Wstrict_prototypes=yes
17376 else
17377 ac_cv_cflags__Wstrict_prototypes=no
17379 rm -f core conftest.err conftest.$ac_objext \
17380 conftest$ac_exeext conftest.$ac_ext
17381 CFLAGS=$ac_wine_try_cflags_saved
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17384 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17385 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17386 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17389 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17390 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17391 $as_echo_n "(cached) " >&6
17392 else
17393 ac_wine_try_cflags_saved=$CFLAGS
17394 CFLAGS="$CFLAGS -Wtype-limits"
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 int main(int argc, char **argv) { return 0; }
17398 _ACEOF
17399 if ac_fn_c_try_link "$LINENO"; then :
17400 ac_cv_cflags__Wtype_limits=yes
17401 else
17402 ac_cv_cflags__Wtype_limits=no
17404 rm -f core conftest.err conftest.$ac_objext \
17405 conftest$ac_exeext conftest.$ac_ext
17406 CFLAGS=$ac_wine_try_cflags_saved
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17409 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17410 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17411 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17414 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17415 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17416 $as_echo_n "(cached) " >&6
17417 else
17418 ac_wine_try_cflags_saved=$CFLAGS
17419 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17421 /* end confdefs.h. */
17422 int main(int argc, char **argv) { return 0; }
17423 _ACEOF
17424 if ac_fn_c_try_link "$LINENO"; then :
17425 ac_cv_cflags__Wunused_but_set_parameter=yes
17426 else
17427 ac_cv_cflags__Wunused_but_set_parameter=no
17429 rm -f core conftest.err conftest.$ac_objext \
17430 conftest$ac_exeext conftest.$ac_ext
17431 CFLAGS=$ac_wine_try_cflags_saved
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17434 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17435 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17436 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17439 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17440 if ${ac_cv_cflags__Wvla+:} false; then :
17441 $as_echo_n "(cached) " >&6
17442 else
17443 ac_wine_try_cflags_saved=$CFLAGS
17444 CFLAGS="$CFLAGS -Wvla"
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 int main(int argc, char **argv) { return 0; }
17448 _ACEOF
17449 if ac_fn_c_try_link "$LINENO"; then :
17450 ac_cv_cflags__Wvla=yes
17451 else
17452 ac_cv_cflags__Wvla=no
17454 rm -f core conftest.err conftest.$ac_objext \
17455 conftest$ac_exeext conftest.$ac_ext
17456 CFLAGS=$ac_wine_try_cflags_saved
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17459 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17460 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17461 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17464 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17465 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17466 $as_echo_n "(cached) " >&6
17467 else
17468 ac_wine_try_cflags_saved=$CFLAGS
17469 CFLAGS="$CFLAGS -Wwrite-strings"
17470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17472 int main(int argc, char **argv) { return 0; }
17473 _ACEOF
17474 if ac_fn_c_try_link "$LINENO"; then :
17475 ac_cv_cflags__Wwrite_strings=yes
17476 else
17477 ac_cv_cflags__Wwrite_strings=no
17479 rm -f core conftest.err conftest.$ac_objext \
17480 conftest$ac_exeext conftest.$ac_ext
17481 CFLAGS=$ac_wine_try_cflags_saved
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17484 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17485 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17486 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17489 if test -z "$CROSSTARGET"
17490 then
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17492 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17493 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17494 $as_echo_n "(cached) " >&6
17495 else
17496 ac_wine_try_cflags_saved=$CFLAGS
17497 CFLAGS="$CFLAGS -fexcess-precision=standard"
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 int main(int argc, char **argv) { return 0; }
17501 _ACEOF
17502 if ac_fn_c_try_link "$LINENO"; then :
17503 ac_cv_cflags__fexcess_precision_standard=yes
17504 else
17505 ac_cv_cflags__fexcess_precision_standard=no
17507 rm -f core conftest.err conftest.$ac_objext \
17508 conftest$ac_exeext conftest.$ac_ext
17509 CFLAGS=$ac_wine_try_cflags_saved
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17512 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17513 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17514 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17520 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17521 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524 ac_wine_try_cflags_saved=$CFLAGS
17525 CFLAGS="$CFLAGS -Wpointer-arith"
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 int main(int argc, char **argv) { return 0; }
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"; then :
17531 ac_cv_cflags__Wpointer_arith=yes
17532 else
17533 ac_cv_cflags__Wpointer_arith=no
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17537 CFLAGS=$ac_wine_try_cflags_saved
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17540 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17541 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17542 saved_string_h_CFLAGS=$CFLAGS
17543 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17545 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17546 if ${ac_cv_c_string_h_warnings+:} false; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17551 #include <string.h>
17553 main ()
17557 return 0;
17559 _ACEOF
17560 if ac_fn_c_try_compile "$LINENO"; then :
17561 ac_cv_c_string_h_warnings=no
17562 else
17563 ac_cv_c_string_h_warnings=yes
17565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17568 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17569 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17570 CFLAGS=$saved_string_h_CFLAGS
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17574 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17575 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17576 $as_echo_n "(cached) " >&6
17577 else
17578 ac_wine_try_cflags_saved=$CFLAGS
17579 CFLAGS="$CFLAGS -Wlogical-op"
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17582 int main(int argc, char **argv) { return 0; }
17583 _ACEOF
17584 if ac_fn_c_try_link "$LINENO"; then :
17585 ac_cv_cflags__Wlogical_op=yes
17586 else
17587 ac_cv_cflags__Wlogical_op=no
17589 rm -f core conftest.err conftest.$ac_objext \
17590 conftest$ac_exeext conftest.$ac_ext
17591 CFLAGS=$ac_wine_try_cflags_saved
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17594 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17595 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17596 saved_string_h_CFLAGS=$CFLAGS
17597 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17599 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17600 if ${ac_cv_c_logicalop_noisy+:} false; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17605 #include <string.h>
17606 char*f(const char *h,char n) {return strchr(h,n);}
17608 main ()
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 ac_cv_c_logicalop_noisy=no
17617 else
17618 ac_cv_c_logicalop_noisy=yes
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17623 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17624 CFLAGS=$saved_string_h_CFLAGS
17625 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17628 for ac_flag in $CFLAGS; do
17629 case $ac_flag in
17630 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17631 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17632 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17633 $as_echo_n "(cached) " >&6
17634 else
17635 ac_wine_try_cflags_saved=$CFLAGS
17636 CFLAGS="$CFLAGS -gdwarf-2"
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 int main(int argc, char **argv) { return 0; }
17640 _ACEOF
17641 if ac_fn_c_try_link "$LINENO"; then :
17642 ac_cv_cflags__gdwarf_2=yes
17643 else
17644 ac_cv_cflags__gdwarf_2=no
17646 rm -f core conftest.err conftest.$ac_objext \
17647 conftest$ac_exeext conftest.$ac_ext
17648 CFLAGS=$ac_wine_try_cflags_saved
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17651 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17652 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17653 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17656 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17657 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660 ac_wine_try_cflags_saved=$CFLAGS
17661 CFLAGS="$CFLAGS -gstrict-dwarf"
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 int main(int argc, char **argv) { return 0; }
17665 _ACEOF
17666 if ac_fn_c_try_link "$LINENO"; then :
17667 ac_cv_cflags__gstrict_dwarf=yes
17668 else
17669 ac_cv_cflags__gstrict_dwarf=no
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17673 CFLAGS=$ac_wine_try_cflags_saved
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17676 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17677 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17678 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17679 fi ;;
17680 esac
17681 done
17683 MSVCRTFLAGS=""
17685 case $host_os in
17686 mingw32*) ;;
17687 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17688 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17689 if ${ac_cv_cflags__fno_builtin+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 ac_wine_try_cflags_saved=$CFLAGS
17693 CFLAGS="$CFLAGS -fno-builtin"
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 int main(int argc, char **argv) { return 0; }
17697 _ACEOF
17698 if ac_fn_c_try_link "$LINENO"; then :
17699 ac_cv_cflags__fno_builtin=yes
17700 else
17701 ac_cv_cflags__fno_builtin=no
17703 rm -f core conftest.err conftest.$ac_objext \
17704 conftest$ac_exeext conftest.$ac_ext
17705 CFLAGS=$ac_wine_try_cflags_saved
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17708 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17709 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17710 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17713 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17714 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 ac_wine_try_cflags_saved=$CFLAGS
17718 CFLAGS="$CFLAGS -fshort-wchar"
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 int main(int argc, char **argv) { return 0; }
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_cflags__fshort_wchar=yes
17725 else
17726 ac_cv_cflags__fshort_wchar=no
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 CFLAGS=$ac_wine_try_cflags_saved
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17733 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17734 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17735 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17736 fi ;;
17737 esac
17739 case $host_cpu in
17740 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17741 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17742 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 ac_wine_try_cflags_saved=$CFLAGS
17746 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17749 int main(int argc, char **argv) { return 0; }
17750 _ACEOF
17751 if ac_fn_c_try_link "$LINENO"; then :
17752 ac_cv_cflags__fno_omit_frame_pointer=yes
17753 else
17754 ac_cv_cflags__fno_omit_frame_pointer=no
17756 rm -f core conftest.err conftest.$ac_objext \
17757 conftest$ac_exeext conftest.$ac_ext
17758 CFLAGS=$ac_wine_try_cflags_saved
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17761 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17762 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17763 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17764 fi ;;
17765 *x86_64*)
17766 case $host_os in
17767 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17768 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17769 if ${ac_cv_cflags__Wno_format+:} false; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17772 ac_wine_try_cflags_saved=$CFLAGS
17773 CFLAGS="$CFLAGS -Wno-format"
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17776 int main(int argc, char **argv) { return 0; }
17777 _ACEOF
17778 if ac_fn_c_try_link "$LINENO"; then :
17779 ac_cv_cflags__Wno_format=yes
17780 else
17781 ac_cv_cflags__Wno_format=no
17783 rm -f core conftest.err conftest.$ac_objext \
17784 conftest$ac_exeext conftest.$ac_ext
17785 CFLAGS=$ac_wine_try_cflags_saved
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17788 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17789 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17790 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17791 fi ;;
17792 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17793 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17794 if ${ac_cv_cflags__mabi_ms+:} false; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 ac_wine_try_cflags_saved=$CFLAGS
17798 CFLAGS="$CFLAGS -mabi=ms"
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 int main(int argc, char **argv) { return 0; }
17802 _ACEOF
17803 if ac_fn_c_try_link "$LINENO"; then :
17804 ac_cv_cflags__mabi_ms=yes
17805 else
17806 ac_cv_cflags__mabi_ms=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17810 CFLAGS=$ac_wine_try_cflags_saved
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17813 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17814 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17815 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17816 fi ;;
17817 esac ;;
17818 esac
17820 CFLAGS=$saved_CFLAGS
17822 if test "x$enable_werror" = "xyes"
17823 then
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17825 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17826 if ${ac_cv_cflags__Werror+:} false; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 ac_wine_try_cflags_saved=$CFLAGS
17830 CFLAGS="$CFLAGS -Werror"
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 int main(int argc, char **argv) { return 0; }
17834 _ACEOF
17835 if ac_fn_c_try_link "$LINENO"; then :
17836 ac_cv_cflags__Werror=yes
17837 else
17838 ac_cv_cflags__Werror=no
17840 rm -f core conftest.err conftest.$ac_objext \
17841 conftest$ac_exeext conftest.$ac_ext
17842 CFLAGS=$ac_wine_try_cflags_saved
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17845 $as_echo "$ac_cv_cflags__Werror" >&6; }
17846 if test "x$ac_cv_cflags__Werror" = xyes; then :
17847 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17854 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17855 if ${ac_cv_c_fortify_enabled+:} false; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <string.h>
17862 main ()
17864 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17865 #error Fortify enabled
17866 #endif
17868 return 0;
17870 _ACEOF
17871 if ac_fn_c_try_compile "$LINENO"; then :
17872 ac_cv_c_fortify_enabled=no
17873 else
17874 ac_cv_c_fortify_enabled=yes
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17879 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17880 if test "$ac_cv_c_fortify_enabled" = yes
17881 then
17882 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17887 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17888 if ${ac_cv_c_cfi_support+:} false; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17895 main ()
17899 return 0;
17901 _ACEOF
17902 if ac_fn_c_try_compile "$LINENO"; then :
17903 ac_cv_c_cfi_support="yes"
17904 else
17905 ac_cv_c_cfi_support="no"
17907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17910 $as_echo "$ac_cv_c_cfi_support" >&6; }
17911 if test "$ac_cv_c_cfi_support" = "yes"
17912 then
17913 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17914 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17915 else
17916 if test "x$enable_win64" = "xyes"
17917 then
17918 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17923 case $build_os in
17924 cygwin*|mingw32*) TOOLSEXT=".exe"
17926 esac
17928 case $host_os in
17929 linux*)
17930 case $host_cpu in
17931 *i[3456789]86*|x86_64*|*aarch64*)
17932 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17933 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17935 esac
17937 esac
17940 ac_save_CFLAGS="$CFLAGS"
17941 CFLAGS="$CFLAGS $BUILTINFLAG"
17942 for ac_func in \
17943 __res_get_state \
17944 __res_getservers \
17945 _spawnvp \
17946 epoll_create \
17947 ffs \
17948 finitef \
17949 fnmatch \
17950 fork \
17951 fpclass \
17952 fstatfs \
17953 fstatvfs \
17954 futimens \
17955 futimes \
17956 futimesat \
17957 getattrlist \
17958 getauxval \
17959 getifaddrs \
17960 getopt_long_only \
17961 kqueue \
17962 lstat \
17963 mach_continuous_time \
17964 pipe2 \
17965 poll \
17966 port_create \
17967 prctl \
17968 pread \
17969 proc_pidinfo \
17970 pwrite \
17971 readdir \
17972 readlink \
17973 sched_yield \
17974 select \
17975 setproctitle \
17976 setprogname \
17977 settimeofday \
17978 sigprocmask \
17979 statfs \
17980 statvfs \
17981 strnlen \
17982 strtold \
17983 symlink \
17984 sysinfo \
17985 tcdrain \
17986 thr_kill2 \
17987 usleep
17989 do :
17990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17993 cat >>confdefs.h <<_ACEOF
17994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17995 _ACEOF
17998 done
18000 CFLAGS="$ac_save_CFLAGS"
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18003 $as_echo_n "checking for library containing dlopen... " >&6; }
18004 if ${ac_cv_search_dlopen+:} false; then :
18005 $as_echo_n "(cached) " >&6
18006 else
18007 ac_func_search_save_LIBS=$LIBS
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18011 /* Override any GCC internal prototype to avoid an error.
18012 Use char because int might match the return type of a GCC
18013 builtin and then its argument prototype would still apply. */
18014 #ifdef __cplusplus
18015 extern "C"
18016 #endif
18017 char dlopen ();
18019 main ()
18021 return dlopen ();
18023 return 0;
18025 _ACEOF
18026 for ac_lib in '' dl; do
18027 if test -z "$ac_lib"; then
18028 ac_res="none required"
18029 else
18030 ac_res=-l$ac_lib
18031 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18033 if ac_fn_c_try_link "$LINENO"; then :
18034 ac_cv_search_dlopen=$ac_res
18036 rm -f core conftest.err conftest.$ac_objext \
18037 conftest$ac_exeext
18038 if ${ac_cv_search_dlopen+:} false; then :
18039 break
18041 done
18042 if ${ac_cv_search_dlopen+:} false; then :
18044 else
18045 ac_cv_search_dlopen=no
18047 rm conftest.$ac_ext
18048 LIBS=$ac_func_search_save_LIBS
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18051 $as_echo "$ac_cv_search_dlopen" >&6; }
18052 ac_res=$ac_cv_search_dlopen
18053 if test "$ac_res" != no; then :
18054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18058 ac_wine_check_funcs_save_LIBS="$LIBS"
18059 LIBS="$LIBS $DL_LIBS"
18060 for ac_func in dladdr dlinfo
18061 do :
18062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18067 _ACEOF
18070 done
18072 LIBS="$ac_wine_check_funcs_save_LIBS"
18074 if test "$ac_cv_func_poll" = no
18075 then
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18077 $as_echo_n "checking for poll in -lpoll... " >&6; }
18078 if ${ac_cv_lib_poll_poll+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081 ac_check_lib_save_LIBS=$LIBS
18082 LIBS="-lpoll $LIBS"
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h. */
18086 /* Override any GCC internal prototype to avoid an error.
18087 Use char because int might match the return type of a GCC
18088 builtin and then its argument prototype would still apply. */
18089 #ifdef __cplusplus
18090 extern "C"
18091 #endif
18092 char poll ();
18094 main ()
18096 return poll ();
18098 return 0;
18100 _ACEOF
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_lib_poll_poll=yes
18103 else
18104 ac_cv_lib_poll_poll=no
18106 rm -f core conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext conftest.$ac_ext
18108 LIBS=$ac_check_lib_save_LIBS
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18111 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18112 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18113 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18114 POLL_LIBS="-lpoll"
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18121 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18122 if ${ac_cv_search_gethostbyname+:} false; then :
18123 $as_echo_n "(cached) " >&6
18124 else
18125 ac_func_search_save_LIBS=$LIBS
18126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18127 /* end confdefs.h. */
18129 /* Override any GCC internal prototype to avoid an error.
18130 Use char because int might match the return type of a GCC
18131 builtin and then its argument prototype would still apply. */
18132 #ifdef __cplusplus
18133 extern "C"
18134 #endif
18135 char gethostbyname ();
18137 main ()
18139 return gethostbyname ();
18141 return 0;
18143 _ACEOF
18144 for ac_lib in '' nsl; do
18145 if test -z "$ac_lib"; then
18146 ac_res="none required"
18147 else
18148 ac_res=-l$ac_lib
18149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18151 if ac_fn_c_try_link "$LINENO"; then :
18152 ac_cv_search_gethostbyname=$ac_res
18154 rm -f core conftest.err conftest.$ac_objext \
18155 conftest$ac_exeext
18156 if ${ac_cv_search_gethostbyname+:} false; then :
18157 break
18159 done
18160 if ${ac_cv_search_gethostbyname+:} false; then :
18162 else
18163 ac_cv_search_gethostbyname=no
18165 rm conftest.$ac_ext
18166 LIBS=$ac_func_search_save_LIBS
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18169 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18170 ac_res=$ac_cv_search_gethostbyname
18171 if test "$ac_res" != no; then :
18172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18178 $as_echo_n "checking for library containing connect... " >&6; }
18179 if ${ac_cv_search_connect+:} false; then :
18180 $as_echo_n "(cached) " >&6
18181 else
18182 ac_func_search_save_LIBS=$LIBS
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18186 /* Override any GCC internal prototype to avoid an error.
18187 Use char because int might match the return type of a GCC
18188 builtin and then its argument prototype would still apply. */
18189 #ifdef __cplusplus
18190 extern "C"
18191 #endif
18192 char connect ();
18194 main ()
18196 return connect ();
18198 return 0;
18200 _ACEOF
18201 for ac_lib in '' socket; do
18202 if test -z "$ac_lib"; then
18203 ac_res="none required"
18204 else
18205 ac_res=-l$ac_lib
18206 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18208 if ac_fn_c_try_link "$LINENO"; then :
18209 ac_cv_search_connect=$ac_res
18211 rm -f core conftest.err conftest.$ac_objext \
18212 conftest$ac_exeext
18213 if ${ac_cv_search_connect+:} false; then :
18214 break
18216 done
18217 if ${ac_cv_search_connect+:} false; then :
18219 else
18220 ac_cv_search_connect=no
18222 rm conftest.$ac_ext
18223 LIBS=$ac_func_search_save_LIBS
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18226 $as_echo "$ac_cv_search_connect" >&6; }
18227 ac_res=$ac_cv_search_connect
18228 if test "$ac_res" != no; then :
18229 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18235 $as_echo_n "checking for library containing inet_aton... " >&6; }
18236 if ${ac_cv_search_inet_aton+:} false; then :
18237 $as_echo_n "(cached) " >&6
18238 else
18239 ac_func_search_save_LIBS=$LIBS
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 /* Override any GCC internal prototype to avoid an error.
18244 Use char because int might match the return type of a GCC
18245 builtin and then its argument prototype would still apply. */
18246 #ifdef __cplusplus
18247 extern "C"
18248 #endif
18249 char inet_aton ();
18251 main ()
18253 return inet_aton ();
18255 return 0;
18257 _ACEOF
18258 for ac_lib in '' resolv; do
18259 if test -z "$ac_lib"; then
18260 ac_res="none required"
18261 else
18262 ac_res=-l$ac_lib
18263 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18265 if ac_fn_c_try_link "$LINENO"; then :
18266 ac_cv_search_inet_aton=$ac_res
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext
18270 if ${ac_cv_search_inet_aton+:} false; then :
18271 break
18273 done
18274 if ${ac_cv_search_inet_aton+:} false; then :
18276 else
18277 ac_cv_search_inet_aton=no
18279 rm conftest.$ac_ext
18280 LIBS=$ac_func_search_save_LIBS
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18283 $as_echo "$ac_cv_search_inet_aton" >&6; }
18284 ac_res=$ac_cv_search_inet_aton
18285 if test "$ac_res" != no; then :
18286 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18291 for ac_func in \
18292 getaddrinfo \
18293 getnameinfo \
18294 getnetbyname \
18295 getprotobyname \
18296 getprotobynumber \
18297 getservbyport \
18299 do :
18300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18303 cat >>confdefs.h <<_ACEOF
18304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18305 _ACEOF
18308 done
18311 case $host_os in
18312 darwin*|macosx*) ;;
18313 *) ac_save_LIBS=$LIBS
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18315 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18316 if ${ac_cv_search_clock_gettime+:} false; then :
18317 $as_echo_n "(cached) " >&6
18318 else
18319 ac_func_search_save_LIBS=$LIBS
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18323 /* Override any GCC internal prototype to avoid an error.
18324 Use char because int might match the return type of a GCC
18325 builtin and then its argument prototype would still apply. */
18326 #ifdef __cplusplus
18327 extern "C"
18328 #endif
18329 char clock_gettime ();
18331 main ()
18333 return clock_gettime ();
18335 return 0;
18337 _ACEOF
18338 for ac_lib in '' rt; do
18339 if test -z "$ac_lib"; then
18340 ac_res="none required"
18341 else
18342 ac_res=-l$ac_lib
18343 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18345 if ac_fn_c_try_link "$LINENO"; then :
18346 ac_cv_search_clock_gettime=$ac_res
18348 rm -f core conftest.err conftest.$ac_objext \
18349 conftest$ac_exeext
18350 if ${ac_cv_search_clock_gettime+:} false; then :
18351 break
18353 done
18354 if ${ac_cv_search_clock_gettime+:} false; then :
18356 else
18357 ac_cv_search_clock_gettime=no
18359 rm conftest.$ac_ext
18360 LIBS=$ac_func_search_save_LIBS
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18363 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18364 ac_res=$ac_cv_search_clock_gettime
18365 if test "$ac_res" != no; then :
18366 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18368 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18370 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18374 LIBS=$ac_save_LIBS
18376 esac
18378 if test "x$with_ldap" != "xno"
18379 then
18380 if ${LDAP_CFLAGS:+false} :; then :
18381 if ${PKG_CONFIG+:} false; then :
18382 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18386 if ${LDAP_LIBS:+false} :; then :
18387 if ${PKG_CONFIG+:} false; then :
18388 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18392 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18393 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18394 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18395 ac_save_CPPFLAGS=$CPPFLAGS
18396 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18397 for ac_header in ldap.h lber.h
18398 do :
18399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18400 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18402 cat >>confdefs.h <<_ACEOF
18403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18404 _ACEOF
18408 done
18410 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18411 then
18412 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18414 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18416 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18417 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18418 $as_echo_n "(cached) " >&6
18419 else
18420 ac_check_lib_save_LIBS=$LIBS
18421 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 /* Override any GCC internal prototype to avoid an error.
18426 Use char because int might match the return type of a GCC
18427 builtin and then its argument prototype would still apply. */
18428 #ifdef __cplusplus
18429 extern "C"
18430 #endif
18431 char ldap_initialize ();
18433 main ()
18435 return ldap_initialize ();
18437 return 0;
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"; then :
18441 ac_cv_lib_ldap_r_ldap_initialize=yes
18442 else
18443 ac_cv_lib_ldap_r_ldap_initialize=no
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447 LIBS=$ac_check_lib_save_LIBS
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18450 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18451 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18453 $as_echo_n "checking for ber_init in -llber... " >&6; }
18454 if ${ac_cv_lib_lber_ber_init+:} false; then :
18455 $as_echo_n "(cached) " >&6
18456 else
18457 ac_check_lib_save_LIBS=$LIBS
18458 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18462 /* Override any GCC internal prototype to avoid an error.
18463 Use char because int might match the return type of a GCC
18464 builtin and then its argument prototype would still apply. */
18465 #ifdef __cplusplus
18466 extern "C"
18467 #endif
18468 char ber_init ();
18470 main ()
18472 return ber_init ();
18474 return 0;
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"; then :
18478 ac_cv_lib_lber_ber_init=yes
18479 else
18480 ac_cv_lib_lber_ber_init=no
18482 rm -f core conftest.err conftest.$ac_objext \
18483 conftest$ac_exeext conftest.$ac_ext
18484 LIBS=$ac_check_lib_save_LIBS
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18487 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18488 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18490 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18492 else
18493 LDAP_LIBS=""
18496 else
18497 LDAP_LIBS=""
18500 else
18501 LDAP_LIBS=""
18504 ac_wine_check_funcs_save_LIBS="$LIBS"
18505 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18506 for ac_func in \
18507 ldap_count_references \
18508 ldap_first_reference \
18509 ldap_next_reference \
18510 ldap_parse_reference \
18511 ldap_parse_sort_control \
18512 ldap_parse_sortresponse_control \
18513 ldap_parse_vlv_control \
18514 ldap_parse_vlvresponse_control
18515 do :
18516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18519 cat >>confdefs.h <<_ACEOF
18520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18521 _ACEOF
18524 done
18526 LIBS="$ac_wine_check_funcs_save_LIBS"
18527 else
18528 LDAP_LIBS=""
18530 CPPFLAGS=$ac_save_CPPFLAGS
18531 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18532 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18535 if test "x$LDAP_LIBS" = "x"; then :
18536 case "x$with_ldap" in
18537 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18538 xno) ;;
18539 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18540 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18541 esac
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18546 $as_echo_n "checking for sched_setaffinity... " >&6; }
18547 if ${wine_cv_have_sched_setaffinity+:} false; then :
18548 $as_echo_n "(cached) " >&6
18549 else
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18552 #define _GNU_SOURCE
18553 #include <sched.h>
18555 main ()
18557 sched_setaffinity(0, 0, 0);
18559 return 0;
18561 _ACEOF
18562 if ac_fn_c_try_link "$LINENO"; then :
18563 wine_cv_have_sched_setaffinity=yes
18564 else
18565 wine_cv_have_sched_setaffinity=no
18567 rm -f core conftest.err conftest.$ac_objext \
18568 conftest$ac_exeext conftest.$ac_ext
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18571 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18572 if test "$wine_cv_have_sched_setaffinity" = "yes"
18573 then
18575 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18580 $as_echo_n "checking for fallocate... " >&6; }
18581 if ${wine_cv_have_fallocate+:} false; then :
18582 $as_echo_n "(cached) " >&6
18583 else
18584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18586 #define _GNU_SOURCE
18587 #include <fcntl.h>
18589 main ()
18591 fallocate(-1, 0, 0, 0);
18593 return 0;
18595 _ACEOF
18596 if ac_fn_c_try_link "$LINENO"; then :
18597 wine_cv_have_fallocate=yes
18598 else
18599 wine_cv_have_fallocate=no
18601 rm -f core conftest.err conftest.$ac_objext \
18602 conftest$ac_exeext conftest.$ac_ext
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18605 $as_echo "$wine_cv_have_fallocate" >&6; }
18606 if test "$wine_cv_have_fallocate" = "yes"
18607 then
18609 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18615 $as_echo_n "checking for inline... " >&6; }
18616 if ${ac_cv_c_inline+:} false; then :
18617 $as_echo_n "(cached) " >&6
18618 else
18619 ac_cv_c_inline=no
18620 for ac_kw in inline __inline__ __inline; do
18621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18622 /* end confdefs.h. */
18623 #ifndef __cplusplus
18624 typedef int foo_t;
18625 static $ac_kw foo_t static_foo () {return 0; }
18626 $ac_kw foo_t foo () {return 0; }
18627 #endif
18629 _ACEOF
18630 if ac_fn_c_try_compile "$LINENO"; then :
18631 ac_cv_c_inline=$ac_kw
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634 test "$ac_cv_c_inline" != no && break
18635 done
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18639 $as_echo "$ac_cv_c_inline" >&6; }
18641 case $ac_cv_c_inline in
18642 inline | yes) ;;
18644 case $ac_cv_c_inline in
18645 no) ac_val=;;
18646 *) ac_val=$ac_cv_c_inline;;
18647 esac
18648 cat >>confdefs.h <<_ACEOF
18649 #ifndef __cplusplus
18650 #define inline $ac_val
18651 #endif
18652 _ACEOF
18654 esac
18656 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18657 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18659 cat >>confdefs.h <<_ACEOF
18660 #define HAVE_FSBLKCNT_T 1
18661 _ACEOF
18665 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18666 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_FSFILCNT_T 1
18670 _ACEOF
18675 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18676 #include <signal.h>
18678 if test "x$ac_cv_type_sigset_t" = xyes; then :
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_SIGSET_T 1
18682 _ACEOF
18687 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18689 if test "x$ac_cv_type_request_sense" = xyes; then :
18691 cat >>confdefs.h <<_ACEOF
18692 #define HAVE_REQUEST_SENSE 1
18693 _ACEOF
18699 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18700 #ifdef HAVE_SYS_SOCKET_H
18701 #include <sys/socket.h>
18702 #endif
18703 #ifdef HAVE_SYS_SOCKETVAR_H
18704 #include <sys/socketvar.h>
18705 #endif
18706 #ifdef HAVE_NET_ROUTE_H
18707 #include <net/route.h>
18708 #endif
18709 #ifdef HAVE_NETINET_IN_H
18710 #include <netinet/in.h>
18711 #endif
18712 #ifdef HAVE_NETINET_IN_SYSTM_H
18713 #include <netinet/in_systm.h>
18714 #endif
18715 #ifdef HAVE_NETINET_IP_H
18716 #include <netinet/ip.h>
18717 #endif
18718 #ifdef HAVE_NETINET_IN_PCB_H
18719 #include <netinet/in_pcb.h>
18720 #endif
18722 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_STRUCT_XINPGEN 1
18726 _ACEOF
18732 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18733 #include <linux/input.h>
18734 #endif
18736 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18738 cat >>confdefs.h <<_ACEOF
18739 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18740 _ACEOF
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18747 $as_echo_n "checking for if_nameindex... " >&6; }
18748 if ${wine_cv_have_if_nameindex+:} false; then :
18749 $as_echo_n "(cached) " >&6
18750 else
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 #ifdef HAVE_SYS_TYPES_H
18754 #include <sys/types.h>
18755 #endif
18756 #ifdef HAVE_SYS_SOCKET_H
18757 #include <sys/socket.h>
18758 #endif
18759 #ifdef HAVE_NET_IF_H
18760 # include <net/if.h>
18761 #endif
18763 main ()
18765 struct if_nameindex *p = if_nameindex(); return p->if_index;
18767 return 0;
18769 _ACEOF
18770 if ac_fn_c_try_link "$LINENO"; then :
18771 wine_cv_have_if_nameindex=yes
18772 else
18773 wine_cv_have_if_nameindex=no
18775 rm -f core conftest.err conftest.$ac_objext \
18776 conftest$ac_exeext conftest.$ac_ext
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18779 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18780 if test "$wine_cv_have_if_nameindex" = "yes"
18781 then
18783 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18788 $as_echo_n "checking for sigaddset... " >&6; }
18789 if ${wine_cv_have_sigaddset+:} false; then :
18790 $as_echo_n "(cached) " >&6
18791 else
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #include <signal.h>
18796 main ()
18798 sigset_t set; sigaddset(&set,SIGTERM);
18800 return 0;
18802 _ACEOF
18803 if ac_fn_c_try_link "$LINENO"; then :
18804 wine_cv_have_sigaddset=yes
18805 else
18806 wine_cv_have_sigaddset=no
18808 rm -f core conftest.err conftest.$ac_objext \
18809 conftest$ac_exeext conftest.$ac_ext
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18812 $as_echo "$wine_cv_have_sigaddset" >&6; }
18813 if test "$wine_cv_have_sigaddset" = "yes"
18814 then
18816 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18822 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18823 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18824 $as_echo_n "(cached) " >&6
18825 else
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 #include <netdb.h>
18830 main ()
18833 char *name=0;
18834 struct hostent he;
18835 struct hostent *result;
18836 char *buf=0;
18837 int bufsize=0;
18838 int errnr;
18839 char *addr=0;
18840 int addrlen=0;
18841 int addrtype=0;
18842 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18843 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18846 return 0;
18848 _ACEOF
18849 if ac_fn_c_try_link "$LINENO"; then :
18850 wine_cv_linux_gethostbyname_r_6=yes
18851 else
18852 wine_cv_linux_gethostbyname_r_6=no
18855 rm -f core conftest.err conftest.$ac_objext \
18856 conftest$ac_exeext conftest.$ac_ext
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18860 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18861 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18862 then
18864 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18868 if test "$ac_cv_header_linux_joystick_h" = "yes"
18869 then
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18871 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18872 if ${wine_cv_linux_joystick_22_api+:} false; then :
18873 $as_echo_n "(cached) " >&6
18874 else
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18878 #include <sys/ioctl.h>
18879 #include <sys/types.h>
18880 #include <linux/joystick.h>
18882 struct js_event blub;
18883 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18884 #error "no 2.2 header"
18885 #endif
18888 main ()
18890 /*empty*/
18892 return 0;
18894 _ACEOF
18895 if ac_fn_c_try_compile "$LINENO"; then :
18896 wine_cv_linux_joystick_22_api=yes
18897 else
18898 wine_cv_linux_joystick_22_api=no
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18904 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18905 if test "$wine_cv_linux_joystick_22_api" = "yes"
18906 then
18908 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18914 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18915 #ifdef HAVE_SYS_PARAM_H
18916 # include <sys/param.h>
18917 #endif
18918 #ifdef HAVE_SYS_MOUNT_H
18919 # include <sys/mount.h>
18920 #endif
18921 #ifdef HAVE_SYS_VFS_H
18922 # include <sys/vfs.h>
18923 #endif
18924 #ifdef HAVE_SYS_STATFS_H
18925 # include <sys/statfs.h>
18926 #endif
18928 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_STRUCT_STATFS_F_BFREE 1
18932 _ACEOF
18936 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18937 #ifdef HAVE_SYS_PARAM_H
18938 # include <sys/param.h>
18939 #endif
18940 #ifdef HAVE_SYS_MOUNT_H
18941 # include <sys/mount.h>
18942 #endif
18943 #ifdef HAVE_SYS_VFS_H
18944 # include <sys/vfs.h>
18945 #endif
18946 #ifdef HAVE_SYS_STATFS_H
18947 # include <sys/statfs.h>
18948 #endif
18950 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18952 cat >>confdefs.h <<_ACEOF
18953 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18954 _ACEOF
18958 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18959 #ifdef HAVE_SYS_PARAM_H
18960 # include <sys/param.h>
18961 #endif
18962 #ifdef HAVE_SYS_MOUNT_H
18963 # include <sys/mount.h>
18964 #endif
18965 #ifdef HAVE_SYS_VFS_H
18966 # include <sys/vfs.h>
18967 #endif
18968 #ifdef HAVE_SYS_STATFS_H
18969 # include <sys/statfs.h>
18970 #endif
18972 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18976 _ACEOF
18980 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18981 #ifdef HAVE_SYS_PARAM_H
18982 # include <sys/param.h>
18983 #endif
18984 #ifdef HAVE_SYS_MOUNT_H
18985 # include <sys/mount.h>
18986 #endif
18987 #ifdef HAVE_SYS_VFS_H
18988 # include <sys/vfs.h>
18989 #endif
18990 #ifdef HAVE_SYS_STATFS_H
18991 # include <sys/statfs.h>
18992 #endif
18994 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_STATFS_F_FFREE 1
18998 _ACEOF
19002 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19003 #ifdef HAVE_SYS_PARAM_H
19004 # include <sys/param.h>
19005 #endif
19006 #ifdef HAVE_SYS_MOUNT_H
19007 # include <sys/mount.h>
19008 #endif
19009 #ifdef HAVE_SYS_VFS_H
19010 # include <sys/vfs.h>
19011 #endif
19012 #ifdef HAVE_SYS_STATFS_H
19013 # include <sys/statfs.h>
19014 #endif
19016 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19020 _ACEOF
19024 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19025 #ifdef HAVE_SYS_PARAM_H
19026 # include <sys/param.h>
19027 #endif
19028 #ifdef HAVE_SYS_MOUNT_H
19029 # include <sys/mount.h>
19030 #endif
19031 #ifdef HAVE_SYS_VFS_H
19032 # include <sys/vfs.h>
19033 #endif
19034 #ifdef HAVE_SYS_STATFS_H
19035 # include <sys/statfs.h>
19036 #endif
19038 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19042 _ACEOF
19048 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19049 #include <sys/statvfs.h>
19050 #endif
19052 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19056 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19063 #include <dirent.h>
19064 #endif
19066 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19070 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19077 #ifdef HAVE_SYS_SOCKET_H
19078 # include <sys/socket.h>
19079 #endif
19080 #ifdef HAVE_SYS_UN_H
19081 # include <sys/un.h>
19082 #endif
19084 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19088 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19093 #ifdef HAVE_SYS_SOCKET_H
19094 # include <sys/socket.h>
19095 #endif
19096 #ifdef HAVE_SYS_UN_H
19097 # include <sys/un.h>
19098 #endif
19100 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19104 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19109 #ifdef HAVE_SYS_SOCKET_H
19110 # include <sys/socket.h>
19111 #endif
19112 #ifdef HAVE_SYS_UN_H
19113 # include <sys/un.h>
19114 #endif
19116 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19120 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19127 #ifdef HAVE_SCSI_SG_H
19128 #include <scsi/sg.h>
19129 #endif
19131 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_SCSIREQ_T_CMD 1
19135 _ACEOF
19139 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>
19140 #ifdef HAVE_SCSI_SG_H
19141 #include <scsi/sg.h>
19142 #endif
19144 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19148 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19156 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_SIGINFO_T_SI_FD 1
19160 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19167 #ifdef HAVE_SYS_MTIO_H
19168 #include <sys/mtio.h>
19169 #endif
19171 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19175 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19180 #ifdef HAVE_SYS_MTIO_H
19181 #include <sys/mtio.h>
19182 #endif
19184 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19188 _ACEOF
19192 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19193 #ifdef HAVE_SYS_MTIO_H
19194 #include <sys/mtio.h>
19195 #endif
19197 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19201 _ACEOF
19207 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19208 #include <getopt.h>
19209 #endif
19211 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_STRUCT_OPTION_NAME 1
19215 _ACEOF
19221 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19222 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19226 _ACEOF
19230 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19231 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19233 cat >>confdefs.h <<_ACEOF
19234 #define HAVE_STRUCT_STAT_ST_MTIM 1
19235 _ACEOF
19239 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19240 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19244 _ACEOF
19248 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19249 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19251 cat >>confdefs.h <<_ACEOF
19252 #define HAVE_STRUCT_STAT_ST_CTIM 1
19253 _ACEOF
19257 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19258 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19262 _ACEOF
19266 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19267 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STRUCT_STAT_ST_ATIM 1
19271 _ACEOF
19275 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19276 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19280 _ACEOF
19284 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19285 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19287 cat >>confdefs.h <<_ACEOF
19288 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19289 _ACEOF
19293 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19294 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19296 cat >>confdefs.h <<_ACEOF
19297 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19298 _ACEOF
19302 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19303 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19307 _ACEOF
19311 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19312 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19314 cat >>confdefs.h <<_ACEOF
19315 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19316 _ACEOF
19320 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19321 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19323 cat >>confdefs.h <<_ACEOF
19324 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19325 _ACEOF
19331 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
19332 #include <sys/types.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IN_H
19335 #include <netinet/in.h>
19336 #endif
19338 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19340 cat >>confdefs.h <<_ACEOF
19341 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19342 _ACEOF
19348 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19349 #include <sys/types.h>
19350 #endif
19351 #ifdef HAVE_NETINET_IN_H
19352 #include <netinet/in.h>
19353 #endif
19354 #ifdef HAVE_RESOLV_H
19355 #include <resolv.h>
19356 #endif
19358 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_STRUCT___RES_STATE 1
19362 _ACEOF
19368 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
19369 #include <resolv.h>
19370 #endif
19372 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19374 cat >>confdefs.h <<_ACEOF
19375 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19376 _ACEOF
19382 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19383 #include <sys/types.h>
19384 #endif
19385 #ifdef HAVE_NETINET_IN_H
19386 # include <netinet/in.h>
19387 #endif
19388 #ifdef HAVE_ARPA_NAMESER_H
19389 # include <arpa/nameser.h>
19390 #endif
19392 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19394 cat >>confdefs.h <<_ACEOF
19395 #define HAVE_NS_MSG__MSG_PTR 1
19396 _ACEOF
19402 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19403 #include <sys/types.h>
19404 #endif
19405 #ifdef HAVE_NETINET_IN_H
19406 #include <netinet/in.h>
19407 #endif
19408 #ifdef HAVE_NETINET_IP_H
19409 #include <netinet/ip.h>
19410 #endif
19411 #ifdef HAVE_NETINET_IP_ICMP_H
19412 #include <netinet/ip_icmp.h>
19413 #endif
19414 #ifdef HAVE_NETINET_ICMP_VAR_H
19415 #include <netinet/icmp_var.h>
19416 #endif
19418 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19420 cat >>confdefs.h <<_ACEOF
19421 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19422 _ACEOF
19428 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19429 #include <sys/types.h>
19430 #endif
19431 #ifdef HAVE_ALIAS_H
19432 #include <alias.h>
19433 #endif
19434 #ifdef HAVE_SYS_SOCKET_H
19435 #include <sys/socket.h>
19436 #endif
19437 #ifdef HAVE_SYS_SOCKETVAR_H
19438 #include <sys/socketvar.h>
19439 #endif
19440 #ifdef HAVE_SYS_TIMEOUT_H
19441 #include <sys/timeout.h>
19442 #endif
19443 #ifdef HAVE_NETINET_IN_H
19444 #include <netinet/in.h>
19445 #endif
19446 #ifdef HAVE_NETINET_IN_SYSTM_H
19447 #include <netinet/in_systm.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IP_H
19450 #include <netinet/ip.h>
19451 #endif
19452 #ifdef HAVE_NETINET_IP_VAR_H
19453 #include <netinet/ip_var.h>
19454 #endif
19455 #ifdef HAVE_NETINET_IP_ICMP_H
19456 #include <netinet/ip_icmp.h>
19457 #endif
19458 #ifdef HAVE_NETINET_ICMP_VAR_H
19459 #include <netinet/icmp_var.h>
19460 #endif
19462 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19466 _ACEOF
19472 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19473 #include <sys/types.h>
19474 #endif
19475 #ifdef HAVE_SYS_SOCKETVAR_H
19476 #include <sys/socketvar.h>
19477 #endif
19478 #ifdef HAVE_NETINET_IN_H
19479 #include <netinet/in.h>
19480 #endif
19481 #ifdef HAVE_NETINET_IP_VAR_H
19482 #include <netinet/ip_var.h>
19483 #endif
19485 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19487 cat >>confdefs.h <<_ACEOF
19488 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19489 _ACEOF
19495 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
19496 #include <netinet/ip_var.h>
19497 #endif
19499 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19501 cat >>confdefs.h <<_ACEOF
19502 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19503 _ACEOF
19509 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19510 #include <sys/types.h>
19511 #endif
19512 #ifdef HAVE_SYS_SOCKETVAR_H
19513 #include <sys/socketvar.h>
19514 #endif
19515 #ifdef HAVE_NETINET_IN_H
19516 #include <netinet/in.h>
19517 #endif
19518 #ifdef HAVE_NETINET_TCP_H
19519 #include <netinet/tcp.h>
19520 #endif
19521 #ifdef HAVE_NETINET_TCP_VAR_H
19522 #include <netinet/tcp_var.h>
19523 #endif
19525 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19527 cat >>confdefs.h <<_ACEOF
19528 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19529 _ACEOF
19535 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
19536 #include <netinet/tcp_var.h>
19537 #endif
19539 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19541 cat >>confdefs.h <<_ACEOF
19542 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19543 _ACEOF
19549 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19550 #include <sys/types.h>
19551 #endif
19552 #ifdef HAVE_NETINET_IN_H
19553 #include <netinet/in.h>
19554 #endif
19555 #ifdef HAVE_NETINET_IP_VAR_H
19556 #include <netinet/ip_var.h>
19557 #endif
19558 #ifdef HAVE_NETINET_UDP_H
19559 #include <netinet/udp.h>
19560 #endif
19561 #ifdef HAVE_NETINET_UDP_VAR_H
19562 #include <netinet/udp_var.h>
19563 #endif
19565 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19569 _ACEOF
19575 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19576 #include <sys/types.h>
19577 #endif
19578 #ifdef HAVE_NET_IF_H
19579 # include <net/if.h>
19580 #endif
19582 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19584 cat >>confdefs.h <<_ACEOF
19585 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19586 _ACEOF
19592 ac_save_LIBS="$LIBS"
19593 LIBS="$LIBS -lm"
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19595 $as_echo_n "checking for isfinite... " >&6; }
19596 if ${ac_cv_have_isfinite+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #define _GNU_SOURCE
19602 #include <math.h>
19604 main ()
19606 float f = 0.0; return isfinite(f)
19608 return 0;
19610 _ACEOF
19611 if ac_fn_c_try_link "$LINENO"; then :
19612 ac_cv_have_isfinite="yes"
19613 else
19614 ac_cv_have_isfinite="no"
19616 rm -f core conftest.err conftest.$ac_objext \
19617 conftest$ac_exeext conftest.$ac_ext
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19620 $as_echo "$ac_cv_have_isfinite" >&6; }
19621 if test "$ac_cv_have_isfinite" = "yes"
19622 then
19624 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19629 $as_echo_n "checking for isinf... " >&6; }
19630 if ${ac_cv_have_isinf+:} false; then :
19631 $as_echo_n "(cached) " >&6
19632 else
19633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h. */
19635 #include <math.h>
19637 main ()
19639 float f = 0.0; return isinf(f)
19641 return 0;
19643 _ACEOF
19644 if ac_fn_c_try_link "$LINENO"; then :
19645 ac_cv_have_isinf="yes"
19646 else
19647 ac_cv_have_isinf="no"
19649 rm -f core conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19653 $as_echo "$ac_cv_have_isinf" >&6; }
19654 if test "$ac_cv_have_isinf" = "yes"
19655 then
19657 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19662 $as_echo_n "checking for isnan... " >&6; }
19663 if ${ac_cv_have_isnan+:} false; then :
19664 $as_echo_n "(cached) " >&6
19665 else
19666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19668 #include <math.h>
19670 main ()
19672 float f = 0.0; return isnan(f)
19674 return 0;
19676 _ACEOF
19677 if ac_fn_c_try_link "$LINENO"; then :
19678 ac_cv_have_isnan="yes"
19679 else
19680 ac_cv_have_isnan="no"
19682 rm -f core conftest.err conftest.$ac_objext \
19683 conftest$ac_exeext conftest.$ac_ext
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19686 $as_echo "$ac_cv_have_isnan" >&6; }
19687 if test "$ac_cv_have_isnan" = "yes"
19688 then
19690 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19694 for ac_func in \
19695 acosh \
19696 acoshf \
19697 asinh \
19698 asinhf \
19699 atanh \
19700 atanhf \
19701 cbrt \
19702 cbrtf \
19703 erf \
19704 erfc \
19705 erfcf \
19706 erff \
19707 exp2 \
19708 exp2f \
19709 expm1 \
19710 expm1f \
19711 fma \
19712 fmaf \
19713 ilogb \
19714 ilogbf \
19715 j0 \
19716 j1 \
19717 jn \
19718 lgamma \
19719 lgammaf \
19720 llrint \
19721 llrintf \
19722 llround \
19723 llroundf \
19724 log1p \
19725 log1pf \
19726 log2 \
19727 log2f \
19728 lrint \
19729 lrintf \
19730 lround \
19731 lroundf \
19732 nearbyint \
19733 nearbyintf \
19734 nexttoward \
19735 nexttowardf \
19736 remainder \
19737 remainderf \
19738 remquo \
19739 remquof \
19740 rint \
19741 rintf \
19742 round \
19743 roundf \
19744 tgamma \
19745 tgammaf \
19746 trunc \
19747 truncf \
19748 y0 \
19749 y1 \
19752 do :
19753 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19754 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19755 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19756 cat >>confdefs.h <<_ACEOF
19757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19758 _ACEOF
19761 done
19763 LIBS="$ac_save_LIBS"
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19766 $as_echo_n "checking for __builtin_popcount... " >&6; }
19767 if ${ac_cv_have___builtin_popcount+:} false; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19774 main ()
19776 return __builtin_popcount(1)
19778 return 0;
19780 _ACEOF
19781 if ac_fn_c_try_link "$LINENO"; then :
19782 ac_cv_have___builtin_popcount="yes"
19783 else
19784 ac_cv_have___builtin_popcount="no"
19786 rm -f core conftest.err conftest.$ac_objext \
19787 conftest$ac_exeext conftest.$ac_ext
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19790 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19791 if test "$ac_cv_have___builtin_popcount" = "yes"
19792 then
19794 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19799 $as_echo_n "checking for __clear_cache... " >&6; }
19800 if ${ac_cv_have___clear_cache+:} false; then :
19801 $as_echo_n "(cached) " >&6
19802 else
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19807 main ()
19809 __clear_cache((void*)0, (void*)0); return 0;
19811 return 0;
19813 _ACEOF
19814 if ac_fn_c_try_link "$LINENO"; then :
19815 ac_cv_have___clear_cache="yes"
19816 else
19817 ac_cv_have___clear_cache="no"
19819 rm -f core conftest.err conftest.$ac_objext \
19820 conftest$ac_exeext conftest.$ac_ext
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19823 $as_echo "$ac_cv_have___clear_cache" >&6; }
19824 if test "$ac_cv_have___clear_cache" = "yes"
19825 then
19827 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19832 case $host_cpu in
19833 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19834 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19835 if ${ac_cv_cpp_def___i386__+:} false; then :
19836 $as_echo_n "(cached) " >&6
19837 else
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 #ifndef __i386__
19842 #endif
19843 _ACEOF
19844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19845 $EGREP "yes" >/dev/null 2>&1; then :
19846 ac_cv_cpp_def___i386__=yes
19847 else
19848 ac_cv_cpp_def___i386__=no
19850 rm -f conftest*
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19854 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19855 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19856 CFLAGS="$CFLAGS -D__i386__"
19857 LINTFLAGS="$LINTFLAGS -D__i386__"
19858 fi ;;
19859 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19860 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19861 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19862 $as_echo_n "(cached) " >&6
19863 else
19864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19866 #ifndef __x86_64__
19868 #endif
19869 _ACEOF
19870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19871 $EGREP "yes" >/dev/null 2>&1; then :
19872 ac_cv_cpp_def___x86_64__=yes
19873 else
19874 ac_cv_cpp_def___x86_64__=no
19876 rm -f conftest*
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19880 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19881 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19882 CFLAGS="$CFLAGS -D__x86_64__"
19883 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19884 fi ;;
19885 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19886 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19887 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19888 $as_echo_n "(cached) " >&6
19889 else
19890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19891 /* end confdefs.h. */
19892 #ifndef __sparc64__
19894 #endif
19895 _ACEOF
19896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19897 $EGREP "yes" >/dev/null 2>&1; then :
19898 ac_cv_cpp_def___sparc64__=yes
19899 else
19900 ac_cv_cpp_def___sparc64__=no
19902 rm -f conftest*
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19906 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19907 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19908 CFLAGS="$CFLAGS -D__sparc64__"
19909 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19910 fi ;;
19911 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19912 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19913 if ${ac_cv_cpp_def___sparc__+:} false; then :
19914 $as_echo_n "(cached) " >&6
19915 else
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #ifndef __sparc__
19920 #endif
19921 _ACEOF
19922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19923 $EGREP "yes" >/dev/null 2>&1; then :
19924 ac_cv_cpp_def___sparc__=yes
19925 else
19926 ac_cv_cpp_def___sparc__=no
19928 rm -f conftest*
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19932 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19933 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19934 CFLAGS="$CFLAGS -D__sparc__"
19935 LINTFLAGS="$LINTFLAGS -D__sparc__"
19936 fi ;;
19937 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19938 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19939 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19940 $as_echo_n "(cached) " >&6
19941 else
19942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19943 /* end confdefs.h. */
19944 #ifndef __powerpc64__
19946 #endif
19947 _ACEOF
19948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19949 $EGREP "yes" >/dev/null 2>&1; then :
19950 ac_cv_cpp_def___powerpc64__=yes
19951 else
19952 ac_cv_cpp_def___powerpc64__=no
19954 rm -f conftest*
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19958 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19959 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19960 CFLAGS="$CFLAGS -D__powerpc64__"
19961 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19962 fi ;;
19963 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19964 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19965 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19966 $as_echo_n "(cached) " >&6
19967 else
19968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19970 #ifndef __powerpc__
19972 #endif
19973 _ACEOF
19974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19975 $EGREP "yes" >/dev/null 2>&1; then :
19976 ac_cv_cpp_def___powerpc__=yes
19977 else
19978 ac_cv_cpp_def___powerpc__=no
19980 rm -f conftest*
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19984 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19985 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19986 CFLAGS="$CFLAGS -D__powerpc__"
19987 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19988 fi ;;
19989 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19990 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19991 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19992 $as_echo_n "(cached) " >&6
19993 else
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996 #ifndef __aarch64__
19998 #endif
19999 _ACEOF
20000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20001 $EGREP "yes" >/dev/null 2>&1; then :
20002 ac_cv_cpp_def___aarch64__=yes
20003 else
20004 ac_cv_cpp_def___aarch64__=no
20006 rm -f conftest*
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20010 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20011 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20012 CFLAGS="$CFLAGS -D__aarch64__"
20013 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20014 fi ;;
20015 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20016 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20017 if ${ac_cv_cpp_def___arm__+:} false; then :
20018 $as_echo_n "(cached) " >&6
20019 else
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20022 #ifndef __arm__
20024 #endif
20025 _ACEOF
20026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20027 $EGREP "yes" >/dev/null 2>&1; then :
20028 ac_cv_cpp_def___arm__=yes
20029 else
20030 ac_cv_cpp_def___arm__=no
20032 rm -f conftest*
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20036 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20037 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20038 CFLAGS="$CFLAGS -D__arm__"
20039 LINTFLAGS="$LINTFLAGS -D__arm__"
20040 fi ;;
20041 esac
20043 case $host_vendor in
20044 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20045 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20046 if ${ac_cv_cpp_def___sun__+:} false; then :
20047 $as_echo_n "(cached) " >&6
20048 else
20049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20050 /* end confdefs.h. */
20051 #ifndef __sun__
20053 #endif
20054 _ACEOF
20055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20056 $EGREP "yes" >/dev/null 2>&1; then :
20057 ac_cv_cpp_def___sun__=yes
20058 else
20059 ac_cv_cpp_def___sun__=no
20061 rm -f conftest*
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20065 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20066 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20067 CFLAGS="$CFLAGS -D__sun__"
20068 LINTFLAGS="$LINTFLAGS -D__sun__"
20069 fi ;;
20070 esac
20076 ac_config_commands="$ac_config_commands include/stamp-h"
20078 $as_echo_n "creating Makefile rules..." >&6
20080 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20081 OPENGL_LIBS = $OPENGL_LIBS
20082 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20083 IOKIT_LIBS = $IOKIT_LIBS
20084 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20085 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20086 CORESERVICES_LIBS = $CORESERVICES_LIBS
20087 APPKIT_LIBS = $APPKIT_LIBS
20088 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20089 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20090 SECURITY_LIBS = $SECURITY_LIBS
20091 COREAUDIO_LIBS = $COREAUDIO_LIBS
20092 OPENAL_LIBS = $OPENAL_LIBS
20093 OPENCL_LIBS = $OPENCL_LIBS
20094 QUICKTIME_LIBS = $QUICKTIME_LIBS
20095 CARBON_LIBS = $CARBON_LIBS
20096 METAL_LIBS = $METAL_LIBS
20097 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20098 PTHREAD_LIBS = $PTHREAD_LIBS
20099 X_CFLAGS = $X_CFLAGS
20100 X_PRE_LIBS = $X_PRE_LIBS
20101 X_LIBS = $X_LIBS
20102 X_EXTRA_LIBS = $X_EXTRA_LIBS
20103 PCAP_LIBS = $PCAP_LIBS
20104 XML2_CFLAGS = $XML2_CFLAGS
20105 XML2_LIBS = $XML2_LIBS
20106 XSLT_CFLAGS = $XSLT_CFLAGS
20107 XSLT_LIBS = $XSLT_LIBS
20108 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20109 INOTIFY_LIBS = $INOTIFY_LIBS
20110 DBUS_CFLAGS = $DBUS_CFLAGS
20111 DBUS_LIBS = $DBUS_LIBS
20112 HAL_CFLAGS = $HAL_CFLAGS
20113 HAL_LIBS = $HAL_LIBS
20114 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20115 GNUTLS_LIBS = $GNUTLS_LIBS
20116 SANE_CFLAGS = $SANE_CFLAGS
20117 SANE_LIBS = $SANE_LIBS
20118 USB_CFLAGS = $USB_CFLAGS
20119 USB_LIBS = $USB_LIBS
20120 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20121 GPHOTO2_LIBS = $GPHOTO2_LIBS
20122 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20123 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20124 RESOLV_LIBS = $RESOLV_LIBS
20125 LCMS2_CFLAGS = $LCMS2_CFLAGS
20126 LCMS2_LIBS = $LCMS2_LIBS
20127 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20128 FREETYPE_LIBS = $FREETYPE_LIBS
20129 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20130 PULSE_CFLAGS = $PULSE_CFLAGS
20131 PULSE_LIBS = $PULSE_LIBS
20132 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20133 GSTREAMER_LIBS = $GSTREAMER_LIBS
20134 ALSA_LIBS = $ALSA_LIBS
20135 OSS4_CFLAGS = $OSS4_CFLAGS
20136 OSS4_LIBS = $OSS4_LIBS
20137 UDEV_CFLAGS = $UDEV_CFLAGS
20138 UDEV_LIBS = $UDEV_LIBS
20139 UNWIND_CFLAGS = $UNWIND_CFLAGS
20140 UNWIND_LIBS = $UNWIND_LIBS
20141 SDL2_CFLAGS = $SDL2_CFLAGS
20142 SDL2_LIBS = $SDL2_LIBS
20143 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20144 FAUDIO_LIBS = $FAUDIO_LIBS
20145 CAPI20_CFLAGS = $CAPI20_CFLAGS
20146 CAPI20_LIBS = $CAPI20_LIBS
20147 CUPS_CFLAGS = $CUPS_CFLAGS
20148 CUPS_LIBS = $CUPS_LIBS
20149 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20150 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20151 KRB5_CFLAGS = $KRB5_CFLAGS
20152 KRB5_LIBS = $KRB5_LIBS
20153 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20154 GSSAPI_LIBS = $GSSAPI_LIBS
20155 JPEG_CFLAGS = $JPEG_CFLAGS
20156 JPEG_LIBS = $JPEG_LIBS
20157 PNG_CFLAGS = $PNG_CFLAGS
20158 PNG_LIBS = $PNG_LIBS
20159 TIFF_CFLAGS = $TIFF_CFLAGS
20160 TIFF_LIBS = $TIFF_LIBS
20161 MPG123_CFLAGS = $MPG123_CFLAGS
20162 MPG123_LIBS = $MPG123_LIBS
20163 KSTAT_LIBS = $KSTAT_LIBS
20164 PROCSTAT_LIBS = $PROCSTAT_LIBS
20165 NETAPI_CFLAGS = $NETAPI_CFLAGS
20166 NETAPI_LIBS = $NETAPI_LIBS
20167 VKD3D_CFLAGS = $VKD3D_CFLAGS
20168 VKD3D_LIBS = $VKD3D_LIBS
20169 POLL_LIBS = $POLL_LIBS
20170 RT_LIBS = $RT_LIBS
20171 LDAP_CFLAGS = $LDAP_CFLAGS
20172 LDAP_LIBS = $LDAP_LIBS
20177 wine_fn_append_rule "
20178 # Rules automatically generated by configure
20180 .INIT: Makefile
20181 .MAKEFILEDEPS:
20182 all: Makefile
20183 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20184 @./config.status Make.tmp Makefile
20185 depend: \$(MAKEDEP) dummy
20186 \$(MAKEDEP)"
20188 ac_config_links="$ac_config_links wine:tools/winewrapper"
20189 wine_fn_config_symlink wine
20190 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20191 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20192 wine_fn_config_symlink wine64
20195 wine_fn_config_makefile dlls/acledit enable_acledit
20196 wine_fn_config_makefile dlls/aclui enable_aclui
20197 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20198 wine_fn_config_makefile dlls/activeds enable_activeds
20199 wine_fn_config_makefile dlls/activeds/tests enable_tests
20200 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20201 wine_fn_config_makefile dlls/adsiid enable_adsiid
20202 wine_fn_config_makefile dlls/adsldp enable_adsldp
20203 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20204 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20205 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20206 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20207 wine_fn_config_makefile dlls/advpack enable_advpack
20208 wine_fn_config_makefile dlls/advpack/tests enable_tests
20209 wine_fn_config_makefile dlls/amsi enable_amsi
20210 wine_fn_config_makefile dlls/amstream enable_amstream
20211 wine_fn_config_makefile dlls/amstream/tests enable_tests
20212 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20215 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20236 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20237 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20238 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20243 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20244 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20247 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20267 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20278 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20279 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20282 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20286 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20291 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20292 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20319 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20322 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20332 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20337 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20338 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20343 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20345 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20364 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20365 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20385 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20396 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20400 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20402 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20404 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20405 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20407 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20410 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20412 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20418 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20421 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20423 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20425 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20428 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20429 wine_fn_config_makefile dlls/apphelp enable_apphelp
20430 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20431 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20432 wine_fn_config_makefile dlls/atl enable_atl
20433 wine_fn_config_makefile dlls/atl/tests enable_tests
20434 wine_fn_config_makefile dlls/atl100 enable_atl100
20435 wine_fn_config_makefile dlls/atl100/tests enable_tests
20436 wine_fn_config_makefile dlls/atl110 enable_atl110
20437 wine_fn_config_makefile dlls/atl80 enable_atl80
20438 wine_fn_config_makefile dlls/atl80/tests enable_tests
20439 wine_fn_config_makefile dlls/atl90 enable_atl90
20440 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20441 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20442 wine_fn_config_makefile dlls/atmlib enable_atmlib
20443 wine_fn_config_makefile dlls/authz enable_authz
20444 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20445 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20446 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20447 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20448 wine_fn_config_makefile dlls/avrt enable_avrt
20449 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20450 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20451 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20452 wine_fn_config_makefile dlls/browseui enable_browseui
20453 wine_fn_config_makefile dlls/browseui/tests enable_tests
20454 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20455 wine_fn_config_makefile dlls/cabinet enable_cabinet
20456 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20457 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20458 wine_fn_config_makefile dlls/cards enable_cards
20459 wine_fn_config_makefile dlls/cdosys enable_cdosys
20460 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20461 wine_fn_config_makefile dlls/clusapi enable_clusapi
20462 wine_fn_config_makefile dlls/combase enable_combase
20463 wine_fn_config_makefile dlls/combase/tests enable_tests
20464 wine_fn_config_makefile dlls/comcat enable_comcat
20465 wine_fn_config_makefile dlls/comcat/tests enable_tests
20466 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20467 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20468 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20469 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20470 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20471 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20472 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20473 wine_fn_config_makefile dlls/compstui enable_compstui
20474 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20475 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20476 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20477 wine_fn_config_makefile dlls/connect enable_connect
20478 wine_fn_config_makefile dlls/credui enable_credui
20479 wine_fn_config_makefile dlls/credui/tests enable_tests
20480 wine_fn_config_makefile dlls/crtdll enable_crtdll
20481 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20482 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20483 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20484 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20485 wine_fn_config_makefile dlls/cryptext enable_cryptext
20486 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20487 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20488 wine_fn_config_makefile dlls/cryptui enable_cryptui
20489 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20490 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20491 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20492 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20493 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20494 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20495 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20496 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20497 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20498 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20499 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20500 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20501 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20502 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20503 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20504 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20505 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20506 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20507 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20508 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20509 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20510 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20511 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20512 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20513 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20514 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20515 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20516 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20517 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20518 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20519 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20520 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20521 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20522 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20523 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20524 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20525 wine_fn_config_makefile dlls/d3dim enable_d3dim
20526 wine_fn_config_makefile dlls/d3drm enable_d3drm
20527 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20528 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20529 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20530 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20531 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20532 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20533 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20534 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20535 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20536 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20537 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20538 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20539 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20540 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20541 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20542 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20543 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20544 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20545 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20546 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20547 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20548 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20549 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20550 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20551 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20552 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20553 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20554 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20555 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20556 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20557 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20558 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20559 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20560 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20561 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20562 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20563 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20564 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20565 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20566 wine_fn_config_makefile dlls/davclnt enable_davclnt
20567 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20568 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20569 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20570 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20571 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20572 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20573 wine_fn_config_makefile dlls/ddraw enable_ddraw
20574 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20575 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20576 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20577 wine_fn_config_makefile dlls/devenum enable_devenum
20578 wine_fn_config_makefile dlls/devenum/tests enable_tests
20579 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20580 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20581 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20582 wine_fn_config_makefile dlls/difxapi enable_difxapi
20583 wine_fn_config_makefile dlls/dinput enable_dinput
20584 wine_fn_config_makefile dlls/dinput/tests enable_tests
20585 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20586 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20587 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20588 wine_fn_config_makefile dlls/dispex enable_dispex
20589 wine_fn_config_makefile dlls/dispex/tests enable_tests
20590 wine_fn_config_makefile dlls/display.drv16 enable_win16
20591 wine_fn_config_makefile dlls/dmband enable_dmband
20592 wine_fn_config_makefile dlls/dmband/tests enable_tests
20593 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20594 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20595 wine_fn_config_makefile dlls/dmime enable_dmime
20596 wine_fn_config_makefile dlls/dmime/tests enable_tests
20597 wine_fn_config_makefile dlls/dmloader enable_dmloader
20598 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20599 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20600 wine_fn_config_makefile dlls/dmscript enable_dmscript
20601 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20602 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20603 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20604 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20605 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20606 wine_fn_config_makefile dlls/dmusic enable_dmusic
20607 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20608 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20609 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20610 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20611 wine_fn_config_makefile dlls/dplay enable_dplay
20612 wine_fn_config_makefile dlls/dplayx enable_dplayx
20613 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20614 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20615 wine_fn_config_makefile dlls/dpnet enable_dpnet
20616 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20617 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20618 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20619 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20620 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20621 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20622 wine_fn_config_makefile dlls/drmclien enable_drmclien
20623 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20624 wine_fn_config_makefile dlls/dsound enable_dsound
20625 wine_fn_config_makefile dlls/dsound/tests enable_tests
20626 wine_fn_config_makefile dlls/dsquery enable_dsquery
20627 wine_fn_config_makefile dlls/dssenh enable_dssenh
20628 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20629 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20630 wine_fn_config_makefile dlls/dswave enable_dswave
20631 wine_fn_config_makefile dlls/dswave/tests enable_tests
20632 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20633 wine_fn_config_makefile dlls/dwrite enable_dwrite
20634 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20635 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20636 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20637 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20638 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20639 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20640 wine_fn_config_makefile dlls/dxgi enable_dxgi
20641 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20642 wine_fn_config_makefile dlls/dxguid enable_dxguid
20643 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20644 wine_fn_config_makefile dlls/esent enable_esent
20645 wine_fn_config_makefile dlls/evr enable_evr
20646 wine_fn_config_makefile dlls/evr/tests enable_tests
20647 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20648 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20649 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20650 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20651 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20652 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20653 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20654 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20655 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20656 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20657 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20658 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20659 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20660 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20661 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20662 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20663 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20664 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20665 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20666 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20667 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20668 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20669 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20670 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20671 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20672 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20673 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20674 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20675 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20676 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20677 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20678 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20679 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20680 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20681 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20682 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20683 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20684 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20685 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20686 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20687 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20688 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20689 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
20690 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20691 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20692 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20693 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20694 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20695 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20699 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20700 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20701 wine_fn_config_makefile dlls/faultrep enable_faultrep
20702 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20703 wine_fn_config_makefile dlls/feclient enable_feclient
20704 wine_fn_config_makefile dlls/fltlib enable_fltlib
20705 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20706 wine_fn_config_makefile dlls/fntcache enable_fntcache
20707 wine_fn_config_makefile dlls/fontsub enable_fontsub
20708 wine_fn_config_makefile dlls/fusion enable_fusion
20709 wine_fn_config_makefile dlls/fusion/tests enable_tests
20710 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20711 wine_fn_config_makefile dlls/gameux enable_gameux
20712 wine_fn_config_makefile dlls/gameux/tests enable_tests
20713 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20714 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20715 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20716 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20717 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20718 wine_fn_config_makefile dlls/glu32 enable_glu32
20719 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20720 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20721 wine_fn_config_makefile dlls/hal enable_hal
20722 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20723 wine_fn_config_makefile dlls/hid enable_hid
20724 wine_fn_config_makefile dlls/hid/tests enable_tests
20725 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20726 wine_fn_config_makefile dlls/hlink enable_hlink
20727 wine_fn_config_makefile dlls/hlink/tests enable_tests
20728 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20729 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20730 wine_fn_config_makefile dlls/http.sys enable_http_sys
20731 wine_fn_config_makefile dlls/httpapi enable_httpapi
20732 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20733 wine_fn_config_makefile dlls/iccvid enable_iccvid
20734 wine_fn_config_makefile dlls/icmp enable_icmp
20735 wine_fn_config_makefile dlls/ieframe enable_ieframe
20736 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20737 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20738 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20739 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20740 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20741 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20742 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20743 wine_fn_config_makefile dlls/imm32 enable_imm32
20744 wine_fn_config_makefile dlls/imm32/tests enable_tests
20745 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20746 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20747 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20748 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20749 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20750 wine_fn_config_makefile dlls/infosoft enable_infosoft
20751 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20752 wine_fn_config_makefile dlls/initpki enable_initpki
20753 wine_fn_config_makefile dlls/inkobj enable_inkobj
20754 wine_fn_config_makefile dlls/inseng enable_inseng
20755 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20756 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20757 wine_fn_config_makefile dlls/iprop enable_iprop
20758 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20759 wine_fn_config_makefile dlls/itircl enable_itircl
20760 wine_fn_config_makefile dlls/itss enable_itss
20761 wine_fn_config_makefile dlls/itss/tests enable_tests
20762 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20763 wine_fn_config_makefile dlls/jscript enable_jscript
20764 wine_fn_config_makefile dlls/jscript/tests enable_tests
20765 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20766 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20767 wine_fn_config_makefile dlls/kerberos enable_kerberos
20768 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20769 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20770 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20771 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20772 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20773 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20774 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20775 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20776 wine_fn_config_makefile dlls/ksuser enable_ksuser
20777 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20778 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20779 wine_fn_config_makefile dlls/loadperf enable_loadperf
20780 wine_fn_config_makefile dlls/localspl enable_localspl
20781 wine_fn_config_makefile dlls/localspl/tests enable_tests
20782 wine_fn_config_makefile dlls/localui enable_localui
20783 wine_fn_config_makefile dlls/localui/tests enable_tests
20784 wine_fn_config_makefile dlls/lz32 enable_lz32
20785 wine_fn_config_makefile dlls/lz32/tests enable_tests
20786 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20787 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20788 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20789 wine_fn_config_makefile dlls/mapistub enable_mapistub
20790 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20791 wine_fn_config_makefile dlls/mcicda enable_mcicda
20792 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20793 wine_fn_config_makefile dlls/mciseq enable_mciseq
20794 wine_fn_config_makefile dlls/mciwave enable_mciwave
20795 wine_fn_config_makefile dlls/mf enable_mf
20796 wine_fn_config_makefile dlls/mf/tests enable_tests
20797 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20798 wine_fn_config_makefile dlls/mferror enable_mferror
20799 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20800 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20801 wine_fn_config_makefile dlls/mfplat enable_mfplat
20802 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20803 wine_fn_config_makefile dlls/mfplay enable_mfplay
20804 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20805 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20806 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20807 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20808 wine_fn_config_makefile dlls/midimap enable_midimap
20809 wine_fn_config_makefile dlls/mlang enable_mlang
20810 wine_fn_config_makefile dlls/mlang/tests enable_tests
20811 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20812 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20813 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20814 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20815 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20816 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20817 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20818 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20819 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20820 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20821 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20822 wine_fn_config_makefile dlls/mpr enable_mpr
20823 wine_fn_config_makefile dlls/mpr/tests enable_tests
20824 wine_fn_config_makefile dlls/mprapi enable_mprapi
20825 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20826 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20827 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20828 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20829 wine_fn_config_makefile dlls/msado15 enable_msado15
20830 wine_fn_config_makefile dlls/msado15/tests enable_tests
20831 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20832 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20833 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20834 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20835 wine_fn_config_makefile dlls/mscms enable_mscms
20836 wine_fn_config_makefile dlls/mscms/tests enable_tests
20837 wine_fn_config_makefile dlls/mscoree enable_mscoree
20838 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20839 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20840 wine_fn_config_makefile dlls/msctf enable_msctf
20841 wine_fn_config_makefile dlls/msctf/tests enable_tests
20842 wine_fn_config_makefile dlls/msctfp enable_msctfp
20843 wine_fn_config_makefile dlls/msdaps enable_msdaps
20844 wine_fn_config_makefile dlls/msdelta enable_msdelta
20845 wine_fn_config_makefile dlls/msdmo enable_msdmo
20846 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20847 wine_fn_config_makefile dlls/msdrm enable_msdrm
20848 wine_fn_config_makefile dlls/msftedit enable_msftedit
20849 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20850 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20851 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20852 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20853 wine_fn_config_makefile dlls/mshtml enable_mshtml
20854 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20855 wine_fn_config_makefile dlls/msi enable_msi
20856 wine_fn_config_makefile dlls/msi/tests enable_tests
20857 wine_fn_config_makefile dlls/msident enable_msident
20858 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20859 wine_fn_config_makefile dlls/msimsg enable_msimsg
20860 wine_fn_config_makefile dlls/msimtf enable_msimtf
20861 wine_fn_config_makefile dlls/msisip enable_msisip
20862 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20863 wine_fn_config_makefile dlls/msls31 enable_msls31
20864 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20865 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20866 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20867 wine_fn_config_makefile dlls/msports enable_msports
20868 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20869 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20870 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20871 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20872 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20873 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20874 wine_fn_config_makefile dlls/mstask enable_mstask
20875 wine_fn_config_makefile dlls/mstask/tests enable_tests
20876 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20877 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20878 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20879 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20880 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20881 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20882 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20883 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20884 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20885 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20886 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20887 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20888 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20889 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20890 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20891 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20892 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20893 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20894 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20895 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20896 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20897 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20898 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20899 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20900 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20901 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20902 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20903 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20904 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20905 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20906 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20907 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20908 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20909 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20910 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20911 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20912 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20913 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20914 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20915 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20916 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20917 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20918 wine_fn_config_makefile dlls/mswsock enable_mswsock
20919 wine_fn_config_makefile dlls/msxml enable_msxml
20920 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20921 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20922 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20923 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20924 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20925 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20926 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20927 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20928 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20929 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20930 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20931 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20932 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20933 wine_fn_config_makefile dlls/netprofm enable_netprofm
20934 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20935 wine_fn_config_makefile dlls/newdev enable_newdev
20936 wine_fn_config_makefile dlls/ninput enable_ninput
20937 wine_fn_config_makefile dlls/ninput/tests enable_tests
20938 wine_fn_config_makefile dlls/normaliz enable_normaliz
20939 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20940 wine_fn_config_makefile dlls/npptools enable_npptools
20941 wine_fn_config_makefile dlls/ntdll enable_ntdll
20942 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20943 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20944 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20945 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20946 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20947 wine_fn_config_makefile dlls/ntprint enable_ntprint
20948 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20949 wine_fn_config_makefile dlls/objsel enable_objsel
20950 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20951 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20952 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20953 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20954 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20955 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20956 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20957 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20958 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20959 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20960 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20961 wine_fn_config_makefile dlls/ole32 enable_ole32
20962 wine_fn_config_makefile dlls/ole32/tests enable_tests
20963 wine_fn_config_makefile dlls/oleacc enable_oleacc
20964 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20965 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20966 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20967 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20968 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20969 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20970 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20971 wine_fn_config_makefile dlls/oledlg enable_oledlg
20972 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20973 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20974 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20975 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20976 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20977 wine_fn_config_makefile dlls/opcservices enable_opcservices
20978 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20979 wine_fn_config_makefile dlls/openal32 enable_openal32
20980 wine_fn_config_makefile dlls/opencl enable_opencl
20981 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20982 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20983 wine_fn_config_makefile dlls/packager enable_packager
20984 wine_fn_config_makefile dlls/packager/tests enable_tests
20985 wine_fn_config_makefile dlls/pdh enable_pdh
20986 wine_fn_config_makefile dlls/pdh/tests enable_tests
20987 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20988 wine_fn_config_makefile dlls/pidgen enable_pidgen
20989 wine_fn_config_makefile dlls/powrprof enable_powrprof
20990 wine_fn_config_makefile dlls/printui enable_printui
20991 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20992 wine_fn_config_makefile dlls/propsys enable_propsys
20993 wine_fn_config_makefile dlls/propsys/tests enable_tests
20994 wine_fn_config_makefile dlls/psapi enable_psapi
20995 wine_fn_config_makefile dlls/psapi/tests enable_tests
20996 wine_fn_config_makefile dlls/pstorec enable_pstorec
20997 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20998 wine_fn_config_makefile dlls/qasf enable_qasf
20999 wine_fn_config_makefile dlls/qasf/tests enable_tests
21000 wine_fn_config_makefile dlls/qcap enable_qcap
21001 wine_fn_config_makefile dlls/qcap/tests enable_tests
21002 wine_fn_config_makefile dlls/qdvd enable_qdvd
21003 wine_fn_config_makefile dlls/qedit enable_qedit
21004 wine_fn_config_makefile dlls/qedit/tests enable_tests
21005 wine_fn_config_makefile dlls/qmgr enable_qmgr
21006 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21007 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21008 wine_fn_config_makefile dlls/quartz enable_quartz
21009 wine_fn_config_makefile dlls/quartz/tests enable_tests
21010 wine_fn_config_makefile dlls/query enable_query
21011 wine_fn_config_makefile dlls/qwave enable_qwave
21012 wine_fn_config_makefile dlls/qwave/tests enable_tests
21013 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21014 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21015 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21016 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21017 wine_fn_config_makefile dlls/regapi enable_regapi
21018 wine_fn_config_makefile dlls/resutils enable_resutils
21019 wine_fn_config_makefile dlls/riched20 enable_riched20
21020 wine_fn_config_makefile dlls/riched20/tests enable_tests
21021 wine_fn_config_makefile dlls/riched32 enable_riched32
21022 wine_fn_config_makefile dlls/riched32/tests enable_tests
21023 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21024 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21025 wine_fn_config_makefile dlls/rsabase enable_rsabase
21026 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21027 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21028 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21029 wine_fn_config_makefile dlls/rtutils enable_rtutils
21030 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21031 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21032 wine_fn_config_makefile dlls/samlib enable_samlib
21033 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21034 wine_fn_config_makefile dlls/sapi enable_sapi
21035 wine_fn_config_makefile dlls/sapi/tests enable_tests
21036 wine_fn_config_makefile dlls/sas enable_sas
21037 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21038 wine_fn_config_makefile dlls/sccbase enable_sccbase
21039 wine_fn_config_makefile dlls/schannel enable_schannel
21040 wine_fn_config_makefile dlls/schannel/tests enable_tests
21041 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21042 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21043 wine_fn_config_makefile dlls/scrobj enable_scrobj
21044 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21045 wine_fn_config_makefile dlls/scrrun enable_scrrun
21046 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21047 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21048 wine_fn_config_makefile dlls/sechost enable_sechost
21049 wine_fn_config_makefile dlls/secur32 enable_secur32
21050 wine_fn_config_makefile dlls/secur32/tests enable_tests
21051 wine_fn_config_makefile dlls/security enable_security
21052 wine_fn_config_makefile dlls/sensapi enable_sensapi
21053 wine_fn_config_makefile dlls/serialui enable_serialui
21054 wine_fn_config_makefile dlls/serialui/tests enable_tests
21055 wine_fn_config_makefile dlls/setupapi enable_setupapi
21056 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21057 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21058 wine_fn_config_makefile dlls/sfc enable_sfc
21059 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21060 wine_fn_config_makefile dlls/shcore enable_shcore
21061 wine_fn_config_makefile dlls/shcore/tests enable_tests
21062 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21063 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21064 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21065 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21066 wine_fn_config_makefile dlls/shell32 enable_shell32
21067 wine_fn_config_makefile dlls/shell32/tests enable_tests
21068 wine_fn_config_makefile dlls/shfolder enable_shfolder
21069 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21070 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21071 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21072 wine_fn_config_makefile dlls/slc enable_slc
21073 wine_fn_config_makefile dlls/slc/tests enable_tests
21074 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21075 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21076 wine_fn_config_makefile dlls/softpub enable_softpub
21077 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21078 wine_fn_config_makefile dlls/spoolss enable_spoolss
21079 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21080 wine_fn_config_makefile dlls/srclient enable_srclient
21081 wine_fn_config_makefile dlls/sspicli enable_sspicli
21082 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21083 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21084 wine_fn_config_makefile dlls/sti enable_sti
21085 wine_fn_config_makefile dlls/sti/tests enable_tests
21086 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21087 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21088 wine_fn_config_makefile dlls/strmbase enable_strmbase
21089 wine_fn_config_makefile dlls/strmdll enable_strmdll
21090 wine_fn_config_makefile dlls/strmiids enable_strmiids
21091 wine_fn_config_makefile dlls/svrapi enable_svrapi
21092 wine_fn_config_makefile dlls/sxs enable_sxs
21093 wine_fn_config_makefile dlls/sxs/tests enable_tests
21094 wine_fn_config_makefile dlls/system.drv16 enable_win16
21095 wine_fn_config_makefile dlls/t2embed enable_t2embed
21096 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21097 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21098 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21099 wine_fn_config_makefile dlls/taskschd enable_taskschd
21100 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21101 wine_fn_config_makefile dlls/tdh enable_tdh
21102 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21103 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21104 wine_fn_config_makefile dlls/traffic enable_traffic
21105 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21106 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21107 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21108 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21109 wine_fn_config_makefile dlls/tzres enable_tzres
21110 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21111 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21112 wine_fn_config_makefile dlls/uianimation enable_uianimation
21113 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21114 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21115 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21116 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21117 wine_fn_config_makefile dlls/unicows enable_unicows
21118 wine_fn_config_makefile dlls/updspapi enable_updspapi
21119 wine_fn_config_makefile dlls/url enable_url
21120 wine_fn_config_makefile dlls/urlmon enable_urlmon
21121 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21122 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21123 wine_fn_config_makefile dlls/user.exe16 enable_win16
21124 wine_fn_config_makefile dlls/user32 enable_user32
21125 wine_fn_config_makefile dlls/user32/tests enable_tests
21126 wine_fn_config_makefile dlls/userenv enable_userenv
21127 wine_fn_config_makefile dlls/userenv/tests enable_tests
21128 wine_fn_config_makefile dlls/usp10 enable_usp10
21129 wine_fn_config_makefile dlls/usp10/tests enable_tests
21130 wine_fn_config_makefile dlls/utildll enable_utildll
21131 wine_fn_config_makefile dlls/uuid enable_uuid
21132 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21133 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21134 wine_fn_config_makefile dlls/vbscript enable_vbscript
21135 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21136 wine_fn_config_makefile dlls/vcomp enable_vcomp
21137 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21138 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21139 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21140 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21141 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21142 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21143 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21144 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21145 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21146 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21147 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21148 wine_fn_config_makefile dlls/version enable_version
21149 wine_fn_config_makefile dlls/version/tests enable_tests
21150 wine_fn_config_makefile dlls/vga enable_vga
21151 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21152 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21153 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21154 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21155 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21156 wine_fn_config_makefile dlls/vssapi enable_vssapi
21157 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21158 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21159 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21160 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21161 wine_fn_config_makefile dlls/w32skrnl enable_win16
21162 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21163 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21164 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21165 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21166 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21167 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21168 wine_fn_config_makefile dlls/wdscore enable_wdscore
21169 wine_fn_config_makefile dlls/webservices enable_webservices
21170 wine_fn_config_makefile dlls/webservices/tests enable_tests
21171 wine_fn_config_makefile dlls/wer enable_wer
21172 wine_fn_config_makefile dlls/wer/tests enable_tests
21173 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21174 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21175 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21176 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21177 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21178 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21179 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21180 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21181 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21182 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21183 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21184 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21185 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21186 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21187 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21188 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21189 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21190 wine_fn_config_makefile dlls/wined3d enable_wined3d
21191 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21192 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21193 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21194 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21195 wine_fn_config_makefile dlls/winemapi enable_winemapi
21196 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21197 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21198 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21199 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21200 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21201 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21202 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21203 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21204 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21205 wine_fn_config_makefile dlls/wing32 enable_wing32
21206 wine_fn_config_makefile dlls/winhttp enable_winhttp
21207 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21208 wine_fn_config_makefile dlls/wininet enable_wininet
21209 wine_fn_config_makefile dlls/wininet/tests enable_tests
21210 wine_fn_config_makefile dlls/winmm enable_winmm
21211 wine_fn_config_makefile dlls/winmm/tests enable_tests
21212 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21213 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21214 wine_fn_config_makefile dlls/winscard enable_winscard
21215 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21216 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21217 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21218 wine_fn_config_makefile dlls/winsta enable_winsta
21219 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21220 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21221 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21222 wine_fn_config_makefile dlls/wintrust enable_wintrust
21223 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21224 wine_fn_config_makefile dlls/winusb enable_winusb
21225 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21226 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21227 wine_fn_config_makefile dlls/wlanui enable_wlanui
21228 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21229 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21230 wine_fn_config_makefile dlls/wmasf enable_wmasf
21231 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21232 wine_fn_config_makefile dlls/wmi enable_wmi
21233 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21234 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21235 wine_fn_config_makefile dlls/wmp enable_wmp
21236 wine_fn_config_makefile dlls/wmp/tests enable_tests
21237 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21238 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21239 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21240 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21241 wine_fn_config_makefile dlls/wow32 enable_win16
21242 wine_fn_config_makefile dlls/wpc enable_wpc
21243 wine_fn_config_makefile dlls/wpc/tests enable_tests
21244 wine_fn_config_makefile dlls/wpcap enable_wpcap
21245 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21246 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21247 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21248 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21249 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21250 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21251 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21252 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21253 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21254 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21255 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21256 wine_fn_config_makefile dlls/wuapi enable_wuapi
21257 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21258 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21259 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21260 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21261 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21262 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21263 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21264 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21265 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21266 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21267 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21268 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21269 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21270 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21271 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21272 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21273 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21274 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21275 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21276 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21277 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21278 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21279 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21280 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21281 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21282 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21283 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21284 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21285 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21286 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21287 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21288 wine_fn_config_makefile dlls/xmllite enable_xmllite
21289 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21290 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21291 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21292 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21293 wine_fn_config_makefile fonts enable_fonts
21294 wine_fn_config_makefile include enable_include
21295 wine_fn_config_makefile libs/port enable_port
21296 wine_fn_config_makefile libs/wine enable_wine
21297 wine_fn_config_makefile libs/wpp enable_wpp
21298 wine_fn_config_makefile loader enable_loader
21299 wine_fn_config_makefile nls enable_nls
21300 wine_fn_config_makefile po enable_po
21301 wine_fn_config_makefile programs/arp enable_arp
21302 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21303 wine_fn_config_makefile programs/attrib enable_attrib
21304 wine_fn_config_makefile programs/cabarc enable_cabarc
21305 wine_fn_config_makefile programs/cacls enable_cacls
21306 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21307 wine_fn_config_makefile programs/clock enable_clock
21308 wine_fn_config_makefile programs/cmd enable_cmd
21309 wine_fn_config_makefile programs/cmd/tests enable_tests
21310 wine_fn_config_makefile programs/conhost enable_conhost
21311 wine_fn_config_makefile programs/control enable_control
21312 wine_fn_config_makefile programs/cscript enable_cscript
21313 wine_fn_config_makefile programs/dism enable_dism
21314 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21315 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21316 wine_fn_config_makefile programs/eject enable_eject
21317 wine_fn_config_makefile programs/expand enable_expand
21318 wine_fn_config_makefile programs/explorer enable_explorer
21319 wine_fn_config_makefile programs/extrac32 enable_extrac32
21320 wine_fn_config_makefile programs/fc enable_fc
21321 wine_fn_config_makefile programs/find enable_find
21322 wine_fn_config_makefile programs/find/tests enable_tests
21323 wine_fn_config_makefile programs/findstr enable_findstr
21324 wine_fn_config_makefile programs/fsutil enable_fsutil
21325 wine_fn_config_makefile programs/hh enable_hh
21326 wine_fn_config_makefile programs/hostname enable_hostname
21327 wine_fn_config_makefile programs/icacls enable_icacls
21328 wine_fn_config_makefile programs/icinfo enable_icinfo
21329 wine_fn_config_makefile programs/iexplore enable_iexplore
21330 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21331 wine_fn_config_makefile programs/lodctr enable_lodctr
21332 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21333 wine_fn_config_makefile programs/mshta enable_mshta
21334 wine_fn_config_makefile programs/msidb enable_msidb
21335 wine_fn_config_makefile programs/msiexec enable_msiexec
21336 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21337 wine_fn_config_makefile programs/net enable_net
21338 wine_fn_config_makefile programs/netsh enable_netsh
21339 wine_fn_config_makefile programs/netstat enable_netstat
21340 wine_fn_config_makefile programs/ngen enable_ngen
21341 wine_fn_config_makefile programs/notepad enable_notepad
21342 wine_fn_config_makefile programs/oleview enable_oleview
21343 wine_fn_config_makefile programs/ping enable_ping
21344 wine_fn_config_makefile programs/plugplay enable_plugplay
21345 wine_fn_config_makefile programs/powershell enable_powershell
21346 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21347 wine_fn_config_makefile programs/progman enable_progman
21348 wine_fn_config_makefile programs/reg enable_reg
21349 wine_fn_config_makefile programs/reg/tests enable_tests
21350 wine_fn_config_makefile programs/regasm enable_regasm
21351 wine_fn_config_makefile programs/regedit enable_regedit
21352 wine_fn_config_makefile programs/regedit/tests enable_tests
21353 wine_fn_config_makefile programs/regini enable_regini
21354 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21355 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21356 wine_fn_config_makefile programs/rpcss enable_rpcss
21357 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21358 wine_fn_config_makefile programs/rundll32 enable_rundll32
21359 wine_fn_config_makefile programs/sc enable_sc
21360 wine_fn_config_makefile programs/schtasks enable_schtasks
21361 wine_fn_config_makefile programs/schtasks/tests enable_tests
21362 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21363 wine_fn_config_makefile programs/secedit enable_secedit
21364 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21365 wine_fn_config_makefile programs/services enable_services
21366 wine_fn_config_makefile programs/services/tests enable_tests
21367 wine_fn_config_makefile programs/shutdown enable_shutdown
21368 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21369 wine_fn_config_makefile programs/start enable_start
21370 wine_fn_config_makefile programs/subst enable_subst
21371 wine_fn_config_makefile programs/svchost enable_svchost
21372 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21373 wine_fn_config_makefile programs/taskkill enable_taskkill
21374 wine_fn_config_makefile programs/tasklist enable_tasklist
21375 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21376 wine_fn_config_makefile programs/termsv enable_termsv
21377 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21378 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21379 wine_fn_config_makefile programs/view enable_view
21380 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21381 wine_fn_config_makefile programs/whoami enable_whoami
21382 wine_fn_config_makefile programs/wineboot enable_wineboot
21383 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21384 wine_fn_config_makefile programs/winecfg enable_winecfg
21385 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21386 wine_fn_config_makefile programs/winedbg enable_winedbg
21387 wine_fn_config_makefile programs/winedevice enable_winedevice
21388 wine_fn_config_makefile programs/winefile enable_winefile
21389 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21390 wine_fn_config_makefile programs/winemine enable_winemine
21391 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21392 wine_fn_config_makefile programs/winepath enable_winepath
21393 wine_fn_config_makefile programs/winetest enable_winetest
21394 wine_fn_config_makefile programs/winevdm enable_win16
21395 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21396 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21397 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21398 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21399 wine_fn_config_makefile programs/winver enable_winver
21400 wine_fn_config_makefile programs/wmic enable_wmic
21401 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21402 wine_fn_config_makefile programs/wordpad enable_wordpad
21403 wine_fn_config_makefile programs/write enable_write
21404 wine_fn_config_makefile programs/wscript enable_wscript
21405 wine_fn_config_makefile programs/wscript/tests enable_tests
21406 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21407 wine_fn_config_makefile programs/wusa enable_wusa
21408 wine_fn_config_makefile programs/xcopy enable_xcopy
21409 wine_fn_config_makefile programs/xcopy/tests enable_tests
21410 wine_fn_config_makefile server enable_server
21411 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21412 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21413 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21414 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21415 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21416 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21417 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21418 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21419 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21422 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21423 wine_fn_append_file CONFIGURE_TARGETS "tags"
21424 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21425 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21426 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21427 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21428 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21429 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21431 if test "x$enable_tools" != xno
21432 then
21433 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21434 ac_config_commands="$ac_config_commands tools/makedep"
21438 ac_config_commands="$ac_config_commands Makefile"
21441 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21445 if test "x$enable_maintainer_mode" = xyes
21446 then
21447 wine_fn_append_rule "configure: configure.ac aclocal.m4
21448 autoconf --warnings=all
21449 include/config.h.in: include/stamp-h.in
21450 include/stamp-h.in: configure.ac aclocal.m4
21451 autoheader --warnings=all
21452 @echo timestamp > \$@"
21455 if test "x$enable_tools" != xno
21456 then
21457 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21458 @./config.status tools/makedep
21459 Makefile: tools/makedep$ac_exeext
21460 fonts: tools/sfnt2fon
21461 include: tools tools/widl"
21462 else
21463 wine_fn_append_rule "\$(MAKEDEP):
21464 @echo \"You need to run make in $TOOLSDIR first\" && false"
21467 if test -n "$with_wine64"
21468 then
21469 case "$with_wine64" in
21470 /*) reldir="" ;;
21471 *) reldir="../" ;;
21472 esac
21473 rm -f fonts server 2>/dev/null
21474 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21475 loader/wine64 loader/wine64-preloader:
21476 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21477 $with_wine64/loader/wine:
21478 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21479 $with_wine64/loader/wine-preloader:
21480 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21481 clean::
21482 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21483 else
21484 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21485 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21486 fonts \
21487 loader/wine.inf \
21488 loader/winebus.inf \
21489 loader/winehid.inf \
21490 loader/wineusb.inf \
21491 nls \
21492 programs/msidb/msidb \
21493 programs/msiexec/msiexec \
21494 programs/notepad/notepad \
21495 programs/regedit/regedit \
21496 programs/regsvr32/regsvr32 \
21497 programs/wineboot/wineboot \
21498 programs/winecfg/winecfg \
21499 programs/wineconsole/wineconsole \
21500 programs/winedbg/winedbg \
21501 programs/winefile/winefile \
21502 programs/winemine/winemine \
21503 programs/winepath/winepath \
21504 server/wineserver"
21506 case $host_os in
21507 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21508 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21509 esac
21512 $as_echo " done" >&6
21513 cat >confcache <<\_ACEOF
21514 # This file is a shell script that caches the results of configure
21515 # tests run on this system so they can be shared between configure
21516 # scripts and configure runs, see configure's option --config-cache.
21517 # It is not useful on other systems. If it contains results you don't
21518 # want to keep, you may remove or edit it.
21520 # config.status only pays attention to the cache file if you give it
21521 # the --recheck option to rerun configure.
21523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21525 # following values.
21527 _ACEOF
21529 # The following way of writing the cache mishandles newlines in values,
21530 # but we know of no workaround that is simple, portable, and efficient.
21531 # So, we kill variables containing newlines.
21532 # Ultrix sh set writes to stderr and can't be redirected directly,
21533 # and sets the high bit in the cache file unless we assign to the vars.
21535 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21536 eval ac_val=\$$ac_var
21537 case $ac_val in #(
21538 *${as_nl}*)
21539 case $ac_var in #(
21540 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21541 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21542 esac
21543 case $ac_var in #(
21544 _ | IFS | as_nl) ;; #(
21545 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21546 *) { eval $ac_var=; unset $ac_var;} ;;
21547 esac ;;
21548 esac
21549 done
21551 (set) 2>&1 |
21552 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21553 *${as_nl}ac_space=\ *)
21554 # `set' does not quote correctly, so add quotes: double-quote
21555 # substitution turns \\\\ into \\, and sed turns \\ into \.
21556 sed -n \
21557 "s/'/'\\\\''/g;
21558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21559 ;; #(
21561 # `set' quotes correctly as required by POSIX, so do not add quotes.
21562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21564 esac |
21565 sort
21567 sed '
21568 /^ac_cv_env_/b end
21569 t clear
21570 :clear
21571 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21572 t end
21573 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21574 :end' >>confcache
21575 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21576 if test -w "$cache_file"; then
21577 if test "x$cache_file" != "x/dev/null"; then
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21579 $as_echo "$as_me: updating cache $cache_file" >&6;}
21580 if test ! -f "$cache_file" || test -h "$cache_file"; then
21581 cat confcache >"$cache_file"
21582 else
21583 case $cache_file in #(
21584 */* | ?:*)
21585 mv -f confcache "$cache_file"$$ &&
21586 mv -f "$cache_file"$$ "$cache_file" ;; #(
21588 mv -f confcache "$cache_file" ;;
21589 esac
21592 else
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21594 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21597 rm -f confcache
21599 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21600 # Let make expand exec_prefix.
21601 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21603 DEFS=-DHAVE_CONFIG_H
21605 ac_libobjs=
21606 ac_ltlibobjs=
21608 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21609 # 1. Remove the extension, and $U if already installed.
21610 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21611 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21612 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21613 # will be set to the directory where LIBOBJS objects are built.
21614 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21615 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21616 done
21617 LIBOBJS=$ac_libobjs
21619 LTLIBOBJS=$ac_ltlibobjs
21623 : "${CONFIG_STATUS=./config.status}"
21624 ac_write_fail=0
21625 ac_clean_files_save=$ac_clean_files
21626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21629 as_write_fail=0
21630 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21631 #! $SHELL
21632 # Generated by $as_me.
21633 # Run this file to recreate the current configuration.
21634 # Compiler output produced by configure, useful for debugging
21635 # configure, is in config.log if it exists.
21637 debug=false
21638 ac_cs_recheck=false
21639 ac_cs_silent=false
21641 SHELL=\${CONFIG_SHELL-$SHELL}
21642 export SHELL
21643 _ASEOF
21644 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21645 ## -------------------- ##
21646 ## M4sh Initialization. ##
21647 ## -------------------- ##
21649 # Be more Bourne compatible
21650 DUALCASE=1; export DUALCASE # for MKS sh
21651 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21652 emulate sh
21653 NULLCMD=:
21654 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21655 # is contrary to our usage. Disable this feature.
21656 alias -g '${1+"$@"}'='"$@"'
21657 setopt NO_GLOB_SUBST
21658 else
21659 case `(set -o) 2>/dev/null` in #(
21660 *posix*) :
21661 set -o posix ;; #(
21662 *) :
21664 esac
21668 as_nl='
21670 export as_nl
21671 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21672 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21675 # Prefer a ksh shell builtin over an external printf program on Solaris,
21676 # but without wasting forks for bash or zsh.
21677 if test -z "$BASH_VERSION$ZSH_VERSION" \
21678 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21679 as_echo='print -r --'
21680 as_echo_n='print -rn --'
21681 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21682 as_echo='printf %s\n'
21683 as_echo_n='printf %s'
21684 else
21685 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21686 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21687 as_echo_n='/usr/ucb/echo -n'
21688 else
21689 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21690 as_echo_n_body='eval
21691 arg=$1;
21692 case $arg in #(
21693 *"$as_nl"*)
21694 expr "X$arg" : "X\\(.*\\)$as_nl";
21695 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21696 esac;
21697 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21699 export as_echo_n_body
21700 as_echo_n='sh -c $as_echo_n_body as_echo'
21702 export as_echo_body
21703 as_echo='sh -c $as_echo_body as_echo'
21706 # The user is always right.
21707 if test "${PATH_SEPARATOR+set}" != set; then
21708 PATH_SEPARATOR=:
21709 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21710 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21711 PATH_SEPARATOR=';'
21716 # IFS
21717 # We need space, tab and new line, in precisely that order. Quoting is
21718 # there to prevent editors from complaining about space-tab.
21719 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21720 # splitting by setting IFS to empty value.)
21721 IFS=" "" $as_nl"
21723 # Find who we are. Look in the path if we contain no directory separator.
21724 as_myself=
21725 case $0 in #((
21726 *[\\/]* ) as_myself=$0 ;;
21727 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21728 for as_dir in $PATH
21730 IFS=$as_save_IFS
21731 test -z "$as_dir" && as_dir=.
21732 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21733 done
21734 IFS=$as_save_IFS
21737 esac
21738 # We did not find ourselves, most probably we were run as `sh COMMAND'
21739 # in which case we are not to be found in the path.
21740 if test "x$as_myself" = x; then
21741 as_myself=$0
21743 if test ! -f "$as_myself"; then
21744 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21745 exit 1
21748 # Unset variables that we do not need and which cause bugs (e.g. in
21749 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21750 # suppresses any "Segmentation fault" message there. '((' could
21751 # trigger a bug in pdksh 5.2.14.
21752 for as_var in BASH_ENV ENV MAIL MAILPATH
21753 do eval test x\${$as_var+set} = xset \
21754 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21755 done
21756 PS1='$ '
21757 PS2='> '
21758 PS4='+ '
21760 # NLS nuisances.
21761 LC_ALL=C
21762 export LC_ALL
21763 LANGUAGE=C
21764 export LANGUAGE
21766 # CDPATH.
21767 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21770 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21771 # ----------------------------------------
21772 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21773 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21774 # script with STATUS, using 1 if that was 0.
21775 as_fn_error ()
21777 as_status=$1; test $as_status -eq 0 && as_status=1
21778 if test "$4"; then
21779 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21780 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21782 $as_echo "$as_me: error: $2" >&2
21783 as_fn_exit $as_status
21784 } # as_fn_error
21787 # as_fn_set_status STATUS
21788 # -----------------------
21789 # Set $? to STATUS, without forking.
21790 as_fn_set_status ()
21792 return $1
21793 } # as_fn_set_status
21795 # as_fn_exit STATUS
21796 # -----------------
21797 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21798 as_fn_exit ()
21800 set +e
21801 as_fn_set_status $1
21802 exit $1
21803 } # as_fn_exit
21805 # as_fn_unset VAR
21806 # ---------------
21807 # Portably unset VAR.
21808 as_fn_unset ()
21810 { eval $1=; unset $1;}
21812 as_unset=as_fn_unset
21813 # as_fn_append VAR VALUE
21814 # ----------------------
21815 # Append the text in VALUE to the end of the definition contained in VAR. Take
21816 # advantage of any shell optimizations that allow amortized linear growth over
21817 # repeated appends, instead of the typical quadratic growth present in naive
21818 # implementations.
21819 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21820 eval 'as_fn_append ()
21822 eval $1+=\$2
21824 else
21825 as_fn_append ()
21827 eval $1=\$$1\$2
21829 fi # as_fn_append
21831 # as_fn_arith ARG...
21832 # ------------------
21833 # Perform arithmetic evaluation on the ARGs, and store the result in the
21834 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21835 # must be portable across $(()) and expr.
21836 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21837 eval 'as_fn_arith ()
21839 as_val=$(( $* ))
21841 else
21842 as_fn_arith ()
21844 as_val=`expr "$@" || test $? -eq 1`
21846 fi # as_fn_arith
21849 if expr a : '\(a\)' >/dev/null 2>&1 &&
21850 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21851 as_expr=expr
21852 else
21853 as_expr=false
21856 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21857 as_basename=basename
21858 else
21859 as_basename=false
21862 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21863 as_dirname=dirname
21864 else
21865 as_dirname=false
21868 as_me=`$as_basename -- "$0" ||
21869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21870 X"$0" : 'X\(//\)$' \| \
21871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21872 $as_echo X/"$0" |
21873 sed '/^.*\/\([^/][^/]*\)\/*$/{
21874 s//\1/
21877 /^X\/\(\/\/\)$/{
21878 s//\1/
21881 /^X\/\(\/\).*/{
21882 s//\1/
21885 s/.*/./; q'`
21887 # Avoid depending upon Character Ranges.
21888 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21889 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21890 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21891 as_cr_digits='0123456789'
21892 as_cr_alnum=$as_cr_Letters$as_cr_digits
21894 ECHO_C= ECHO_N= ECHO_T=
21895 case `echo -n x` in #(((((
21896 -n*)
21897 case `echo 'xy\c'` in
21898 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21899 xy) ECHO_C='\c';;
21900 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21901 ECHO_T=' ';;
21902 esac;;
21904 ECHO_N='-n';;
21905 esac
21907 rm -f conf$$ conf$$.exe conf$$.file
21908 if test -d conf$$.dir; then
21909 rm -f conf$$.dir/conf$$.file
21910 else
21911 rm -f conf$$.dir
21912 mkdir conf$$.dir 2>/dev/null
21914 if (echo >conf$$.file) 2>/dev/null; then
21915 if ln -s conf$$.file conf$$ 2>/dev/null; then
21916 as_ln_s='ln -s'
21917 # ... but there are two gotchas:
21918 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21919 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21920 # In both cases, we have to default to `cp -pR'.
21921 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21922 as_ln_s='cp -pR'
21923 elif ln conf$$.file conf$$ 2>/dev/null; then
21924 as_ln_s=ln
21925 else
21926 as_ln_s='cp -pR'
21928 else
21929 as_ln_s='cp -pR'
21931 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21932 rmdir conf$$.dir 2>/dev/null
21935 # as_fn_mkdir_p
21936 # -------------
21937 # Create "$as_dir" as a directory, including parents if necessary.
21938 as_fn_mkdir_p ()
21941 case $as_dir in #(
21942 -*) as_dir=./$as_dir;;
21943 esac
21944 test -d "$as_dir" || eval $as_mkdir_p || {
21945 as_dirs=
21946 while :; do
21947 case $as_dir in #(
21948 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21949 *) as_qdir=$as_dir;;
21950 esac
21951 as_dirs="'$as_qdir' $as_dirs"
21952 as_dir=`$as_dirname -- "$as_dir" ||
21953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21954 X"$as_dir" : 'X\(//\)[^/]' \| \
21955 X"$as_dir" : 'X\(//\)$' \| \
21956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21957 $as_echo X"$as_dir" |
21958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21959 s//\1/
21962 /^X\(\/\/\)[^/].*/{
21963 s//\1/
21966 /^X\(\/\/\)$/{
21967 s//\1/
21970 /^X\(\/\).*/{
21971 s//\1/
21974 s/.*/./; q'`
21975 test -d "$as_dir" && break
21976 done
21977 test -z "$as_dirs" || eval "mkdir $as_dirs"
21978 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21981 } # as_fn_mkdir_p
21982 if mkdir -p . 2>/dev/null; then
21983 as_mkdir_p='mkdir -p "$as_dir"'
21984 else
21985 test -d ./-p && rmdir ./-p
21986 as_mkdir_p=false
21990 # as_fn_executable_p FILE
21991 # -----------------------
21992 # Test if FILE is an executable regular file.
21993 as_fn_executable_p ()
21995 test -f "$1" && test -x "$1"
21996 } # as_fn_executable_p
21997 as_test_x='test -x'
21998 as_executable_p=as_fn_executable_p
22000 # Sed expression to map a string onto a valid CPP name.
22001 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22003 # Sed expression to map a string onto a valid variable name.
22004 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22007 exec 6>&1
22008 ## ----------------------------------- ##
22009 ## Main body of $CONFIG_STATUS script. ##
22010 ## ----------------------------------- ##
22011 _ASEOF
22012 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22015 # Save the log message, to keep $0 and so on meaningful, and to
22016 # report actual input values of CONFIG_FILES etc. instead of their
22017 # values after options handling.
22018 ac_log="
22019 This file was extended by Wine $as_me 5.9, which was
22020 generated by GNU Autoconf 2.69. Invocation command line was
22022 CONFIG_FILES = $CONFIG_FILES
22023 CONFIG_HEADERS = $CONFIG_HEADERS
22024 CONFIG_LINKS = $CONFIG_LINKS
22025 CONFIG_COMMANDS = $CONFIG_COMMANDS
22026 $ $0 $@
22028 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22031 _ACEOF
22033 case $ac_config_files in *"
22034 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22035 esac
22037 case $ac_config_headers in *"
22038 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22039 esac
22042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22043 # Files that config.status was made for.
22044 config_files="$ac_config_files"
22045 config_headers="$ac_config_headers"
22046 config_links="$ac_config_links"
22047 config_commands="$ac_config_commands"
22049 _ACEOF
22051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22052 ac_cs_usage="\
22053 \`$as_me' instantiates files and other configuration actions
22054 from templates according to the current configuration. Unless the files
22055 and actions are specified as TAGs, all are instantiated by default.
22057 Usage: $0 [OPTION]... [TAG]...
22059 -h, --help print this help, then exit
22060 -V, --version print version number and configuration settings, then exit
22061 --config print configuration, then exit
22062 -q, --quiet, --silent
22063 do not print progress messages
22064 -d, --debug don't remove temporary files
22065 --recheck update $as_me by reconfiguring in the same conditions
22066 --file=FILE[:TEMPLATE]
22067 instantiate the configuration file FILE
22068 --header=FILE[:TEMPLATE]
22069 instantiate the configuration header FILE
22071 Configuration files:
22072 $config_files
22074 Configuration headers:
22075 $config_headers
22077 Configuration links:
22078 $config_links
22080 Configuration commands:
22081 $config_commands
22083 Report bugs to <wine-devel@winehq.org>.
22084 Wine home page: <https://www.winehq.org>."
22086 _ACEOF
22087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22088 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22089 ac_cs_version="\\
22090 Wine config.status 5.9
22091 configured by $0, generated by GNU Autoconf 2.69,
22092 with options \\"\$ac_cs_config\\"
22094 Copyright (C) 2012 Free Software Foundation, Inc.
22095 This config.status script is free software; the Free Software Foundation
22096 gives unlimited permission to copy, distribute and modify it."
22098 ac_pwd='$ac_pwd'
22099 srcdir='$srcdir'
22100 test -n "\$AWK" || AWK=awk
22101 _ACEOF
22103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22104 # The default lists apply if the user does not specify any file.
22105 ac_need_defaults=:
22106 while test $# != 0
22108 case $1 in
22109 --*=?*)
22110 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22111 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22112 ac_shift=:
22114 --*=)
22115 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22116 ac_optarg=
22117 ac_shift=:
22120 ac_option=$1
22121 ac_optarg=$2
22122 ac_shift=shift
22124 esac
22126 case $ac_option in
22127 # Handling of the options.
22128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22129 ac_cs_recheck=: ;;
22130 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22131 $as_echo "$ac_cs_version"; exit ;;
22132 --config | --confi | --conf | --con | --co | --c )
22133 $as_echo "$ac_cs_config"; exit ;;
22134 --debug | --debu | --deb | --de | --d | -d )
22135 debug=: ;;
22136 --file | --fil | --fi | --f )
22137 $ac_shift
22138 case $ac_optarg in
22139 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22140 '') as_fn_error $? "missing file argument" ;;
22141 esac
22142 as_fn_append CONFIG_FILES " '$ac_optarg'"
22143 ac_need_defaults=false;;
22144 --header | --heade | --head | --hea )
22145 $ac_shift
22146 case $ac_optarg in
22147 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22148 esac
22149 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22150 ac_need_defaults=false;;
22151 --he | --h)
22152 # Conflict between --help and --header
22153 as_fn_error $? "ambiguous option: \`$1'
22154 Try \`$0 --help' for more information.";;
22155 --help | --hel | -h )
22156 $as_echo "$ac_cs_usage"; exit ;;
22157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22158 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22159 ac_cs_silent=: ;;
22161 # This is an error.
22162 -*) as_fn_error $? "unrecognized option: \`$1'
22163 Try \`$0 --help' for more information." ;;
22165 *) as_fn_append ac_config_targets " $1"
22166 ac_need_defaults=false ;;
22168 esac
22169 shift
22170 done
22172 ac_configure_extra_args=
22174 if $ac_cs_silent; then
22175 exec 6>/dev/null
22176 ac_configure_extra_args="$ac_configure_extra_args --silent"
22179 _ACEOF
22180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22181 if \$ac_cs_recheck; then
22182 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22183 shift
22184 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22185 CONFIG_SHELL='$SHELL'
22186 export CONFIG_SHELL
22187 exec "\$@"
22190 _ACEOF
22191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22192 exec 5>>config.log
22194 echo
22195 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22196 ## Running $as_me. ##
22197 _ASBOX
22198 $as_echo "$ac_log"
22199 } >&5
22201 _ACEOF
22202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22204 # INIT-COMMANDS
22206 wine_fn_output_makedep ()
22208 as_dir=tools; as_fn_mkdir_p
22209 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22211 wine_fn_output_makefile ()
22213 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22214 `cat $wine_rules_file`
22215 _WINE_EOF
22216 as_fn_error $? "could not create Makefile" "$LINENO" 5
22219 _ACEOF
22221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22223 # Handling of arguments.
22224 for ac_config_target in $ac_config_targets
22226 case $ac_config_target in
22227 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22228 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22229 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22230 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22231 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22232 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22233 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22235 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22236 esac
22237 done
22240 # If the user did not use the arguments to specify the items to instantiate,
22241 # then the envvar interface is used. Set only those that are not.
22242 # We use the long form for the default assignment because of an extremely
22243 # bizarre bug on SunOS 4.1.3.
22244 if $ac_need_defaults; then
22245 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22246 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22247 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22248 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22251 # Have a temporary directory for convenience. Make it in the build tree
22252 # simply because there is no reason against having it here, and in addition,
22253 # creating and moving files from /tmp can sometimes cause problems.
22254 # Hook for its removal unless debugging.
22255 # Note that there is a small window in which the directory will not be cleaned:
22256 # after its creation but before its name has been assigned to `$tmp'.
22257 $debug ||
22259 tmp= ac_tmp=
22260 trap 'exit_status=$?
22261 : "${ac_tmp:=$tmp}"
22262 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22264 trap 'as_fn_exit 1' 1 2 13 15
22266 # Create a (secure) tmp directory for tmp files.
22269 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22270 test -d "$tmp"
22271 } ||
22273 tmp=./conf$$-$RANDOM
22274 (umask 077 && mkdir "$tmp")
22275 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22276 ac_tmp=$tmp
22278 # Set up the scripts for CONFIG_FILES section.
22279 # No need to generate them if there are no CONFIG_FILES.
22280 # This happens for instance with `./config.status config.h'.
22281 if test -n "$CONFIG_FILES"; then
22284 ac_cr=`echo X | tr X '\015'`
22285 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22286 # But we know of no other shell where ac_cr would be empty at this
22287 # point, so we can use a bashism as a fallback.
22288 if test "x$ac_cr" = x; then
22289 eval ac_cr=\$\'\\r\'
22291 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22292 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22293 ac_cs_awk_cr='\\r'
22294 else
22295 ac_cs_awk_cr=$ac_cr
22298 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22299 _ACEOF
22303 echo "cat >conf$$subs.awk <<_ACEOF" &&
22304 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22305 echo "_ACEOF"
22306 } >conf$$subs.sh ||
22307 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22308 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22309 ac_delim='%!_!# '
22310 for ac_last_try in false false false false false :; do
22311 . ./conf$$subs.sh ||
22312 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22314 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22315 if test $ac_delim_n = $ac_delim_num; then
22316 break
22317 elif $ac_last_try; then
22318 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22319 else
22320 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22322 done
22323 rm -f conf$$subs.sh
22325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22326 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22327 _ACEOF
22328 sed -n '
22330 s/^/S["/; s/!.*/"]=/
22333 s/^[^!]*!//
22334 :repl
22335 t repl
22336 s/'"$ac_delim"'$//
22337 t delim
22340 s/\(.\{148\}\)..*/\1/
22341 t more1
22342 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22345 b repl
22346 :more1
22347 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22350 s/.\{148\}//
22351 t nl
22352 :delim
22354 s/\(.\{148\}\)..*/\1/
22355 t more2
22356 s/["\\]/\\&/g; s/^/"/; s/$/"/
22359 :more2
22360 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22363 s/.\{148\}//
22364 t delim
22365 ' <conf$$subs.awk | sed '
22366 /^[^""]/{
22368 s/\n//
22370 ' >>$CONFIG_STATUS || ac_write_fail=1
22371 rm -f conf$$subs.awk
22372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22373 _ACAWK
22374 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22375 for (key in S) S_is_set[key] = 1
22376 FS = "\a"
22380 line = $ 0
22381 nfields = split(line, field, "@")
22382 substed = 0
22383 len = length(field[1])
22384 for (i = 2; i < nfields; i++) {
22385 key = field[i]
22386 keylen = length(key)
22387 if (S_is_set[key]) {
22388 value = S[key]
22389 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22390 len += length(value) + length(field[++i])
22391 substed = 1
22392 } else
22393 len += 1 + keylen
22396 print line
22399 _ACAWK
22400 _ACEOF
22401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22402 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22403 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22404 else
22406 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22407 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22408 _ACEOF
22410 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22411 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22412 # trailing colons and then remove the whole line if VPATH becomes empty
22413 # (actually we leave an empty line to preserve line numbers).
22414 if test "x$srcdir" = x.; then
22415 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22417 s///
22418 s/^/:/
22419 s/[ ]*$/:/
22420 s/:\$(srcdir):/:/g
22421 s/:\${srcdir}:/:/g
22422 s/:@srcdir@:/:/g
22423 s/^:*//
22424 s/:*$//
22426 s/\(=[ ]*\).*/\1/
22428 s/\n//
22429 s/^[^=]*=[ ]*$//
22433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22434 fi # test -n "$CONFIG_FILES"
22436 # Set up the scripts for CONFIG_HEADERS section.
22437 # No need to generate them if there are no CONFIG_HEADERS.
22438 # This happens for instance with `./config.status Makefile'.
22439 if test -n "$CONFIG_HEADERS"; then
22440 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22441 BEGIN {
22442 _ACEOF
22444 # Transform confdefs.h into an awk script `defines.awk', embedded as
22445 # here-document in config.status, that substitutes the proper values into
22446 # config.h.in to produce config.h.
22448 # Create a delimiter string that does not exist in confdefs.h, to ease
22449 # handling of long lines.
22450 ac_delim='%!_!# '
22451 for ac_last_try in false false :; do
22452 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22453 if test -z "$ac_tt"; then
22454 break
22455 elif $ac_last_try; then
22456 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22457 else
22458 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22460 done
22462 # For the awk script, D is an array of macro values keyed by name,
22463 # likewise P contains macro parameters if any. Preserve backslash
22464 # newline sequences.
22466 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22467 sed -n '
22468 s/.\{148\}/&'"$ac_delim"'/g
22469 t rset
22470 :rset
22471 s/^[ ]*#[ ]*define[ ][ ]*/ /
22472 t def
22474 :def
22475 s/\\$//
22476 t bsnl
22477 s/["\\]/\\&/g
22478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22479 D["\1"]=" \3"/p
22480 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22482 :bsnl
22483 s/["\\]/\\&/g
22484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22485 D["\1"]=" \3\\\\\\n"\\/p
22486 t cont
22487 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22488 t cont
22490 :cont
22492 s/.\{148\}/&'"$ac_delim"'/g
22493 t clear
22494 :clear
22495 s/\\$//
22496 t bsnlc
22497 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22499 :bsnlc
22500 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22501 b cont
22502 ' <confdefs.h | sed '
22503 s/'"$ac_delim"'/"\\\
22504 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22507 for (key in D) D_is_set[key] = 1
22508 FS = "\a"
22510 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22511 line = \$ 0
22512 split(line, arg, " ")
22513 if (arg[1] == "#") {
22514 defundef = arg[2]
22515 mac1 = arg[3]
22516 } else {
22517 defundef = substr(arg[1], 2)
22518 mac1 = arg[2]
22520 split(mac1, mac2, "(") #)
22521 macro = mac2[1]
22522 prefix = substr(line, 1, index(line, defundef) - 1)
22523 if (D_is_set[macro]) {
22524 # Preserve the white space surrounding the "#".
22525 print prefix "define", macro P[macro] D[macro]
22526 next
22527 } else {
22528 # Replace #undef with comments. This is necessary, for example,
22529 # in the case of _POSIX_SOURCE, which is predefined and required
22530 # on some systems where configure will not decide to define it.
22531 if (defundef == "undef") {
22532 print "/*", prefix defundef, macro, "*/"
22533 next
22537 { print }
22538 _ACAWK
22539 _ACEOF
22540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22541 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22542 fi # test -n "$CONFIG_HEADERS"
22545 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22546 shift
22547 for ac_tag
22549 case $ac_tag in
22550 :[FHLC]) ac_mode=$ac_tag; continue;;
22551 esac
22552 case $ac_mode$ac_tag in
22553 :[FHL]*:*);;
22554 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22555 :[FH]-) ac_tag=-:-;;
22556 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22557 esac
22558 ac_save_IFS=$IFS
22559 IFS=:
22560 set x $ac_tag
22561 IFS=$ac_save_IFS
22562 shift
22563 ac_file=$1
22564 shift
22566 case $ac_mode in
22567 :L) ac_source=$1;;
22568 :[FH])
22569 ac_file_inputs=
22570 for ac_f
22572 case $ac_f in
22573 -) ac_f="$ac_tmp/stdin";;
22574 *) # Look for the file first in the build tree, then in the source tree
22575 # (if the path is not absolute). The absolute path cannot be DOS-style,
22576 # because $ac_f cannot contain `:'.
22577 test -f "$ac_f" ||
22578 case $ac_f in
22579 [\\/$]*) false;;
22580 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22581 esac ||
22582 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22583 esac
22584 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22585 as_fn_append ac_file_inputs " '$ac_f'"
22586 done
22588 # Let's still pretend it is `configure' which instantiates (i.e., don't
22589 # use $as_me), people would be surprised to read:
22590 # /* config.h. Generated by config.status. */
22591 configure_input='Generated from '`
22592 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22593 `' by configure.'
22594 if test x"$ac_file" != x-; then
22595 configure_input="$ac_file. $configure_input"
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22597 $as_echo "$as_me: creating $ac_file" >&6;}
22599 # Neutralize special characters interpreted by sed in replacement strings.
22600 case $configure_input in #(
22601 *\&* | *\|* | *\\* )
22602 ac_sed_conf_input=`$as_echo "$configure_input" |
22603 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22604 *) ac_sed_conf_input=$configure_input;;
22605 esac
22607 case $ac_tag in
22608 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22609 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22610 esac
22612 esac
22614 ac_dir=`$as_dirname -- "$ac_file" ||
22615 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22616 X"$ac_file" : 'X\(//\)[^/]' \| \
22617 X"$ac_file" : 'X\(//\)$' \| \
22618 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22619 $as_echo X"$ac_file" |
22620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22621 s//\1/
22624 /^X\(\/\/\)[^/].*/{
22625 s//\1/
22628 /^X\(\/\/\)$/{
22629 s//\1/
22632 /^X\(\/\).*/{
22633 s//\1/
22636 s/.*/./; q'`
22637 as_dir="$ac_dir"; as_fn_mkdir_p
22638 ac_builddir=.
22640 case "$ac_dir" in
22641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22643 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22644 # A ".." for each directory in $ac_dir_suffix.
22645 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22646 case $ac_top_builddir_sub in
22647 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22648 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22649 esac ;;
22650 esac
22651 ac_abs_top_builddir=$ac_pwd
22652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22653 # for backward compatibility:
22654 ac_top_builddir=$ac_top_build_prefix
22656 case $srcdir in
22657 .) # We are building in place.
22658 ac_srcdir=.
22659 ac_top_srcdir=$ac_top_builddir_sub
22660 ac_abs_top_srcdir=$ac_pwd ;;
22661 [\\/]* | ?:[\\/]* ) # Absolute name.
22662 ac_srcdir=$srcdir$ac_dir_suffix;
22663 ac_top_srcdir=$srcdir
22664 ac_abs_top_srcdir=$srcdir ;;
22665 *) # Relative name.
22666 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22667 ac_top_srcdir=$ac_top_build_prefix$srcdir
22668 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22669 esac
22670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22673 case $ac_mode in
22676 # CONFIG_FILE
22679 _ACEOF
22681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22682 # If the template does not know about datarootdir, expand it.
22683 # FIXME: This hack should be removed a few years after 2.60.
22684 ac_datarootdir_hack=; ac_datarootdir_seen=
22685 ac_sed_dataroot='
22686 /datarootdir/ {
22690 /@datadir@/p
22691 /@docdir@/p
22692 /@infodir@/p
22693 /@localedir@/p
22694 /@mandir@/p'
22695 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22696 *datarootdir*) ac_datarootdir_seen=yes;;
22697 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22699 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22700 _ACEOF
22701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22702 ac_datarootdir_hack='
22703 s&@datadir@&$datadir&g
22704 s&@docdir@&$docdir&g
22705 s&@infodir@&$infodir&g
22706 s&@localedir@&$localedir&g
22707 s&@mandir@&$mandir&g
22708 s&\\\${datarootdir}&$datarootdir&g' ;;
22709 esac
22710 _ACEOF
22712 # Neutralize VPATH when `$srcdir' = `.'.
22713 # Shell code in configure.ac might set extrasub.
22714 # FIXME: do we really want to maintain this feature?
22715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22716 ac_sed_extra="$ac_vpsub
22717 $extrasub
22718 _ACEOF
22719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22721 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22722 s|@configure_input@|$ac_sed_conf_input|;t t
22723 s&@top_builddir@&$ac_top_builddir_sub&;t t
22724 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22725 s&@srcdir@&$ac_srcdir&;t t
22726 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22727 s&@top_srcdir@&$ac_top_srcdir&;t t
22728 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22729 s&@builddir@&$ac_builddir&;t t
22730 s&@abs_builddir@&$ac_abs_builddir&;t t
22731 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22732 $ac_datarootdir_hack
22734 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22735 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22737 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22738 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22739 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22740 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22742 which seems to be undefined. Please make sure it is defined" >&5
22743 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22744 which seems to be undefined. Please make sure it is defined" >&2;}
22746 rm -f "$ac_tmp/stdin"
22747 case $ac_file in
22748 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22749 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22750 esac \
22751 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22755 # CONFIG_HEADER
22757 if test x"$ac_file" != x-; then
22759 $as_echo "/* $configure_input */" \
22760 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22761 } >"$ac_tmp/config.h" \
22762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22763 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22765 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22766 else
22767 rm -f "$ac_file"
22768 mv "$ac_tmp/config.h" "$ac_file" \
22769 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22771 else
22772 $as_echo "/* $configure_input */" \
22773 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22774 || as_fn_error $? "could not create -" "$LINENO" 5
22779 # CONFIG_LINK
22782 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22784 else
22785 # Prefer the file from the source tree if names are identical.
22786 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22787 ac_source=$srcdir/$ac_source
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22791 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22793 if test ! -r "$ac_source"; then
22794 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22796 rm -f "$ac_file"
22798 # Try a relative symlink, then a hard link, then a copy.
22799 case $ac_source in
22800 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22801 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22802 esac
22803 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22804 ln "$ac_source" "$ac_file" 2>/dev/null ||
22805 cp -p "$ac_source" "$ac_file" ||
22806 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22809 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22810 $as_echo "$as_me: executing $ac_file commands" >&6;}
22812 esac
22815 case $ac_file$ac_mode in
22816 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22817 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22818 "Makefile":C) wine_fn_output_makefile Makefile ;;
22820 esac
22821 done # for ac_tag
22824 as_fn_exit 0
22825 _ACEOF
22826 ac_clean_files=$ac_clean_files_save
22828 test $ac_write_fail = 0 ||
22829 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22832 # configure is writing to config.log, and then calls config.status.
22833 # config.status does its own redirection, appending to config.log.
22834 # Unfortunately, on DOS this fails, as config.log is still kept open
22835 # by configure, so config.status won't be able to write to it; its
22836 # output is simply discarded. So we exec the FD to /dev/null,
22837 # effectively closing config.log, so it can be properly (re)opened and
22838 # appended to by config.status. When coming back to configure, we
22839 # need to make the FD available again.
22840 if test "$no_create" != yes; then
22841 ac_cs_success=:
22842 ac_config_status_args=
22843 test "$silent" = yes &&
22844 ac_config_status_args="$ac_config_status_args --quiet"
22845 exec 5>/dev/null
22846 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22847 exec 5>>config.log
22848 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22849 # would make configure fail if this is the last instruction.
22850 $ac_cs_success || as_fn_exit 1
22852 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22854 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22858 if test "$no_create" = "yes"
22859 then
22860 exit 0
22863 ac_save_IFS="$IFS"
22864 if test "x$wine_notices" != x; then
22865 echo >&6
22866 IFS="|"
22867 for msg in $wine_notices; do
22868 IFS="$ac_save_IFS"
22869 if ${msg:+false} :; then :
22871 else
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22873 $as_echo "$as_me: $msg" >&6;}
22875 done
22877 IFS="|"
22878 for msg in $wine_warnings; do
22879 IFS="$ac_save_IFS"
22880 if ${msg:+false} :; then :
22882 else
22883 echo >&2
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22885 $as_echo "$as_me: WARNING: $msg" >&2;}
22887 done
22888 IFS="$ac_save_IFS"
22890 $as_echo "
22891 $as_me: Finished. Do '${ac_make}' to compile Wine.
22892 " >&6