ntdll/tests: Drop RTL function workarounds for Windows <= 2000.
[wine.git] / configure
blobe2e03dc4ba73ecafe797c7776e113400be2e36bd
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_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dsuiext
1271 enable_dswave
1272 enable_dwmapi
1273 enable_dwrite
1274 enable_dx8vb
1275 enable_dxdiagn
1276 enable_dxerr8
1277 enable_dxerr9
1278 enable_dxgi
1279 enable_dxguid
1280 enable_dxva2
1281 enable_esent
1282 enable_evr
1283 enable_explorerframe
1284 enable_ext_ms_win_authz_context_l1_1_0
1285 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1286 enable_ext_ms_win_dwmapi_ext_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_0
1288 enable_ext_ms_win_gdi_dc_create_l1_1_1
1289 enable_ext_ms_win_gdi_dc_l1_2_0
1290 enable_ext_ms_win_gdi_devcaps_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_0
1292 enable_ext_ms_win_gdi_draw_l1_1_1
1293 enable_ext_ms_win_gdi_font_l1_1_0
1294 enable_ext_ms_win_gdi_font_l1_1_1
1295 enable_ext_ms_win_gdi_render_l1_1_0
1296 enable_ext_ms_win_kernel32_package_current_l1_1_0
1297 enable_ext_ms_win_kernel32_package_l1_1_1
1298 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1299 enable_ext_ms_win_ntuser_draw_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_1_0
1301 enable_ext_ms_win_ntuser_gui_l1_3_0
1302 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1303 enable_ext_ms_win_ntuser_message_l1_1_0
1304 enable_ext_ms_win_ntuser_message_l1_1_1
1305 enable_ext_ms_win_ntuser_misc_l1_1_0
1306 enable_ext_ms_win_ntuser_misc_l1_2_0
1307 enable_ext_ms_win_ntuser_misc_l1_5_1
1308 enable_ext_ms_win_ntuser_mouse_l1_1_0
1309 enable_ext_ms_win_ntuser_private_l1_1_1
1310 enable_ext_ms_win_ntuser_private_l1_3_1
1311 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_0
1314 enable_ext_ms_win_ntuser_window_l1_1_1
1315 enable_ext_ms_win_ntuser_window_l1_1_4
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1317 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1318 enable_ext_ms_win_oleacc_l1_1_0
1319 enable_ext_ms_win_ras_rasapi32_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1322 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1327 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1330 enable_ext_ms_win_security_credui_l1_1_0
1331 enable_ext_ms_win_security_cryptui_l1_1_0
1332 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1333 enable_ext_ms_win_shell_comdlg32_l1_1_0
1334 enable_ext_ms_win_shell_shell32_l1_2_0
1335 enable_ext_ms_win_uxtheme_themes_l1_1_0
1336 enable_faultrep
1337 enable_feclient
1338 enable_fltlib
1339 enable_fltmgr_sys
1340 enable_fntcache
1341 enable_fontsub
1342 enable_fusion
1343 enable_fwpuclnt
1344 enable_gameux
1345 enable_gdi32
1346 enable_gdiplus
1347 enable_glu32
1348 enable_gphoto2_ds
1349 enable_gpkcsp
1350 enable_hal
1351 enable_hhctrl_ocx
1352 enable_hid
1353 enable_hidclass_sys
1354 enable_hlink
1355 enable_hnetcfg
1356 enable_http_sys
1357 enable_httpapi
1358 enable_iccvid
1359 enable_icmp
1360 enable_ieframe
1361 enable_ieproxy
1362 enable_imaadp32_acm
1363 enable_imagehlp
1364 enable_imm32
1365 enable_inetcomm
1366 enable_inetcpl_cpl
1367 enable_inetmib1
1368 enable_infosoft
1369 enable_initpki
1370 enable_inkobj
1371 enable_inseng
1372 enable_iphlpapi
1373 enable_iprop
1374 enable_irprops_cpl
1375 enable_itircl
1376 enable_itss
1377 enable_joy_cpl
1378 enable_jscript
1379 enable_jsproxy
1380 enable_kerberos
1381 enable_kernel32
1382 enable_kernelbase
1383 enable_ksecdd_sys
1384 enable_ksproxy_ax
1385 enable_ksuser
1386 enable_ktmw32
1387 enable_l3codeca_acm
1388 enable_loadperf
1389 enable_localspl
1390 enable_localui
1391 enable_lz32
1392 enable_mapi32
1393 enable_mapistub
1394 enable_mciavi32
1395 enable_mcicda
1396 enable_mciqtz32
1397 enable_mciseq
1398 enable_mciwave
1399 enable_mf
1400 enable_mf3216
1401 enable_mferror
1402 enable_mfmediaengine
1403 enable_mfplat
1404 enable_mfplay
1405 enable_mfreadwrite
1406 enable_mfuuid
1407 enable_mgmtapi
1408 enable_midimap
1409 enable_mlang
1410 enable_mmcndmgr
1411 enable_mmdevapi
1412 enable_mountmgr_sys
1413 enable_mp3dmod
1414 enable_mpr
1415 enable_mprapi
1416 enable_msacm32_drv
1417 enable_msacm32
1418 enable_msado15
1419 enable_msadp32_acm
1420 enable_msasn1
1421 enable_mscat32
1422 enable_mscms
1423 enable_mscoree
1424 enable_mscorwks
1425 enable_msctf
1426 enable_msctfp
1427 enable_msdaps
1428 enable_msdelta
1429 enable_msdmo
1430 enable_msdrm
1431 enable_msftedit
1432 enable_msg711_acm
1433 enable_msgsm32_acm
1434 enable_mshtml_tlb
1435 enable_mshtml
1436 enable_msi
1437 enable_msident
1438 enable_msimg32
1439 enable_msimsg
1440 enable_msimtf
1441 enable_msisip
1442 enable_msisys_ocx
1443 enable_msls31
1444 enable_msnet32
1445 enable_mspatcha
1446 enable_msports
1447 enable_msrle32
1448 enable_msscript_ocx
1449 enable_mssign32
1450 enable_mssip32
1451 enable_mstask
1452 enable_msvcirt
1453 enable_msvcm80
1454 enable_msvcm90
1455 enable_msvcp100
1456 enable_msvcp110
1457 enable_msvcp120
1458 enable_msvcp120_app
1459 enable_msvcp140
1460 enable_msvcp60
1461 enable_msvcp70
1462 enable_msvcp71
1463 enable_msvcp80
1464 enable_msvcp90
1465 enable_msvcr100
1466 enable_msvcr110
1467 enable_msvcr120
1468 enable_msvcr120_app
1469 enable_msvcr70
1470 enable_msvcr71
1471 enable_msvcr80
1472 enable_msvcr90
1473 enable_msvcrt
1474 enable_msvcrt20
1475 enable_msvcrt40
1476 enable_msvcrtd
1477 enable_msvfw32
1478 enable_msvidc32
1479 enable_mswsock
1480 enable_msxml
1481 enable_msxml2
1482 enable_msxml3
1483 enable_msxml4
1484 enable_msxml6
1485 enable_mtxdm
1486 enable_ncrypt
1487 enable_nddeapi
1488 enable_ndis_sys
1489 enable_netapi32
1490 enable_netcfgx
1491 enable_netprofm
1492 enable_newdev
1493 enable_ninput
1494 enable_normaliz
1495 enable_npmshtml
1496 enable_npptools
1497 enable_ntdll
1498 enable_ntdsapi
1499 enable_ntoskrnl_exe
1500 enable_ntprint
1501 enable_objsel
1502 enable_odbc32
1503 enable_odbcbcp
1504 enable_odbccp32
1505 enable_odbccu32
1506 enable_ole32
1507 enable_oleacc
1508 enable_oleaut32
1509 enable_olecli32
1510 enable_oledb32
1511 enable_oledlg
1512 enable_olepro32
1513 enable_olesvr32
1514 enable_olethk32
1515 enable_opcservices
1516 enable_openal32
1517 enable_opencl
1518 enable_opengl32
1519 enable_packager
1520 enable_pdh
1521 enable_photometadatahandler
1522 enable_pidgen
1523 enable_powrprof
1524 enable_printui
1525 enable_prntvpt
1526 enable_propsys
1527 enable_psapi
1528 enable_pstorec
1529 enable_qasf
1530 enable_qcap
1531 enable_qdvd
1532 enable_qedit
1533 enable_qmgr
1534 enable_qmgrprxy
1535 enable_quartz
1536 enable_query
1537 enable_qwave
1538 enable_rasapi32
1539 enable_rasdlg
1540 enable_regapi
1541 enable_resutils
1542 enable_riched20
1543 enable_riched32
1544 enable_rpcrt4
1545 enable_rsabase
1546 enable_rsaenh
1547 enable_rstrtmgr
1548 enable_rtutils
1549 enable_rtworkq
1550 enable_samlib
1551 enable_sane_ds
1552 enable_sapi
1553 enable_sas
1554 enable_scarddlg
1555 enable_sccbase
1556 enable_schannel
1557 enable_schedsvc
1558 enable_scrobj
1559 enable_scrrun
1560 enable_scsiport_sys
1561 enable_sechost
1562 enable_secur32
1563 enable_security
1564 enable_sensapi
1565 enable_serialui
1566 enable_setupapi
1567 enable_sfc
1568 enable_sfc_os
1569 enable_shcore
1570 enable_shdoclc
1571 enable_shdocvw
1572 enable_shell32
1573 enable_shfolder
1574 enable_shlwapi
1575 enable_slbcsp
1576 enable_slc
1577 enable_snmpapi
1578 enable_softpub
1579 enable_spoolss
1580 enable_srclient
1581 enable_sspicli
1582 enable_stdole2_tlb
1583 enable_stdole32_tlb
1584 enable_sti
1585 enable_strmbase
1586 enable_strmdll
1587 enable_strmiids
1588 enable_svrapi
1589 enable_sxs
1590 enable_t2embed
1591 enable_tapi32
1592 enable_taskschd
1593 enable_tdh
1594 enable_tdi_sys
1595 enable_traffic
1596 enable_twain_32
1597 enable_tzres
1598 enable_ucrtbase
1599 enable_uianimation
1600 enable_uiautomationcore
1601 enable_uiribbon
1602 enable_unicows
1603 enable_updspapi
1604 enable_url
1605 enable_urlmon
1606 enable_usbd_sys
1607 enable_user32
1608 enable_userenv
1609 enable_usp10
1610 enable_utildll
1611 enable_uuid
1612 enable_uxtheme
1613 enable_vbscript
1614 enable_vcomp
1615 enable_vcomp100
1616 enable_vcomp110
1617 enable_vcomp120
1618 enable_vcomp140
1619 enable_vcomp90
1620 enable_vcruntime140
1621 enable_vcruntime140_1
1622 enable_vdmdbg
1623 enable_version
1624 enable_vga
1625 enable_virtdisk
1626 enable_vssapi
1627 enable_vulkan_1
1628 enable_wbemdisp
1629 enable_wbemprox
1630 enable_wbemuuid
1631 enable_wdscore
1632 enable_webservices
1633 enable_wer
1634 enable_wevtapi
1635 enable_wiaservc
1636 enable_wimgapi
1637 enable_windowscodecs
1638 enable_windowscodecsext
1639 enable_winealsa_drv
1640 enable_wineandroid_drv
1641 enable_winebus_sys
1642 enable_winecoreaudio_drv
1643 enable_winecrt0
1644 enable_wined3d
1645 enable_winegstreamer
1646 enable_winehid_sys
1647 enable_winejoystick_drv
1648 enable_winemac_drv
1649 enable_winemapi
1650 enable_wineoss_drv
1651 enable_wineps_drv
1652 enable_winepulse_drv
1653 enable_wineqtdecoder
1654 enable_wineusb_sys
1655 enable_winevulkan
1656 enable_winex11_drv
1657 enable_wing32
1658 enable_winhttp
1659 enable_wininet
1660 enable_winmm
1661 enable_winnls32
1662 enable_winscard
1663 enable_winspool_drv
1664 enable_winsta
1665 enable_wintab32
1666 enable_wintrust
1667 enable_winusb
1668 enable_wlanapi
1669 enable_wlanui
1670 enable_wldap32
1671 enable_wmasf
1672 enable_wmcodecdspuuid
1673 enable_wmi
1674 enable_wmiutils
1675 enable_wmp
1676 enable_wmphoto
1677 enable_wmvcore
1678 enable_wnaspi32
1679 enable_wpc
1680 enable_wpcap
1681 enable_ws2_32
1682 enable_wsdapi
1683 enable_wshom_ocx
1684 enable_wsnmp32
1685 enable_wsock32
1686 enable_wtsapi32
1687 enable_wuapi
1688 enable_wuaueng
1689 enable_x3daudio1_0
1690 enable_x3daudio1_1
1691 enable_x3daudio1_2
1692 enable_x3daudio1_3
1693 enable_x3daudio1_4
1694 enable_x3daudio1_5
1695 enable_x3daudio1_6
1696 enable_x3daudio1_7
1697 enable_xapofx1_1
1698 enable_xapofx1_2
1699 enable_xapofx1_3
1700 enable_xapofx1_4
1701 enable_xapofx1_5
1702 enable_xaudio2_0
1703 enable_xaudio2_1
1704 enable_xaudio2_2
1705 enable_xaudio2_3
1706 enable_xaudio2_4
1707 enable_xaudio2_5
1708 enable_xaudio2_6
1709 enable_xaudio2_7
1710 enable_xaudio2_8
1711 enable_xaudio2_9
1712 enable_xinput1_1
1713 enable_xinput1_2
1714 enable_xinput1_3
1715 enable_xinput1_4
1716 enable_xinput9_1_0
1717 enable_xmllite
1718 enable_xolehlp
1719 enable_xpsprint
1720 enable_xpssvcs
1721 enable_fonts
1722 enable_include
1723 enable_port
1724 enable_wine
1725 enable_wpp
1726 enable_loader
1727 enable_nls
1728 enable_po
1729 enable_arp
1730 enable_aspnet_regiis
1731 enable_attrib
1732 enable_cabarc
1733 enable_cacls
1734 enable_chcp_com
1735 enable_clock
1736 enable_cmd
1737 enable_conhost
1738 enable_control
1739 enable_cscript
1740 enable_dism
1741 enable_dpnsvr
1742 enable_dxdiag
1743 enable_eject
1744 enable_expand
1745 enable_explorer
1746 enable_extrac32
1747 enable_fc
1748 enable_find
1749 enable_findstr
1750 enable_fsutil
1751 enable_hh
1752 enable_hostname
1753 enable_icacls
1754 enable_icinfo
1755 enable_iexplore
1756 enable_ipconfig
1757 enable_lodctr
1758 enable_mofcomp
1759 enable_mshta
1760 enable_msidb
1761 enable_msiexec
1762 enable_msinfo32
1763 enable_net
1764 enable_netsh
1765 enable_netstat
1766 enable_ngen
1767 enable_notepad
1768 enable_oleview
1769 enable_ping
1770 enable_plugplay
1771 enable_powershell
1772 enable_presentationfontcache
1773 enable_progman
1774 enable_reg
1775 enable_regasm
1776 enable_regedit
1777 enable_regini
1778 enable_regsvcs
1779 enable_regsvr32
1780 enable_rpcss
1781 enable_rundll32
1782 enable_sc
1783 enable_schtasks
1784 enable_sdbinst
1785 enable_secedit
1786 enable_servicemodelreg
1787 enable_services
1788 enable_shutdown
1789 enable_spoolsv
1790 enable_start
1791 enable_subst
1792 enable_svchost
1793 enable_systeminfo
1794 enable_taskkill
1795 enable_tasklist
1796 enable_taskmgr
1797 enable_termsv
1798 enable_uninstaller
1799 enable_unlodctr
1800 enable_view
1801 enable_wevtutil
1802 enable_whoami
1803 enable_wineboot
1804 enable_winebrowser
1805 enable_winecfg
1806 enable_wineconsole
1807 enable_winedbg
1808 enable_winedevice
1809 enable_winefile
1810 enable_winemenubuilder
1811 enable_winemine
1812 enable_winemsibuilder
1813 enable_winepath
1814 enable_winetest
1815 enable_winhlp32
1816 enable_winmgmt
1817 enable_winver
1818 enable_wmic
1819 enable_wmplayer
1820 enable_wordpad
1821 enable_write
1822 enable_wscript
1823 enable_wuauserv
1824 enable_wusa
1825 enable_xcopy
1826 enable_server
1827 enable_tools
1828 enable_sfnt2fon
1829 enable_widl
1830 enable_winebuild
1831 enable_winedump
1832 enable_winegcc
1833 enable_winemaker
1834 enable_wmc
1835 enable_wrc
1837 ac_precious_vars='build_alias
1838 host_alias
1839 target_alias
1841 CFLAGS
1842 LDFLAGS
1843 LIBS
1844 CPPFLAGS
1846 CXXFLAGS
1849 OBJC
1850 OBJCFLAGS
1851 OBJCPP
1852 XMKMF
1853 XML2_CFLAGS
1854 XML2_LIBS
1855 XSLT_CFLAGS
1856 XSLT_LIBS
1857 INOTIFY_CFLAGS
1858 INOTIFY_LIBS
1859 DBUS_CFLAGS
1860 DBUS_LIBS
1861 HAL_CFLAGS
1862 HAL_LIBS
1863 GNUTLS_CFLAGS
1864 GNUTLS_LIBS
1865 SANE_CFLAGS
1866 SANE_LIBS
1867 USB_CFLAGS
1868 USB_LIBS
1869 GPHOTO2_CFLAGS
1870 GPHOTO2_LIBS
1871 GPHOTO2_PORT_CFLAGS
1872 GPHOTO2_PORT_LIBS
1873 LCMS2_CFLAGS
1874 LCMS2_LIBS
1875 FREETYPE_CFLAGS
1876 FREETYPE_LIBS
1877 PULSE_CFLAGS
1878 PULSE_LIBS
1879 GSTREAMER_CFLAGS
1880 GSTREAMER_LIBS
1881 UDEV_CFLAGS
1882 UDEV_LIBS
1883 UNWIND_CFLAGS
1884 UNWIND_LIBS
1885 SDL2_CFLAGS
1886 SDL2_LIBS
1887 FAUDIO_CFLAGS
1888 FAUDIO_LIBS
1889 CAPI20_CFLAGS
1890 CAPI20_LIBS
1891 CUPS_CFLAGS
1892 CUPS_LIBS
1893 FONTCONFIG_CFLAGS
1894 FONTCONFIG_LIBS
1895 KRB5_CFLAGS
1896 KRB5_LIBS
1897 GSSAPI_CFLAGS
1898 GSSAPI_LIBS
1899 JPEG_CFLAGS
1900 JPEG_LIBS
1901 PNG_CFLAGS
1902 PNG_LIBS
1903 TIFF_CFLAGS
1904 TIFF_LIBS
1905 MPG123_CFLAGS
1906 MPG123_LIBS
1907 NETAPI_CFLAGS
1908 NETAPI_LIBS
1909 VKD3D_CFLAGS
1910 VKD3D_LIBS
1911 LDAP_CFLAGS
1912 LDAP_LIBS'
1915 # Initialize some variables set by options.
1916 ac_init_help=
1917 ac_init_version=false
1918 ac_unrecognized_opts=
1919 ac_unrecognized_sep=
1920 # The variables have the same names as the options, with
1921 # dashes changed to underlines.
1922 cache_file=/dev/null
1923 exec_prefix=NONE
1924 no_create=
1925 no_recursion=
1926 prefix=NONE
1927 program_prefix=NONE
1928 program_suffix=NONE
1929 program_transform_name=s,x,x,
1930 silent=
1931 site=
1932 srcdir=
1933 verbose=
1934 x_includes=NONE
1935 x_libraries=NONE
1937 # Installation directory options.
1938 # These are left unexpanded so users can "make install exec_prefix=/foo"
1939 # and all the variables that are supposed to be based on exec_prefix
1940 # by default will actually change.
1941 # Use braces instead of parens because sh, perl, etc. also accept them.
1942 # (The list follows the same order as the GNU Coding Standards.)
1943 bindir='${exec_prefix}/bin'
1944 sbindir='${exec_prefix}/sbin'
1945 libexecdir='${exec_prefix}/libexec'
1946 datarootdir='${prefix}/share'
1947 datadir='${datarootdir}'
1948 sysconfdir='${prefix}/etc'
1949 sharedstatedir='${prefix}/com'
1950 localstatedir='${prefix}/var'
1951 runstatedir='${localstatedir}/run'
1952 includedir='${prefix}/include'
1953 oldincludedir='/usr/include'
1954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1955 infodir='${datarootdir}/info'
1956 htmldir='${docdir}'
1957 dvidir='${docdir}'
1958 pdfdir='${docdir}'
1959 psdir='${docdir}'
1960 libdir='${exec_prefix}/lib'
1961 localedir='${datarootdir}/locale'
1962 mandir='${datarootdir}/man'
1964 ac_prev=
1965 ac_dashdash=
1966 for ac_option
1968 # If the previous option needs an argument, assign it.
1969 if test -n "$ac_prev"; then
1970 eval $ac_prev=\$ac_option
1971 ac_prev=
1972 continue
1975 case $ac_option in
1976 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1977 *=) ac_optarg= ;;
1978 *) ac_optarg=yes ;;
1979 esac
1981 # Accept the important Cygnus configure options, so we can diagnose typos.
1983 case $ac_dashdash$ac_option in
1985 ac_dashdash=yes ;;
1987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1988 ac_prev=bindir ;;
1989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1990 bindir=$ac_optarg ;;
1992 -build | --build | --buil | --bui | --bu)
1993 ac_prev=build_alias ;;
1994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1995 build_alias=$ac_optarg ;;
1997 -cache-file | --cache-file | --cache-fil | --cache-fi \
1998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1999 ac_prev=cache_file ;;
2000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2002 cache_file=$ac_optarg ;;
2004 --config-cache | -C)
2005 cache_file=config.cache ;;
2007 -datadir | --datadir | --datadi | --datad)
2008 ac_prev=datadir ;;
2009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2010 datadir=$ac_optarg ;;
2012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2013 | --dataroo | --dataro | --datar)
2014 ac_prev=datarootdir ;;
2015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2017 datarootdir=$ac_optarg ;;
2019 -disable-* | --disable-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid feature name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "enable_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval enable_$ac_useropt=no ;;
2035 -docdir | --docdir | --docdi | --doc | --do)
2036 ac_prev=docdir ;;
2037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2038 docdir=$ac_optarg ;;
2040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2041 ac_prev=dvidir ;;
2042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2043 dvidir=$ac_optarg ;;
2045 -enable-* | --enable-*)
2046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2047 # Reject names that are not valid shell variable names.
2048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2049 as_fn_error $? "invalid feature name: $ac_useropt"
2050 ac_useropt_orig=$ac_useropt
2051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2052 case $ac_user_opts in
2054 "enable_$ac_useropt"
2055 "*) ;;
2056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2057 ac_unrecognized_sep=', ';;
2058 esac
2059 eval enable_$ac_useropt=\$ac_optarg ;;
2061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2063 | --exec | --exe | --ex)
2064 ac_prev=exec_prefix ;;
2065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2067 | --exec=* | --exe=* | --ex=*)
2068 exec_prefix=$ac_optarg ;;
2070 -gas | --gas | --ga | --g)
2071 # Obsolete; use --with-gas.
2072 with_gas=yes ;;
2074 -help | --help | --hel | --he | -h)
2075 ac_init_help=long ;;
2076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2077 ac_init_help=recursive ;;
2078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2079 ac_init_help=short ;;
2081 -host | --host | --hos | --ho)
2082 ac_prev=host_alias ;;
2083 -host=* | --host=* | --hos=* | --ho=*)
2084 host_alias=$ac_optarg ;;
2086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2087 ac_prev=htmldir ;;
2088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2089 | --ht=*)
2090 htmldir=$ac_optarg ;;
2092 -includedir | --includedir | --includedi | --included | --include \
2093 | --includ | --inclu | --incl | --inc)
2094 ac_prev=includedir ;;
2095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2096 | --includ=* | --inclu=* | --incl=* | --inc=*)
2097 includedir=$ac_optarg ;;
2099 -infodir | --infodir | --infodi | --infod | --info | --inf)
2100 ac_prev=infodir ;;
2101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2102 infodir=$ac_optarg ;;
2104 -libdir | --libdir | --libdi | --libd)
2105 ac_prev=libdir ;;
2106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2107 libdir=$ac_optarg ;;
2109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2110 | --libexe | --libex | --libe)
2111 ac_prev=libexecdir ;;
2112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2113 | --libexe=* | --libex=* | --libe=*)
2114 libexecdir=$ac_optarg ;;
2116 -localedir | --localedir | --localedi | --localed | --locale)
2117 ac_prev=localedir ;;
2118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2119 localedir=$ac_optarg ;;
2121 -localstatedir | --localstatedir | --localstatedi | --localstated \
2122 | --localstate | --localstat | --localsta | --localst | --locals)
2123 ac_prev=localstatedir ;;
2124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2126 localstatedir=$ac_optarg ;;
2128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2129 ac_prev=mandir ;;
2130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2131 mandir=$ac_optarg ;;
2133 -nfp | --nfp | --nf)
2134 # Obsolete; use --without-fp.
2135 with_fp=no ;;
2137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2138 | --no-cr | --no-c | -n)
2139 no_create=yes ;;
2141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2143 no_recursion=yes ;;
2145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2147 | --oldin | --oldi | --old | --ol | --o)
2148 ac_prev=oldincludedir ;;
2149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2152 oldincludedir=$ac_optarg ;;
2154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2155 ac_prev=prefix ;;
2156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2157 prefix=$ac_optarg ;;
2159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2160 | --program-pre | --program-pr | --program-p)
2161 ac_prev=program_prefix ;;
2162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2164 program_prefix=$ac_optarg ;;
2166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2167 | --program-suf | --program-su | --program-s)
2168 ac_prev=program_suffix ;;
2169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2171 program_suffix=$ac_optarg ;;
2173 -program-transform-name | --program-transform-name \
2174 | --program-transform-nam | --program-transform-na \
2175 | --program-transform-n | --program-transform- \
2176 | --program-transform | --program-transfor \
2177 | --program-transfo | --program-transf \
2178 | --program-trans | --program-tran \
2179 | --progr-tra | --program-tr | --program-t)
2180 ac_prev=program_transform_name ;;
2181 -program-transform-name=* | --program-transform-name=* \
2182 | --program-transform-nam=* | --program-transform-na=* \
2183 | --program-transform-n=* | --program-transform-=* \
2184 | --program-transform=* | --program-transfor=* \
2185 | --program-transfo=* | --program-transf=* \
2186 | --program-trans=* | --program-tran=* \
2187 | --progr-tra=* | --program-tr=* | --program-t=*)
2188 program_transform_name=$ac_optarg ;;
2190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2191 ac_prev=pdfdir ;;
2192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2193 pdfdir=$ac_optarg ;;
2195 -psdir | --psdir | --psdi | --psd | --ps)
2196 ac_prev=psdir ;;
2197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2198 psdir=$ac_optarg ;;
2200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2201 | -silent | --silent | --silen | --sile | --sil)
2202 silent=yes ;;
2204 -runstatedir | --runstatedir | --runstatedi | --runstated \
2205 | --runstate | --runstat | --runsta | --runst | --runs \
2206 | --run | --ru | --r)
2207 ac_prev=runstatedir ;;
2208 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2209 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2210 | --run=* | --ru=* | --r=*)
2211 runstatedir=$ac_optarg ;;
2213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2214 ac_prev=sbindir ;;
2215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2216 | --sbi=* | --sb=*)
2217 sbindir=$ac_optarg ;;
2219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2221 | --sharedst | --shareds | --shared | --share | --shar \
2222 | --sha | --sh)
2223 ac_prev=sharedstatedir ;;
2224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2227 | --sha=* | --sh=*)
2228 sharedstatedir=$ac_optarg ;;
2230 -site | --site | --sit)
2231 ac_prev=site ;;
2232 -site=* | --site=* | --sit=*)
2233 site=$ac_optarg ;;
2235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2236 ac_prev=srcdir ;;
2237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2238 srcdir=$ac_optarg ;;
2240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2241 | --syscon | --sysco | --sysc | --sys | --sy)
2242 ac_prev=sysconfdir ;;
2243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2245 sysconfdir=$ac_optarg ;;
2247 -target | --target | --targe | --targ | --tar | --ta | --t)
2248 ac_prev=target_alias ;;
2249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2250 target_alias=$ac_optarg ;;
2252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2253 verbose=yes ;;
2255 -version | --version | --versio | --versi | --vers | -V)
2256 ac_init_version=: ;;
2258 -with-* | --with-*)
2259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2260 # Reject names that are not valid shell variable names.
2261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2262 as_fn_error $? "invalid package name: $ac_useropt"
2263 ac_useropt_orig=$ac_useropt
2264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2265 case $ac_user_opts in
2267 "with_$ac_useropt"
2268 "*) ;;
2269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2270 ac_unrecognized_sep=', ';;
2271 esac
2272 eval with_$ac_useropt=\$ac_optarg ;;
2274 -without-* | --without-*)
2275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2276 # Reject names that are not valid shell variable names.
2277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2278 as_fn_error $? "invalid package name: $ac_useropt"
2279 ac_useropt_orig=$ac_useropt
2280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2281 case $ac_user_opts in
2283 "with_$ac_useropt"
2284 "*) ;;
2285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2286 ac_unrecognized_sep=', ';;
2287 esac
2288 eval with_$ac_useropt=no ;;
2290 --x)
2291 # Obsolete; use --with-x.
2292 with_x=yes ;;
2294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2295 | --x-incl | --x-inc | --x-in | --x-i)
2296 ac_prev=x_includes ;;
2297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2299 x_includes=$ac_optarg ;;
2301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2303 ac_prev=x_libraries ;;
2304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2306 x_libraries=$ac_optarg ;;
2308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2309 Try \`$0 --help' for more information"
2312 *=*)
2313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2314 # Reject names that are not valid shell variable names.
2315 case $ac_envvar in #(
2316 '' | [0-9]* | *[!_$as_cr_alnum]* )
2317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2318 esac
2319 eval $ac_envvar=\$ac_optarg
2320 export $ac_envvar ;;
2323 # FIXME: should be removed in autoconf 3.0.
2324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2330 esac
2331 done
2333 if test -n "$ac_prev"; then
2334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2335 as_fn_error $? "missing argument to $ac_option"
2338 if test -n "$ac_unrecognized_opts"; then
2339 case $enable_option_checking in
2340 no) ;;
2341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2343 esac
2346 # Check all directory arguments for consistency.
2347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2348 datadir sysconfdir sharedstatedir localstatedir includedir \
2349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2350 libdir localedir mandir runstatedir
2352 eval ac_val=\$$ac_var
2353 # Remove trailing slashes.
2354 case $ac_val in
2355 */ )
2356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2357 eval $ac_var=\$ac_val;;
2358 esac
2359 # Be sure to have absolute directory names.
2360 case $ac_val in
2361 [\\/$]* | ?:[\\/]* ) continue;;
2362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2363 esac
2364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2365 done
2367 # There might be people who depend on the old broken behavior: `$host'
2368 # used to hold the argument of --host etc.
2369 # FIXME: To remove some day.
2370 build=$build_alias
2371 host=$host_alias
2372 target=$target_alias
2374 # FIXME: To remove some day.
2375 if test "x$host_alias" != x; then
2376 if test "x$build_alias" = x; then
2377 cross_compiling=maybe
2378 elif test "x$build_alias" != "x$host_alias"; then
2379 cross_compiling=yes
2383 ac_tool_prefix=
2384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2386 test "$silent" = yes && exec 6>/dev/null
2389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2390 ac_ls_di=`ls -di .` &&
2391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2392 as_fn_error $? "working directory cannot be determined"
2393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2394 as_fn_error $? "pwd does not report name of working directory"
2397 # Find the source files, if location was not specified.
2398 if test -z "$srcdir"; then
2399 ac_srcdir_defaulted=yes
2400 # Try the directory containing this script, then the parent directory.
2401 ac_confdir=`$as_dirname -- "$as_myself" ||
2402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2403 X"$as_myself" : 'X\(//\)[^/]' \| \
2404 X"$as_myself" : 'X\(//\)$' \| \
2405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2406 $as_echo X"$as_myself" |
2407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2408 s//\1/
2411 /^X\(\/\/\)[^/].*/{
2412 s//\1/
2415 /^X\(\/\/\)$/{
2416 s//\1/
2419 /^X\(\/\).*/{
2420 s//\1/
2423 s/.*/./; q'`
2424 srcdir=$ac_confdir
2425 if test ! -r "$srcdir/$ac_unique_file"; then
2426 srcdir=..
2428 else
2429 ac_srcdir_defaulted=no
2431 if test ! -r "$srcdir/$ac_unique_file"; then
2432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2436 ac_abs_confdir=`(
2437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2438 pwd)`
2439 # When building in place, set srcdir=.
2440 if test "$ac_abs_confdir" = "$ac_pwd"; then
2441 srcdir=.
2443 # Remove unnecessary trailing slashes from srcdir.
2444 # Double slashes in file names in object file debugging info
2445 # mess up M-x gdb in Emacs.
2446 case $srcdir in
2447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2448 esac
2449 for ac_var in $ac_precious_vars; do
2450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2451 eval ac_env_${ac_var}_value=\$${ac_var}
2452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2454 done
2457 # Report the --help message.
2459 if test "$ac_init_help" = "long"; then
2460 # Omit some internal or obsolete options to make the list less imposing.
2461 # This message is too long to be a string in the A/UX 3.1 sh.
2462 cat <<_ACEOF
2463 \`configure' configures Wine 5.9 to adapt to many kinds of systems.
2465 Usage: $0 [OPTION]... [VAR=VALUE]...
2467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2468 VAR=VALUE. See below for descriptions of some of the useful variables.
2470 Defaults for the options are specified in brackets.
2472 Configuration:
2473 -h, --help display this help and exit
2474 --help=short display options specific to this package
2475 --help=recursive display the short help of all the included packages
2476 -V, --version display version information and exit
2477 -q, --quiet, --silent do not print \`checking ...' messages
2478 --cache-file=FILE cache test results in FILE [disabled]
2479 -C, --config-cache alias for \`--cache-file=config.cache'
2480 -n, --no-create do not create output files
2481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2483 Installation directories:
2484 --prefix=PREFIX install architecture-independent files in PREFIX
2485 [$ac_default_prefix]
2486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2487 [PREFIX]
2489 By default, \`make install' will install all the files in
2490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2492 for instance \`--prefix=\$HOME'.
2494 For better control, use the options below.
2496 Fine tuning of the installation directories:
2497 --bindir=DIR user executables [EPREFIX/bin]
2498 --sbindir=DIR system admin executables [EPREFIX/sbin]
2499 --libexecdir=DIR program executables [EPREFIX/libexec]
2500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2503 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2504 --libdir=DIR object code libraries [EPREFIX/lib]
2505 --includedir=DIR C header files [PREFIX/include]
2506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2509 --infodir=DIR info documentation [DATAROOTDIR/info]
2510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2511 --mandir=DIR man documentation [DATAROOTDIR/man]
2512 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2513 --htmldir=DIR html documentation [DOCDIR]
2514 --dvidir=DIR dvi documentation [DOCDIR]
2515 --pdfdir=DIR pdf documentation [DOCDIR]
2516 --psdir=DIR ps documentation [DOCDIR]
2517 _ACEOF
2519 cat <<\_ACEOF
2521 X features:
2522 --x-includes=DIR X include files are in DIR
2523 --x-libraries=DIR X library files are in DIR
2525 System types:
2526 --build=BUILD configure for building on BUILD [guessed]
2527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2528 _ACEOF
2531 if test -n "$ac_init_help"; then
2532 case $ac_init_help in
2533 short | recursive ) echo "Configuration of Wine 5.9:";;
2534 esac
2535 cat <<\_ACEOF
2537 Optional Features:
2538 --disable-option-checking ignore unrecognized --enable/--with options
2539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2541 --disable-win16 do not include Win16 support
2542 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2543 binaries)
2544 --disable-tests do not build the regression tests
2545 --enable-maintainer-mode
2546 enable maintainer-specific build rules
2547 --enable-werror treat compilation warnings as errors
2548 --disable-largefile omit support for large files
2550 Optional Packages:
2551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2553 --without-alsa do not use the Alsa sound support
2554 --without-capi do not use CAPI (ISDN support)
2555 --without-cms do not use CMS (color management support)
2556 --without-coreaudio do not use the CoreAudio sound support
2557 --without-cups do not use CUPS
2558 --without-curses do not use (n)curses
2559 --without-dbus do not use DBus (dynamic device support)
2560 --without-faudio do not use FAudio (XAudio2 support)
2561 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2562 --without-fontconfig do not use fontconfig
2563 --without-freetype do not use the FreeType library
2564 --without-gettext do not use gettext
2565 --with-gettextpo use the GetTextPO library to rebuild po files
2566 --without-gphoto do not use gphoto (Digital Camera support)
2567 --without-glu do not use the GLU library
2568 --without-gnutls do not use GnuTLS (schannel support)
2569 --without-gsm do not use libgsm (GSM 06.10 codec support)
2570 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2571 --without-gstreamer do not use GStreamer (codecs support)
2572 --without-hal do not use HAL (dynamic device support)
2573 --without-inotify do not use inotify (filesystem change notifications)
2574 --without-jpeg do not use JPEG
2575 --without-krb5 do not use krb5 (Kerberos)
2576 --without-ldap do not use LDAP
2577 --without-mingw do not use the MinGW cross-compiler
2578 --without-mpg123 do not use the mpg123 library
2579 --without-netapi do not use the Samba NetAPI library
2580 --without-openal do not use OpenAL
2581 --without-opencl do not use OpenCL
2582 --without-opengl do not use OpenGL
2583 --without-osmesa do not use the OSMesa library
2584 --without-oss do not use the OSS sound support
2585 --without-pcap do not use the Packet Capture library
2586 --without-png do not use PNG
2587 --without-pthread do not use the pthread library
2588 --without-pulse do not use PulseAudio sound support
2589 --without-sane do not use SANE (scanner support)
2590 --without-sdl do not use SDL
2591 --without-tiff do not use TIFF
2592 --without-udev do not use udev (plug and play support)
2593 --without-unwind do not use the libunwind library (exception
2594 handling)
2595 --without-usb do not use the libusb library
2596 --without-v4l2 do not use v4l2 (video capture)
2597 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2598 --without-vulkan do not use Vulkan
2599 --without-xcomposite do not use the Xcomposite extension
2600 --without-xcursor do not use the Xcursor extension
2601 --without-xfixes do not use Xfixes for clipboard change notifications
2602 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2603 --without-xinput do not use the Xinput extension
2604 --without-xinput2 do not use the Xinput 2 extension
2605 --without-xml do not use XML
2606 --without-xrandr do not use Xrandr (multi-monitor support)
2607 --without-xrender do not use the Xrender extension
2608 --without-xshape do not use the Xshape extension
2609 --without-xshm do not use XShm (shared memory extension)
2610 --without-xslt do not use XSLT
2611 --without-xxf86vm do not use XFree video mode extension
2612 --with-wine-tools=DIR use Wine tools from directory DIR
2613 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2614 --with-x use the X Window System
2616 Some influential environment variables:
2617 CC C compiler command
2618 CFLAGS C compiler flags
2619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2620 nonstandard directory <lib dir>
2621 LIBS libraries to pass to the linker, e.g. -l<library>
2622 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2623 you have headers in a nonstandard directory <include dir>
2624 CXX C++ compiler command
2625 CXXFLAGS C++ compiler flags
2626 CPP C preprocessor
2627 OBJC Objective C compiler command
2628 OBJCFLAGS Objective C compiler flags
2629 OBJCPP Objective C preprocessor
2630 XMKMF Path to xmkmf, Makefile generator for X Window System
2631 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2632 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2633 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2634 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2635 INOTIFY_CFLAGS
2636 C compiler flags for libinotify, overriding pkg-config
2637 INOTIFY_LIBS
2638 Linker flags for libinotify, overriding pkg-config
2639 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2640 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2641 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2642 HAL_LIBS Linker flags for hal, overriding pkg-config
2643 GNUTLS_CFLAGS
2644 C compiler flags for gnutls, overriding pkg-config
2645 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2646 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2647 SANE_LIBS Linker flags for libsane, overriding pkg-config
2648 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2649 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2650 GPHOTO2_CFLAGS
2651 C compiler flags for libgphoto2, overriding pkg-config
2652 GPHOTO2_LIBS
2653 Linker flags for libgphoto2, overriding pkg-config
2654 GPHOTO2_PORT_CFLAGS
2655 C compiler flags for libgphoto2_port, overriding pkg-config
2656 GPHOTO2_PORT_LIBS
2657 Linker flags for libgphoto2_port, overriding pkg-config
2658 LCMS2_CFLAGS
2659 C compiler flags for lcms2, overriding pkg-config
2660 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2661 FREETYPE_CFLAGS
2662 C compiler flags for freetype2, overriding pkg-config
2663 FREETYPE_LIBS
2664 Linker flags for freetype2, overriding pkg-config
2665 PULSE_CFLAGS
2666 C compiler flags for libpulse, overriding pkg-config
2667 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2668 GSTREAMER_CFLAGS
2669 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2670 gstreamer-audio-1.0, overriding pkg-config
2671 GSTREAMER_LIBS
2672 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2673 gstreamer-audio-1.0, overriding pkg-config
2674 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2675 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2676 UNWIND_CFLAGS
2677 C compiler flags for libunwind, overriding pkg-config
2678 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2679 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2680 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2681 FAUDIO_CFLAGS
2682 C compiler flags for faudio, overriding pkg-config
2683 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2684 CAPI20_CFLAGS
2685 C compiler flags for capi20, overriding pkg-config
2686 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2687 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2688 CUPS_LIBS Linker flags for cups, overriding pkg-config
2689 FONTCONFIG_CFLAGS
2690 C compiler flags for fontconfig, overriding pkg-config
2691 FONTCONFIG_LIBS
2692 Linker flags for fontconfig, overriding pkg-config
2693 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2694 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2695 GSSAPI_CFLAGS
2696 C compiler flags for krb5-gssapi, overriding pkg-config
2697 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2698 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2699 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2700 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2701 PNG_LIBS Linker flags for libpng, overriding pkg-config
2702 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2703 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2704 MPG123_CFLAGS
2705 C compiler flags for libmpg123, overriding pkg-config
2706 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2707 NETAPI_CFLAGS
2708 C compiler flags for netapi, overriding pkg-config
2709 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2710 VKD3D_CFLAGS
2711 C compiler flags for libvkd3d, overriding pkg-config
2712 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2713 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2714 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2716 Use these variables to override the choices made by `configure' or to help
2717 it to find libraries and programs with nonstandard names/locations.
2719 Report bugs to <wine-devel@winehq.org>.
2720 Wine home page: <https://www.winehq.org>.
2721 _ACEOF
2722 ac_status=$?
2725 if test "$ac_init_help" = "recursive"; then
2726 # If there are subdirs, report their specific --help.
2727 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2728 test -d "$ac_dir" ||
2729 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2730 continue
2731 ac_builddir=.
2733 case "$ac_dir" in
2734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2737 # A ".." for each directory in $ac_dir_suffix.
2738 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2739 case $ac_top_builddir_sub in
2740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2742 esac ;;
2743 esac
2744 ac_abs_top_builddir=$ac_pwd
2745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2746 # for backward compatibility:
2747 ac_top_builddir=$ac_top_build_prefix
2749 case $srcdir in
2750 .) # We are building in place.
2751 ac_srcdir=.
2752 ac_top_srcdir=$ac_top_builddir_sub
2753 ac_abs_top_srcdir=$ac_pwd ;;
2754 [\\/]* | ?:[\\/]* ) # Absolute name.
2755 ac_srcdir=$srcdir$ac_dir_suffix;
2756 ac_top_srcdir=$srcdir
2757 ac_abs_top_srcdir=$srcdir ;;
2758 *) # Relative name.
2759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2760 ac_top_srcdir=$ac_top_build_prefix$srcdir
2761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2762 esac
2763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2765 cd "$ac_dir" || { ac_status=$?; continue; }
2766 # Check for guested configure.
2767 if test -f "$ac_srcdir/configure.gnu"; then
2768 echo &&
2769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2770 elif test -f "$ac_srcdir/configure"; then
2771 echo &&
2772 $SHELL "$ac_srcdir/configure" --help=recursive
2773 else
2774 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2775 fi || ac_status=$?
2776 cd "$ac_pwd" || { ac_status=$?; break; }
2777 done
2780 test -n "$ac_init_help" && exit $ac_status
2781 if $ac_init_version; then
2782 cat <<\_ACEOF
2783 Wine configure 5.9
2784 generated by GNU Autoconf 2.69
2786 Copyright (C) 2012 Free Software Foundation, Inc.
2787 This configure script is free software; the Free Software Foundation
2788 gives unlimited permission to copy, distribute and modify it.
2789 _ACEOF
2790 exit
2793 ## ------------------------ ##
2794 ## Autoconf initialization. ##
2795 ## ------------------------ ##
2797 # ac_fn_c_try_compile LINENO
2798 # --------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then :
2823 ac_retval=0
2824 else
2825 $as_echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_c_try_compile
2835 # ac_fn_cxx_try_compile LINENO
2836 # ----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_cxx_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext
2842 if { { ac_try="$ac_compile"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2850 ac_status=$?
2851 if test -s conftest.err; then
2852 grep -v '^ *+' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2854 mv -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then :
2861 ac_retval=0
2862 else
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_cxx_try_compile
2873 # ac_fn_c_try_link LINENO
2874 # -----------------------
2875 # Try to link conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_c_try_link ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext conftest$ac_exeext
2880 if { { ac_try="$ac_link"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_link") 2>conftest.err
2888 ac_status=$?
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest$ac_exeext && {
2899 test "$cross_compiling" = yes ||
2900 test -x conftest$ac_exeext
2901 }; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2910 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2911 # interfere with the next link command; also delete a directory that is
2912 # left behind by Apple's compiler. We do this before executing the actions.
2913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status $ac_retval
2917 } # ac_fn_c_try_link
2919 # ac_fn_c_try_cpp LINENO
2920 # ----------------------
2921 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2922 ac_fn_c_try_cpp ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 if { { ac_try="$ac_cpp conftest.$ac_ext"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } > conftest.i && {
2941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 }; then :
2944 ac_retval=0
2945 else
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 ac_retval=1
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 as_fn_set_status $ac_retval
2954 } # ac_fn_c_try_cpp
2956 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2957 # -------------------------------------------------------
2958 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2959 # the include files in INCLUDES and setting the cache variable VAR
2960 # accordingly.
2961 ac_fn_c_check_header_mongrel ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if eval \${$3+:} false; then :
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2966 $as_echo_n "checking for $2... " >&6; }
2967 if eval \${$3+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 eval ac_res=\$$3
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 else
2974 # Is the header compilable?
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2976 $as_echo_n "checking $2 usability... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 ac_header_compiler=yes
2984 else
2985 ac_header_compiler=no
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2989 $as_echo "$ac_header_compiler" >&6; }
2991 # Is the header present?
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2993 $as_echo_n "checking $2 presence... " >&6; }
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2996 #include <$2>
2997 _ACEOF
2998 if ac_fn_c_try_cpp "$LINENO"; then :
2999 ac_header_preproc=yes
3000 else
3001 ac_header_preproc=no
3003 rm -f conftest.err conftest.i conftest.$ac_ext
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3005 $as_echo "$ac_header_preproc" >&6; }
3007 # So? What about this header?
3008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3009 yes:no: )
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3011 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3015 no:yes:* )
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3017 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3019 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3021 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3023 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3025 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3026 ( $as_echo "## ------------------------------------ ##
3027 ## Report this to wine-devel@winehq.org ##
3028 ## ------------------------------------ ##"
3029 ) | sed "s/^/$as_me: WARNING: /" >&2
3031 esac
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3033 $as_echo_n "checking for $2... " >&6; }
3034 if eval \${$3+:} false; then :
3035 $as_echo_n "(cached) " >&6
3036 else
3037 eval "$3=\$ac_header_compiler"
3039 eval ac_res=\$$3
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 $as_echo "$ac_res" >&6; }
3043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3045 } # ac_fn_c_check_header_mongrel
3047 # ac_fn_c_try_run LINENO
3048 # ----------------------
3049 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3050 # that executables *can* be run.
3051 ac_fn_c_try_run ()
3053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3054 if { { ac_try="$ac_link"
3055 case "(($ac_try" in
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3058 esac
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link") 2>&5
3062 ac_status=$?
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then :
3075 ac_retval=0
3076 else
3077 $as_echo "$as_me: program exited with status $ac_status" >&5
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 ac_retval=$ac_status
3083 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 as_fn_set_status $ac_retval
3087 } # ac_fn_c_try_run
3089 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3090 # -------------------------------------------------------
3091 # Tests whether HEADER exists and can be compiled using the include files in
3092 # INCLUDES, setting the cache variable VAR accordingly.
3093 ac_fn_c_check_header_compile ()
3095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3097 $as_echo_n "checking for $2... " >&6; }
3098 if eval \${$3+:} false; then :
3099 $as_echo_n "(cached) " >&6
3100 else
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 #include <$2>
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 eval "$3=yes"
3108 else
3109 eval "$3=no"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 $as_echo "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_header_compile
3120 # ac_fn_objc_try_compile LINENO
3121 # -----------------------------
3122 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3123 ac_fn_objc_try_compile ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 rm -f conftest.$ac_objext
3127 if { { ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_compile") 2>conftest.err
3135 ac_status=$?
3136 if test -s conftest.err; then
3137 grep -v '^ *+' conftest.err >conftest.er1
3138 cat conftest.er1 >&5
3139 mv -f conftest.er1 conftest.err
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; } && {
3143 test -z "$ac_objc_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then :
3146 ac_retval=0
3147 else
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_retval=1
3153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 as_fn_set_status $ac_retval
3156 } # ac_fn_objc_try_compile
3158 # ac_fn_objc_try_cpp LINENO
3159 # -------------------------
3160 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3161 ac_fn_objc_try_cpp ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 if { { ac_try="$ac_cpp conftest.$ac_ext"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3172 ac_status=$?
3173 if test -s conftest.err; then
3174 grep -v '^ *+' conftest.err >conftest.er1
3175 cat conftest.er1 >&5
3176 mv -f conftest.er1 conftest.err
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; } > conftest.i && {
3180 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3181 test ! -s conftest.err
3182 }; then :
3183 ac_retval=0
3184 else
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 ac_retval=1
3190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191 as_fn_set_status $ac_retval
3193 } # ac_fn_objc_try_cpp
3195 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3196 # ----------------------------------------------------------
3197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3198 # the include files in INCLUDES and setting the cache variable VAR
3199 # accordingly.
3200 ac_fn_objc_check_header_mongrel ()
3202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203 if eval \${$3+:} false; then :
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 eval ac_res=\$$3
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3211 $as_echo "$ac_res" >&6; }
3212 else
3213 # Is the header compilable?
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3215 $as_echo_n "checking $2 usability... " >&6; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3219 #include <$2>
3220 _ACEOF
3221 if ac_fn_objc_try_compile "$LINENO"; then :
3222 ac_header_compiler=yes
3223 else
3224 ac_header_compiler=no
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3228 $as_echo "$ac_header_compiler" >&6; }
3230 # Is the header present?
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3232 $as_echo_n "checking $2 presence... " >&6; }
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3235 #include <$2>
3236 _ACEOF
3237 if ac_fn_objc_try_cpp "$LINENO"; then :
3238 ac_header_preproc=yes
3239 else
3240 ac_header_preproc=no
3242 rm -f conftest.err conftest.i conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3244 $as_echo "$ac_header_preproc" >&6; }
3246 # So? What about this header?
3247 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3248 yes:no: )
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3254 no:yes:* )
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3258 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3262 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3265 ( $as_echo "## ------------------------------------ ##
3266 ## Report this to wine-devel@winehq.org ##
3267 ## ------------------------------------ ##"
3268 ) | sed "s/^/$as_me: WARNING: /" >&2
3270 esac
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 eval "$3=\$ac_header_compiler"
3278 eval ac_res=\$$3
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3280 $as_echo "$ac_res" >&6; }
3282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3284 } # ac_fn_objc_check_header_mongrel
3286 # ac_fn_c_check_func LINENO FUNC VAR
3287 # ----------------------------------
3288 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3289 ac_fn_c_check_func ()
3291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3293 $as_echo_n "checking for $2... " >&6; }
3294 if eval \${$3+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3299 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3301 #define $2 innocuous_$2
3303 /* System header to define __stub macros and hopefully few prototypes,
3304 which can conflict with char $2 (); below.
3305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3306 <limits.h> exists even on freestanding compilers. */
3308 #ifdef __STDC__
3309 # include <limits.h>
3310 #else
3311 # include <assert.h>
3312 #endif
3314 #undef $2
3316 /* Override any GCC internal prototype to avoid an error.
3317 Use char because int might match the return type of a GCC
3318 builtin and then its argument prototype would still apply. */
3319 #ifdef __cplusplus
3320 extern "C"
3321 #endif
3322 char $2 ();
3323 /* The GNU C library defines this for functions which it implements
3324 to always fail with ENOSYS. Some functions are actually named
3325 something starting with __ and the normal name is an alias. */
3326 #if defined __stub_$2 || defined __stub___$2
3327 choke me
3328 #endif
3331 main ()
3333 return $2 ();
3335 return 0;
3337 _ACEOF
3338 if ac_fn_c_try_link "$LINENO"; then :
3339 eval "$3=yes"
3340 else
3341 eval "$3=no"
3343 rm -f core conftest.err conftest.$ac_objext \
3344 conftest$ac_exeext conftest.$ac_ext
3346 eval ac_res=\$$3
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3348 $as_echo "$ac_res" >&6; }
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 } # ac_fn_c_check_func
3353 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3354 # ----------------------------------------------------
3355 # Tries to find if the field MEMBER exists in type AGGR, after including
3356 # INCLUDES, setting cache variable VAR accordingly.
3357 ac_fn_c_check_member ()
3359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3361 $as_echo_n "checking for $2.$3... " >&6; }
3362 if eval \${$4+:} false; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3371 static $2 ac_aggr;
3372 if (ac_aggr.$3)
3373 return 0;
3375 return 0;
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 eval "$4=yes"
3380 else
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 main ()
3387 static $2 ac_aggr;
3388 if (sizeof ac_aggr.$3)
3389 return 0;
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 eval "$4=yes"
3396 else
3397 eval "$4=no"
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 eval ac_res=\$$4
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3405 $as_echo "$ac_res" >&6; }
3406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3408 } # ac_fn_c_check_member
3410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3411 # -------------------------------------------
3412 # Tests whether TYPE exists after having included INCLUDES, setting cache
3413 # variable VAR accordingly.
3414 ac_fn_c_check_type ()
3416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3418 $as_echo_n "checking for $2... " >&6; }
3419 if eval \${$3+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 eval "$3=no"
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 main ()
3429 if (sizeof ($2))
3430 return 0;
3432 return 0;
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3442 if (sizeof (($2)))
3443 return 0;
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3450 else
3451 eval "$3=yes"
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 eval ac_res=\$$3
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3459 $as_echo "$ac_res" >&6; }
3460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3462 } # ac_fn_c_check_type
3463 cat >config.log <<_ACEOF
3464 This file contains any messages produced by compilers while
3465 running configure, to aid debugging if configure makes a mistake.
3467 It was created by Wine $as_me 5.9, which was
3468 generated by GNU Autoconf 2.69. Invocation command line was
3470 $ $0 $@
3472 _ACEOF
3473 exec 5>>config.log
3475 cat <<_ASUNAME
3476 ## --------- ##
3477 ## Platform. ##
3478 ## --------- ##
3480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3497 _ASUNAME
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 $as_echo "PATH: $as_dir"
3505 done
3506 IFS=$as_save_IFS
3508 } >&5
3510 cat >&5 <<_ACEOF
3513 ## ----------- ##
3514 ## Core tests. ##
3515 ## ----------- ##
3517 _ACEOF
3520 # Keep a trace of the command line.
3521 # Strip out --no-create and --no-recursion so they do not pile up.
3522 # Strip out --silent because we don't want to record it for future runs.
3523 # Also quote any args containing shell meta-characters.
3524 # Make two passes to allow for proper duplicate-argument suppression.
3525 ac_configure_args=
3526 ac_configure_args0=
3527 ac_configure_args1=
3528 ac_must_keep_next=false
3529 for ac_pass in 1 2
3531 for ac_arg
3533 case $ac_arg in
3534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3536 | -silent | --silent | --silen | --sile | --sil)
3537 continue ;;
3538 *\'*)
3539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3540 esac
3541 case $ac_pass in
3542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3544 as_fn_append ac_configure_args1 " '$ac_arg'"
3545 if test $ac_must_keep_next = true; then
3546 ac_must_keep_next=false # Got value, back to normal.
3547 else
3548 case $ac_arg in
3549 *=* | --config-cache | -C | -disable-* | --disable-* \
3550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3552 | -with-* | --with-* | -without-* | --without-* | --x)
3553 case "$ac_configure_args0 " in
3554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3555 esac
3557 -* ) ac_must_keep_next=true ;;
3558 esac
3560 as_fn_append ac_configure_args " '$ac_arg'"
3562 esac
3563 done
3564 done
3565 { ac_configure_args0=; unset ac_configure_args0;}
3566 { ac_configure_args1=; unset ac_configure_args1;}
3568 # When interrupted or exit'd, cleanup temporary files, and complete
3569 # config.log. We remove comments because anyway the quotes in there
3570 # would cause problems or look ugly.
3571 # WARNING: Use '\'' to represent an apostrophe within the trap.
3572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3573 trap 'exit_status=$?
3574 # Save into config.log some information that might help in debugging.
3576 echo
3578 $as_echo "## ---------------- ##
3579 ## Cache variables. ##
3580 ## ---------------- ##"
3581 echo
3582 # The following way of writing the cache mishandles newlines in values,
3584 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3585 eval ac_val=\$$ac_var
3586 case $ac_val in #(
3587 *${as_nl}*)
3588 case $ac_var in #(
3589 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3591 esac
3592 case $ac_var in #(
3593 _ | IFS | as_nl) ;; #(
3594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3595 *) { eval $ac_var=; unset $ac_var;} ;;
3596 esac ;;
3597 esac
3598 done
3599 (set) 2>&1 |
3600 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3601 *${as_nl}ac_space=\ *)
3602 sed -n \
3603 "s/'\''/'\''\\\\'\'''\''/g;
3604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3605 ;; #(
3607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3609 esac |
3610 sort
3612 echo
3614 $as_echo "## ----------------- ##
3615 ## Output variables. ##
3616 ## ----------------- ##"
3617 echo
3618 for ac_var in $ac_subst_vars
3620 eval ac_val=\$$ac_var
3621 case $ac_val in
3622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3623 esac
3624 $as_echo "$ac_var='\''$ac_val'\''"
3625 done | sort
3626 echo
3628 if test -n "$ac_subst_files"; then
3629 $as_echo "## ------------------- ##
3630 ## File substitutions. ##
3631 ## ------------------- ##"
3632 echo
3633 for ac_var in $ac_subst_files
3635 eval ac_val=\$$ac_var
3636 case $ac_val in
3637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3638 esac
3639 $as_echo "$ac_var='\''$ac_val'\''"
3640 done | sort
3641 echo
3644 if test -s confdefs.h; then
3645 $as_echo "## ----------- ##
3646 ## confdefs.h. ##
3647 ## ----------- ##"
3648 echo
3649 cat confdefs.h
3650 echo
3652 test "$ac_signal" != 0 &&
3653 $as_echo "$as_me: caught signal $ac_signal"
3654 $as_echo "$as_me: exit $exit_status"
3655 } >&5
3656 rm -f core *.core core.conftest.* &&
3657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3658 exit $exit_status
3660 for ac_signal in 1 2 13 15; do
3661 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3662 done
3663 ac_signal=0
3665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3666 rm -f -r conftest* confdefs.h
3668 $as_echo "/* confdefs.h */" > confdefs.h
3670 # Predefined preprocessor variables.
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_NAME "$PACKAGE_NAME"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3682 _ACEOF
3684 cat >>confdefs.h <<_ACEOF
3685 #define PACKAGE_STRING "$PACKAGE_STRING"
3686 _ACEOF
3688 cat >>confdefs.h <<_ACEOF
3689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3690 _ACEOF
3692 cat >>confdefs.h <<_ACEOF
3693 #define PACKAGE_URL "$PACKAGE_URL"
3694 _ACEOF
3697 # Let the site file select an alternate cache file if it wants to.
3698 # Prefer an explicitly selected file to automatically selected ones.
3699 ac_site_file1=NONE
3700 ac_site_file2=NONE
3701 if test -n "$CONFIG_SITE"; then
3702 # We do not want a PATH search for config.site.
3703 case $CONFIG_SITE in #((
3704 -*) ac_site_file1=./$CONFIG_SITE;;
3705 */*) ac_site_file1=$CONFIG_SITE;;
3706 *) ac_site_file1=./$CONFIG_SITE;;
3707 esac
3708 elif test "x$prefix" != xNONE; then
3709 ac_site_file1=$prefix/share/config.site
3710 ac_site_file2=$prefix/etc/config.site
3711 else
3712 ac_site_file1=$ac_default_prefix/share/config.site
3713 ac_site_file2=$ac_default_prefix/etc/config.site
3715 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3717 test "x$ac_site_file" = xNONE && continue
3718 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3720 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3721 sed 's/^/| /' "$ac_site_file" >&5
3722 . "$ac_site_file" \
3723 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3725 as_fn_error $? "failed to load site script $ac_site_file
3726 See \`config.log' for more details" "$LINENO" 5; }
3728 done
3730 if test -r "$cache_file"; then
3731 # Some versions of bash will fail to source /dev/null (special files
3732 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3733 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3735 $as_echo "$as_me: loading cache $cache_file" >&6;}
3736 case $cache_file in
3737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3738 *) . "./$cache_file";;
3739 esac
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3743 $as_echo "$as_me: creating cache $cache_file" >&6;}
3744 >$cache_file
3747 # Check that the precious variables saved in the cache have kept the same
3748 # value.
3749 ac_cache_corrupted=false
3750 for ac_var in $ac_precious_vars; do
3751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3752 eval ac_new_set=\$ac_env_${ac_var}_set
3753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3754 eval ac_new_val=\$ac_env_${ac_var}_value
3755 case $ac_old_set,$ac_new_set in
3756 set,)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3759 ac_cache_corrupted=: ;;
3760 ,set)
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3763 ac_cache_corrupted=: ;;
3764 ,);;
3766 if test "x$ac_old_val" != "x$ac_new_val"; then
3767 # differences in whitespace do not lead to failure.
3768 ac_old_val_w=`echo x $ac_old_val`
3769 ac_new_val_w=`echo x $ac_new_val`
3770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3773 ac_cache_corrupted=:
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3777 eval $ac_var=\$ac_old_val
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3783 fi;;
3784 esac
3785 # Pass precious variables to config.status.
3786 if test "$ac_new_set" = set; then
3787 case $ac_new_val in
3788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3789 *) ac_arg=$ac_var=$ac_new_val ;;
3790 esac
3791 case " $ac_configure_args " in
3792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3794 esac
3796 done
3797 if $ac_cache_corrupted; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3802 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3804 ## -------------------- ##
3805 ## Main body of script. ##
3806 ## -------------------- ##
3808 ac_ext=c
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 ac_config_headers="$ac_config_headers include/config.h"
3818 ac_aux_dir=
3819 for ac_dir in tools "$srcdir"/tools; do
3820 if test -f "$ac_dir/install-sh"; then
3821 ac_aux_dir=$ac_dir
3822 ac_install_sh="$ac_aux_dir/install-sh -c"
3823 break
3824 elif test -f "$ac_dir/install.sh"; then
3825 ac_aux_dir=$ac_dir
3826 ac_install_sh="$ac_aux_dir/install.sh -c"
3827 break
3828 elif test -f "$ac_dir/shtool"; then
3829 ac_aux_dir=$ac_dir
3830 ac_install_sh="$ac_aux_dir/shtool install -c"
3831 break
3833 done
3834 if test -z "$ac_aux_dir"; then
3835 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3838 # These three variables are undocumented and unsupported,
3839 # and are intended to be withdrawn in a future Autoconf release.
3840 # They can cause serious problems if a builder's source tree is in a directory
3841 # whose full name contains unusual characters.
3842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3848 libwine_version="1.0"
3852 # Check whether --enable-win16 was given.
3853 if test "${enable_win16+set}" = set; then :
3854 enableval=$enable_win16;
3857 # Check whether --enable-win64 was given.
3858 if test "${enable_win64+set}" = set; then :
3859 enableval=$enable_win64;
3862 # Check whether --enable-tests was given.
3863 if test "${enable_tests+set}" = set; then :
3864 enableval=$enable_tests;
3867 # Check whether --enable-maintainer-mode was given.
3868 if test "${enable_maintainer_mode+set}" = set; then :
3869 enableval=$enable_maintainer_mode;
3872 # Check whether --enable-werror was given.
3873 if test "${enable_werror+set}" = set; then :
3874 enableval=$enable_werror;
3879 # Check whether --with-alsa was given.
3880 if test "${with_alsa+set}" = set; then :
3881 withval=$with_alsa;
3885 # Check whether --with-capi was given.
3886 if test "${with_capi+set}" = set; then :
3887 withval=$with_capi;
3891 # Check whether --with-cms was given.
3892 if test "${with_cms+set}" = set; then :
3893 withval=$with_cms;
3897 # Check whether --with-coreaudio was given.
3898 if test "${with_coreaudio+set}" = set; then :
3899 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3903 # Check whether --with-cups was given.
3904 if test "${with_cups+set}" = set; then :
3905 withval=$with_cups;
3909 # Check whether --with-curses was given.
3910 if test "${with_curses+set}" = set; then :
3911 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3915 # Check whether --with-dbus was given.
3916 if test "${with_dbus+set}" = set; then :
3917 withval=$with_dbus;
3921 # Check whether --with-faudio was given.
3922 if test "${with_faudio+set}" = set; then :
3923 withval=$with_faudio;
3927 # Check whether --with-float-abi was given.
3928 if test "${with_float_abi+set}" = set; then :
3929 withval=$with_float_abi;
3933 # Check whether --with-fontconfig was given.
3934 if test "${with_fontconfig+set}" = set; then :
3935 withval=$with_fontconfig;
3939 # Check whether --with-freetype was given.
3940 if test "${with_freetype+set}" = set; then :
3941 withval=$with_freetype;
3945 # Check whether --with-gettext was given.
3946 if test "${with_gettext+set}" = set; then :
3947 withval=$with_gettext;
3951 # Check whether --with-gettextpo was given.
3952 if test "${with_gettextpo+set}" = set; then :
3953 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3957 # Check whether --with-gphoto was given.
3958 if test "${with_gphoto+set}" = set; then :
3959 withval=$with_gphoto;
3963 # Check whether --with-glu was given.
3964 if test "${with_glu+set}" = set; then :
3965 withval=$with_glu;
3969 # Check whether --with-gnutls was given.
3970 if test "${with_gnutls+set}" = set; then :
3971 withval=$with_gnutls;
3975 # Check whether --with-gsm was given.
3976 if test "${with_gsm+set}" = set; then :
3977 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3981 # Check whether --with-gssapi was given.
3982 if test "${with_gssapi+set}" = set; then :
3983 withval=$with_gssapi;
3987 # Check whether --with-gstreamer was given.
3988 if test "${with_gstreamer+set}" = set; then :
3989 withval=$with_gstreamer;
3993 # Check whether --with-hal was given.
3994 if test "${with_hal+set}" = set; then :
3995 withval=$with_hal;
3999 # Check whether --with-inotify was given.
4000 if test "${with_inotify+set}" = set; then :
4001 withval=$with_inotify;
4005 # Check whether --with-jpeg was given.
4006 if test "${with_jpeg+set}" = set; then :
4007 withval=$with_jpeg;
4011 # Check whether --with-krb5 was given.
4012 if test "${with_krb5+set}" = set; then :
4013 withval=$with_krb5;
4017 # Check whether --with-ldap was given.
4018 if test "${with_ldap+set}" = set; then :
4019 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4023 # Check whether --with-mingw was given.
4024 if test "${with_mingw+set}" = set; then :
4025 withval=$with_mingw;
4029 # Check whether --with-mpg123 was given.
4030 if test "${with_mpg123+set}" = set; then :
4031 withval=$with_mpg123;
4035 # Check whether --with-netapi was given.
4036 if test "${with_netapi+set}" = set; then :
4037 withval=$with_netapi;
4041 # Check whether --with-openal was given.
4042 if test "${with_openal+set}" = set; then :
4043 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4047 # Check whether --with-opencl was given.
4048 if test "${with_opencl+set}" = set; then :
4049 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4053 # Check whether --with-opengl was given.
4054 if test "${with_opengl+set}" = set; then :
4055 withval=$with_opengl;
4059 # Check whether --with-osmesa was given.
4060 if test "${with_osmesa+set}" = set; then :
4061 withval=$with_osmesa;
4065 # Check whether --with-oss was given.
4066 if test "${with_oss+set}" = set; then :
4067 withval=$with_oss;
4071 # Check whether --with-pcap was given.
4072 if test "${with_pcap+set}" = set; then :
4073 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4077 # Check whether --with-png was given.
4078 if test "${with_png+set}" = set; then :
4079 withval=$with_png;
4083 # Check whether --with-pthread was given.
4084 if test "${with_pthread+set}" = set; then :
4085 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4089 # Check whether --with-pulse was given.
4090 if test "${with_pulse+set}" = set; then :
4091 withval=$with_pulse;
4095 # Check whether --with-sane was given.
4096 if test "${with_sane+set}" = set; then :
4097 withval=$with_sane;
4101 # Check whether --with-sdl was given.
4102 if test "${with_sdl+set}" = set; then :
4103 withval=$with_sdl;
4107 # Check whether --with-tiff was given.
4108 if test "${with_tiff+set}" = set; then :
4109 withval=$with_tiff;
4113 # Check whether --with-udev was given.
4114 if test "${with_udev+set}" = set; then :
4115 withval=$with_udev;
4119 # Check whether --with-unwind was given.
4120 if test "${with_unwind+set}" = set; then :
4121 withval=$with_unwind;
4125 # Check whether --with-usb was given.
4126 if test "${with_usb+set}" = set; then :
4127 withval=$with_usb;
4131 # Check whether --with-v4l2 was given.
4132 if test "${with_v4l2+set}" = set; then :
4133 withval=$with_v4l2;
4137 # Check whether --with-vkd3d was given.
4138 if test "${with_vkd3d+set}" = set; then :
4139 withval=$with_vkd3d;
4143 # Check whether --with-vulkan was given.
4144 if test "${with_vulkan+set}" = set; then :
4145 withval=$with_vulkan;
4149 # Check whether --with-xcomposite was given.
4150 if test "${with_xcomposite+set}" = set; then :
4151 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4155 # Check whether --with-xcursor was given.
4156 if test "${with_xcursor+set}" = set; then :
4157 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4161 # Check whether --with-xfixes was given.
4162 if test "${with_xfixes+set}" = set; then :
4163 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4167 # Check whether --with-xinerama was given.
4168 if test "${with_xinerama+set}" = set; then :
4169 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4173 # Check whether --with-xinput was given.
4174 if test "${with_xinput+set}" = set; then :
4175 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4179 # Check whether --with-xinput2 was given.
4180 if test "${with_xinput2+set}" = set; then :
4181 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4185 # Check whether --with-xml was given.
4186 if test "${with_xml+set}" = set; then :
4187 withval=$with_xml;
4191 # Check whether --with-xrandr was given.
4192 if test "${with_xrandr+set}" = set; then :
4193 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4197 # Check whether --with-xrender was given.
4198 if test "${with_xrender+set}" = set; then :
4199 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4203 # Check whether --with-xshape was given.
4204 if test "${with_xshape+set}" = set; then :
4205 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4209 # Check whether --with-xshm was given.
4210 if test "${with_xshm+set}" = set; then :
4211 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4215 # Check whether --with-xslt was given.
4216 if test "${with_xslt+set}" = set; then :
4217 withval=$with_xslt;
4221 # Check whether --with-xxf86vm was given.
4222 if test "${with_xxf86vm+set}" = set; then :
4223 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
4228 # Check whether --with-wine-tools was given.
4229 if test "${with_wine_tools+set}" = set; then :
4230 withval=$with_wine_tools;
4234 # Check whether --with-wine64 was given.
4235 if test "${with_wine64+set}" = set; then :
4236 withval=$with_wine64;
4240 # Make sure we can run config.sub.
4241 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4242 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4245 $as_echo_n "checking build system type... " >&6; }
4246 if ${ac_cv_build+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_build_alias=$build_alias
4250 test "x$ac_build_alias" = x &&
4251 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4252 test "x$ac_build_alias" = x &&
4253 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4254 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4255 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4259 $as_echo "$ac_cv_build" >&6; }
4260 case $ac_cv_build in
4261 *-*-*) ;;
4262 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4263 esac
4264 build=$ac_cv_build
4265 ac_save_IFS=$IFS; IFS='-'
4266 set x $ac_cv_build
4267 shift
4268 build_cpu=$1
4269 build_vendor=$2
4270 shift; shift
4271 # Remember, the first character of IFS is used to create $*,
4272 # except with old shells:
4273 build_os=$*
4274 IFS=$ac_save_IFS
4275 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4279 $as_echo_n "checking host system type... " >&6; }
4280 if ${ac_cv_host+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test "x$host_alias" = x; then
4284 ac_cv_host=$ac_cv_build
4285 else
4286 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4287 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4292 $as_echo "$ac_cv_host" >&6; }
4293 case $ac_cv_host in
4294 *-*-*) ;;
4295 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4296 esac
4297 host=$ac_cv_host
4298 ac_save_IFS=$IFS; IFS='-'
4299 set x $ac_cv_host
4300 shift
4301 host_cpu=$1
4302 host_vendor=$2
4303 shift; shift
4304 # Remember, the first character of IFS is used to create $*,
4305 # except with old shells:
4306 host_os=$*
4307 IFS=$ac_save_IFS
4308 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4314 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4315 set x ${MAKE-make}
4316 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4317 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat >conftest.make <<\_ACEOF
4321 SHELL = /bin/sh
4322 all:
4323 @echo '@@@%%%=$(MAKE)=@@@%%%'
4324 _ACEOF
4325 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4326 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4327 *@@@%%%=?*=@@@%%%*)
4328 eval ac_cv_prog_make_${ac_make}_set=yes;;
4330 eval ac_cv_prog_make_${ac_make}_set=no;;
4331 esac
4332 rm -f conftest.make
4334 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4336 $as_echo "yes" >&6; }
4337 SET_MAKE=
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4341 SET_MAKE="MAKE=${MAKE-make}"
4344 ac_ext=c
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 if test -n "$ac_tool_prefix"; then
4350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4351 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_CC+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CC"; then
4358 ac_cv_prog_CC="$CC" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CC=$ac_cv_prog_CC
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$ac_cv_prog_CC"; then
4389 ac_ct_CC=$CC
4390 # Extract the first word of "gcc", so it can be a program name with args.
4391 set dummy gcc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$ac_ct_CC"; then
4398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CC="gcc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4418 if test -n "$ac_ct_CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4420 $as_echo "$ac_ct_CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4426 if test "x$ac_ct_CC" = x; then
4427 CC=""
4428 else
4429 case $cross_compiling:$ac_tool_warned in
4430 yes:)
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4434 esac
4435 CC=$ac_ct_CC
4437 else
4438 CC="$ac_cv_prog_CC"
4441 if test -z "$CC"; then
4442 if test -n "$ac_tool_prefix"; then
4443 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4444 set dummy ${ac_tool_prefix}cc; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_CC+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CC"; then
4451 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_CC="${ac_tool_prefix}cc"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CC=$ac_cv_prog_CC
4471 if test -n "$CC"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4473 $as_echo "$CC" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4482 if test -z "$CC"; then
4483 # Extract the first word of "cc", so it can be a program name with args.
4484 set dummy cc; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_CC+:} false; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4492 else
4493 ac_prog_rejected=no
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH
4497 IFS=$as_save_IFS
4498 test -z "$as_dir" && as_dir=.
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4502 ac_prog_rejected=yes
4503 continue
4505 ac_cv_prog_CC="cc"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4509 done
4510 done
4511 IFS=$as_save_IFS
4513 if test $ac_prog_rejected = yes; then
4514 # We found a bogon in the path, so make sure we never use it.
4515 set dummy $ac_cv_prog_CC
4516 shift
4517 if test $# != 0; then
4518 # We chose a different compiler from the bogus one.
4519 # However, it has the same basename, so the bogon will be chosen
4520 # first if we set CC to just the basename; use the full file name.
4521 shift
4522 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4527 CC=$ac_cv_prog_CC
4528 if test -n "$CC"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4530 $as_echo "$CC" >&6; }
4531 else
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4538 if test -z "$CC"; then
4539 if test -n "$ac_tool_prefix"; then
4540 for ac_prog in cl.exe
4542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_CC+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$CC"; then
4550 ac_cv_prog_CC="$CC" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 CC=$ac_cv_prog_CC
4570 if test -n "$CC"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4572 $as_echo "$CC" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$CC" && break
4580 done
4582 if test -z "$CC"; then
4583 ac_ct_CC=$CC
4584 for ac_prog in cl.exe
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 if test -n "$ac_ct_CC"; then
4594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CC="$ac_prog"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4609 IFS=$as_save_IFS
4613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4614 if test -n "$ac_ct_CC"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4616 $as_echo "$ac_ct_CC" >&6; }
4617 else
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4623 test -n "$ac_ct_CC" && break
4624 done
4626 if test "x$ac_ct_CC" = x; then
4627 CC=""
4628 else
4629 case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635 CC=$ac_ct_CC
4642 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error $? "no acceptable C compiler found in \$PATH
4645 See \`config.log' for more details" "$LINENO" 5; }
4647 # Provide some information about the compiler.
4648 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4649 set X $ac_compile
4650 ac_compiler=$2
4651 for ac_option in --version -v -V -qversion; do
4652 { { ac_try="$ac_compiler $ac_option >&5"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4660 ac_status=$?
4661 if test -s conftest.err; then
4662 sed '10a\
4663 ... rest of stderr output deleted ...
4664 10q' conftest.err >conftest.er1
4665 cat conftest.er1 >&5
4667 rm -f conftest.er1 conftest.err
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }
4670 done
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 ac_clean_files_save=$ac_clean_files
4684 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4685 # Try to create an executable without -o first, disregard a.out.
4686 # It will help us diagnose broken compilers, and finding out an intuition
4687 # of exeext.
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4689 $as_echo_n "checking whether the C compiler works... " >&6; }
4690 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4692 # The possible output files:
4693 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4695 ac_rmfiles=
4696 for ac_file in $ac_files
4698 case $ac_file in
4699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4700 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4701 esac
4702 done
4703 rm -f $ac_rmfiles
4705 if { { ac_try="$ac_link_default"
4706 case "(($ac_try" in
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4709 esac
4710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_link_default") 2>&5
4713 ac_status=$?
4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4715 test $ac_status = 0; }; then :
4716 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4717 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4718 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4719 # so that the user can short-circuit this test for compilers unknown to
4720 # Autoconf.
4721 for ac_file in $ac_files ''
4723 test -f "$ac_file" || continue
4724 case $ac_file in
4725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4727 [ab].out )
4728 # We found the default executable, but exeext='' is most
4729 # certainly right.
4730 break;;
4731 *.* )
4732 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4733 then :; else
4734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4736 # We set ac_cv_exeext here because the later test for it is not
4737 # safe: cross compilers may not add the suffix if given an `-o'
4738 # argument, so we may need to know it at that point already.
4739 # Even if this section looks crufty: it has the advantage of
4740 # actually working.
4741 break;;
4743 break;;
4744 esac
4745 done
4746 test "$ac_cv_exeext" = no && ac_cv_exeext=
4748 else
4749 ac_file=''
4751 if test -z "$ac_file"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4754 $as_echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4759 as_fn_error 77 "C compiler cannot create executables
4760 See \`config.log' for more details" "$LINENO" 5; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4766 $as_echo_n "checking for C compiler default output file name... " >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4768 $as_echo "$ac_file" >&6; }
4769 ac_exeext=$ac_cv_exeext
4771 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4772 ac_clean_files=$ac_clean_files_save
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4774 $as_echo_n "checking for suffix of executables... " >&6; }
4775 if { { ac_try="$ac_link"
4776 case "(($ac_try" in
4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4779 esac
4780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781 $as_echo "$ac_try_echo"; } >&5
4782 (eval "$ac_link") 2>&5
4783 ac_status=$?
4784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785 test $ac_status = 0; }; then :
4786 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4787 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4788 # work properly (i.e., refer to `conftest.exe'), while it won't with
4789 # `rm'.
4790 for ac_file in conftest.exe conftest conftest.*; do
4791 test -f "$ac_file" || continue
4792 case $ac_file in
4793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4794 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4795 break;;
4796 * ) break;;
4797 esac
4798 done
4799 else
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest conftest$ac_cv_exeext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4807 $as_echo "$ac_cv_exeext" >&6; }
4809 rm -f conftest.$ac_ext
4810 EXEEXT=$ac_cv_exeext
4811 ac_exeext=$EXEEXT
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 #include <stdio.h>
4816 main ()
4818 FILE *f = fopen ("conftest.out", "w");
4819 return ferror (f) || fclose (f) != 0;
4822 return 0;
4824 _ACEOF
4825 ac_clean_files="$ac_clean_files conftest.out"
4826 # Check that the compiler produces executables we can run. If not, either
4827 # the compiler is broken, or we cross compile.
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4829 $as_echo_n "checking whether we are cross compiling... " >&6; }
4830 if test "$cross_compiling" != yes; then
4831 { { ac_try="$ac_link"
4832 case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4835 esac
4836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4837 $as_echo "$ac_try_echo"; } >&5
4838 (eval "$ac_link") 2>&5
4839 ac_status=$?
4840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4841 test $ac_status = 0; }
4842 if { ac_try='./conftest$ac_cv_exeext'
4843 { { case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4848 $as_echo "$ac_try_echo"; } >&5
4849 (eval "$ac_try") 2>&5
4850 ac_status=$?
4851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4852 test $ac_status = 0; }; }; then
4853 cross_compiling=no
4854 else
4855 if test "$cross_compiling" = maybe; then
4856 cross_compiling=yes
4857 else
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot run C compiled programs.
4861 If you meant to cross compile, use \`--host'.
4862 See \`config.log' for more details" "$LINENO" 5; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4867 $as_echo "$cross_compiling" >&6; }
4869 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4870 ac_clean_files=$ac_clean_files_save
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4872 $as_echo_n "checking for suffix of object files... " >&6; }
4873 if ${ac_cv_objext+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 rm -f conftest.o conftest.obj
4888 if { { ac_try="$ac_compile"
4889 case "(($ac_try" in
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 *) ac_try_echo=$ac_try;;
4892 esac
4893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4894 $as_echo "$ac_try_echo"; } >&5
4895 (eval "$ac_compile") 2>&5
4896 ac_status=$?
4897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4898 test $ac_status = 0; }; then :
4899 for ac_file in conftest.o conftest.obj conftest.*; do
4900 test -f "$ac_file" || continue;
4901 case $ac_file in
4902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4903 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4904 break;;
4905 esac
4906 done
4907 else
4908 $as_echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4913 as_fn_error $? "cannot compute suffix of object files: cannot compile
4914 See \`config.log' for more details" "$LINENO" 5; }
4916 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4919 $as_echo "$ac_cv_objext" >&6; }
4920 OBJEXT=$ac_cv_objext
4921 ac_objext=$OBJEXT
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4923 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4924 if ${ac_cv_c_compiler_gnu+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4933 #ifndef __GNUC__
4934 choke me
4935 #endif
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_compiler_gnu=yes
4943 else
4944 ac_compiler_gnu=no
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4951 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4952 if test $ac_compiler_gnu = yes; then
4953 GCC=yes
4954 else
4955 GCC=
4957 ac_test_CFLAGS=${CFLAGS+set}
4958 ac_save_CFLAGS=$CFLAGS
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4960 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4961 if ${ac_cv_prog_cc_g+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 ac_save_c_werror_flag=$ac_c_werror_flag
4965 ac_c_werror_flag=yes
4966 ac_cv_prog_cc_g=no
4967 CFLAGS="-g"
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_compile "$LINENO"; then :
4980 ac_cv_prog_cc_g=yes
4981 else
4982 CFLAGS=""
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4996 else
4997 ac_c_werror_flag=$ac_save_c_werror_flag
4998 CFLAGS="-g"
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_compile "$LINENO"; then :
5011 ac_cv_prog_cc_g=yes
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_c_werror_flag=$ac_save_c_werror_flag
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5021 $as_echo "$ac_cv_prog_cc_g" >&6; }
5022 if test "$ac_test_CFLAGS" = set; then
5023 CFLAGS=$ac_save_CFLAGS
5024 elif test $ac_cv_prog_cc_g = yes; then
5025 if test "$GCC" = yes; then
5026 CFLAGS="-g -O2"
5027 else
5028 CFLAGS="-g"
5030 else
5031 if test "$GCC" = yes; then
5032 CFLAGS="-O2"
5033 else
5034 CFLAGS=
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5038 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5039 if ${ac_cv_prog_cc_c89+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 ac_cv_prog_cc_c89=no
5043 ac_save_CC=$CC
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 #include <stdarg.h>
5047 #include <stdio.h>
5048 struct stat;
5049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5050 struct buf { int x; };
5051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5052 static char *e (p, i)
5053 char **p;
5054 int i;
5056 return p[i];
5058 static char *f (char * (*g) (char **, int), char **p, ...)
5060 char *s;
5061 va_list v;
5062 va_start (v,p);
5063 s = g (p, va_arg (v,int));
5064 va_end (v);
5065 return s;
5068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5069 function prototypes and stuff, but not '\xHH' hex character constants.
5070 These don't provoke an error unfortunately, instead are silently treated
5071 as 'x'. The following induces an error, until -std is added to get
5072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5073 array size at least. It's necessary to write '\x00'==0 to get something
5074 that's true only with -std. */
5075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5077 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5078 inside strings and character constants. */
5079 #define FOO(x) 'x'
5080 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5082 int test (int i, double x);
5083 struct s1 {int (*f) (int a);};
5084 struct s2 {int (*f) (double a);};
5085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5086 int argc;
5087 char **argv;
5089 main ()
5091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5093 return 0;
5095 _ACEOF
5096 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5097 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5099 CC="$ac_save_CC $ac_arg"
5100 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_cv_prog_cc_c89=$ac_arg
5103 rm -f core conftest.err conftest.$ac_objext
5104 test "x$ac_cv_prog_cc_c89" != "xno" && break
5105 done
5106 rm -f conftest.$ac_ext
5107 CC=$ac_save_CC
5110 # AC_CACHE_VAL
5111 case "x$ac_cv_prog_cc_c89" in
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5114 $as_echo "none needed" >&6; } ;;
5115 xno)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5117 $as_echo "unsupported" >&6; } ;;
5119 CC="$CC $ac_cv_prog_cc_c89"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5121 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5122 esac
5123 if test "x$ac_cv_prog_cc_c89" != xno; then :
5127 ac_ext=c
5128 ac_cpp='$CPP $CPPFLAGS'
5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133 ac_ext=cpp
5134 ac_cpp='$CXXCPP $CPPFLAGS'
5135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5138 if test -z "$CXX"; then
5139 if test -n "$CCC"; then
5140 CXX=$CCC
5141 else
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_CXX+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$CXX"; then
5153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 CXX=$ac_cv_prog_CXX
5173 if test -n "$CXX"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5175 $as_echo "$CXX" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$CXX" && break
5183 done
5185 if test -z "$CXX"; then
5186 ac_ct_CXX=$CXX
5187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy $ac_prog; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$ac_ct_CXX"; then
5197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ac_ct_CXX="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5217 if test -n "$ac_ct_CXX"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5219 $as_echo "$ac_ct_CXX" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$ac_ct_CXX" && break
5227 done
5229 if test "x$ac_ct_CXX" = x; then
5230 CXX="g++"
5231 else
5232 case $cross_compiling:$ac_tool_warned in
5233 yes:)
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned=yes ;;
5237 esac
5238 CXX=$ac_ct_CXX
5244 # Provide some information about the compiler.
5245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5246 set X $ac_compile
5247 ac_compiler=$2
5248 for ac_option in --version -v -V -qversion; do
5249 { { ac_try="$ac_compiler $ac_option >&5"
5250 case "(($ac_try" in
5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252 *) ac_try_echo=$ac_try;;
5253 esac
5254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5255 $as_echo "$ac_try_echo"; } >&5
5256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5257 ac_status=$?
5258 if test -s conftest.err; then
5259 sed '10a\
5260 ... rest of stderr output deleted ...
5261 10q' conftest.err >conftest.er1
5262 cat conftest.er1 >&5
5264 rm -f conftest.er1 conftest.err
5265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5266 test $ac_status = 0; }
5267 done
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5270 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5271 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5278 main ()
5280 #ifndef __GNUC__
5281 choke me
5282 #endif
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_compiler_gnu=yes
5290 else
5291 ac_compiler_gnu=no
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5298 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5299 if test $ac_compiler_gnu = yes; then
5300 GXX=yes
5301 else
5302 GXX=
5304 ac_test_CXXFLAGS=${CXXFLAGS+set}
5305 ac_save_CXXFLAGS=$CXXFLAGS
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5307 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5308 if ${ac_cv_prog_cxx_g+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5312 ac_cxx_werror_flag=yes
5313 ac_cv_prog_cxx_g=no
5314 CXXFLAGS="-g"
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main ()
5323 return 0;
5325 _ACEOF
5326 if ac_fn_cxx_try_compile "$LINENO"; then :
5327 ac_cv_prog_cxx_g=yes
5328 else
5329 CXXFLAGS=""
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5343 else
5344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5345 CXXFLAGS="-g"
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5354 return 0;
5356 _ACEOF
5357 if ac_fn_cxx_try_compile "$LINENO"; then :
5358 ac_cv_prog_cxx_g=yes
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5369 if test "$ac_test_CXXFLAGS" = set; then
5370 CXXFLAGS=$ac_save_CXXFLAGS
5371 elif test $ac_cv_prog_cxx_g = yes; then
5372 if test "$GXX" = yes; then
5373 CXXFLAGS="-g -O2"
5374 else
5375 CXXFLAGS="-g"
5377 else
5378 if test "$GXX" = yes; then
5379 CXXFLAGS="-O2"
5380 else
5381 CXXFLAGS=
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_CPPBIN+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$CPPBIN"; then
5399 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 CPPBIN=$ac_cv_prog_CPPBIN
5419 if test -n "$CPPBIN"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5421 $as_echo "$CPPBIN" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5429 if test -z "$ac_cv_prog_CPPBIN"; then
5430 ac_ct_CPPBIN=$CPPBIN
5431 # Extract the first word of "cpp", so it can be a program name with args.
5432 set dummy cpp; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$ac_ct_CPPBIN"; then
5439 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_ac_ct_CPPBIN="cpp"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5459 if test -n "$ac_ct_CPPBIN"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5461 $as_echo "$ac_ct_CPPBIN" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5467 if test "x$ac_ct_CPPBIN" = x; then
5468 CPPBIN="cpp"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474 ac_tool_warned=yes ;;
5475 esac
5476 CPPBIN=$ac_ct_CPPBIN
5478 else
5479 CPPBIN="$ac_cv_prog_CPPBIN"
5483 cat >>confdefs.h <<_ACEOF
5484 #define EXEEXT "$ac_exeext"
5485 _ACEOF
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ld; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_LD+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$LD"; then
5496 ac_cv_prog_LD="$LD" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_LD="${ac_tool_prefix}ld"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 LD=$ac_cv_prog_LD
5516 if test -n "$LD"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5518 $as_echo "$LD" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_LD"; then
5527 ac_ct_LD=$LD
5528 # Extract the first word of "ld", so it can be a program name with args.
5529 set dummy ld; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$ac_ct_LD"; then
5536 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_LD="ld"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5556 if test -n "$ac_ct_LD"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5558 $as_echo "$ac_ct_LD" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_LD" = x; then
5565 LD=""
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573 LD=$ac_ct_LD
5575 else
5576 LD="$ac_cv_prog_LD"
5580 case $host in
5581 *-darwin*)
5582 with_fontconfig=${with_fontconfig:-no}
5584 *-mingw32*|*-cygwin*)
5585 enable_win16=${enable_win16:-no}
5586 with_mingw=${with_mingw:-no}
5587 CFLAGS="$CFLAGS -D_WIN32"
5589 esac
5591 case $host in
5592 x86_64*|amd64*)
5593 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5594 then
5595 CC="$CC -m32"
5596 CXX="$CXX -m32"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5599 $as_echo_n "checking whether $CC works... " >&6; }
5600 if ${wine_cv_cc_m32+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5607 main ()
5611 return 0;
5613 _ACEOF
5614 if ac_fn_c_try_link "$LINENO"; then :
5615 wine_cv_cc_m32=yes
5616 else
5617 wine_cv_cc_m32=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5623 $as_echo "$wine_cv_cc_m32" >&6; }
5624 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
5625 host_cpu="i386"
5626 notice_platform="32-bit "
5627 TARGETFLAGS="-m32"
5629 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5630 export PKG_CONFIG_PATH
5631 enable_win16=${enable_win16:-yes}
5632 with_unwind=${with_unwind:-no}
5633 else
5634 if test "x${GCC}" = "xyes"
5635 then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5637 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5638 if ${wine_cv_builtin_ms_va_list+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #include <stdarg.h>
5645 main ()
5647 void func(__builtin_ms_va_list *args);
5649 return 0;
5651 _ACEOF
5652 if ac_fn_c_try_compile "$LINENO"; then :
5653 wine_cv_builtin_ms_va_list=yes
5654 else
5655 wine_cv_builtin_ms_va_list=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5660 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5661 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
5663 CC="$CC -m64"
5664 CXX="$CXX -m64"
5665 host_cpu="x86_64"
5666 notice_platform="64-bit "
5667 TARGETFLAGS="-m64"
5671 arm*)
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5673 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5674 if ${wine_cv_thumb+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 int ac_test(int i) { return i; }
5681 main ()
5683 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_link "$LINENO"; then :
5689 wine_cv_thumb=yes
5690 else
5691 wine_cv_thumb=no
5693 rm -f core conftest.err conftest.$ac_objext \
5694 conftest$ac_exeext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5697 $as_echo "$wine_cv_thumb" >&6; }
5698 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5699 case $with_float_abi in
5700 soft|softfp|hard)
5701 float_abi=$with_float_abi ;;
5703 case $host_os in
5704 *eabihf)
5705 float_abi=hard ;;
5707 float_abi=softfp
5708 saved_CFLAGS=$CFLAGS
5709 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5711 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5712 if ${wine_cv_float_abi+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5719 main ()
5721 asm("vmrs r2,fpscr");
5723 return 0;
5725 _ACEOF
5726 if ac_fn_c_try_link "$LINENO"; then :
5727 wine_cv_float_abi=yes
5728 else
5729 wine_cv_float_abi=no
5731 rm -f core conftest.err conftest.$ac_objext \
5732 conftest$ac_exeext conftest.$ac_ext
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5735 $as_echo "$wine_cv_float_abi" >&6; }
5736 if test $wine_cv_float_abi = no
5737 then
5738 float_abi=soft
5739 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5741 CFLAGS=$saved_CFLAGS
5742 esac
5744 esac
5745 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5746 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5749 aarch64*)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5751 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5752 if ${wine_cv_builtin_ms_va_list+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5757 #include <stdarg.h>
5759 main ()
5761 void func(__builtin_ms_va_list *args);
5763 return 0;
5765 _ACEOF
5766 if ac_fn_c_try_compile "$LINENO"; then :
5767 wine_cv_builtin_ms_va_list=yes
5768 else
5769 wine_cv_builtin_ms_va_list=no
5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5774 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5775 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5777 i[3456789]86*)
5778 enable_win16=${enable_win16:-yes}
5779 with_unwind=${with_unwind:-no}
5781 esac
5783 enable_win16=${enable_win16:-no}
5784 enable_win64=${enable_win64:-no}
5786 enable_winetest=${enable_winetest:-$enable_tests}
5788 if test "x$enable_win64" = "xyes"
5789 then
5790 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5791 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5792 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5796 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5797 if ${wine_cv_toolsdir+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 wine_cv_toolsdir="$with_wine_tools"
5801 if test -z "$with_wine_tools"; then
5802 if test "$cross_compiling" = "yes"; then
5803 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5804 elif test -n "$with_wine64"; then
5805 wine_cv_toolsdir="$with_wine64"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5810 $as_echo "$wine_cv_toolsdir" >&6; }
5811 if test -z "$wine_cv_toolsdir"; then
5812 wine_makedep=tools/makedep
5813 TOOLSDIR="\$(top_builddir)"
5815 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5816 wine_makedep=$wine_cv_toolsdir/tools/makedep
5817 case "$wine_cv_toolsdir" in
5818 /*) TOOLSDIR=$wine_cv_toolsdir
5820 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5822 esac
5823 enable_tools=${enable_tools:-no}
5824 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5825 else
5826 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5828 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5829 then
5830 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5834 for ac_prog in flex
5836 # Extract the first word of "$ac_prog", so it can be a program name with args.
5837 set dummy $ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_FLEX+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$FLEX"; then
5844 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_FLEX="$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 FLEX=$ac_cv_prog_FLEX
5864 if test -n "$FLEX"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5866 $as_echo "$FLEX" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$FLEX" && break
5874 done
5875 test -n "$FLEX" || FLEX="none"
5877 if test "$FLEX" = "none"
5878 then
5879 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5882 $as_echo_n "checking whether flex is recent enough... " >&6; }
5883 if ${wine_cv_recent_flex+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 cat >conftest.l <<EOF
5887 %top{
5888 #include "prediluvian.h"
5892 if $FLEX -t conftest.l >/dev/null 2>&5
5893 then
5894 wine_cv_recent_flex=yes
5895 else
5896 wine_cv_recent_flex=no
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5900 $as_echo "$wine_cv_recent_flex" >&6; }
5901 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
5903 for ac_prog in bison
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_BISON+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$BISON"; then
5913 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_BISON="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 BISON=$ac_cv_prog_BISON
5933 if test -n "$BISON"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5935 $as_echo "$BISON" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$BISON" && break
5943 done
5944 test -n "$BISON" || BISON="none"
5946 if test "$BISON" = "none"
5947 then
5948 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5951 $as_echo_n "checking whether bison is recent enough... " >&6; }
5952 if ${wine_cv_recent_bison+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 cat >conftest.y <<EOF
5956 %define parse.error verbose
5958 empty: ;
5960 if $BISON conftest.y >/dev/null 2>&5
5961 then
5962 wine_cv_recent_bison=yes
5963 else
5964 wine_cv_recent_bison=no
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5968 $as_echo "$wine_cv_recent_bison" >&6; }
5969 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
5971 if test -n "$ac_tool_prefix"; then
5972 for ac_prog in ar gar
5974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_AR+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$AR"; then
5982 ac_cv_prog_AR="$AR" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 AR=$ac_cv_prog_AR
6002 if test -n "$AR"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6004 $as_echo "$AR" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$AR" && break
6012 done
6014 if test -z "$AR"; then
6015 ac_ct_AR=$AR
6016 for ac_prog in ar gar
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$ac_ct_AR"; then
6026 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_ac_ct_AR="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6046 if test -n "$ac_ct_AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6048 $as_echo "$ac_ct_AR" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$ac_ct_AR" && break
6056 done
6058 if test "x$ac_ct_AR" = x; then
6059 AR="ar"
6060 else
6061 case $cross_compiling:$ac_tool_warned in
6062 yes:)
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned=yes ;;
6066 esac
6067 AR=$ac_ct_AR
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}strip; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_STRIP+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$STRIP"; then
6080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 STRIP=$ac_cv_prog_STRIP
6100 if test -n "$STRIP"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6102 $as_echo "$STRIP" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 if test -z "$ac_cv_prog_STRIP"; then
6111 ac_ct_STRIP=$STRIP
6112 # Extract the first word of "strip", so it can be a program name with args.
6113 set dummy strip; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_STRIP"; then
6120 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_STRIP="strip"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6140 if test -n "$ac_ct_STRIP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6142 $as_echo "$ac_ct_STRIP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6148 if test "x$ac_ct_STRIP" = x; then
6149 STRIP="strip"
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 STRIP=$ac_ct_STRIP
6159 else
6160 STRIP="$ac_cv_prog_STRIP"
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_RANLIB+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$RANLIB"; then
6172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 RANLIB=$ac_cv_prog_RANLIB
6192 if test -n "$RANLIB"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6194 $as_echo "$RANLIB" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6202 if test -z "$ac_cv_prog_RANLIB"; then
6203 ac_ct_RANLIB=$RANLIB
6204 # Extract the first word of "ranlib", so it can be a program name with args.
6205 set dummy ranlib; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$ac_ct_RANLIB"; then
6212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_ac_ct_RANLIB="ranlib"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6232 if test -n "$ac_ct_RANLIB"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6234 $as_echo "$ac_ct_RANLIB" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6240 if test "x$ac_ct_RANLIB" = x; then
6241 RANLIB=":"
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 RANLIB=$ac_ct_RANLIB
6251 else
6252 RANLIB="$ac_cv_prog_RANLIB"
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6256 $as_echo_n "checking whether ln -s works... " >&6; }
6257 LN_S=$as_ln_s
6258 if test "$LN_S" = "ln -s"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6260 $as_echo "yes" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6263 $as_echo "no, using $LN_S" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6267 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6268 if ${ac_cv_path_GREP+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 if test -z "$GREP"; then
6272 ac_path_GREP_found=false
6273 # Loop through the user's path and test for each of PROGNAME-LIST
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6277 IFS=$as_save_IFS
6278 test -z "$as_dir" && as_dir=.
6279 for ac_prog in grep ggrep; do
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6282 as_fn_executable_p "$ac_path_GREP" || continue
6283 # Check for GNU ac_path_GREP and select it if it is found.
6284 # Check for GNU $ac_path_GREP
6285 case `"$ac_path_GREP" --version 2>&1` in
6286 *GNU*)
6287 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6289 ac_count=0
6290 $as_echo_n 0123456789 >"conftest.in"
6291 while :
6293 cat "conftest.in" "conftest.in" >"conftest.tmp"
6294 mv "conftest.tmp" "conftest.in"
6295 cp "conftest.in" "conftest.nl"
6296 $as_echo 'GREP' >> "conftest.nl"
6297 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6298 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6299 as_fn_arith $ac_count + 1 && ac_count=$as_val
6300 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6301 # Best one so far, save it but keep looking for a better one
6302 ac_cv_path_GREP="$ac_path_GREP"
6303 ac_path_GREP_max=$ac_count
6305 # 10*(2^10) chars as input seems more than enough
6306 test $ac_count -gt 10 && break
6307 done
6308 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6309 esac
6311 $ac_path_GREP_found && break 3
6312 done
6313 done
6314 done
6315 IFS=$as_save_IFS
6316 if test -z "$ac_cv_path_GREP"; then
6317 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6319 else
6320 ac_cv_path_GREP=$GREP
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6325 $as_echo "$ac_cv_path_GREP" >&6; }
6326 GREP="$ac_cv_path_GREP"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6330 $as_echo_n "checking for egrep... " >&6; }
6331 if ${ac_cv_path_EGREP+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6335 then ac_cv_path_EGREP="$GREP -E"
6336 else
6337 if test -z "$EGREP"; then
6338 ac_path_EGREP_found=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_prog in egrep; do
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6348 as_fn_executable_p "$ac_path_EGREP" || continue
6349 # Check for GNU ac_path_EGREP and select it if it is found.
6350 # Check for GNU $ac_path_EGREP
6351 case `"$ac_path_EGREP" --version 2>&1` in
6352 *GNU*)
6353 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6355 ac_count=0
6356 $as_echo_n 0123456789 >"conftest.in"
6357 while :
6359 cat "conftest.in" "conftest.in" >"conftest.tmp"
6360 mv "conftest.tmp" "conftest.in"
6361 cp "conftest.in" "conftest.nl"
6362 $as_echo 'EGREP' >> "conftest.nl"
6363 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6364 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6365 as_fn_arith $ac_count + 1 && ac_count=$as_val
6366 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_EGREP="$ac_path_EGREP"
6369 ac_path_EGREP_max=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6373 done
6374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 esac
6377 $ac_path_EGREP_found && break 3
6378 done
6379 done
6380 done
6381 IFS=$as_save_IFS
6382 if test -z "$ac_cv_path_EGREP"; then
6383 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6385 else
6386 ac_cv_path_EGREP=$EGREP
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6392 $as_echo "$ac_cv_path_EGREP" >&6; }
6393 EGREP="$ac_cv_path_EGREP"
6396 # Extract the first word of "ldconfig", so it can be a program name with args.
6397 set dummy ldconfig; ac_word=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_path_LDCONFIG+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 case $LDCONFIG in
6404 [\\/]* | ?:[\\/]*)
6405 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in /sbin /usr/sbin $PATH
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 break 2
6419 done
6420 done
6421 IFS=$as_save_IFS
6423 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6425 esac
6427 LDCONFIG=$ac_cv_path_LDCONFIG
6428 if test -n "$LDCONFIG"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6430 $as_echo "$LDCONFIG" >&6; }
6431 else
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6437 for ac_prog in msgfmt
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy $ac_prog; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_MSGFMT+:} false; then :
6444 $as_echo_n "(cached) " >&6
6445 else
6446 if test -n "$MSGFMT"; then
6447 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6448 else
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH
6452 IFS=$as_save_IFS
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_MSGFMT="$ac_prog"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 break 2
6460 done
6461 done
6462 IFS=$as_save_IFS
6466 MSGFMT=$ac_cv_prog_MSGFMT
6467 if test -n "$MSGFMT"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6469 $as_echo "$MSGFMT" >&6; }
6470 else
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6476 test -n "$MSGFMT" && break
6477 done
6478 test -n "$MSGFMT" || MSGFMT="false"
6480 if ${ac_tool_prefix+:} false; then :
6481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if test -n "$PKG_CONFIG"; then
6489 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6494 IFS=$as_save_IFS
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6502 done
6503 done
6504 IFS=$as_save_IFS
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6509 if test -n "$PKG_CONFIG"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6511 $as_echo "$PKG_CONFIG" >&6; }
6512 else
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6519 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6520 if test "x$cross_compiling" = xyes; then :
6522 else
6523 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6524 # Extract the first word of "pkg-config", so it can be a program name with args.
6525 set dummy pkg-config; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 if test -n "$PKG_CONFIG"; then
6532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6537 IFS=$as_save_IFS
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_PKG_CONFIG="pkg-config"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 break 2
6545 done
6546 done
6547 IFS=$as_save_IFS
6551 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test -n "$PKG_CONFIG"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6554 $as_echo "$PKG_CONFIG" >&6; }
6555 else
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6562 else
6563 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6566 if test "x$enable_maintainer_mode" != "xyes"
6567 then
6568 FONTFORGE=""
6569 RSVG=""
6570 CONVERT=""
6571 ICOTOOL=""
6572 else
6573 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6574 for ac_prog in fontforge
6576 # Extract the first word of "$ac_prog", so it can be a program name with args.
6577 set dummy $ac_prog; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_FONTFORGE+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$FONTFORGE"; then
6584 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_FONTFORGE="$ac_prog"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 FONTFORGE=$ac_cv_prog_FONTFORGE
6604 if test -n "$FONTFORGE"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6606 $as_echo "$FONTFORGE" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6613 test -n "$FONTFORGE" && break
6614 done
6615 test -n "$FONTFORGE" || FONTFORGE="false"
6617 for ac_prog in rsvg-convert rsvg
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_RSVG+:} false; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$RSVG"; then
6627 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_RSVG="$ac_prog"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 RSVG=$ac_cv_prog_RSVG
6647 if test -n "$RSVG"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6649 $as_echo "$RSVG" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6656 test -n "$RSVG" && break
6657 done
6658 test -n "$RSVG" || RSVG="false"
6660 for ac_prog in convert
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_CONVERT+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 if test -n "$CONVERT"; then
6670 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_CONVERT="$ac_prog"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 CONVERT=$ac_cv_prog_CONVERT
6690 if test -n "$CONVERT"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6692 $as_echo "$CONVERT" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6699 test -n "$CONVERT" && break
6700 done
6701 test -n "$CONVERT" || CONVERT="false"
6703 for ac_prog in icotool
6705 # Extract the first word of "$ac_prog", so it can be a program name with args.
6706 set dummy $ac_prog; ac_word=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_prog_ICOTOOL+:} false; then :
6710 $as_echo_n "(cached) " >&6
6711 else
6712 if test -n "$ICOTOOL"; then
6713 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6718 IFS=$as_save_IFS
6719 test -z "$as_dir" && as_dir=.
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_ICOTOOL="$ac_prog"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 IFS=$as_save_IFS
6732 ICOTOOL=$ac_cv_prog_ICOTOOL
6733 if test -n "$ICOTOOL"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6735 $as_echo "$ICOTOOL" >&6; }
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6742 test -n "$ICOTOOL" && break
6743 done
6744 test -n "$ICOTOOL" || ICOTOOL="false"
6746 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6747 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6749 if test "$CONVERT" = false
6750 then
6751 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6754 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6755 convert_version=`convert --version | head -n1`
6756 if test "x$convert_version" != "x"
6757 then
6758 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6759 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6760 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6761 then
6762 CONVERT=false
6765 if test "$CONVERT" = false
6766 then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6768 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6769 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6770 else
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6772 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6776 if test "$ICOTOOL" = false
6777 then
6778 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6781 $as_echo_n "checking for recent enough icotool... " >&6; }
6782 icotool_version=`icotool --version | head -n1`
6783 if test "x$icotool_version" != "x"
6784 then
6785 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6786 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6787 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6788 then
6789 ICOTOOL=false
6790 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6793 if test "$ICOTOOL" = false
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6796 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6797 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6800 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6804 with_gettext=yes
6805 with_gettextpo=yes
6807 enable_werror=yes
6810 test "x$with_gettext" != xno || MSGFMT=false
6811 if test "$MSGFMT" != "false"
6812 then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6814 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6815 if ${wine_cv_msgfmt_contexts+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 cat >conftest.po <<EOF
6819 # comment
6820 msgctxt "ctxt"
6821 msgid "id"
6822 msgstr "str"
6824 if $MSGFMT -o /dev/null conftest.po 2>&5
6825 then
6826 wine_cv_msgfmt_contexts=yes
6827 else
6828 wine_cv_msgfmt_contexts=no
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6832 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6833 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6835 if test "$MSGFMT" = false; then :
6836 case "x$with_gettext" in
6837 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6838 xno) ;;
6839 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6840 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6841 esac
6842 enable_po=${enable_po:-no}
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6847 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6848 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6849 $as_echo_n "(cached) " >&6
6850 else
6851 ac_check_lib_save_LIBS=$LIBS
6852 LIBS="-li386 $LIBS"
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6856 /* Override any GCC internal prototype to avoid an error.
6857 Use char because int might match the return type of a GCC
6858 builtin and then its argument prototype would still apply. */
6859 #ifdef __cplusplus
6860 extern "C"
6861 #endif
6862 char i386_set_ldt ();
6864 main ()
6866 return i386_set_ldt ();
6868 return 0;
6870 _ACEOF
6871 if ac_fn_c_try_link "$LINENO"; then :
6872 ac_cv_lib_i386_i386_set_ldt=yes
6873 else
6874 ac_cv_lib_i386_i386_set_ldt=no
6876 rm -f core conftest.err conftest.$ac_objext \
6877 conftest$ac_exeext conftest.$ac_ext
6878 LIBS=$ac_check_lib_save_LIBS
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6881 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6882 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6883 I386_LIBS="-li386"
6888 OPENGL_LIBS=""
6892 # Check whether --enable-largefile was given.
6893 if test "${enable_largefile+set}" = set; then :
6894 enableval=$enable_largefile;
6897 if test "$enable_largefile" != no; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6900 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6901 if ${ac_cv_sys_largefile_CC+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 ac_cv_sys_largefile_CC=no
6905 if test "$GCC" != yes; then
6906 ac_save_CC=$CC
6907 while :; do
6908 # IRIX 6.2 and later do not support large files by default,
6909 # so use the C compiler's -n32 option if that helps.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <sys/types.h>
6913 /* Check that off_t can represent 2**63 - 1 correctly.
6914 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6915 since some C++ compilers masquerading as C compilers
6916 incorrectly reject 9223372036854775807. */
6917 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6918 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6919 && LARGE_OFF_T % 2147483647 == 1)
6920 ? 1 : -1];
6922 main ()
6926 return 0;
6928 _ACEOF
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 break
6932 rm -f core conftest.err conftest.$ac_objext
6933 CC="$CC -n32"
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_sys_largefile_CC=' -n32'; break
6937 rm -f core conftest.err conftest.$ac_objext
6938 break
6939 done
6940 CC=$ac_save_CC
6941 rm -f conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6945 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6946 if test "$ac_cv_sys_largefile_CC" != no; then
6947 CC=$CC$ac_cv_sys_largefile_CC
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6951 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6952 if ${ac_cv_sys_file_offset_bits+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 while :; do
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6959 /* Check that off_t can represent 2**63 - 1 correctly.
6960 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6961 since some C++ compilers masquerading as C compilers
6962 incorrectly reject 9223372036854775807. */
6963 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6964 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6965 && LARGE_OFF_T % 2147483647 == 1)
6966 ? 1 : -1];
6968 main ()
6972 return 0;
6974 _ACEOF
6975 if ac_fn_c_try_compile "$LINENO"; then :
6976 ac_cv_sys_file_offset_bits=no; break
6978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #define _FILE_OFFSET_BITS 64
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=64; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 ac_cv_sys_file_offset_bits=unknown
7004 break
7005 done
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7008 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7009 case $ac_cv_sys_file_offset_bits in #(
7010 no | unknown) ;;
7012 cat >>confdefs.h <<_ACEOF
7013 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7014 _ACEOF
7016 esac
7017 rm -rf conftest*
7018 if test $ac_cv_sys_file_offset_bits = unknown; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7020 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7021 if ${ac_cv_sys_large_files+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 while :; do
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 /* Check that off_t can represent 2**63 - 1 correctly.
7029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7030 since some C++ compilers masquerading as C compilers
7031 incorrectly reject 9223372036854775807. */
7032 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7034 && LARGE_OFF_T % 2147483647 == 1)
7035 ? 1 : -1];
7037 main ()
7041 return 0;
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_large_files=no; break
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #define _LARGE_FILES 1
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=1; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 ac_cv_sys_large_files=unknown
7073 break
7074 done
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7077 $as_echo "$ac_cv_sys_large_files" >&6; }
7078 case $ac_cv_sys_large_files in #(
7079 no | unknown) ;;
7081 cat >>confdefs.h <<_ACEOF
7082 #define _LARGE_FILES $ac_cv_sys_large_files
7083 _ACEOF
7085 esac
7086 rm -rf conftest*
7093 ac_ext=c
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7102 CPP=
7104 if test -z "$CPP"; then
7105 if ${ac_cv_prog_CPP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7111 ac_preproc_ok=false
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #ifdef __STDC__
7123 # include <limits.h>
7124 #else
7125 # include <assert.h>
7126 #endif
7127 Syntax error
7128 _ACEOF
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7131 else
7132 # Broken: fails on valid input.
7133 continue
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7142 _ACEOF
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7145 continue
7146 else
7147 # Passes both tests.
7148 ac_preproc_ok=:
7149 break
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 done
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7157 break
7160 done
7161 ac_cv_prog_CPP=$CPP
7164 CPP=$ac_cv_prog_CPP
7165 else
7166 ac_cv_prog_CPP=$CPP
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7170 ac_preproc_ok=false
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #ifdef __STDC__
7182 # include <limits.h>
7183 #else
7184 # include <assert.h>
7185 #endif
7186 Syntax error
7187 _ACEOF
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7190 else
7191 # Broken: fails on valid input.
7192 continue
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7204 continue
7205 else
7206 # Passes both tests.
7207 ac_preproc_ok=:
7208 break
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 done
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7217 else
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5; }
7224 ac_ext=c
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if ${ac_cv_header_stdc+:} false; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <stdlib.h>
7239 #include <stdarg.h>
7240 #include <string.h>
7241 #include <float.h>
7244 main ()
7248 return 0;
7250 _ACEOF
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <string.h>
7264 _ACEOF
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f conftest*
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <stdlib.h>
7281 _ACEOF
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7285 else
7286 ac_cv_header_stdc=no
7288 rm -f conftest*
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7296 else
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ctype.h>
7300 #include <stdlib.h>
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7304 #else
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7310 #endif
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7314 main ()
7316 int i;
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7320 return 2;
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_run "$LINENO"; then :
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 _ACEOF
7357 done
7360 for ac_header in \
7361 AL/al.h \
7362 ApplicationServices/ApplicationServices.h \
7363 AudioToolbox/AudioConverter.h \
7364 AudioUnit/AudioUnit.h \
7365 AudioUnit/AudioComponent.h \
7366 CL/cl.h \
7367 Carbon/Carbon.h \
7368 CommonCrypto/CommonCryptor.h \
7369 CoreAudio/CoreAudio.h \
7370 CoreServices/CoreServices.h \
7371 DiskArbitration/DiskArbitration.h \
7372 EGL/egl.h \
7373 IOKit/IOKitLib.h \
7374 IOKit/hid/IOHIDLib.h \
7375 OpenAL/al.h \
7376 OpenCL/opencl.h \
7377 QuickTime/ImageCompression.h \
7378 Security/Security.h \
7379 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7380 SystemConfiguration/SCNetworkConfiguration.h \
7381 alias.h \
7382 arpa/inet.h \
7383 arpa/nameser.h \
7384 asm/types.h \
7385 asm/user.h \
7386 curses.h \
7387 dirent.h \
7388 dlfcn.h \
7389 elf.h \
7390 float.h \
7391 fnmatch.h \
7392 getopt.h \
7393 gettext-po.h \
7394 grp.h \
7395 gsm.h \
7396 gsm/gsm.h \
7397 ieeefp.h \
7398 inet/mib2.h \
7399 kstat.h \
7400 libproc.h \
7401 link.h \
7402 linux/cdrom.h \
7403 linux/compiler.h \
7404 linux/filter.h \
7405 linux/hdreg.h \
7406 linux/hidraw.h \
7407 linux/input.h \
7408 linux/ioctl.h \
7409 linux/joystick.h \
7410 linux/major.h \
7411 linux/param.h \
7412 linux/serial.h \
7413 linux/types.h \
7414 linux/ucdrom.h \
7415 lwp.h \
7416 mach-o/nlist.h \
7417 mach-o/loader.h \
7418 mach/mach.h \
7419 mach/machine.h \
7420 machine/cpu.h \
7421 machine/limits.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/limits.h \
7452 sys/link.h \
7453 sys/mman.h \
7454 sys/modem.h \
7455 sys/msg.h \
7456 sys/mtio.h \
7457 sys/param.h \
7458 sys/poll.h \
7459 sys/prctl.h \
7460 sys/protosw.h \
7461 sys/ptrace.h \
7462 sys/queue.h \
7463 sys/resource.h \
7464 sys/scsiio.h \
7465 sys/shm.h \
7466 sys/signal.h \
7467 sys/socket.h \
7468 sys/socketvar.h \
7469 sys/sockio.h \
7470 sys/statvfs.h \
7471 sys/strtio.h \
7472 sys/syscall.h \
7473 sys/sysinfo.h \
7474 sys/tihdr.h \
7475 sys/time.h \
7476 sys/timeout.h \
7477 sys/times.h \
7478 sys/uio.h \
7479 sys/user.h \
7480 sys/utsname.h \
7481 sys/vnode.h \
7482 sys/wait.h \
7483 syscall.h \
7484 termios.h \
7485 unistd.h \
7486 utime.h \
7487 valgrind/memcheck.h \
7488 valgrind/valgrind.h
7490 do :
7491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7502 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7503 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7505 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7510 if test $ac_cv_header_sys_mkdev_h = no; then
7511 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7512 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7514 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7521 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7522 if ${ac_cv_header_stat_broken+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <sys/stat.h>
7530 #if defined S_ISBLK && defined S_IFDIR
7531 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7532 #endif
7534 #if defined S_ISBLK && defined S_IFCHR
7535 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7536 #endif
7538 #if defined S_ISLNK && defined S_IFREG
7539 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7540 #endif
7542 #if defined S_ISSOCK && defined S_IFREG
7543 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7544 #endif
7546 _ACEOF
7547 if ac_fn_c_try_compile "$LINENO"; then :
7548 ac_cv_header_stat_broken=no
7549 else
7550 ac_cv_header_stat_broken=yes
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7555 $as_echo "$ac_cv_header_stat_broken" >&6; }
7556 if test $ac_cv_header_stat_broken = yes; then
7558 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7564 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7565 do :
7566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7568 #ifdef HAVE_SYS_PARAM_H
7569 # include <sys/param.h>
7570 #endif
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7582 saved_sysctl_h_CFLAGS=$CFLAGS
7583 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7584 for ac_header in sys/sysctl.h
7585 do :
7586 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7587 #ifdef HAVE_SYS_PARAM_H
7588 # include <sys/param.h>
7589 #endif
7591 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define HAVE_SYS_SYSCTL_H 1
7594 _ACEOF
7598 done
7600 CFLAGS=$saved_sysctl_h_CFLAGS
7602 for ac_header in \
7603 netinet/ip.h \
7604 net/if.h \
7605 net/if_arp.h \
7606 net/if_dl.h \
7607 net/if_types.h \
7608 net/route.h \
7609 netinet/if_ether.h \
7610 netinet/if_inarp.h \
7611 netinet/in_pcb.h \
7612 netinet/ip_icmp.h \
7613 netinet/ip_var.h \
7614 netinet/udp.h \
7615 netipx/ipx.h \
7616 sys/un.h \
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7621 #ifdef HAVE_SYS_SOCKET_H
7622 # include <sys/socket.h>
7623 #endif
7624 #ifdef HAVE_SYS_SOCKETVAR_H
7625 # include <sys/socketvar.h>
7626 #endif
7627 #ifdef HAVE_NET_ROUTE_H
7628 # include <net/route.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_H
7631 # include <netinet/in.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_SYSTM_H
7634 # include <netinet/in_systm.h>
7635 #endif
7636 #ifdef HAVE_NET_IF_H
7637 # include <net/if.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_H
7640 # include <netinet/ip.h>
7641 #endif
7643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7646 _ACEOF
7650 done
7653 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7654 do :
7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7657 #ifdef HAVE_ALIAS_H
7658 # include <alias.h>
7659 #endif
7660 #ifdef HAVE_SYS_SOCKET_H
7661 # include <sys/socket.h>
7662 #endif
7663 #ifdef HAVE_SYS_SOCKETVAR_H
7664 # include <sys/socketvar.h>
7665 #endif
7666 #ifdef HAVE_SYS_TIMEOUT_H
7667 # include <sys/timeout.h>
7668 #endif
7669 #ifdef HAVE_NETINET_IN_H
7670 # include <netinet/in.h>
7671 #endif
7672 #ifdef HAVE_NETINET_IN_SYSTM_H
7673 # include <netinet/in_systm.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IP_H
7676 # include <netinet/ip.h>
7677 #endif
7678 #ifdef HAVE_NETINET_IP_VAR_H
7679 # include <netinet/ip_var.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IP_ICMP_H
7682 # include <netinet/ip_icmp.h>
7683 #endif
7684 #ifdef HAVE_NETINET_UDP_H
7685 # include <netinet/udp.h>
7686 #endif
7687 #ifdef HAVE_NETINET_TCP_H
7688 # include <netinet/tcp.h>
7689 #endif
7690 #ifdef HAVE_NETINET_TCP_TIMER_H
7691 #include <netinet/tcp_timer.h>
7692 #endif
7694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 _ACEOF
7701 done
7704 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7705 do :
7706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7708 #ifdef HAVE_ASM_TYPES_H
7709 # include <asm/types.h>
7710 #endif
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7713 #endif
7714 #ifdef HAVE_LINUX_TYPES_H
7715 # include <linux/types.h>
7716 #endif
7718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7728 for ac_header in resolv.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7731 #ifdef HAVE_SYS_SOCKET_H
7732 # include <sys/socket.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IN_H
7735 # include <netinet/in.h>
7736 #endif
7737 #ifdef HAVE_ARPA_NAMESER_H
7738 # include <arpa/nameser.h>
7739 #endif
7741 if test "x$ac_cv_header_resolv_h" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_RESOLV_H 1
7744 _ACEOF
7748 done
7751 for ac_header in ifaddrs.h
7752 do :
7753 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7755 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_IFADDRS_H 1
7758 _ACEOF
7762 done
7765 for ac_header in sys/ucontext.h
7766 do :
7767 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7769 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_SYS_UCONTEXT_H 1
7772 _ACEOF
7776 done
7779 for ac_header in sys/thr.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7782 #ifdef HAVE_SYS_UCONTEXT_H
7783 #include <sys/ucontext.h>
7784 #endif
7786 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7787 cat >>confdefs.h <<_ACEOF
7788 #define HAVE_SYS_THR_H 1
7789 _ACEOF
7793 done
7796 for ac_header in pthread_np.h
7797 do :
7798 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7799 #include <pthread.h>
7800 #endif
7802 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_PTHREAD_NP_H 1
7805 _ACEOF
7809 done
7812 for ac_header in linux/videodev2.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7815 #include <sys/time.h>
7816 #endif
7817 #include <sys/types.h>
7818 #ifdef HAVE_ASM_TYPES_H
7819 #include <asm/types.h>
7820 #endif
7822 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_LINUX_VIDEODEV2_H 1
7825 _ACEOF
7829 done
7832 for ac_header in libprocstat.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7835 #include <sys/param.h>
7836 #endif
7837 #ifdef HAVE_SYS_QUEUE_H
7838 #include <sys/queue.h>
7839 #endif
7840 #ifdef HAVE_SYS_SOCKET_H
7841 #include <sys/socket.h>
7842 #endif
7844 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_LIBPROCSTAT_H 1
7847 _ACEOF
7851 done
7855 DLLFLAGS="-D_REENTRANT"
7857 LDRPATH_INSTALL=""
7859 LDRPATH_LOCAL=""
7861 LDDLLFLAGS=""
7863 LDEXECFLAGS=""
7865 TOP_INSTALL_LIB=""
7867 TOP_INSTALL_DEV=""
7869 WINELOADER_LDFLAGS=""
7871 WINEPRELOADER_LDFLAGS=""
7873 LIBEXT="so"
7874 DLLEXT=".so"
7875 # Extract the first word of "ldd", so it can be a program name with args.
7876 set dummy ldd; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_path_LDD+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 case $LDD in
7883 [\\/]* | ?:[\\/]*)
7884 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 as_dummy="/sbin:/usr/sbin:$PATH"
7889 for as_dir in $as_dummy
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7903 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7905 esac
7907 LDD=$ac_cv_path_LDD
7908 if test -n "$LDD"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7910 $as_echo "$LDD" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7917 if test -n "$ac_tool_prefix"; then
7918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7919 set dummy ${ac_tool_prefix}otool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_OTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 if test -n "$OTOOL"; then
7926 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7927 else
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7945 OTOOL=$ac_cv_prog_OTOOL
7946 if test -n "$OTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7948 $as_echo "$OTOOL" >&6; }
7949 else
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7956 if test -z "$ac_cv_prog_OTOOL"; then
7957 ac_ct_OTOOL=$OTOOL
7958 # Extract the first word of "otool", so it can be a program name with args.
7959 set dummy otool; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$ac_ct_OTOOL"; then
7966 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_ac_ct_OTOOL="otool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7986 if test -n "$ac_ct_OTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7988 $as_echo "$ac_ct_OTOOL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7994 if test "x$ac_ct_OTOOL" = x; then
7995 OTOOL="otool"
7996 else
7997 case $cross_compiling:$ac_tool_warned in
7998 yes:)
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8001 ac_tool_warned=yes ;;
8002 esac
8003 OTOOL=$ac_ct_OTOOL
8005 else
8006 OTOOL="$ac_cv_prog_OTOOL"
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8011 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_READELF+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$READELF"; then
8018 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 READELF=$ac_cv_prog_READELF
8038 if test -n "$READELF"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8040 $as_echo "$READELF" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_READELF"; then
8049 ac_ct_READELF=$READELF
8050 # Extract the first word of "readelf", so it can be a program name with args.
8051 set dummy readelf; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$ac_ct_READELF"; then
8058 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_READELF="readelf"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8078 if test -n "$ac_ct_READELF"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8080 $as_echo "$ac_ct_READELF" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_READELF" = x; then
8087 READELF="true"
8088 else
8089 case $cross_compiling:$ac_tool_warned in
8090 yes:)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 READELF=$ac_ct_READELF
8097 else
8098 READELF="$ac_cv_prog_READELF"
8101 wine_rules_file=conf$$rules.make
8102 rm -f $wine_rules_file
8103 SUBDIRS=""
8105 DISABLED_SUBDIRS=""
8107 CONFIGURE_TARGETS=""
8110 wine_fn_append_file ()
8112 as_fn_append $1 " \\$as_nl $2"
8115 wine_fn_append_rule ()
8117 $as_echo "$1" >>$wine_rules_file
8120 wine_fn_config_makefile ()
8122 wine_fn_append_file SUBDIRS $1
8123 if eval test \"x\$"$2"\" = x"no"; then :
8124 wine_fn_append_file DISABLED_SUBDIRS $1
8128 wine_fn_config_symlink ()
8130 ac_links=$@
8131 wine_fn_append_rule \
8132 "$ac_links:
8133 @./config.status \$@"
8134 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8137 wine_binary="wine"
8138 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8139 WINELOADER_PROGRAMS="$wine_binary"
8141 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8143 case $host_os in
8144 cygwin*|mingw32*)
8145 if test -n "$ac_tool_prefix"; then
8146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_DLLTOOL+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$DLLTOOL"; then
8154 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 DLLTOOL=$ac_cv_prog_DLLTOOL
8174 if test -n "$DLLTOOL"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8176 $as_echo "$DLLTOOL" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8184 if test -z "$ac_cv_prog_DLLTOOL"; then
8185 ac_ct_DLLTOOL=$DLLTOOL
8186 # Extract the first word of "dlltool", so it can be a program name with args.
8187 set dummy dlltool; ac_word=$2
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189 $as_echo_n "checking for $ac_word... " >&6; }
8190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 if test -n "$ac_ct_DLLTOOL"; then
8194 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8195 else
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 for as_dir in $PATH
8199 IFS=$as_save_IFS
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8203 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 break 2
8207 done
8208 done
8209 IFS=$as_save_IFS
8213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8214 if test -n "$ac_ct_DLLTOOL"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8216 $as_echo "$ac_ct_DLLTOOL" >&6; }
8217 else
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8222 if test "x$ac_ct_DLLTOOL" = x; then
8223 DLLTOOL="false"
8224 else
8225 case $cross_compiling:$ac_tool_warned in
8226 yes:)
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8229 ac_tool_warned=yes ;;
8230 esac
8231 DLLTOOL=$ac_ct_DLLTOOL
8233 else
8234 DLLTOOL="$ac_cv_prog_DLLTOOL"
8237 LIBEXT="dll"
8238 DLLEXT=""
8239 case $host_cpu in
8240 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8241 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8242 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8253 else
8254 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8261 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8262 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8263 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8264 fi ;;
8265 esac
8266 enable_iphlpapi=${enable_iphlpapi:-no}
8267 enable_kernel32=${enable_kernel32:-no}
8268 enable_ntdll=${enable_ntdll:-no}
8269 enable_ws2_32=${enable_ws2_32:-no}
8270 enable_loader=${enable_loader:-no}
8271 enable_server=${enable_server:-no}
8272 with_x=${with_x:-no}
8273 with_pthread=${with_pthread:-no}
8276 darwin*|macosx*)
8277 ac_ext=m
8278 ac_cpp='$OBJCPP $CPPFLAGS'
8279 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8280 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8281 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8283 ac_ext=m
8284 ac_cpp='$OBJCPP $CPPFLAGS'
8285 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8286 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8287 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8288 if test -n "$ac_tool_prefix"; then
8289 for ac_prog in gcc objcc objc cc CC
8291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8292 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_OBJC+:} false; then :
8296 $as_echo_n "(cached) " >&6
8297 else
8298 if test -n "$OBJC"; then
8299 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8304 IFS=$as_save_IFS
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 break 2
8312 done
8313 done
8314 IFS=$as_save_IFS
8318 OBJC=$ac_cv_prog_OBJC
8319 if test -n "$OBJC"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8321 $as_echo "$OBJC" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8328 test -n "$OBJC" && break
8329 done
8331 if test -z "$OBJC"; then
8332 ac_ct_OBJC=$OBJC
8333 for ac_prog in gcc objcc objc cc CC
8335 # Extract the first word of "$ac_prog", so it can be a program name with args.
8336 set dummy $ac_prog; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8338 $as_echo_n "checking for $ac_word... " >&6; }
8339 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 if test -n "$ac_ct_OBJC"; then
8343 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8344 else
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 for as_dir in $PATH
8348 IFS=$as_save_IFS
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8354 break 2
8356 done
8357 done
8358 IFS=$as_save_IFS
8362 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8363 if test -n "$ac_ct_OBJC"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8365 $as_echo "$ac_ct_OBJC" >&6; }
8366 else
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8372 test -n "$ac_ct_OBJC" && break
8373 done
8375 if test "x$ac_ct_OBJC" = x; then
8376 OBJC="gcc"
8377 else
8378 case $cross_compiling:$ac_tool_warned in
8379 yes:)
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8382 ac_tool_warned=yes ;;
8383 esac
8384 OBJC=$ac_ct_OBJC
8388 # Provide some information about the compiler.
8389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8390 set X $ac_compile
8391 ac_compiler=$2
8392 for ac_option in --version -v -V -qversion; do
8393 { { ac_try="$ac_compiler $ac_option >&5"
8394 case "(($ac_try" in
8395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396 *) ac_try_echo=$ac_try;;
8397 esac
8398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8399 $as_echo "$ac_try_echo"; } >&5
8400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8401 ac_status=$?
8402 if test -s conftest.err; then
8403 sed '10a\
8404 ... rest of stderr output deleted ...
8405 10q' conftest.err >conftest.er1
8406 cat conftest.er1 >&5
8408 rm -f conftest.er1 conftest.err
8409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8410 test $ac_status = 0; }
8411 done
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8414 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8415 if ${ac_cv_objc_compiler_gnu+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8422 main ()
8424 #ifndef __GNUC__
8425 choke me
8426 #endif
8429 return 0;
8431 _ACEOF
8432 if ac_fn_objc_try_compile "$LINENO"; then :
8433 ac_compiler_gnu=yes
8434 else
8435 ac_compiler_gnu=no
8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8438 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8442 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8443 if test $ac_compiler_gnu = yes; then
8444 GOBJC=yes
8445 else
8446 GOBJC=
8448 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8449 ac_save_OBJCFLAGS=$OBJCFLAGS
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8451 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8452 if ${ac_cv_prog_objc_g+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_save_objc_werror_flag=$ac_objc_werror_flag
8456 ac_objc_werror_flag=yes
8457 ac_cv_prog_objc_g=no
8458 OBJCFLAGS="-g"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8463 main ()
8467 return 0;
8469 _ACEOF
8470 if ac_fn_objc_try_compile "$LINENO"; then :
8471 ac_cv_prog_objc_g=yes
8472 else
8473 OBJCFLAGS=""
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8478 main ()
8482 return 0;
8484 _ACEOF
8485 if ac_fn_objc_try_compile "$LINENO"; then :
8487 else
8488 ac_objc_werror_flag=$ac_save_objc_werror_flag
8489 OBJCFLAGS="-g"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8494 main ()
8498 return 0;
8500 _ACEOF
8501 if ac_fn_objc_try_compile "$LINENO"; then :
8502 ac_cv_prog_objc_g=yes
8504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8509 ac_objc_werror_flag=$ac_save_objc_werror_flag
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8512 $as_echo "$ac_cv_prog_objc_g" >&6; }
8513 if test "$ac_test_OBJCFLAGS" = set; then
8514 OBJCFLAGS=$ac_save_OBJCFLAGS
8515 elif test $ac_cv_prog_objc_g = yes; then
8516 if test "$GOBJC" = yes; then
8517 OBJCFLAGS="-g -O2"
8518 else
8519 OBJCFLAGS="-g"
8521 else
8522 if test "$GOBJC" = yes; then
8523 OBJCFLAGS="-O2"
8524 else
8525 OBJCFLAGS=
8528 ac_ext=m
8529 ac_cpp='$OBJCPP $CPPFLAGS'
8530 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8535 ac_ext=m
8536 ac_cpp='$OBJCPP $CPPFLAGS'
8537 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8538 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8539 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8541 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8542 if test -z "$OBJCPP"; then
8543 if ${ac_cv_prog_OBJCPP+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 # Double quotes because OBJCPP needs to be expanded
8547 for OBJCPP in "$OBJC -E" "/lib/cpp"
8549 ac_preproc_ok=false
8550 for ac_objc_preproc_warn_flag in '' yes
8552 # Use a header file that comes with gcc, so configuring glibc
8553 # with a fresh cross-compiler works.
8554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8555 # <limits.h> exists even on freestanding compilers.
8556 # On the NeXT, cc -E runs the code through the compiler's parser,
8557 # not just through cpp. "Syntax error" is here to catch this case.
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #ifdef __STDC__
8561 # include <limits.h>
8562 #else
8563 # include <assert.h>
8564 #endif
8565 Syntax error
8566 _ACEOF
8567 if ac_fn_objc_try_cpp "$LINENO"; then :
8569 else
8570 # Broken: fails on valid input.
8571 continue
8573 rm -f conftest.err conftest.i conftest.$ac_ext
8575 # OK, works on sane cases. Now check whether nonexistent headers
8576 # can be detected and how.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #include <ac_nonexistent.h>
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 # Broken: success on invalid input.
8583 continue
8584 else
8585 # Passes both tests.
8586 ac_preproc_ok=:
8587 break
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 done
8592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8593 rm -f conftest.i conftest.err conftest.$ac_ext
8594 if $ac_preproc_ok; then :
8595 break
8598 done
8599 ac_cv_prog_OBJCPP=$OBJCPP
8602 OBJCPP=$ac_cv_prog_OBJCPP
8603 else
8604 ac_cv_prog_OBJCPP=$OBJCPP
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8607 $as_echo "$OBJCPP" >&6; }
8608 ac_preproc_ok=false
8609 for ac_objc_preproc_warn_flag in '' yes
8611 # Use a header file that comes with gcc, so configuring glibc
8612 # with a fresh cross-compiler works.
8613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8614 # <limits.h> exists even on freestanding compilers.
8615 # On the NeXT, cc -E runs the code through the compiler's parser,
8616 # not just through cpp. "Syntax error" is here to catch this case.
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 #ifdef __STDC__
8620 # include <limits.h>
8621 #else
8622 # include <assert.h>
8623 #endif
8624 Syntax error
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8628 else
8629 # Broken: fails on valid input.
8630 continue
8632 rm -f conftest.err conftest.i conftest.$ac_ext
8634 # OK, works on sane cases. Now check whether nonexistent headers
8635 # can be detected and how.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #include <ac_nonexistent.h>
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8641 # Broken: success on invalid input.
8642 continue
8643 else
8644 # Passes both tests.
8645 ac_preproc_ok=:
8646 break
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 done
8651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8652 rm -f conftest.i conftest.err conftest.$ac_ext
8653 if $ac_preproc_ok; then :
8655 else
8656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8658 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8659 See \`config.log' for more details" "$LINENO" 5; }
8662 ac_ext=m
8663 ac_cpp='$OBJCPP $CPPFLAGS'
8664 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8665 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8666 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8669 for ac_header in Metal/Metal.h
8670 do :
8671 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8672 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define HAVE_METAL_METAL_H 1
8675 _ACEOF
8679 done
8681 ac_ext=c
8682 ac_cpp='$CPP $CPPFLAGS'
8683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8687 LIBEXT="dylib"
8688 DLLFLAGS="$DLLFLAGS -fPIC"
8689 LDDLLFLAGS="-fPIC"
8690 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8691 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8692 COREFOUNDATION_LIBS="-framework CoreFoundation"
8694 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8696 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8698 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8700 CORESERVICES_LIBS="-framework CoreServices"
8702 APPKIT_LIBS="-framework AppKit"
8704 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8707 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8709 wine_can_build_preloader=yes
8710 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8734 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8736 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8737 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8748 else
8749 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8756 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8757 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8758 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8759 else
8760 { $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
8761 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8762 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8773 else
8774 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $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
8781 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8782 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8783 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8784 else
8785 wine_can_build_preloader=no
8788 else
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8790 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8791 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8802 else
8803 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8810 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8811 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8812 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8815 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8816 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int main(int argc, char **argv) { return 0; }
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8827 else
8828 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8835 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8836 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8837 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8838 else
8839 wine_can_build_preloader=no
8843 if test "$wine_can_build_preloader" = "yes"
8844 then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8846 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8847 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8848 $as_echo_n "(cached) " >&6
8849 else
8850 ac_wine_try_cflags_saved=$CFLAGS
8851 CFLAGS="$CFLAGS -Wl,-no_pie"
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8854 int main(int argc, char **argv) { return 0; }
8855 _ACEOF
8856 if ac_fn_c_try_link "$LINENO"; then :
8857 ac_cv_cflags__Wl__no_pie=yes
8858 else
8859 ac_cv_cflags__Wl__no_pie=no
8861 rm -f core conftest.err conftest.$ac_objext \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8866 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8867 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8868 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8870 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8871 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8872 else
8873 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8876 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8877 then
8878 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8881 if test "$ac_cv_header_Security_Security_h" = "yes"
8882 then
8883 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8885 ac_save_LIBS="$LIBS"
8886 LIBS="$LIBS $SECURITY_LIBS"
8887 for ac_func in SSLCopyPeerCertificates
8888 do :
8889 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8890 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8891 cat >>confdefs.h <<_ACEOF
8892 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8893 _ACEOF
8896 done
8898 LIBS="$ac_save_LIBS"
8900 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8901 then
8902 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8903 then
8904 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8906 else
8907 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8910 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8911 ac_save_LIBS="$LIBS"
8912 LIBS="$LIBS $COREAUDIO_LIBS"
8913 for ac_func in AUGraphAddNode
8914 do :
8915 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8916 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8917 cat >>confdefs.h <<_ACEOF
8918 #define HAVE_AUGRAPHADDNODE 1
8919 _ACEOF
8922 done
8924 LIBS="$ac_save_LIBS"
8926 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8927 then
8928 OPENAL_LIBS="-framework OpenAL"
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_OPENAL 1
8933 _ACEOF
8935 ac_cv_lib_openal=yes
8937 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8938 then
8939 OPENCL_LIBS="-framework OpenCL"
8941 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8943 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8944 then
8945 ac_save_LIBS="$LIBS"
8946 LIBS="$LIBS $IOKIT_LIBS"
8947 for ac_func in IOHIDManagerCreate
8948 do :
8949 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8950 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_IOHIDMANAGERCREATE 1
8953 _ACEOF
8956 done
8958 LIBS="$ac_save_LIBS"
8960 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8961 then
8962 ac_save_LIBS="$LIBS"
8963 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8965 $as_echo_n "checking for the QuickTime framework... " >&6; }
8966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8968 #include <QuickTime/ImageCompression.h>
8970 main ()
8972 CodecManagerVersion(NULL);
8974 return 0;
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8979 $as_echo "yes" >&6; }
8980 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8982 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8986 ac_cv_header_QuickTime_ImageCompression_h=no
8988 rm -f core conftest.err conftest.$ac_objext \
8989 conftest$ac_exeext conftest.$ac_ext
8990 LIBS="$ac_save_LIBS"
8992 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8993 then
8994 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8996 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8997 then
8998 CARBON_LIBS="-framework Carbon"
9001 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9002 then
9003 METAL_LIBS="-framework Metal -framework QuartzCore"
9007 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9008 then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9010 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9011 ac_ext=m
9012 ac_cpp='$OBJCPP $CPPFLAGS'
9013 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9014 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9015 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 #include <Metal/Metal.h>
9021 main ()
9023 id<MTLDevice> device; device.registryID;
9025 return 0;
9027 _ACEOF
9028 if ac_fn_objc_try_compile "$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9032 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9039 ac_ext=c
9040 ac_cpp='$CPP $CPPFLAGS'
9041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9047 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9048 then
9049 ac_save_LIBS="$LIBS"
9050 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9051 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9052 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9053 enable_winemac_drv=${enable_winemac_drv:-yes}
9056 LIBS="$ac_save_LIBS"
9059 if test "x$enable_win16" = "xyes"
9060 then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9062 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9063 if test "$cross_compiling" = yes; then :
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9065 $as_echo "cross-compiling, assuming yes" >&6; }
9066 else
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 asm(".text\n"
9070 "bad:\tnop;nop\n"
9071 "good:\tnop;nop\n\t"
9072 ".globl _testfunc\n"
9073 "_testfunc:\tcallw good");
9074 extern void testfunc();
9076 main ()
9078 unsigned short *p = (unsigned short *)testfunc;
9079 return p[0] != 0xe866 || p[1] != 0xfffa
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_run "$LINENO"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 $as_echo "yes" >&6; }
9087 else
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9090 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
9092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9093 conftest.$ac_objext conftest.beam conftest.$ac_ext
9098 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9100 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9102 WINELOADER_DEPENDS="wine_info.plist"
9104 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9105 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9108 linux-android*)
9109 DLLFLAGS="$DLLFLAGS -fPIC"
9110 LDDLLFLAGS="-fPIC"
9111 LDEXECFLAGS="-Wl,-pie"
9112 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9115 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9122 int main(int argc, char **argv) { return 0; }
9123 _ACEOF
9124 if ac_fn_c_try_link "$LINENO"; then :
9125 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9126 else
9127 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 CFLAGS=$ac_wine_try_cflags_saved
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9134 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9135 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9136 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9138 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9139 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9142 if eval \${$as_ac_var+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 eval "$as_ac_var=yes"
9153 else
9154 eval "$as_ac_var=no"
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 eval ac_res=\$$as_ac_var
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9162 $as_echo "$ac_res" >&6; }
9163 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9164 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9165 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9166 else
9167 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9169 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9170 if eval \${$as_ac_var+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9177 int main(int argc, char **argv) { return 0; }
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 eval "$as_ac_var=yes"
9181 else
9182 eval "$as_ac_var=no"
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 CFLAGS=$ac_wine_try_cflags_saved
9188 eval ac_res=\$$as_ac_var
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9190 $as_echo "$ac_res" >&6; }
9191 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9192 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9193 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9197 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9198 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_wine_try_cflags_saved=$CFLAGS
9202 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9205 int main(int argc, char **argv) { return 0; }
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 ac_cv_cflags__Wl___enable_new_dtags=yes
9209 else
9210 ac_cv_cflags__Wl___enable_new_dtags=no
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 CFLAGS=$ac_wine_try_cflags_saved
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9217 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9218 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9219 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9222 LIBWINE_SHAREDLIB="libwine.so"
9224 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9226 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9229 $as_echo_n "checking for -lEGL... " >&6; }
9230 if ${ac_cv_lib_soname_EGL+:} false; then :
9231 $as_echo_n "(cached) " >&6
9232 else
9233 ac_check_soname_save_LIBS=$LIBS
9234 LIBS="-lEGL $LIBS"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char eglGetProcAddress ();
9246 main ()
9248 return eglGetProcAddress ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 case "$LIBEXT" in
9255 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9256 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'` ;;
9257 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9258 if ${ac_cv_lib_soname_EGL:+false} :; then :
9259 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9260 fi ;;
9261 esac
9262 else
9263 ac_cv_lib_soname_EGL=
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_EGL:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9275 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9279 _ACEOF
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9284 $as_echo_n "checking for -lGLESv2... " >&6; }
9285 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9286 $as_echo_n "(cached) " >&6
9287 else
9288 ac_check_soname_save_LIBS=$LIBS
9289 LIBS="-lGLESv2 $LIBS"
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9296 #ifdef __cplusplus
9297 extern "C"
9298 #endif
9299 char glFlush ();
9301 main ()
9303 return glFlush ();
9305 return 0;
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 case "$LIBEXT" in
9310 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9311 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'` ;;
9312 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9313 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9314 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9315 fi ;;
9316 esac
9317 else
9318 ac_cv_lib_soname_GLESv2=
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_soname_save_LIBS
9324 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9326 $as_echo "not found" >&6; }
9328 else
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9330 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9332 cat >>confdefs.h <<_ACEOF
9333 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9334 _ACEOF
9339 if test "x$exec_prefix" = xNONE
9340 then
9341 case $host_cpu in
9342 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9343 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9344 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9345 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9346 esac
9351 case $host_cpu in
9352 *i[3456789]86*)
9353 DLLFLAGS="$DLLFLAGS -fno-PIC"
9354 LDDLLFLAGS="-fno-PIC" ;;
9356 DLLFLAGS="$DLLFLAGS -fPIC"
9357 LDDLLFLAGS="-fPIC" ;;
9358 esac
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9360 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9361 if ${ac_cv_c_dll_gnuelf+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_wine_try_cflags_saved=$CFLAGS
9365 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 void myfunc() {}
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9372 else
9373 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 CFLAGS=$ac_wine_try_cflags_saved
9378 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9379 ac_cv_c_dll_gnuelf="yes"
9380 else
9381 ac_cv_c_dll_gnuelf="no"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9385 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9386 if test "$ac_cv_c_dll_gnuelf" = "yes"
9387 then
9388 LIBWINE_LDFLAGS="-shared"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9390 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9391 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_wine_try_cflags_saved=$CFLAGS
9395 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9398 int main(int argc, char **argv) { return 0; }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9402 else
9403 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 CFLAGS=$ac_wine_try_cflags_saved
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9410 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9411 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9412 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9413 else
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9415 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9416 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_wine_try_cflags_saved=$CFLAGS
9420 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int main(int argc, char **argv) { return 0; }
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9427 else
9428 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 CFLAGS=$ac_wine_try_cflags_saved
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9435 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9436 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9437 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9441 echo '{ global: *; };' >conftest.map
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9443 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9444 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9455 else
9456 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9463 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9464 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9465 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9467 rm -f conftest.map
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9470 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9471 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_wine_try_cflags_saved=$CFLAGS
9475 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int main(int argc, char **argv) { return 0; }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_cflags__Wl___export_dynamic=yes
9482 else
9483 ac_cv_cflags__Wl___export_dynamic=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9490 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9491 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9492 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9494 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9496 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9498 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9499 if eval \${$as_ac_var+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_wine_try_cflags_saved=$CFLAGS
9503 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9506 int main(int argc, char **argv) { return 0; }
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 eval "$as_ac_var=yes"
9510 else
9511 eval "$as_ac_var=no"
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 CFLAGS=$ac_wine_try_cflags_saved
9517 eval ac_res=\$$as_ac_var
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9519 $as_echo "$ac_res" >&6; }
9520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9521 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9522 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9523 else
9524 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9526 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9527 if eval \${$as_ac_var+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_wine_try_cflags_saved=$CFLAGS
9531 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 eval "$as_ac_var=yes"
9538 else
9539 eval "$as_ac_var=no"
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 CFLAGS=$ac_wine_try_cflags_saved
9545 eval ac_res=\$$as_ac_var
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9547 $as_echo "$ac_res" >&6; }
9548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9549 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9550 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9555 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9556 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9557 $as_echo_n "(cached) " >&6
9558 else
9559 ac_wine_try_cflags_saved=$CFLAGS
9560 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9563 int main(int argc, char **argv) { return 0; }
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_cflags__Wl___enable_new_dtags=yes
9567 else
9568 ac_cv_cflags__Wl___enable_new_dtags=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 CFLAGS=$ac_wine_try_cflags_saved
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9575 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9576 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9577 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9580 case $host_cpu in
9581 *i[3456789]86* | x86_64 | *aarch64*)
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9583 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9584 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_wine_try_cflags_saved=$CFLAGS
9588 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 int main(int argc, char **argv) { return 0; }
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9595 else
9596 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 CFLAGS=$ac_wine_try_cflags_saved
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9603 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9604 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9605 case $host_os in
9606 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9607 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9608 esac
9609 else
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9611 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9612 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_wine_try_cflags_saved=$CFLAGS
9616 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 int main(int argc, char **argv) { return 0; }
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9623 else
9624 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 CFLAGS=$ac_wine_try_cflags_saved
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9631 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9632 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9633 case $host_os in
9634 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9635 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9636 esac
9638 # Extract the first word of "prelink", so it can be a program name with args.
9639 set dummy prelink; ac_word=$2
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 $as_echo_n "checking for $ac_word... " >&6; }
9642 if ${ac_cv_path_PRELINK+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 case $PRELINK in
9646 [\\/]* | ?:[\\/]*)
9647 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651 for as_dir in /sbin /usr/sbin $PATH
9653 IFS=$as_save_IFS
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 break 2
9661 done
9662 done
9663 IFS=$as_save_IFS
9665 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9667 esac
9669 PRELINK=$ac_cv_path_PRELINK
9670 if test -n "$PRELINK"; then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9672 $as_echo "$PRELINK" >&6; }
9673 else
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 $as_echo "no" >&6; }
9679 if test "x$PRELINK" = xfalse
9680 then
9681 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9685 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9686 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9687 $as_echo_n "(cached) " >&6
9688 else
9689 ac_wine_try_cflags_saved=$CFLAGS
9690 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9693 int main(int argc, char **argv) { return 0; }
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9697 else
9698 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 CFLAGS=$ac_wine_try_cflags_saved
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9705 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9706 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9707 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9710 esac
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9714 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9715 if ${ac_cv_c_dll_unixware+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 ac_wine_try_cflags_saved=$CFLAGS
9719 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9722 void myfunc() {}
9723 _ACEOF
9724 if ac_fn_c_try_link "$LINENO"; then :
9725 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9726 else
9727 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 CFLAGS=$ac_wine_try_cflags_saved
9732 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9733 ac_cv_c_dll_unixware="yes"
9734 else
9735 ac_cv_c_dll_unixware="no"
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9739 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9740 if test "$ac_cv_c_dll_unixware" = "yes"
9741 then
9742 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9745 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9747 LIBWINE_DEPENDS="wine.map"
9749 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9750 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9752 esac
9754 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9755 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9756 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9757 enable_winemac_drv=${enable_winemac_drv:-no}
9758 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9761 if test "x$with_mingw" != xno
9762 then
9763 case "x$with_mingw" in
9764 x|xyes) case "$host_cpu" in
9765 aarch64*)
9766 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9767 arm*)
9768 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9769 i[3456789]86*)
9770 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
9771 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9772 mingw32-gcc" ;;
9773 x86_64)
9774 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
9775 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9777 ac_prefix_list="" ;;
9778 esac
9779 for ac_prog in $ac_prefix_list
9781 # Extract the first word of "$ac_prog", so it can be a program name with args.
9782 set dummy $ac_prog; ac_word=$2
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9784 $as_echo_n "checking for $ac_word... " >&6; }
9785 if ${ac_cv_prog_CROSSCC+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 if test -n "$CROSSCC"; then
9789 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9790 else
9791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9792 for as_dir in $PATH
9794 IFS=$as_save_IFS
9795 test -z "$as_dir" && as_dir=.
9796 for ac_exec_ext in '' $ac_executable_extensions; do
9797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9798 ac_cv_prog_CROSSCC="$ac_prog"
9799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9800 break 2
9802 done
9803 done
9804 IFS=$as_save_IFS
9808 CROSSCC=$ac_cv_prog_CROSSCC
9809 if test -n "$CROSSCC"; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9811 $as_echo "$CROSSCC" >&6; }
9812 else
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9814 $as_echo "no" >&6; }
9818 test -n "$CROSSCC" && break
9819 done
9820 test -n "$CROSSCC" || CROSSCC="false"
9822 *) CROSSCC=$with_mingw ;;
9823 esac
9824 if test "$CROSSCC" != "false"
9825 then
9826 ac_save_CC="$CC"
9827 saved_CFLAGS=$CFLAGS
9828 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9830 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9834 CC="$CROSSCC"
9835 CFLAGS=$CROSSCFLAGS
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9837 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9838 if ${wine_cv_crosscc+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9845 main ()
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_compile "$LINENO"; then :
9853 wine_cv_crosscc=yes
9854 else
9855 wine_cv_crosscc=no
9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9860 $as_echo "$wine_cv_crosscc" >&6; }
9861 if test $wine_cv_crosscc = yes
9862 then
9863 set x $CROSSCC
9864 shift
9865 while test $# -ge 1
9867 case "$1" in
9868 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9869 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9870 esac
9871 shift
9872 done
9874 llvm_target=$CROSSTARGET
9875 llvm_cflags="-fuse-ld=lld"
9876 if test -z "$llvm_target"
9877 then
9878 case $host_cpu in
9879 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9880 *) llvm_target=$host_cpu-windows-gnu ;;
9881 esac
9883 case $llvm_target in
9884 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9885 esac
9886 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9888 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9889 if eval \${$as_ac_var+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 ac_wine_try_cflags_saved_cc=$CC
9894 ac_wine_try_cflags_saved_exeext=$ac_exeext
9895 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9896 CC="$CROSSCC"
9897 ac_exeext=".exe"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 int __cdecl mainCRTStartup(void) { return 0; }
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 eval "$as_ac_var=yes"
9904 else
9905 eval "$as_ac_var=no"
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 CFLAGS=$ac_wine_try_cflags_saved
9910 CC=$ac_wine_try_cflags_saved_cc
9911 ac_exeext=$ac_wine_try_cflags_saved_exeext
9913 eval ac_res=\$$as_ac_var
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9915 $as_echo "$ac_res" >&6; }
9916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9917 CROSSTARGET=$llvm_target
9918 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9919 DELAYLOADFLAG="-Wl,-delayload,"
9921 CFLAGS="$CFLAGS $llvm_cflags"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9926 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int __cdecl mainCRTStartup(void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__fno_strict_aliasing=yes
9941 else
9942 ac_cv_crosscflags__fno_strict_aliasing=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9951 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9952 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9957 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int __cdecl mainCRTStartup(void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9972 else
9973 ac_cv_crosscflags__Werror_unknown_warning_option=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9982 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9983 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9984 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9988 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 int __cdecl mainCRTStartup(void) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10003 else
10004 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10013 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10014 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10015 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10019 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 int __cdecl mainCRTStartup(void) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10034 else
10035 ac_cv_crosscflags__Wdeclaration_after_statement=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10044 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10045 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10050 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 int __cdecl mainCRTStartup(void) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wempty_body=yes
10065 else
10066 ac_cv_crosscflags__Wempty_body=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10075 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10076 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10081 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 int __cdecl mainCRTStartup(void) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wignored_qualifiers=yes
10096 else
10097 ac_cv_crosscflags__Wignored_qualifiers=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10106 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10107 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10112 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int __cdecl mainCRTStartup(void) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wpacked_not_aligned=yes
10127 else
10128 ac_cv_crosscflags__Wpacked_not_aligned=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10137 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10138 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10143 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int __cdecl mainCRTStartup(void) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wpragma_pack=yes
10158 else
10159 ac_cv_crosscflags__Wpragma_pack=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10168 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10169 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10174 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int __cdecl mainCRTStartup(void) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wshift_overflow_2=yes
10189 else
10190 ac_cv_crosscflags__Wshift_overflow_2=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10199 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10200 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10205 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int __cdecl mainCRTStartup(void) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wstrict_prototypes=yes
10220 else
10221 ac_cv_crosscflags__Wstrict_prototypes=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10230 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10231 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10236 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int __cdecl mainCRTStartup(void) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wtype_limits=yes
10251 else
10252 ac_cv_crosscflags__Wtype_limits=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10261 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10262 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10267 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int __cdecl mainCRTStartup(void) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10282 else
10283 ac_cv_crosscflags__Wunused_but_set_parameter=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10292 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10293 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10297 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10298 if ${ac_cv_crosscflags__Wvla+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 ac_wine_try_cflags_saved_cc=$CC
10303 ac_wine_try_cflags_saved_exeext=$ac_exeext
10304 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10305 CC="$CROSSCC"
10306 ac_exeext=".exe"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 int __cdecl mainCRTStartup(void) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_crosscflags__Wvla=yes
10313 else
10314 ac_cv_crosscflags__Wvla=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10319 CC=$ac_wine_try_cflags_saved_cc
10320 ac_exeext=$ac_wine_try_cflags_saved_exeext
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10323 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10324 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10325 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10329 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 ac_wine_try_cflags_saved_cc=$CC
10334 ac_wine_try_cflags_saved_exeext=$ac_exeext
10335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10336 CC="$CROSSCC"
10337 ac_exeext=".exe"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 int __cdecl mainCRTStartup(void) { return 0; }
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_crosscflags__Wwrite_strings=yes
10344 else
10345 ac_cv_crosscflags__Wwrite_strings=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10350 CC=$ac_wine_try_cflags_saved_cc
10351 ac_exeext=$ac_wine_try_cflags_saved_exeext
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10354 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10355 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10360 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__Wpointer_arith=yes
10375 else
10376 ac_cv_crosscflags__Wpointer_arith=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10385 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10386 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10391 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int __cdecl mainCRTStartup(void) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__Wlogical_op=yes
10406 else
10407 ac_cv_crosscflags__Wlogical_op=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10416 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10417 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10421 case $host_cpu in
10422 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10423 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10424 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10425 $as_echo_n "(cached) " >&6
10426 else
10427 ac_wine_try_cflags_saved=$CFLAGS
10428 ac_wine_try_cflags_saved_cc=$CC
10429 ac_wine_try_cflags_saved_exeext=$ac_exeext
10430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10431 CC="$CROSSCC"
10432 ac_exeext=".exe"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 int __cdecl mainCRTStartup(void) { return 0; }
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10439 else
10440 ac_cv_crosscflags__fno_omit_frame_pointer=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10445 CC=$ac_wine_try_cflags_saved_cc
10446 ac_exeext=$ac_wine_try_cflags_saved_exeext
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10449 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10450 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10452 fi ;;
10453 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10454 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10455 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 ac_wine_try_cflags_saved_cc=$CC
10460 ac_wine_try_cflags_saved_exeext=$ac_exeext
10461 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10462 CC="$CROSSCC"
10463 ac_exeext=".exe"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 int __cdecl mainCRTStartup(void) { return 0; }
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_crosscflags__Wno_format=yes
10470 else
10471 ac_cv_crosscflags__Wno_format=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 CFLAGS=$ac_wine_try_cflags_saved
10476 CC=$ac_wine_try_cflags_saved_cc
10477 ac_exeext=$ac_wine_try_cflags_saved_exeext
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10480 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10481 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10485 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10486 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 ac_wine_try_cflags_saved_cc=$CC
10491 ac_wine_try_cflags_saved_exeext=$ac_exeext
10492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10493 CC="$CROSSCC"
10494 ac_exeext=".exe"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 int __cdecl mainCRTStartup(void) { return 0; }
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_crosscflags__Wformat_overflow=yes
10501 else
10502 ac_cv_crosscflags__Wformat_overflow=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 CFLAGS=$ac_wine_try_cflags_saved
10507 CC=$ac_wine_try_cflags_saved_cc
10508 ac_exeext=$ac_wine_try_cflags_saved_exeext
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10511 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10512 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10513 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10516 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10517 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_wine_try_cflags_saved=$CFLAGS
10521 ac_wine_try_cflags_saved_cc=$CC
10522 ac_wine_try_cflags_saved_exeext=$ac_exeext
10523 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10524 CC="$CROSSCC"
10525 ac_exeext=".exe"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 int __cdecl mainCRTStartup(void) { return 0; }
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 ac_cv_crosscflags__Wnonnull=yes
10532 else
10533 ac_cv_crosscflags__Wnonnull=no
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 CFLAGS=$ac_wine_try_cflags_saved
10538 CC=$ac_wine_try_cflags_saved_cc
10539 ac_exeext=$ac_wine_try_cflags_saved_exeext
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10542 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10543 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10544 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10545 fi ;;
10546 esac
10549 if test -z "$CROSSDEBUG"
10550 then
10551 for ac_flag in $CROSSCFLAGS; do
10552 case $ac_flag in
10553 -gdwarf*) CROSSDEBUG=dwarf ;;
10554 -gcodeview) CROSSDEBUG=pdb ;;
10555 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10556 esac
10557 done
10559 case $CROSSDEBUG in
10560 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10561 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10562 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_wine_try_cflags_saved=$CFLAGS
10566 ac_wine_try_cflags_saved_cc=$CC
10567 ac_wine_try_cflags_saved_exeext=$ac_exeext
10568 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10569 CC="$CROSSCC"
10570 ac_exeext=".exe"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10573 int __cdecl mainCRTStartup(void) { return 0; }
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 ac_cv_crosscflags__gdwarf_2=yes
10577 else
10578 ac_cv_crosscflags__gdwarf_2=no
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 CFLAGS=$ac_wine_try_cflags_saved
10583 CC=$ac_wine_try_cflags_saved_cc
10584 ac_exeext=$ac_wine_try_cflags_saved_exeext
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10587 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10588 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10592 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10593 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10594 $as_echo_n "(cached) " >&6
10595 else
10596 ac_wine_try_cflags_saved=$CFLAGS
10597 ac_wine_try_cflags_saved_cc=$CC
10598 ac_wine_try_cflags_saved_exeext=$ac_exeext
10599 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10600 CC="$CROSSCC"
10601 ac_exeext=".exe"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 int __cdecl mainCRTStartup(void) { return 0; }
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 ac_cv_crosscflags__gstrict_dwarf=yes
10608 else
10609 ac_cv_crosscflags__gstrict_dwarf=no
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 CFLAGS=$ac_wine_try_cflags_saved
10614 CC=$ac_wine_try_cflags_saved_cc
10615 ac_exeext=$ac_wine_try_cflags_saved_exeext
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10618 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10619 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10621 fi ;;
10622 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10623 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10624 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_wine_try_cflags_saved=$CFLAGS
10628 ac_wine_try_cflags_saved_cc=$CC
10629 ac_wine_try_cflags_saved_exeext=$ac_exeext
10630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10631 CC="$CROSSCC"
10632 ac_exeext=".exe"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10635 int __cdecl mainCRTStartup(void) { return 0; }
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 ac_cv_crosscflags__gcodeview=yes
10639 else
10640 ac_cv_crosscflags__gcodeview=no
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 CFLAGS=$ac_wine_try_cflags_saved
10645 CC=$ac_wine_try_cflags_saved_cc
10646 ac_exeext=$ac_wine_try_cflags_saved_exeext
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10649 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10650 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10651 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10652 fi ;;
10653 esac
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10656 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10657 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_wine_try_cflags_saved=$CFLAGS
10661 ac_wine_try_cflags_saved_cc=$CC
10662 ac_wine_try_cflags_saved_exeext=$ac_exeext
10663 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10664 CC="$CROSSCC"
10665 ac_exeext=".exe"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 int __cdecl mainCRTStartup(void) { return 0; }
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_crosscflags__fexcess_precision_standard=yes
10672 else
10673 ac_cv_crosscflags__fexcess_precision_standard=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 CFLAGS=$ac_wine_try_cflags_saved
10678 CC=$ac_wine_try_cflags_saved_cc
10679 ac_exeext=$ac_wine_try_cflags_saved_exeext
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10682 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10683 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10684 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10688 if test "x$enable_werror" = "xyes"
10689 then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10691 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10692 if ${ac_cv_crosscflags__Werror+:} false; then :
10693 $as_echo_n "(cached) " >&6
10694 else
10695 ac_wine_try_cflags_saved=$CFLAGS
10696 ac_wine_try_cflags_saved_cc=$CC
10697 ac_wine_try_cflags_saved_exeext=$ac_exeext
10698 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10699 CC="$CROSSCC"
10700 ac_exeext=".exe"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10703 int __cdecl mainCRTStartup(void) { return 0; }
10704 _ACEOF
10705 if ac_fn_c_try_link "$LINENO"; then :
10706 ac_cv_crosscflags__Werror=yes
10707 else
10708 ac_cv_crosscflags__Werror=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 CFLAGS=$ac_wine_try_cflags_saved
10713 CC=$ac_wine_try_cflags_saved_cc
10714 ac_exeext=$ac_wine_try_cflags_saved_exeext
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10717 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10718 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10719 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10723 CFLAGS=$saved_CFLAGS
10724 CC="$ac_save_CC"
10727 if test "x$CROSSTARGET" = "x"; then :
10728 case "x$with_mingw" in
10729 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10730 xno) ;;
10731 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10732 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10733 esac
10738 if test "$ac_cv_header_pthread_h" = "yes"
10739 then
10740 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10741 if test "x$ac_cv_func_pthread_create" = xyes; then :
10743 else
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10745 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10746 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-lpthread $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char pthread_create ();
10762 main ()
10764 return pthread_create ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_pthread_pthread_create=yes
10771 else
10772 ac_cv_lib_pthread_pthread_create=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10779 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10780 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10781 PTHREAD_LIBS="-lpthread"
10788 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10789 case "x$with_pthread" in
10790 xno) ;;
10791 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10792 Wine cannot support threads without libpthread.
10793 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10794 esac
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10800 $as_echo_n "checking for X... " >&6; }
10803 # Check whether --with-x was given.
10804 if test "${with_x+set}" = set; then :
10805 withval=$with_x;
10808 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10809 if test "x$with_x" = xno; then
10810 # The user explicitly disabled X.
10811 have_x=disabled
10812 else
10813 case $x_includes,$x_libraries in #(
10814 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10815 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 # One or both of the vars are not set, and there is no cached value.
10819 ac_x_includes=no ac_x_libraries=no
10820 rm -f -r conftest.dir
10821 if mkdir conftest.dir; then
10822 cd conftest.dir
10823 cat >Imakefile <<'_ACEOF'
10824 incroot:
10825 @echo incroot='${INCROOT}'
10826 usrlibdir:
10827 @echo usrlibdir='${USRLIBDIR}'
10828 libdir:
10829 @echo libdir='${LIBDIR}'
10830 _ACEOF
10831 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10833 for ac_var in incroot usrlibdir libdir; do
10834 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10835 done
10836 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10837 for ac_extension in a so sl dylib la dll; do
10838 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10839 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10840 ac_im_usrlibdir=$ac_im_libdir; break
10842 done
10843 # Screen out bogus values from the imake configuration. They are
10844 # bogus both because they are the default anyway, and because
10845 # using them would break gcc on systems where it needs fixed includes.
10846 case $ac_im_incroot in
10847 /usr/include) ac_x_includes= ;;
10848 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10849 esac
10850 case $ac_im_usrlibdir in
10851 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10852 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10853 esac
10855 cd ..
10856 rm -f -r conftest.dir
10859 # Standard set of common directories for X headers.
10860 # Check X11 before X11Rn because it is often a symlink to the current release.
10861 ac_x_header_dirs='
10862 /usr/X11/include
10863 /usr/X11R7/include
10864 /usr/X11R6/include
10865 /usr/X11R5/include
10866 /usr/X11R4/include
10868 /usr/include/X11
10869 /usr/include/X11R7
10870 /usr/include/X11R6
10871 /usr/include/X11R5
10872 /usr/include/X11R4
10874 /usr/local/X11/include
10875 /usr/local/X11R7/include
10876 /usr/local/X11R6/include
10877 /usr/local/X11R5/include
10878 /usr/local/X11R4/include
10880 /usr/local/include/X11
10881 /usr/local/include/X11R7
10882 /usr/local/include/X11R6
10883 /usr/local/include/X11R5
10884 /usr/local/include/X11R4
10886 /usr/X386/include
10887 /usr/x386/include
10888 /usr/XFree86/include/X11
10890 /usr/include
10891 /usr/local/include
10892 /usr/unsupported/include
10893 /usr/athena/include
10894 /usr/local/x11r5/include
10895 /usr/lpp/Xamples/include
10897 /usr/openwin/include
10898 /usr/openwin/share/include'
10900 if test "$ac_x_includes" = no; then
10901 # Guess where to find include files, by looking for Xlib.h.
10902 # First, try using that file with no special directory specified.
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10905 #include <X11/Xlib.h>
10906 _ACEOF
10907 if ac_fn_c_try_cpp "$LINENO"; then :
10908 # We can compile using X headers with no special include directory.
10909 ac_x_includes=
10910 else
10911 for ac_dir in $ac_x_header_dirs; do
10912 if test -r "$ac_dir/X11/Xlib.h"; then
10913 ac_x_includes=$ac_dir
10914 break
10916 done
10918 rm -f conftest.err conftest.i conftest.$ac_ext
10919 fi # $ac_x_includes = no
10921 if test "$ac_x_libraries" = no; then
10922 # Check for the libraries.
10923 # See if we find them without any special options.
10924 # Don't add to $LIBS permanently.
10925 ac_save_LIBS=$LIBS
10926 LIBS="-lX11 $LIBS"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 #include <X11/Xlib.h>
10931 main ()
10933 XrmInitialize ()
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 LIBS=$ac_save_LIBS
10940 # We can link X programs with no special library path.
10941 ac_x_libraries=
10942 else
10943 LIBS=$ac_save_LIBS
10944 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10946 # Don't even attempt the hair of trying to link an X program!
10947 for ac_extension in a so sl dylib la dll; do
10948 if test -r "$ac_dir/libX11.$ac_extension"; then
10949 ac_x_libraries=$ac_dir
10950 break 2
10952 done
10953 done
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 fi # $ac_x_libraries = no
10959 case $ac_x_includes,$ac_x_libraries in #(
10960 no,* | *,no | *\'*)
10961 # Didn't find X, or a directory has "'" in its name.
10962 ac_cv_have_x="have_x=no";; #(
10964 # Record where we found X for the cache.
10965 ac_cv_have_x="have_x=yes\
10966 ac_x_includes='$ac_x_includes'\
10967 ac_x_libraries='$ac_x_libraries'"
10968 esac
10970 ;; #(
10971 *) have_x=yes;;
10972 esac
10973 eval "$ac_cv_have_x"
10974 fi # $with_x != no
10976 if test "$have_x" != yes; then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10978 $as_echo "$have_x" >&6; }
10979 no_x=yes
10980 else
10981 # If each of the values was on the command line, it overrides each guess.
10982 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10983 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10984 # Update the cache value to reflect the command line values.
10985 ac_cv_have_x="have_x=yes\
10986 ac_x_includes='$x_includes'\
10987 ac_x_libraries='$x_libraries'"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10989 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10992 if test "$no_x" = yes; then
10993 # Not all programs may use this symbol, but it does not hurt to define it.
10995 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10997 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10998 else
10999 if test -n "$x_includes"; then
11000 X_CFLAGS="$X_CFLAGS -I$x_includes"
11003 # It would also be nice to do this for all -L options, not just this one.
11004 if test -n "$x_libraries"; then
11005 X_LIBS="$X_LIBS -L$x_libraries"
11006 # For Solaris; some versions of Sun CC require a space after -R and
11007 # others require no space. Words are not sufficient . . . .
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11009 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11010 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11011 ac_xsave_c_werror_flag=$ac_c_werror_flag
11012 ac_c_werror_flag=yes
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11017 main ()
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11026 $as_echo "no" >&6; }
11027 X_LIBS="$X_LIBS -R$x_libraries"
11028 else
11029 LIBS="$ac_xsave_LIBS -R $x_libraries"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11034 main ()
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11043 $as_echo "yes" >&6; }
11044 X_LIBS="$X_LIBS -R $x_libraries"
11045 else
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11047 $as_echo "neither works" >&6; }
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 ac_c_werror_flag=$ac_xsave_c_werror_flag
11055 LIBS=$ac_xsave_LIBS
11058 # Check for system-dependent libraries X programs must link with.
11059 # Do this before checking for the system-independent R6 libraries
11060 # (-lICE), since we may need -lsocket or whatever for X linking.
11062 if test "$ISC" = yes; then
11063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11064 else
11065 # Martyn Johnson says this is needed for Ultrix, if the X
11066 # libraries were built with DECnet support. And Karl Berry says
11067 # the Alpha needs dnet_stub (dnet does not exist).
11068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char XOpenDisplay ();
11080 main ()
11082 return XOpenDisplay ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11089 else
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11091 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11092 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-ldnet $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char dnet_ntoa ();
11108 main ()
11110 return dnet_ntoa ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 ac_cv_lib_dnet_dnet_ntoa=yes
11117 else
11118 ac_cv_lib_dnet_dnet_ntoa=no
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_lib_save_LIBS
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11125 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11126 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11127 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11130 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11132 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11133 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-ldnet_stub $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char dnet_ntoa ();
11149 main ()
11151 return dnet_ntoa ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11158 else
11159 ac_cv_lib_dnet_stub_dnet_ntoa=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11166 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11167 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS="$ac_xsave_LIBS"
11177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11178 # to get the SysV transport functions.
11179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11180 # needs -lnsl.
11181 # The nsl library prevents programs from opening the X display
11182 # on Irix 5.2, according to T.E. Dickey.
11183 # The functions gethostbyname, getservbyname, and inet_addr are
11184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11185 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11186 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11190 if test $ac_cv_func_gethostbyname = no; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11192 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11193 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11194 $as_echo_n "(cached) " >&6
11195 else
11196 ac_check_lib_save_LIBS=$LIBS
11197 LIBS="-lnsl $LIBS"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char gethostbyname ();
11209 main ()
11211 return gethostbyname ();
11213 return 0;
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_nsl_gethostbyname=yes
11218 else
11219 ac_cv_lib_nsl_gethostbyname=no
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11226 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11227 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11231 if test $ac_cv_lib_nsl_gethostbyname = no; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11233 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11234 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lbsd $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char gethostbyname ();
11250 main ()
11252 return gethostbyname ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_bsd_gethostbyname=yes
11259 else
11260 ac_cv_lib_bsd_gethostbyname=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11267 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11268 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11275 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11276 # socket/setsockopt and other routines are undefined under SCO ODT
11277 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11278 # on later versions), says Simon Leinen: it contains gethostby*
11279 # variants that don't use the name server (or something). -lsocket
11280 # must be given before -lnsl if both are needed. We assume that
11281 # if connect needs -lnsl, so does gethostbyname.
11282 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11283 if test "x$ac_cv_func_connect" = xyes; then :
11287 if test $ac_cv_func_connect = no; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11289 $as_echo_n "checking for connect in -lsocket... " >&6; }
11290 if ${ac_cv_lib_socket_connect+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char connect ();
11306 main ()
11308 return connect ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_socket_connect=yes
11315 else
11316 ac_cv_lib_socket_connect=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11323 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11324 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11325 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11330 # Guillermo Gomez says -lposix is necessary on A/UX.
11331 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11332 if test "x$ac_cv_func_remove" = xyes; then :
11336 if test $ac_cv_func_remove = no; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11338 $as_echo_n "checking for remove in -lposix... " >&6; }
11339 if ${ac_cv_lib_posix_remove+:} false; then :
11340 $as_echo_n "(cached) " >&6
11341 else
11342 ac_check_lib_save_LIBS=$LIBS
11343 LIBS="-lposix $LIBS"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char remove ();
11355 main ()
11357 return remove ();
11359 return 0;
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_posix_remove=yes
11364 else
11365 ac_cv_lib_posix_remove=no
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11372 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11373 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11379 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11380 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11381 if test "x$ac_cv_func_shmat" = xyes; then :
11385 if test $ac_cv_func_shmat = no; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11387 $as_echo_n "checking for shmat in -lipc... " >&6; }
11388 if ${ac_cv_lib_ipc_shmat+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-lipc $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char shmat ();
11404 main ()
11406 return shmat ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_ipc_shmat=yes
11413 else
11414 ac_cv_lib_ipc_shmat=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11421 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11422 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11429 # Check for libraries that X11R6 Xt/Xaw programs need.
11430 ac_save_LDFLAGS=$LDFLAGS
11431 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11432 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11433 # check for ICE first), but we must link in the order -lSM -lICE or
11434 # we get undefined symbols. So assume we have SM if we have ICE.
11435 # These have to be linked with before -lX11, unlike the other
11436 # libraries we check for below, so use a different variable.
11437 # John Interrante, Karl Berry
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11439 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11440 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char IceConnectionNumber ();
11456 main ()
11458 return IceConnectionNumber ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_ICE_IceConnectionNumber=yes
11465 else
11466 ac_cv_lib_ICE_IceConnectionNumber=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11473 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11474 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11475 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11478 LDFLAGS=$ac_save_LDFLAGS
11483 if test "$have_x" = "yes"
11484 then
11485 ac_save_CPPFLAGS="$CPPFLAGS"
11486 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11489 $as_echo_n "checking for -lX11... " >&6; }
11490 if ${ac_cv_lib_soname_X11+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_soname_save_LIBS=$LIBS
11494 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char XCreateWindow ();
11506 main ()
11508 return XCreateWindow ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 case "$LIBEXT" in
11515 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11516 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'` ;;
11517 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11518 if ${ac_cv_lib_soname_X11:+false} :; then :
11519 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11520 fi ;;
11521 esac
11522 else
11523 ac_cv_lib_soname_X11=
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_soname_save_LIBS
11529 if ${ac_cv_lib_soname_X11:+false} :; then :
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11531 $as_echo "not found" >&6; }
11533 else
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11535 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11537 cat >>confdefs.h <<_ACEOF
11538 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11539 _ACEOF
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11544 $as_echo_n "checking for -lXext... " >&6; }
11545 if ${ac_cv_lib_soname_Xext+:} false; then :
11546 $as_echo_n "(cached) " >&6
11547 else
11548 ac_check_soname_save_LIBS=$LIBS
11549 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 /* Override any GCC internal prototype to avoid an error.
11554 Use char because int might match the return type of a GCC
11555 builtin and then its argument prototype would still apply. */
11556 #ifdef __cplusplus
11557 extern "C"
11558 #endif
11559 char XextCreateExtension ();
11561 main ()
11563 return XextCreateExtension ();
11565 return 0;
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"; then :
11569 case "$LIBEXT" in
11570 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11571 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'` ;;
11572 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11573 if ${ac_cv_lib_soname_Xext:+false} :; then :
11574 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11575 fi ;;
11576 esac
11577 else
11578 ac_cv_lib_soname_Xext=
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_soname_save_LIBS
11584 if ${ac_cv_lib_soname_Xext:+false} :; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11586 $as_echo "not found" >&6; }
11588 else
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11590 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11592 cat >>confdefs.h <<_ACEOF
11593 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11594 _ACEOF
11596 X_LIBS="$X_LIBS -lXext"
11598 X_LIBS="$X_LIBS -lX11"
11600 for ac_header in X11/Xlib.h \
11601 X11/XKBlib.h \
11602 X11/Xutil.h \
11603 X11/Xcursor/Xcursor.h \
11604 X11/extensions/shape.h \
11605 X11/extensions/XInput.h \
11606 X11/extensions/XInput2.h \
11607 X11/extensions/XShm.h \
11608 X11/extensions/Xcomposite.h \
11609 X11/extensions/Xfixes.h \
11610 X11/extensions/Xinerama.h \
11611 X11/extensions/Xrandr.h \
11612 X11/extensions/Xrender.h \
11613 X11/extensions/xf86vmode.h \
11614 X11/extensions/xf86vmproto.h
11615 do :
11616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11618 # include <X11/Xlib.h>
11619 #endif
11620 #ifdef HAVE_X11_XUTIL_H
11621 # include <X11/Xutil.h>
11622 #endif
11624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11625 cat >>confdefs.h <<_ACEOF
11626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11627 _ACEOF
11631 done
11634 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11635 then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11637 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11638 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char XkbQueryExtension ();
11654 main ()
11656 return XkbQueryExtension ();
11658 return 0;
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 ac_cv_lib_X11_XkbQueryExtension=yes
11663 else
11664 ac_cv_lib_X11_XkbQueryExtension=no
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11671 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11672 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11674 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11680 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11681 then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11683 $as_echo_n "checking for -lXcursor... " >&6; }
11684 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 ac_check_soname_save_LIBS=$LIBS
11688 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11695 #ifdef __cplusplus
11696 extern "C"
11697 #endif
11698 char XcursorImageLoadCursor ();
11700 main ()
11702 return XcursorImageLoadCursor ();
11704 return 0;
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"; then :
11708 case "$LIBEXT" in
11709 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11710 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'` ;;
11711 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11712 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11713 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11714 fi ;;
11715 esac
11716 else
11717 ac_cv_lib_soname_Xcursor=
11719 rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721 LIBS=$ac_check_soname_save_LIBS
11723 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11725 $as_echo "not found" >&6; }
11727 else
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11729 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11731 cat >>confdefs.h <<_ACEOF
11732 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11733 _ACEOF
11738 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11739 case "x$with_xcursor" in
11740 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11741 xno) ;;
11742 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11743 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11744 esac
11748 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11749 then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11751 $as_echo_n "checking for -lXi... " >&6; }
11752 if ${ac_cv_lib_soname_Xi+:} false; then :
11753 $as_echo_n "(cached) " >&6
11754 else
11755 ac_check_soname_save_LIBS=$LIBS
11756 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11763 #ifdef __cplusplus
11764 extern "C"
11765 #endif
11766 char XOpenDevice ();
11768 main ()
11770 return XOpenDevice ();
11772 return 0;
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"; then :
11776 case "$LIBEXT" in
11777 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11778 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'` ;;
11779 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11780 if ${ac_cv_lib_soname_Xi:+false} :; then :
11781 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11782 fi ;;
11783 esac
11784 else
11785 ac_cv_lib_soname_Xi=
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_soname_save_LIBS
11791 if ${ac_cv_lib_soname_Xi:+false} :; then :
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11793 $as_echo "not found" >&6; }
11795 else
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11797 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11799 cat >>confdefs.h <<_ACEOF
11800 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11801 _ACEOF
11806 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11807 case "x$with_xinput" in
11808 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11809 xno) ;;
11810 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11811 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11812 esac
11816 if test "x$ac_cv_lib_soname_Xi" != x
11817 then
11818 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11819 case "x$with_xinput2" in
11820 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11821 xno) ;;
11822 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11823 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11824 esac
11829 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11830 then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11832 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11833 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_lib_save_LIBS=$LIBS
11837 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char XShmQueryExtension ();
11849 main ()
11851 return XShmQueryExtension ();
11853 return 0;
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 ac_cv_lib_Xext_XShmQueryExtension=yes
11858 else
11859 ac_cv_lib_Xext_XShmQueryExtension=no
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_lib_save_LIBS
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11866 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11867 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11869 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11874 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11875 case "x$with_xshm" in
11876 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11877 xno) ;;
11878 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11879 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11880 esac
11884 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11885 then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11887 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11888 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_lib_save_LIBS=$LIBS
11892 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char XShapeQueryExtension ();
11904 main ()
11906 return XShapeQueryExtension ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 ac_cv_lib_Xext_XShapeQueryExtension=yes
11913 else
11914 ac_cv_lib_Xext_XShapeQueryExtension=no
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11921 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11922 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11924 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11929 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11930 case "x$with_xshape" in
11931 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11932 xno) ;;
11933 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11934 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11935 esac
11939 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11940 then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11942 $as_echo_n "checking for -lXxf86vm... " >&6; }
11943 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 ac_check_soname_save_LIBS=$LIBS
11947 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11954 #ifdef __cplusplus
11955 extern "C"
11956 #endif
11957 char XF86VidModeQueryExtension ();
11959 main ()
11961 return XF86VidModeQueryExtension ();
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 case "$LIBEXT" in
11968 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11969 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'` ;;
11970 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11971 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11972 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11973 fi ;;
11974 esac
11975 else
11976 ac_cv_lib_soname_Xxf86vm=
11978 rm -f core conftest.err conftest.$ac_objext \
11979 conftest$ac_exeext conftest.$ac_ext
11980 LIBS=$ac_check_soname_save_LIBS
11982 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11984 $as_echo "not found" >&6; }
11986 else
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11988 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11990 cat >>confdefs.h <<_ACEOF
11991 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11992 _ACEOF
11997 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11998 case "x$with_xxf86vm" in
11999 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12000 xno) ;;
12001 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12002 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12003 esac
12007 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12008 then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12010 $as_echo_n "checking for -lXrender... " >&6; }
12011 if ${ac_cv_lib_soname_Xrender+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_soname_save_LIBS=$LIBS
12015 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char XRenderQueryExtension ();
12027 main ()
12029 return XRenderQueryExtension ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 case "$LIBEXT" in
12036 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12037 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'` ;;
12038 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12039 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12040 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12041 fi ;;
12042 esac
12043 else
12044 ac_cv_lib_soname_Xrender=
12046 rm -f core conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_soname_save_LIBS
12050 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12052 $as_echo "not found" >&6; }
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12056 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12058 cat >>confdefs.h <<_ACEOF
12059 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12060 _ACEOF
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12063 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12064 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XRenderSetPictureTransform ();
12080 main ()
12082 return XRenderSetPictureTransform ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12089 else
12090 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12097 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12098 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12100 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12105 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12106 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_check_lib_save_LIBS=$LIBS
12110 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char XRenderCreateLinearGradient ();
12122 main ()
12124 return XRenderCreateLinearGradient ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12131 else
12132 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12139 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12140 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12142 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12149 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12150 case "x$with_xrender" in
12151 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12152 xno) ;;
12153 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12154 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12155 esac
12159 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12160 then
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12163 #include <X11/Xlib.h>
12164 #include <X11/extensions/Xrandr.h>
12166 main ()
12168 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12170 return 0;
12172 _ACEOF
12173 if ac_fn_c_try_compile "$LINENO"; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12175 $as_echo_n "checking for -lXrandr... " >&6; }
12176 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_soname_save_LIBS=$LIBS
12180 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 #ifdef __cplusplus
12188 extern "C"
12189 #endif
12190 char XRRQueryExtension ();
12192 main ()
12194 return XRRQueryExtension ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 case "$LIBEXT" in
12201 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12202 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'` ;;
12203 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12204 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12205 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12206 fi ;;
12207 esac
12208 else
12209 ac_cv_lib_soname_Xrandr=
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_soname_save_LIBS
12215 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12217 $as_echo "not found" >&6; }
12219 else
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12221 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12223 cat >>confdefs.h <<_ACEOF
12224 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12225 _ACEOF
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <X11/Xlib.h>
12230 #include <X11/extensions/Xrandr.h>
12232 main ()
12234 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_compile "$LINENO"; then :
12241 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247 #include <X11/Xlib.h>
12248 #include <X11/extensions/Xrandr.h>
12250 main ()
12252 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_compile "$LINENO"; then :
12259 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12261 else
12262 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12269 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12270 case "x$with_xrandr" in
12271 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12272 xno) ;;
12273 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12274 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12275 esac
12279 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12280 then
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 #include <X11/Xlib.h>
12284 #include <X11/extensions/Xfixes.h>
12286 main ()
12288 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_compile "$LINENO"; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12295 $as_echo_n "checking for -lXfixes... " >&6; }
12296 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12297 $as_echo_n "(cached) " >&6
12298 else
12299 ac_check_soname_save_LIBS=$LIBS
12300 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 /* Override any GCC internal prototype to avoid an error.
12305 Use char because int might match the return type of a GCC
12306 builtin and then its argument prototype would still apply. */
12307 #ifdef __cplusplus
12308 extern "C"
12309 #endif
12310 char XFixesQueryVersion ();
12312 main ()
12314 return XFixesQueryVersion ();
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"; then :
12320 case "$LIBEXT" in
12321 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12322 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'` ;;
12323 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12324 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12325 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12326 fi ;;
12327 esac
12328 else
12329 ac_cv_lib_soname_Xfixes=
12331 rm -f core conftest.err conftest.$ac_objext \
12332 conftest$ac_exeext conftest.$ac_ext
12333 LIBS=$ac_check_soname_save_LIBS
12335 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12337 $as_echo "not found" >&6; }
12339 else
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12341 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12343 cat >>confdefs.h <<_ACEOF
12344 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12345 _ACEOF
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12352 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12353 case "x$with_xfixes" in
12354 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12355 xno) ;;
12356 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12357 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12358 esac
12362 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12363 then
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #include <X11/Xlib.h>
12367 #include <X11/extensions/Xinerama.h>
12369 main ()
12371 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12378 $as_echo_n "checking for -lXinerama... " >&6; }
12379 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381 else
12382 ac_check_soname_save_LIBS=$LIBS
12383 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 char XineramaQueryScreens ();
12395 main ()
12397 return XineramaQueryScreens ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 case "$LIBEXT" in
12404 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12405 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'` ;;
12406 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12407 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12408 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12409 fi ;;
12410 esac
12411 else
12412 ac_cv_lib_soname_Xinerama=
12414 rm -f core conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_soname_save_LIBS
12418 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12420 $as_echo "not found" >&6; }
12422 else
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12424 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12426 cat >>confdefs.h <<_ACEOF
12427 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12428 _ACEOF
12433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12435 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12436 case "x$with_xinerama" in
12437 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12438 xno) ;;
12439 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12440 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12441 esac
12445 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12446 then
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12448 $as_echo_n "checking for -lXcomposite... " >&6; }
12449 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12450 $as_echo_n "(cached) " >&6
12451 else
12452 ac_check_soname_save_LIBS=$LIBS
12453 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 /* Override any GCC internal prototype to avoid an error.
12458 Use char because int might match the return type of a GCC
12459 builtin and then its argument prototype would still apply. */
12460 #ifdef __cplusplus
12461 extern "C"
12462 #endif
12463 char XCompositeRedirectWindow ();
12465 main ()
12467 return XCompositeRedirectWindow ();
12469 return 0;
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 case "$LIBEXT" in
12474 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12475 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'` ;;
12476 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12477 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12478 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12479 fi ;;
12480 esac
12481 else
12482 ac_cv_lib_soname_Xcomposite=
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_soname_save_LIBS
12488 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12490 $as_echo "not found" >&6; }
12492 else
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12494 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12496 cat >>confdefs.h <<_ACEOF
12497 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12498 _ACEOF
12503 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12504 case "x$with_xcomposite" in
12505 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12506 xno) ;;
12507 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12508 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12509 esac
12513 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12514 #include <X11/Xlib.h>
12515 #endif
12517 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12519 cat >>confdefs.h <<_ACEOF
12520 #define HAVE_XICCALLBACK_CALLBACK 1
12521 _ACEOF
12525 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12526 #include <X11/Xlib.h>
12527 #endif
12529 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12531 cat >>confdefs.h <<_ACEOF
12532 #define HAVE_XEVENT_XCOOKIE 1
12533 _ACEOF
12540 opengl_msg=""
12541 if test "x$with_opengl" != "xno"
12542 then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12544 $as_echo_n "checking for -lGL... " >&6; }
12545 if ${ac_cv_lib_soname_GL+:} false; then :
12546 $as_echo_n "(cached) " >&6
12547 else
12548 ac_check_soname_save_LIBS=$LIBS
12549 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12556 #ifdef __cplusplus
12557 extern "C"
12558 #endif
12559 char glXCreateContext ();
12561 main ()
12563 return glXCreateContext ();
12565 return 0;
12567 _ACEOF
12568 if ac_fn_c_try_link "$LINENO"; then :
12569 case "$LIBEXT" in
12570 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12571 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'` ;;
12572 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12573 if ${ac_cv_lib_soname_GL:+false} :; then :
12574 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12575 fi ;;
12576 esac
12577 else
12578 ac_cv_lib_soname_GL=
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_soname_save_LIBS
12584 if ${ac_cv_lib_soname_GL:+false} :; then :
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12586 $as_echo "not found" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12588 $as_echo_n "checking for -lGL... " >&6; }
12589 if ${ac_cv_lib_soname_GL+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_soname_save_LIBS=$LIBS
12593 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"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char glXCreateContext ();
12605 main ()
12607 return glXCreateContext ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 case "$LIBEXT" in
12614 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12615 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'` ;;
12616 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12617 if ${ac_cv_lib_soname_GL:+false} :; then :
12618 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12619 fi ;;
12620 esac
12621 else
12622 ac_cv_lib_soname_GL=
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_soname_save_LIBS
12628 if ${ac_cv_lib_soname_GL:+false} :; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12630 $as_echo "not found" >&6; }
12631 if test -f /usr/X11R6/lib/libGL.a
12632 then
12633 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12634 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12635 else
12636 opengl_msg="No OpenGL library found on this system."
12638 else
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12640 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12642 cat >>confdefs.h <<_ACEOF
12643 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12644 _ACEOF
12646 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"
12648 else
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12650 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12652 cat >>confdefs.h <<_ACEOF
12653 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12654 _ACEOF
12656 OPENGL_LIBS="-lGL"
12658 if test "x$with_glu" != "xno"
12659 then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12661 $as_echo_n "checking for -lGLU... " >&6; }
12662 if ${ac_cv_lib_soname_GLU+:} false; then :
12663 $as_echo_n "(cached) " >&6
12664 else
12665 ac_check_soname_save_LIBS=$LIBS
12666 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 #ifdef __cplusplus
12674 extern "C"
12675 #endif
12676 char gluLookAt ();
12678 main ()
12680 return gluLookAt ();
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_link "$LINENO"; then :
12686 case "$LIBEXT" in
12687 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12688 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'` ;;
12689 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12690 if ${ac_cv_lib_soname_GLU:+false} :; then :
12691 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12692 fi ;;
12693 esac
12694 else
12695 ac_cv_lib_soname_GLU=
12697 rm -f core conftest.err conftest.$ac_objext \
12698 conftest$ac_exeext conftest.$ac_ext
12699 LIBS=$ac_check_soname_save_LIBS
12701 if ${ac_cv_lib_soname_GLU:+false} :; then :
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12703 $as_echo "not found" >&6; }
12705 else
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12707 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12709 cat >>confdefs.h <<_ACEOF
12710 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12711 _ACEOF
12715 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12716 case "x$with_glu" in
12717 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12718 xno) ;;
12719 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12720 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12721 esac
12726 if test "x$with_osmesa" != "xno"
12727 then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12729 $as_echo_n "checking for -lOSMesa... " >&6; }
12730 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12731 $as_echo_n "(cached) " >&6
12732 else
12733 ac_check_soname_save_LIBS=$LIBS
12734 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 /* Override any GCC internal prototype to avoid an error.
12739 Use char because int might match the return type of a GCC
12740 builtin and then its argument prototype would still apply. */
12741 #ifdef __cplusplus
12742 extern "C"
12743 #endif
12744 char OSMesaGetProcAddress ();
12746 main ()
12748 return OSMesaGetProcAddress ();
12750 return 0;
12752 _ACEOF
12753 if ac_fn_c_try_link "$LINENO"; then :
12754 case "$LIBEXT" in
12755 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12756 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'` ;;
12757 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12758 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12759 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12760 fi ;;
12761 esac
12762 else
12763 ac_cv_lib_soname_OSMesa=
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_soname_save_LIBS
12769 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12771 $as_echo "not found" >&6; }
12773 else
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12775 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12777 cat >>confdefs.h <<_ACEOF
12778 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12779 _ACEOF
12783 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12784 case "x$with_osmesa" in
12785 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12786 xno) ;;
12787 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12788 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12789 esac
12794 if test -n "$opengl_msg"; then :
12795 case "x$with_opengl" in
12796 x) as_fn_append wine_warnings "|$opengl_msg
12797 OpenGL and Direct3D won't be supported." ;;
12798 xno) ;;
12799 *) as_fn_error $? "$opengl_msg
12800 OpenGL and Direct3D won't be supported.
12801 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12802 esac
12806 CPPFLAGS="$ac_save_CPPFLAGS"
12807 else
12808 X_CFLAGS=""
12809 X_LIBS=""
12812 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12813 then
12814 if test "x$X_LIBS" = "x"; then :
12815 case "x$with_x" in
12816 xno) ;;
12817 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12818 without X support, which probably isn't what you want. You will need
12819 to install ${notice_platform}development packages of Xlib at the very least.
12820 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12821 esac
12822 enable_winex11_drv=${enable_winex11_drv:-no}
12824 else
12825 if test "x$X_LIBS" = "x"; then :
12826 case "x$with_x" in
12827 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12828 xno) ;;
12829 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12830 This is an error since --with-x was requested." "$LINENO" 5 ;;
12831 esac
12832 enable_winex11_drv=${enable_winex11_drv:-no}
12836 if test "$ac_cv_header_CL_cl_h" = "yes"
12837 then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12839 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12840 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12841 $as_echo_n "(cached) " >&6
12842 else
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-lOpenCL $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char clGetPlatformInfo ();
12856 main ()
12858 return clGetPlatformInfo ();
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12865 else
12866 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12873 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12874 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12875 OPENCL_LIBS="-lOpenCL"
12880 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12881 case "x$with_opencl" in
12882 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12883 xno) ;;
12884 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12885 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12886 esac
12887 enable_opencl=${enable_opencl:-no}
12890 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12891 then
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12893 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12894 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12895 $as_echo_n "(cached) " >&6
12896 else
12897 ac_check_lib_save_LIBS=$LIBS
12898 LIBS="-lpcap $LIBS"
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12902 /* Override any GCC internal prototype to avoid an error.
12903 Use char because int might match the return type of a GCC
12904 builtin and then its argument prototype would still apply. */
12905 #ifdef __cplusplus
12906 extern "C"
12907 #endif
12908 char pcap_create ();
12910 main ()
12912 return pcap_create ();
12914 return 0;
12916 _ACEOF
12917 if ac_fn_c_try_link "$LINENO"; then :
12918 ac_cv_lib_pcap_pcap_create=yes
12919 else
12920 ac_cv_lib_pcap_pcap_create=no
12922 rm -f core conftest.err conftest.$ac_objext \
12923 conftest$ac_exeext conftest.$ac_ext
12924 LIBS=$ac_check_lib_save_LIBS
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12927 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12928 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12929 PCAP_LIBS="-lpcap"
12934 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12935 case "x$with_pcap" in
12936 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12937 xno) ;;
12938 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12939 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12940 esac
12941 enable_wpcap=${enable_wpcap:-no}
12945 if test "x$with_xml" != "xno"
12946 then
12947 if ${XML2_CFLAGS:+false} :; then :
12948 if ${PKG_CONFIG+:} false; then :
12949 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12952 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12953 if ${XML2_LIBS:+false} :; then :
12954 if ${PKG_CONFIG+:} false; then :
12955 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12958 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12959 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12961 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12962 ac_save_CPPFLAGS=$CPPFLAGS
12963 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12964 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12965 do :
12966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12967 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12969 cat >>confdefs.h <<_ACEOF
12970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12971 _ACEOF
12975 done
12977 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"
12978 then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12980 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12981 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 ac_check_lib_save_LIBS=$LIBS
12985 LIBS="-lxml2 $XML2_LIBS $LIBS"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12992 #ifdef __cplusplus
12993 extern "C"
12994 #endif
12995 char xmlParseMemory ();
12997 main ()
12999 return xmlParseMemory ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"; then :
13005 ac_cv_lib_xml2_xmlParseMemory=yes
13006 else
13007 ac_cv_lib_xml2_xmlParseMemory=no
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_lib_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13014 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13015 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13017 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13019 else
13020 XML2_LIBS=""
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13024 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13025 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13026 $as_echo_n "(cached) " >&6
13027 else
13028 ac_check_lib_save_LIBS=$LIBS
13029 LIBS="-lxml2 $XML2_LIBS $LIBS"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 char xmlReadMemory ();
13041 main ()
13043 return xmlReadMemory ();
13045 return 0;
13047 _ACEOF
13048 if ac_fn_c_try_link "$LINENO"; then :
13049 ac_cv_lib_xml2_xmlReadMemory=yes
13050 else
13051 ac_cv_lib_xml2_xmlReadMemory=no
13053 rm -f core conftest.err conftest.$ac_objext \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13058 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13059 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13061 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13066 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13067 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13068 $as_echo_n "(cached) " >&6
13069 else
13070 ac_check_lib_save_LIBS=$LIBS
13071 LIBS="-lxml2 $XML2_LIBS $LIBS"
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13078 #ifdef __cplusplus
13079 extern "C"
13080 #endif
13081 char xmlNewDocPI ();
13083 main ()
13085 return xmlNewDocPI ();
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_link "$LINENO"; then :
13091 ac_cv_lib_xml2_xmlNewDocPI=yes
13092 else
13093 ac_cv_lib_xml2_xmlNewDocPI=no
13095 rm -f core conftest.err conftest.$ac_objext \
13096 conftest$ac_exeext conftest.$ac_ext
13097 LIBS=$ac_check_lib_save_LIBS
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13100 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13101 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13103 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13108 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13109 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13110 $as_echo_n "(cached) " >&6
13111 else
13112 ac_check_lib_save_LIBS=$LIBS
13113 LIBS="-lxml2 $XML2_LIBS $LIBS"
13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115 /* end confdefs.h. */
13117 /* Override any GCC internal prototype to avoid an error.
13118 Use char because int might match the return type of a GCC
13119 builtin and then its argument prototype would still apply. */
13120 #ifdef __cplusplus
13121 extern "C"
13122 #endif
13123 char xmlSchemaSetParserStructuredErrors ();
13125 main ()
13127 return xmlSchemaSetParserStructuredErrors ();
13129 return 0;
13131 _ACEOF
13132 if ac_fn_c_try_link "$LINENO"; then :
13133 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13134 else
13135 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13137 rm -f core conftest.err conftest.$ac_objext \
13138 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_lib_save_LIBS
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13142 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13143 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13145 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13150 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13151 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13152 $as_echo_n "(cached) " >&6
13153 else
13154 ac_check_lib_save_LIBS=$LIBS
13155 LIBS="-lxml2 $XML2_LIBS $LIBS"
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13159 /* Override any GCC internal prototype to avoid an error.
13160 Use char because int might match the return type of a GCC
13161 builtin and then its argument prototype would still apply. */
13162 #ifdef __cplusplus
13163 extern "C"
13164 #endif
13165 char xmlSchemaSetValidStructuredErrors ();
13167 main ()
13169 return xmlSchemaSetValidStructuredErrors ();
13171 return 0;
13173 _ACEOF
13174 if ac_fn_c_try_link "$LINENO"; then :
13175 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13176 else
13177 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13179 rm -f core conftest.err conftest.$ac_objext \
13180 conftest$ac_exeext conftest.$ac_ext
13181 LIBS=$ac_check_lib_save_LIBS
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13184 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13185 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13187 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13192 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13193 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13194 $as_echo_n "(cached) " >&6
13195 else
13196 ac_check_lib_save_LIBS=$LIBS
13197 LIBS="-lxml2 $XML2_LIBS $LIBS"
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13204 #ifdef __cplusplus
13205 extern "C"
13206 #endif
13207 char xmlFirstElementChild ();
13209 main ()
13211 return xmlFirstElementChild ();
13213 return 0;
13215 _ACEOF
13216 if ac_fn_c_try_link "$LINENO"; then :
13217 ac_cv_lib_xml2_xmlFirstElementChild=yes
13218 else
13219 ac_cv_lib_xml2_xmlFirstElementChild=no
13221 rm -f core conftest.err conftest.$ac_objext \
13222 conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13226 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13227 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13229 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13233 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13235 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13237 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13241 else
13242 XML2_CFLAGS=""
13243 XML2_LIBS=""
13245 CPPFLAGS=$ac_save_CPPFLAGS
13246 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13247 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13250 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13251 case "x$with_xml" in
13252 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13253 xno) ;;
13254 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13255 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13256 esac
13260 if test "x$with_xslt" != "xno"
13261 then
13262 if ${XSLT_CFLAGS:+false} :; then :
13263 if ${PKG_CONFIG+:} false; then :
13264 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13267 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13268 if ${XSLT_LIBS:+false} :; then :
13269 if ${PKG_CONFIG+:} false; then :
13270 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13273 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13274 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13275 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13276 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13277 ac_save_CPPFLAGS=$CPPFLAGS
13278 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13279 for ac_header in libxslt/pattern.h libxslt/transform.h
13280 do :
13281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13282 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13283 # include <libxslt/pattern.h>
13284 #endif
13286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13287 cat >>confdefs.h <<_ACEOF
13288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13289 _ACEOF
13293 done
13295 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13296 then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13298 $as_echo_n "checking for -lxslt... " >&6; }
13299 if ${ac_cv_lib_soname_xslt+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_soname_save_LIBS=$LIBS
13303 LIBS="-lxslt $XSLT_LIBS $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char xsltCompilePattern ();
13315 main ()
13317 return xsltCompilePattern ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 case "$LIBEXT" in
13324 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13325 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'` ;;
13326 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13327 if ${ac_cv_lib_soname_xslt:+false} :; then :
13328 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13329 fi ;;
13330 esac
13331 else
13332 ac_cv_lib_soname_xslt=
13334 rm -f core conftest.err conftest.$ac_objext \
13335 conftest$ac_exeext conftest.$ac_ext
13336 LIBS=$ac_check_soname_save_LIBS
13338 if ${ac_cv_lib_soname_xslt:+false} :; then :
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13340 $as_echo "not found" >&6; }
13342 else
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13344 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13346 cat >>confdefs.h <<_ACEOF
13347 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13348 _ACEOF
13352 else
13353 XSLT_CFLAGS=""
13355 CPPFLAGS=$ac_save_CPPFLAGS
13356 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13357 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13360 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13361 case "x$with_xslt" in
13362 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13363 xno) ;;
13364 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13365 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13366 esac
13370 if test "x$with_inotify" != "xno"
13371 then
13372 if ${INOTIFY_CFLAGS:+false} :; then :
13373 if ${PKG_CONFIG+:} false; then :
13374 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13378 if ${INOTIFY_LIBS:+false} :; then :
13379 if ${PKG_CONFIG+:} false; then :
13380 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13385 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13386 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13387 ac_save_CPPFLAGS=$CPPFLAGS
13388 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13389 for ac_header in sys/inotify.h
13390 do :
13391 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13392 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define HAVE_SYS_INOTIFY_H 1
13395 _ACEOF
13399 done
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13402 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13403 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13404 $as_echo_n "(cached) " >&6
13405 else
13406 ac_check_lib_save_LIBS=$LIBS
13407 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13414 #ifdef __cplusplus
13415 extern "C"
13416 #endif
13417 char inotify_add_watch ();
13419 main ()
13421 return inotify_add_watch ();
13423 return 0;
13425 _ACEOF
13426 if ac_fn_c_try_link "$LINENO"; then :
13427 ac_cv_lib_inotify_inotify_add_watch=yes
13428 else
13429 ac_cv_lib_inotify_inotify_add_watch=no
13431 rm -f core conftest.err conftest.$ac_objext \
13432 conftest$ac_exeext conftest.$ac_ext
13433 LIBS=$ac_check_lib_save_LIBS
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13436 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13437 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13439 else
13440 INOTIFY_LIBS=""
13443 CPPFLAGS=$ac_save_CPPFLAGS
13444 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13445 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13448 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13449 case "x$with_inotify" in
13450 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13451 xno) ;;
13452 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13453 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13454 esac
13458 if test "x$with_dbus" != "xno"
13459 then
13460 if ${DBUS_CFLAGS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13466 if ${DBUS_LIBS:+false} :; then :
13467 if ${PKG_CONFIG+:} false; then :
13468 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13473 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13474 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13475 ac_save_CPPFLAGS=$CPPFLAGS
13476 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13477 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13478 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13480 $as_echo_n "checking for -ldbus-1... " >&6; }
13481 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13482 $as_echo_n "(cached) " >&6
13483 else
13484 ac_check_soname_save_LIBS=$LIBS
13485 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13489 /* Override any GCC internal prototype to avoid an error.
13490 Use char because int might match the return type of a GCC
13491 builtin and then its argument prototype would still apply. */
13492 #ifdef __cplusplus
13493 extern "C"
13494 #endif
13495 char dbus_connection_close ();
13497 main ()
13499 return dbus_connection_close ();
13501 return 0;
13503 _ACEOF
13504 if ac_fn_c_try_link "$LINENO"; then :
13505 case "$LIBEXT" in
13506 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13507 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'` ;;
13508 *) 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'`
13509 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13510 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13511 fi ;;
13512 esac
13513 else
13514 ac_cv_lib_soname_dbus_1=
13516 rm -f core conftest.err conftest.$ac_objext \
13517 conftest$ac_exeext conftest.$ac_ext
13518 LIBS=$ac_check_soname_save_LIBS
13520 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13522 $as_echo "not found" >&6; }
13523 DBUS_CFLAGS=""
13524 else
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13526 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13528 cat >>confdefs.h <<_ACEOF
13529 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13530 _ACEOF
13534 else
13535 DBUS_CFLAGS=""
13539 CPPFLAGS=$ac_save_CPPFLAGS
13540 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13541 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13544 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13545 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13546 case "x$with_dbus" in
13547 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13548 xno) ;;
13549 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13550 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13551 esac
13555 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13556 then
13557 if ${HAL_CFLAGS:+false} :; then :
13558 if ${PKG_CONFIG+:} false; then :
13559 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13563 if ${HAL_LIBS:+false} :; then :
13564 if ${PKG_CONFIG+:} false; then :
13565 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13569 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13570 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13571 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13572 ac_save_CPPFLAGS=$CPPFLAGS
13573 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13574 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13575 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13577 $as_echo_n "checking for -lhal... " >&6; }
13578 if ${ac_cv_lib_soname_hal+:} false; then :
13579 $as_echo_n "(cached) " >&6
13580 else
13581 ac_check_soname_save_LIBS=$LIBS
13582 LIBS="-lhal $HAL_LIBS $LIBS"
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13586 /* Override any GCC internal prototype to avoid an error.
13587 Use char because int might match the return type of a GCC
13588 builtin and then its argument prototype would still apply. */
13589 #ifdef __cplusplus
13590 extern "C"
13591 #endif
13592 char libhal_ctx_new ();
13594 main ()
13596 return libhal_ctx_new ();
13598 return 0;
13600 _ACEOF
13601 if ac_fn_c_try_link "$LINENO"; then :
13602 case "$LIBEXT" in
13603 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13604 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'` ;;
13605 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13606 if ${ac_cv_lib_soname_hal:+false} :; then :
13607 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13608 fi ;;
13609 esac
13610 else
13611 ac_cv_lib_soname_hal=
13613 rm -f core conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13615 LIBS=$ac_check_soname_save_LIBS
13617 if ${ac_cv_lib_soname_hal:+false} :; then :
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13619 $as_echo "not found" >&6; }
13620 HAL_CFLAGS=""
13621 else
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13623 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13625 cat >>confdefs.h <<_ACEOF
13626 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13627 _ACEOF
13631 else
13632 HAL_CFLAGS=""
13636 CPPFLAGS=$ac_save_CPPFLAGS
13637 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13638 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13640 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13641 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13642 case "x$with_hal" in
13643 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13644 xno) ;;
13645 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13646 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13647 esac
13652 if test "x$with_gnutls" != "xno"
13653 then
13654 if ${GNUTLS_CFLAGS:+false} :; then :
13655 if ${PKG_CONFIG+:} false; then :
13656 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13660 if ${GNUTLS_LIBS:+false} :; then :
13661 if ${PKG_CONFIG+:} false; then :
13662 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13666 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13667 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13668 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13669 ac_save_CPPFLAGS=$CPPFLAGS
13670 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13671 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13672 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <gnutls/gnutls.h>
13676 #include <gnutls/crypto.h>
13678 main ()
13680 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13682 return 0;
13684 _ACEOF
13685 if ac_fn_c_try_compile "$LINENO"; then :
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13687 $as_echo_n "checking for -lgnutls... " >&6; }
13688 if ${ac_cv_lib_soname_gnutls+:} false; then :
13689 $as_echo_n "(cached) " >&6
13690 else
13691 ac_check_soname_save_LIBS=$LIBS
13692 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13696 /* Override any GCC internal prototype to avoid an error.
13697 Use char because int might match the return type of a GCC
13698 builtin and then its argument prototype would still apply. */
13699 #ifdef __cplusplus
13700 extern "C"
13701 #endif
13702 char gnutls_global_init ();
13704 main ()
13706 return gnutls_global_init ();
13708 return 0;
13710 _ACEOF
13711 if ac_fn_c_try_link "$LINENO"; then :
13712 case "$LIBEXT" in
13713 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13714 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'` ;;
13715 *) 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'`
13716 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13717 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'`
13718 fi ;;
13719 esac
13720 else
13721 ac_cv_lib_soname_gnutls=
13723 rm -f core conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 LIBS=$ac_check_soname_save_LIBS
13727 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13729 $as_echo "not found" >&6; }
13730 GNUTLS_CFLAGS=""
13731 else
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13733 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13735 cat >>confdefs.h <<_ACEOF
13736 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13737 _ACEOF
13741 ac_wine_check_funcs_save_LIBS="$LIBS"
13742 LIBS="$LIBS $GNUTLS_LIBS"
13743 for ac_func in gnutls_cipher_init
13744 do :
13745 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13746 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13747 cat >>confdefs.h <<_ACEOF
13748 #define HAVE_GNUTLS_CIPHER_INIT 1
13749 _ACEOF
13751 else
13752 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13754 done
13756 LIBS="$ac_wine_check_funcs_save_LIBS"
13758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13759 else
13760 GNUTLS_CFLAGS=""
13764 CPPFLAGS=$ac_save_CPPFLAGS
13765 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13766 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13769 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13770 case "x$with_gnutls" in
13771 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13772 xno) ;;
13773 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13774 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13775 esac
13779 CURSES_LIBS=""
13780 if test "$ac_cv_header_ncurses_h" = "yes"
13781 then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13783 $as_echo_n "checking for -lncurses... " >&6; }
13784 if ${ac_cv_lib_soname_ncurses+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_check_soname_save_LIBS=$LIBS
13788 LIBS="-lncurses $LIBS"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 /* Override any GCC internal prototype to avoid an error.
13793 Use char because int might match the return type of a GCC
13794 builtin and then its argument prototype would still apply. */
13795 #ifdef __cplusplus
13796 extern "C"
13797 #endif
13798 char waddch ();
13800 main ()
13802 return waddch ();
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"; then :
13808 case "$LIBEXT" in
13809 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13810 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'` ;;
13811 *) 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'`
13812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13813 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13814 fi ;;
13815 esac
13816 else
13817 ac_cv_lib_soname_ncurses=
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_soname_save_LIBS
13823 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13825 $as_echo "not found" >&6; }
13827 else
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13829 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13831 cat >>confdefs.h <<_ACEOF
13832 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13833 _ACEOF
13835 CURSES_LIBS="-lncurses"
13837 elif test "$ac_cv_header_curses_h" = "yes"
13838 then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13840 $as_echo_n "checking for -lcurses... " >&6; }
13841 if ${ac_cv_lib_soname_curses+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_check_soname_save_LIBS=$LIBS
13845 LIBS="-lcurses $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char waddch ();
13857 main ()
13859 return waddch ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 case "$LIBEXT" in
13866 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13867 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'` ;;
13868 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13869 if ${ac_cv_lib_soname_curses:+false} :; then :
13870 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13871 fi ;;
13872 esac
13873 else
13874 ac_cv_lib_soname_curses=
13876 rm -f core conftest.err conftest.$ac_objext \
13877 conftest$ac_exeext conftest.$ac_ext
13878 LIBS=$ac_check_soname_save_LIBS
13880 if ${ac_cv_lib_soname_curses:+false} :; then :
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13882 $as_echo "not found" >&6; }
13884 else
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13886 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13888 cat >>confdefs.h <<_ACEOF
13889 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13890 _ACEOF
13892 CURSES_LIBS="-lcurses"
13895 ac_save_LIBS="$LIBS"
13896 LIBS="$LIBS $CURSES_LIBS"
13897 for ac_func in mousemask
13898 do :
13899 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13900 if test "x$ac_cv_func_mousemask" = xyes; then :
13901 cat >>confdefs.h <<_ACEOF
13902 #define HAVE_MOUSEMASK 1
13903 _ACEOF
13906 done
13908 LIBS="$ac_save_LIBS"
13909 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13910 case "x$with_curses" in
13911 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13912 xno) ;;
13913 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13914 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13915 esac
13919 if test "x$with_sane" != "xno"
13920 then
13921 if ${SANE_CFLAGS:+false} :; then :
13922 if ${PKG_CONFIG+:} false; then :
13923 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13926 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13927 if ${SANE_LIBS:+false} :; then :
13928 if ${PKG_CONFIG+:} false; then :
13929 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13932 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13934 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13935 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13936 ac_save_CPPFLAGS=$CPPFLAGS
13937 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13938 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13939 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13941 $as_echo_n "checking for -lsane... " >&6; }
13942 if ${ac_cv_lib_soname_sane+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_check_soname_save_LIBS=$LIBS
13946 LIBS="-lsane $SANE_LIBS $LIBS"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13953 #ifdef __cplusplus
13954 extern "C"
13955 #endif
13956 char sane_init ();
13958 main ()
13960 return sane_init ();
13962 return 0;
13964 _ACEOF
13965 if ac_fn_c_try_link "$LINENO"; then :
13966 case "$LIBEXT" in
13967 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13968 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'` ;;
13969 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13970 if ${ac_cv_lib_soname_sane:+false} :; then :
13971 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13972 fi ;;
13973 esac
13974 else
13975 ac_cv_lib_soname_sane=
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_soname_save_LIBS
13981 if ${ac_cv_lib_soname_sane:+false} :; then :
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13983 $as_echo "not found" >&6; }
13984 SANE_CFLAGS=""
13985 else
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13987 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13989 cat >>confdefs.h <<_ACEOF
13990 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13991 _ACEOF
13995 else
13996 SANE_CFLAGS=""
14000 CPPFLAGS=$ac_save_CPPFLAGS
14001 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14002 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14005 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14006 case "x$with_sane" in
14007 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14008 xno) ;;
14009 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14010 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14011 esac
14015 if test "x$with_usb" != "xno"
14016 then
14017 if ${USB_CFLAGS:+false} :; then :
14018 if ${PKG_CONFIG+:} false; then :
14019 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14023 if ${USB_LIBS:+false} :; then :
14024 if ${PKG_CONFIG+:} false; then :
14025 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14029 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14032 ac_save_CPPFLAGS=$CPPFLAGS
14033 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14034 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14035 if test "x$ac_cv_header_libusb_h" = xyes; then :
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14037 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14038 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 ac_check_lib_save_LIBS=$LIBS
14042 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14049 #ifdef __cplusplus
14050 extern "C"
14051 #endif
14052 char libusb_interrupt_event_handler ();
14054 main ()
14056 return libusb_interrupt_event_handler ();
14058 return 0;
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"; then :
14062 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14063 else
14064 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14066 rm -f core conftest.err conftest.$ac_objext \
14067 conftest$ac_exeext conftest.$ac_ext
14068 LIBS=$ac_check_lib_save_LIBS
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14071 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14072 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14074 else
14075 USB_LIBS=""
14078 else
14079 USB_LIBS=""
14083 CPPFLAGS=$ac_save_CPPFLAGS
14084 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14085 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14088 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14089 case "x$with_usb" in
14090 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14091 xno) ;;
14092 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14093 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14094 esac
14095 enable_wineusb_sys=${enable_wineusb_sys:-no}
14098 if test "x$with_v4l2" != "xno"
14099 then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14101 $as_echo_n "checking for -lv4l2... " >&6; }
14102 if ${ac_cv_lib_soname_v4l2+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_check_soname_save_LIBS=$LIBS
14106 LIBS="-lv4l2 $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14113 #ifdef __cplusplus
14114 extern "C"
14115 #endif
14116 char v4l2_open ();
14118 main ()
14120 return v4l2_open ();
14122 return 0;
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 case "$LIBEXT" in
14127 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14128 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'` ;;
14129 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14130 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14131 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14132 fi ;;
14133 esac
14134 else
14135 ac_cv_lib_soname_v4l2=
14137 rm -f core conftest.err conftest.$ac_objext \
14138 conftest$ac_exeext conftest.$ac_ext
14139 LIBS=$ac_check_soname_save_LIBS
14141 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14143 $as_echo "not found" >&6; }
14145 else
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14147 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14149 cat >>confdefs.h <<_ACEOF
14150 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14151 _ACEOF
14156 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14157 case "x$with_v4l2" in
14158 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14159 xno) ;;
14160 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14161 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14162 esac
14166 if test "x$with_gphoto" != "xno"
14167 then
14168 if ${GPHOTO2_CFLAGS:+false} :; then :
14169 if ${PKG_CONFIG+:} false; then :
14170 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14173 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14174 if ${GPHOTO2_LIBS:+false} :; then :
14175 if ${PKG_CONFIG+:} false; then :
14176 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14179 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14180 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14181 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14182 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14183 ac_save_CPPFLAGS=$CPPFLAGS
14184 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14185 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14186 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14188 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14189 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 ac_check_lib_save_LIBS=$LIBS
14193 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 #ifdef __cplusplus
14201 extern "C"
14202 #endif
14203 char gp_camera_new ();
14205 main ()
14207 return gp_camera_new ();
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_lib_gphoto2_gp_camera_new=yes
14214 else
14215 ac_cv_lib_gphoto2_gp_camera_new=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_lib_save_LIBS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14222 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14223 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14225 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14227 else
14228 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14231 else
14232 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14236 CPPFLAGS=$ac_save_CPPFLAGS
14237 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14238 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14240 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14241 if ${PKG_CONFIG+:} false; then :
14242 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14245 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14246 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14247 if ${PKG_CONFIG+:} false; then :
14248 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14251 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14252 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14253 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14254 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14255 ac_save_CPPFLAGS=$CPPFLAGS
14256 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14257 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14258 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14260 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14261 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14262 $as_echo_n "(cached) " >&6
14263 else
14264 ac_check_lib_save_LIBS=$LIBS
14265 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14269 /* Override any GCC internal prototype to avoid an error.
14270 Use char because int might match the return type of a GCC
14271 builtin and then its argument prototype would still apply. */
14272 #ifdef __cplusplus
14273 extern "C"
14274 #endif
14275 char gp_port_info_list_new ();
14277 main ()
14279 return gp_port_info_list_new ();
14281 return 0;
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14286 else
14287 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 LIBS=$ac_check_lib_save_LIBS
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14294 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14295 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14297 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14299 else
14300 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14303 else
14304 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14308 CPPFLAGS=$ac_save_CPPFLAGS
14309 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14310 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14313 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14314 case "x$with_gphoto" in
14315 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14316 xno) ;;
14317 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14318 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14319 esac
14322 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14323 case "x$with_gphoto" in
14324 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14325 xno) ;;
14326 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14327 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14328 esac
14333 if test "$ac_cv_header_resolv_h" = "yes"
14334 then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14336 $as_echo_n "checking for resolver library... " >&6; }
14337 if ${ac_cv_have_resolv+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_save_LIBS="$LIBS"
14341 for lib in '' -lresolv
14343 LIBS="$lib $ac_save_LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 #ifdef HAVE_NETINET_IN_H
14347 #include <netinet/in.h>
14348 #endif
14349 #include <resolv.h>
14351 main ()
14353 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14355 return 0;
14357 _ACEOF
14358 if ac_fn_c_try_link "$LINENO"; then :
14359 ac_cv_have_resolv=${lib:-"none required"}
14360 else
14361 ac_cv_have_resolv="not found"
14363 rm -f core conftest.err conftest.$ac_objext \
14364 conftest$ac_exeext conftest.$ac_ext
14365 test "x$ac_cv_have_resolv" = "xnot found" || break
14366 done
14367 LIBS="$ac_save_LIBS"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14370 $as_echo "$ac_cv_have_resolv" >&6; }
14372 case "$ac_cv_have_resolv" in
14373 "not found") ;;
14374 "none required")
14376 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14379 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14381 RESOLV_LIBS=$ac_cv_have_resolv
14383 esac
14385 if test "x$ac_cv_have_resolv" != "xnot found"
14386 then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14388 $as_echo_n "checking for res_getservers... " >&6; }
14389 if ${ac_cv_have_res_getservers+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_save_LIBS="$LIBS"
14393 LIBS="$RESOLV_LIBS $LIBS"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 #include <resolv.h>
14398 main ()
14400 res_getservers(NULL, NULL, 0);
14402 return 0;
14404 _ACEOF
14405 if ac_fn_c_try_link "$LINENO"; then :
14406 ac_cv_have_res_getservers=yes
14407 else
14408 ac_cv_have_res_getservers=no
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS="$ac_save_LIBS"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14415 $as_echo "$ac_cv_have_res_getservers" >&6; }
14416 if test "$ac_cv_have_res_getservers" = "yes"
14417 then
14419 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14425 if test "x$with_cms" != "xno"
14426 then
14427 if ${LCMS2_CFLAGS:+false} :; then :
14428 if ${PKG_CONFIG+:} false; then :
14429 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14433 if ${LCMS2_LIBS:+false} :; then :
14434 if ${PKG_CONFIG+:} false; then :
14435 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14439 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14440 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14441 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14442 ac_save_CPPFLAGS=$CPPFLAGS
14443 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14444 for ac_header in lcms2.h
14445 do :
14446 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14447 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14448 cat >>confdefs.h <<_ACEOF
14449 #define HAVE_LCMS2_H 1
14450 _ACEOF
14454 done
14456 if test "$ac_cv_header_lcms2_h" = "yes"
14457 then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14459 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14460 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_check_lib_save_LIBS=$LIBS
14464 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 #ifdef __cplusplus
14472 extern "C"
14473 #endif
14474 char cmsOpenProfileFromFile ();
14476 main ()
14478 return cmsOpenProfileFromFile ();
14480 return 0;
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14485 else
14486 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 LIBS=$ac_check_lib_save_LIBS
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14493 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14494 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14496 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14498 else
14499 LCMS2_LIBS=""
14502 else
14503 LCMS2_CFLAGS=""
14504 LCMS2_LIBS=""
14506 CPPFLAGS=$ac_save_CPPFLAGS
14507 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14508 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14511 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14512 case "x$with_cms" in
14513 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14514 xno) ;;
14515 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14516 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14517 esac
14521 if test "x$with_freetype" != "xno"
14522 then
14523 if ${FREETYPE_CFLAGS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14528 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14529 if ${FREETYPE_LIBS:+false} :; then :
14530 if ${PKG_CONFIG+:} false; then :
14531 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14534 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14535 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14536 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14537 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14538 ac_save_CPPFLAGS=$CPPFLAGS
14539 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14540 for ac_header in ft2build.h
14541 do :
14542 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14543 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14544 cat >>confdefs.h <<_ACEOF
14545 #define HAVE_FT2BUILD_H 1
14546 _ACEOF
14550 done
14552 if test "$ac_cv_header_ft2build_h" = "yes"
14553 then
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14555 $as_echo_n "checking for -lfreetype... " >&6; }
14556 if ${ac_cv_lib_soname_freetype+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 ac_check_soname_save_LIBS=$LIBS
14560 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14564 /* Override any GCC internal prototype to avoid an error.
14565 Use char because int might match the return type of a GCC
14566 builtin and then its argument prototype would still apply. */
14567 #ifdef __cplusplus
14568 extern "C"
14569 #endif
14570 char FT_Init_FreeType ();
14572 main ()
14574 return FT_Init_FreeType ();
14576 return 0;
14578 _ACEOF
14579 if ac_fn_c_try_link "$LINENO"; then :
14580 case "$LIBEXT" in
14581 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14582 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'` ;;
14583 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14584 if ${ac_cv_lib_soname_freetype:+false} :; then :
14585 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14586 fi ;;
14587 esac
14588 else
14589 ac_cv_lib_soname_freetype=
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14593 LIBS=$ac_check_soname_save_LIBS
14595 if ${ac_cv_lib_soname_freetype:+false} :; then :
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14597 $as_echo "not found" >&6; }
14598 FREETYPE_LIBS=""
14599 else
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14601 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14603 cat >>confdefs.h <<_ACEOF
14604 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14605 _ACEOF
14608 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14610 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14611 #include FT_MODULE_H
14613 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14615 cat >>confdefs.h <<_ACEOF
14616 #define HAVE_FT_TRUETYPEENGINETYPE 1
14617 _ACEOF
14623 else
14624 FREETYPE_CFLAGS=""
14625 FREETYPE_LIBS=""
14627 CPPFLAGS=$ac_save_CPPFLAGS
14628 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14629 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14632 if test "x$ac_cv_lib_soname_freetype" = x; then :
14633 case "x$with_freetype" in
14634 xno) ;;
14635 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14636 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14637 esac
14638 enable_fonts=${enable_fonts:-no}
14641 ac_wine_check_funcs_save_LIBS="$LIBS"
14642 LIBS="$LIBS $PTHREAD_LIBS"
14643 for ac_func in \
14644 pthread_getthreadid_np
14645 do :
14646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14648 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14649 cat >>confdefs.h <<_ACEOF
14650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14651 _ACEOF
14654 done
14656 LIBS="$ac_wine_check_funcs_save_LIBS"
14658 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14659 then
14660 if test "$ac_cv_header_gettext_po_h" = "yes"
14661 then
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14663 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14664 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 ac_check_lib_save_LIBS=$LIBS
14668 LIBS="-lgettextpo $LIBS"
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14675 #ifdef __cplusplus
14676 extern "C"
14677 #endif
14678 char po_message_msgctxt ();
14680 main ()
14682 return po_message_msgctxt ();
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14689 else
14690 ac_cv_lib_gettextpo_po_message_msgctxt=no
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14694 LIBS=$ac_check_lib_save_LIBS
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14697 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14698 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14700 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14702 GETTEXTPO_LIBS="-lgettextpo"
14707 if test "x$GETTEXTPO_LIBS" = "x"; then :
14708 case "x$with_gettextpo" in
14709 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14710 xno) ;;
14711 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14712 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14713 esac
14716 if test "$srcdir" != .; then :
14717 case "x$with_gettextpo" in
14718 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14719 xno) ;;
14720 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14721 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14722 esac
14727 if test "x$with_pulse" != "xno";
14728 then
14729 if ${PULSE_CFLAGS:+false} :; then :
14730 if ${PKG_CONFIG+:} false; then :
14731 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14735 if ${PULSE_LIBS:+false} :; then :
14736 if ${PKG_CONFIG+:} false; then :
14737 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14742 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14743 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14744 ac_save_CPPFLAGS=$CPPFLAGS
14745 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14746 for ac_header in pulse/pulseaudio.h
14747 do :
14748 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14749 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14750 cat >>confdefs.h <<_ACEOF
14751 #define HAVE_PULSE_PULSEAUDIO_H 1
14752 _ACEOF
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14754 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14755 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_check_lib_save_LIBS=$LIBS
14759 LIBS="-lpulse $PULSE_LIBS $LIBS"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14766 #ifdef __cplusplus
14767 extern "C"
14768 #endif
14769 char pa_stream_is_corked ();
14771 main ()
14773 return pa_stream_is_corked ();
14775 return 0;
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_lib_pulse_pa_stream_is_corked=yes
14780 else
14781 ac_cv_lib_pulse_pa_stream_is_corked=no
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14785 LIBS=$ac_check_lib_save_LIBS
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14788 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14789 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14791 else
14792 PULSE_LIBS=""
14795 else
14796 PULSE_LIBS=""
14799 done
14801 CPPFLAGS=$ac_save_CPPFLAGS
14802 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14803 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14806 if test -z "$PULSE_LIBS"; then :
14807 case "x$with_pulse" in
14808 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14809 xno) ;;
14810 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14811 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14812 esac
14813 enable_winepulse_drv=${enable_winepulse_drv:-no}
14816 if test "x$with_gstreamer" != "xno"
14817 then
14818 if ${GSTREAMER_CFLAGS:+false} :; then :
14819 if ${PKG_CONFIG+:} false; then :
14820 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14824 if ${GSTREAMER_LIBS:+false} :; then :
14825 if ${PKG_CONFIG+:} false; then :
14826 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14831 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14832 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14833 ac_save_CPPFLAGS=$CPPFLAGS
14834 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14835 ac_gst_incl=""
14836 for i in $GSTREAMER_CFLAGS
14838 case "$i" in
14839 -I*) ac_gst_incl="$ac_gst_incl $i";;
14840 esac
14841 done
14842 GSTREAMER_CFLAGS=$ac_gst_incl
14843 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14844 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14845 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14847 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 #include <gst/gst.h>
14852 main ()
14854 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14856 return 0;
14858 _ACEOF
14859 if ac_fn_c_try_compile "$LINENO"; then :
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14861 $as_echo "yes" >&6; }
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14863 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14864 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 ac_check_lib_save_LIBS=$LIBS
14868 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14875 #ifdef __cplusplus
14876 extern "C"
14877 #endif
14878 char gst_pad_new ();
14880 main ()
14882 return gst_pad_new ();
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_link "$LINENO"; then :
14888 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14889 else
14890 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14894 LIBS=$ac_check_lib_save_LIBS
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14897 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14898 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14902 else
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14904 $as_echo "no" >&6; }
14905 ac_glib2_broken=yes
14906 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 CPPFLAGS=$ac_save_CPPFLAGS
14913 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14914 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14917 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 :
14918 case "x$with_gstreamer" in
14919 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14920 xno) ;;
14921 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14922 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14923 esac
14926 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14928 ALSA_LIBS=""
14930 if test "x$with_alsa" != "xno"
14931 then
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14933 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14934 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 ac_check_lib_save_LIBS=$LIBS
14938 LIBS="-lasound $LIBS"
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14945 #ifdef __cplusplus
14946 extern "C"
14947 #endif
14948 char snd_pcm_hw_params_get_access_mask ();
14950 main ()
14952 return snd_pcm_hw_params_get_access_mask ();
14954 return 0;
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14959 else
14960 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 LIBS=$ac_check_lib_save_LIBS
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14967 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14968 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 #include <alsa/asoundlib.h>
14973 main ()
14975 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_compile "$LINENO"; then :
14981 ALSA_LIBS="-lasound"
14983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14987 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14989 if test "x$with_oss" != xno
14990 then
14991 ac_save_CPPFLAGS="$CPPFLAGS"
14992 if test -f /etc/oss.conf
14993 then
14994 . /etc/oss.conf
14996 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14997 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14998 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14999 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15000 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15002 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15004 cat >>confdefs.h <<_ACEOF
15005 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15006 _ACEOF
15008 OSS4_CFLAGS="$ac_oss_incl"
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15011 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15012 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15013 $as_echo_n "(cached) " >&6
15014 else
15015 ac_check_lib_save_LIBS=$LIBS
15016 LIBS="-lossaudio $LIBS"
15017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15020 /* Override any GCC internal prototype to avoid an error.
15021 Use char because int might match the return type of a GCC
15022 builtin and then its argument prototype would still apply. */
15023 #ifdef __cplusplus
15024 extern "C"
15025 #endif
15026 char _oss_ioctl ();
15028 main ()
15030 return _oss_ioctl ();
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_lib_ossaudio__oss_ioctl=yes
15037 else
15038 ac_cv_lib_ossaudio__oss_ioctl=no
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 LIBS=$ac_check_lib_save_LIBS
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15045 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15046 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15047 OSS4_LIBS="-lossaudio"
15056 CPPFLAGS="$ac_save_CPPFLAGS"
15058 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15059 case "x$with_oss" in
15060 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15061 xno) ;;
15062 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15063 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15064 esac
15065 enable_wineoss_drv=${enable_wineoss_drv:-no}
15068 if test "x$with_udev" != "xno"
15069 then
15070 if ${UDEV_CFLAGS:+false} :; then :
15071 if ${PKG_CONFIG+:} false; then :
15072 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15076 if ${UDEV_LIBS:+false} :; then :
15077 if ${PKG_CONFIG+:} false; then :
15078 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15082 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15083 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15084 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15085 ac_save_CPPFLAGS=$CPPFLAGS
15086 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15087 for ac_header in libudev.h
15088 do :
15089 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15090 if test "x$ac_cv_header_libudev_h" = xyes; then :
15091 cat >>confdefs.h <<_ACEOF
15092 #define HAVE_LIBUDEV_H 1
15093 _ACEOF
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15095 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15096 if ${ac_cv_lib_udev_udev_new+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 ac_check_lib_save_LIBS=$LIBS
15100 LIBS="-ludev $UDEV_LIBS $LIBS"
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15104 /* Override any GCC internal prototype to avoid an error.
15105 Use char because int might match the return type of a GCC
15106 builtin and then its argument prototype would still apply. */
15107 #ifdef __cplusplus
15108 extern "C"
15109 #endif
15110 char udev_new ();
15112 main ()
15114 return udev_new ();
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_link "$LINENO"; then :
15120 ac_cv_lib_udev_udev_new=yes
15121 else
15122 ac_cv_lib_udev_udev_new=no
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 LIBS=$ac_check_lib_save_LIBS
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15129 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15130 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15132 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15134 else
15135 UDEV_LIBS=""
15138 else
15139 UDEV_LIBS=""
15142 done
15144 CPPFLAGS=$ac_save_CPPFLAGS
15145 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15146 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15149 if test "x$UDEV_LIBS" = "x"; then :
15150 case "x$with_udev" in
15151 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15152 xno) ;;
15153 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15154 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15155 esac
15159 if test "x$with_unwind" != xno
15160 then
15161 if ${UNWIND_CFLAGS:+false} :; then :
15162 if ${PKG_CONFIG+:} false; then :
15163 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15167 if ${UNWIND_LIBS:+false} :; then :
15168 if ${PKG_CONFIG+:} false; then :
15169 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15173 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15174 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15175 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15176 ac_save_CPPFLAGS=$CPPFLAGS
15177 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15179 $as_echo_n "checking for unw_step... " >&6; }
15180 if ${wine_cv_have_unw_step+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15185 #define UNW_LOCAL_ONLY
15186 #include <libunwind.h>
15188 main ()
15190 unw_cursor_t cursor; unw_step( &cursor );
15192 return 0;
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"; then :
15196 wine_cv_have_unw_step="yes"
15197 else
15198 wine_cv_have_unw_step="no"
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15204 $as_echo "$wine_cv_have_unw_step" >&6; }
15205 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15206 then
15207 save_libs=$LIBS
15208 LIBS="$UNWIND_LIBS $LIBS"
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15210 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15211 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15212 $as_echo_n "(cached) " >&6
15213 else
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216 #define UNW_LOCAL_ONLY
15217 #include <libunwind.h>
15219 main ()
15221 unw_cursor_t cursor; unw_step( &cursor );
15223 return 0;
15225 _ACEOF
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 wine_cv_have_libunwind_unw_step="yes"
15228 else
15229 wine_cv_have_libunwind_unw_step="no"
15231 rm -f core conftest.err conftest.$ac_objext \
15232 conftest$ac_exeext conftest.$ac_ext
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15235 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15236 LIBS=$save_libs
15238 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15239 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15240 then
15242 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15245 CPPFLAGS=$ac_save_CPPFLAGS
15246 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15247 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15250 case $host in
15251 aarch64*|*-darwin*)
15252 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15253 case "x$with_unwind" in
15254 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15255 xno) ;;
15256 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15257 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15258 esac
15260 fi ;;
15261 esac
15263 if test "x$with_sdl" != "xno"
15264 then
15265 if ${SDL2_CFLAGS:+false} :; then :
15266 if ${PKG_CONFIG+:} false; then :
15267 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15271 if ${SDL2_LIBS:+false} :; then :
15272 if ${PKG_CONFIG+:} false; then :
15273 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15277 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15278 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15279 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15280 ac_save_CPPFLAGS=$CPPFLAGS
15281 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15282 for ac_header in SDL2/SDL.h
15283 do :
15284 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15285 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define HAVE_SDL2_SDL_H 1
15288 _ACEOF
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15290 $as_echo_n "checking for -lSDL2... " >&6; }
15291 if ${ac_cv_lib_soname_SDL2+:} false; then :
15292 $as_echo_n "(cached) " >&6
15293 else
15294 ac_check_soname_save_LIBS=$LIBS
15295 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15299 /* Override any GCC internal prototype to avoid an error.
15300 Use char because int might match the return type of a GCC
15301 builtin and then its argument prototype would still apply. */
15302 #ifdef __cplusplus
15303 extern "C"
15304 #endif
15305 char SDL_Init ();
15307 main ()
15309 return SDL_Init ();
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 case "$LIBEXT" in
15316 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15317 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'` ;;
15318 *) 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'`
15319 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15320 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15321 fi ;;
15322 esac
15323 else
15324 ac_cv_lib_soname_SDL2=
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328 LIBS=$ac_check_soname_save_LIBS
15330 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15332 $as_echo "not found" >&6; }
15334 else
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15336 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15338 cat >>confdefs.h <<_ACEOF
15339 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15340 _ACEOF
15346 done
15348 CPPFLAGS=$ac_save_CPPFLAGS
15349 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15350 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15353 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15354 case "x$with_sdl" in
15355 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15356 xno) ;;
15357 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15358 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15359 esac
15363 if test "x$with_faudio" != "xno"
15364 then
15365 if ${FAUDIO_CFLAGS:+false} :; then :
15366 if ${PKG_CONFIG+:} false; then :
15367 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15371 if ${FAUDIO_LIBS:+false} :; then :
15372 if ${PKG_CONFIG+:} false; then :
15373 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15377 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15378 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15379 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15380 ac_save_CPPFLAGS=$CPPFLAGS
15381 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15382 for ac_header in FAudio.h
15383 do :
15384 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15385 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define HAVE_FAUDIO_H 1
15388 _ACEOF
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15390 $as_echo_n "checking for -lFAudio... " >&6; }
15391 if ${ac_cv_lib_soname_FAudio+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_check_soname_save_LIBS=$LIBS
15395 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15402 #ifdef __cplusplus
15403 extern "C"
15404 #endif
15405 char FAudioCreate ();
15407 main ()
15409 return FAudioCreate ();
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 case "$LIBEXT" in
15416 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15420 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15421 fi ;;
15422 esac
15423 else
15424 ac_cv_lib_soname_FAudio=
15426 rm -f core conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext conftest.$ac_ext
15428 LIBS=$ac_check_soname_save_LIBS
15430 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15432 $as_echo "not found" >&6; }
15434 else
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15436 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15438 cat >>confdefs.h <<_ACEOF
15439 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15440 _ACEOF
15446 done
15448 ac_wine_check_funcs_save_LIBS="$LIBS"
15449 LIBS="$LIBS $FAUDIO_LIBS"
15450 for ac_func in FAudio_CommitOperationSet \
15451 F3DAudioInitialize8 \
15452 FAudioLinkedVersion
15453 do :
15454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15459 _ACEOF
15462 done
15464 LIBS="$ac_wine_check_funcs_save_LIBS"
15466 CPPFLAGS=$ac_save_CPPFLAGS
15467 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15468 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15471 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15472 case "x$with_faudio" in
15473 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15474 xno) ;;
15475 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15476 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15477 esac
15481 if test "x$with_capi" != "xno"
15482 then
15483 if ${CAPI20_CFLAGS:+false} :; then :
15484 if ${PKG_CONFIG+:} false; then :
15485 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15489 if ${CAPI20_LIBS:+false} :; then :
15490 if ${PKG_CONFIG+:} false; then :
15491 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15496 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15497 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15498 ac_save_CPPFLAGS=$CPPFLAGS
15499 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15500 for ac_header in capi20.h linux/capi.h
15501 do :
15502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15503 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15505 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15506 cat >>confdefs.h <<_ACEOF
15507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15508 _ACEOF
15512 done
15514 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15515 then
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15517 $as_echo_n "checking for -lcapi20... " >&6; }
15518 if ${ac_cv_lib_soname_capi20+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 ac_check_soname_save_LIBS=$LIBS
15522 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15526 /* Override any GCC internal prototype to avoid an error.
15527 Use char because int might match the return type of a GCC
15528 builtin and then its argument prototype would still apply. */
15529 #ifdef __cplusplus
15530 extern "C"
15531 #endif
15532 char capi20_register ();
15534 main ()
15536 return capi20_register ();
15538 return 0;
15540 _ACEOF
15541 if ac_fn_c_try_link "$LINENO"; then :
15542 case "$LIBEXT" in
15543 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15544 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'` ;;
15545 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15546 if ${ac_cv_lib_soname_capi20:+false} :; then :
15547 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15548 fi ;;
15549 esac
15550 else
15551 ac_cv_lib_soname_capi20=
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15555 LIBS=$ac_check_soname_save_LIBS
15557 if ${ac_cv_lib_soname_capi20:+false} :; then :
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15559 $as_echo "not found" >&6; }
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15563 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15565 cat >>confdefs.h <<_ACEOF
15566 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15567 _ACEOF
15572 CPPFLAGS=$ac_save_CPPFLAGS
15573 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15574 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15577 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15578 case "x$with_capi" in
15579 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15580 xno) ;;
15581 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15582 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15583 esac
15587 if test "x$with_cups" != "xno"
15588 then
15589 if ${CUPS_CFLAGS:+false} :; then :
15590 if ${PKG_CONFIG+:} false; then :
15591 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15594 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15595 if ${CUPS_LIBS:+false} :; then :
15596 if ${PKG_CONFIG+:} false; then :
15597 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15600 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15601 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15602 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15603 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15604 ac_save_CPPFLAGS=$CPPFLAGS
15605 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15606 for ac_header in cups/cups.h cups/ppd.h
15607 do :
15608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15609 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15610 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15611 cat >>confdefs.h <<_ACEOF
15612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15613 _ACEOF
15617 done
15619 if test "$ac_cv_header_cups_cups_h" = "yes"
15620 then
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15622 $as_echo_n "checking for -lcups... " >&6; }
15623 if ${ac_cv_lib_soname_cups+:} false; then :
15624 $as_echo_n "(cached) " >&6
15625 else
15626 ac_check_soname_save_LIBS=$LIBS
15627 LIBS="-lcups $CUPS_LIBS $LIBS"
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15631 /* Override any GCC internal prototype to avoid an error.
15632 Use char because int might match the return type of a GCC
15633 builtin and then its argument prototype would still apply. */
15634 #ifdef __cplusplus
15635 extern "C"
15636 #endif
15637 char cupsGetDefault ();
15639 main ()
15641 return cupsGetDefault ();
15643 return 0;
15645 _ACEOF
15646 if ac_fn_c_try_link "$LINENO"; then :
15647 case "$LIBEXT" in
15648 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15649 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'` ;;
15650 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15651 if ${ac_cv_lib_soname_cups:+false} :; then :
15652 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15653 fi ;;
15654 esac
15655 else
15656 ac_cv_lib_soname_cups=
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15660 LIBS=$ac_check_soname_save_LIBS
15662 if ${ac_cv_lib_soname_cups:+false} :; then :
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15664 $as_echo "not found" >&6; }
15665 CUPS_LIBS=""
15666 else
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15668 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15670 cat >>confdefs.h <<_ACEOF
15671 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15672 _ACEOF
15676 else
15677 CUPS_CFLAGS=""
15678 CUPS_LIBS=""
15680 CPPFLAGS=$ac_save_CPPFLAGS
15681 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15682 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15685 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15686 case "x$with_cups" in
15687 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15688 xno) ;;
15689 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15690 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15691 esac
15695 if test "x$with_fontconfig" != "xno"
15696 then
15697 if ${FONTCONFIG_CFLAGS:+false} :; then :
15698 if ${PKG_CONFIG+:} false; then :
15699 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15702 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15703 if ${FONTCONFIG_LIBS:+false} :; then :
15704 if ${PKG_CONFIG+:} false; then :
15705 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15708 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15710 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15711 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15712 ac_save_CPPFLAGS=$CPPFLAGS
15713 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15714 for ac_header in fontconfig/fontconfig.h
15715 do :
15716 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15717 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15720 _ACEOF
15724 done
15726 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15727 then
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15729 $as_echo_n "checking for -lfontconfig... " >&6; }
15730 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15731 $as_echo_n "(cached) " >&6
15732 else
15733 ac_check_soname_save_LIBS=$LIBS
15734 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15738 /* Override any GCC internal prototype to avoid an error.
15739 Use char because int might match the return type of a GCC
15740 builtin and then its argument prototype would still apply. */
15741 #ifdef __cplusplus
15742 extern "C"
15743 #endif
15744 char FcInit ();
15746 main ()
15748 return FcInit ();
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_link "$LINENO"; then :
15754 case "$LIBEXT" in
15755 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15756 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'` ;;
15757 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15758 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15759 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15760 fi ;;
15761 esac
15762 else
15763 ac_cv_lib_soname_fontconfig=
15765 rm -f core conftest.err conftest.$ac_objext \
15766 conftest$ac_exeext conftest.$ac_ext
15767 LIBS=$ac_check_soname_save_LIBS
15769 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15771 $as_echo "not found" >&6; }
15772 FONTCONFIG_CFLAGS=""
15773 else
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15775 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15777 cat >>confdefs.h <<_ACEOF
15778 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15779 _ACEOF
15783 else
15784 FONTCONFIG_CFLAGS=""
15786 CPPFLAGS=$ac_save_CPPFLAGS
15787 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15788 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15791 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15792 case "x$with_fontconfig" in
15793 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15794 xno) ;;
15795 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15796 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15797 esac
15801 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15802 then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15804 $as_echo_n "checking for -lgsm... " >&6; }
15805 if ${ac_cv_lib_soname_gsm+:} false; then :
15806 $as_echo_n "(cached) " >&6
15807 else
15808 ac_check_soname_save_LIBS=$LIBS
15809 LIBS="-lgsm $LIBS"
15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15813 /* Override any GCC internal prototype to avoid an error.
15814 Use char because int might match the return type of a GCC
15815 builtin and then its argument prototype would still apply. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 char gsm_create ();
15821 main ()
15823 return gsm_create ();
15825 return 0;
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 case "$LIBEXT" in
15830 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15831 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'` ;;
15832 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15833 if ${ac_cv_lib_soname_gsm:+false} :; then :
15834 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15835 fi ;;
15836 esac
15837 else
15838 ac_cv_lib_soname_gsm=
15840 rm -f core conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_check_soname_save_LIBS
15844 if ${ac_cv_lib_soname_gsm:+false} :; then :
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15846 $as_echo "not found" >&6; }
15848 else
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15850 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15852 cat >>confdefs.h <<_ACEOF
15853 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15854 _ACEOF
15859 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15860 case "x$with_gsm" in
15861 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15862 xno) ;;
15863 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15864 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15865 esac
15869 if test "x$with_krb5" != "xno"
15870 then
15871 if ${KRB5_CFLAGS:+false} :; then :
15872 if ${PKG_CONFIG+:} false; then :
15873 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15876 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15877 if ${KRB5_LIBS:+false} :; then :
15878 if ${PKG_CONFIG+:} false; then :
15879 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15882 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15884 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15885 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15886 ac_save_CPPFLAGS=$CPPFLAGS
15887 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15888 for ac_header in krb5/krb5.h
15889 do :
15890 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15891 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_KRB5_KRB5_H 1
15894 _ACEOF
15898 done
15900 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15901 then
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15903 $as_echo_n "checking for -lkrb5... " >&6; }
15904 if ${ac_cv_lib_soname_krb5+:} false; then :
15905 $as_echo_n "(cached) " >&6
15906 else
15907 ac_check_soname_save_LIBS=$LIBS
15908 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15912 /* Override any GCC internal prototype to avoid an error.
15913 Use char because int might match the return type of a GCC
15914 builtin and then its argument prototype would still apply. */
15915 #ifdef __cplusplus
15916 extern "C"
15917 #endif
15918 char krb5_is_config_principal ();
15920 main ()
15922 return krb5_is_config_principal ();
15924 return 0;
15926 _ACEOF
15927 if ac_fn_c_try_link "$LINENO"; then :
15928 case "$LIBEXT" in
15929 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15930 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'` ;;
15931 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15932 if ${ac_cv_lib_soname_krb5:+false} :; then :
15933 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15934 fi ;;
15935 esac
15936 else
15937 ac_cv_lib_soname_krb5=
15939 rm -f core conftest.err conftest.$ac_objext \
15940 conftest$ac_exeext conftest.$ac_ext
15941 LIBS=$ac_check_soname_save_LIBS
15943 if ${ac_cv_lib_soname_krb5:+false} :; then :
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15945 $as_echo "not found" >&6; }
15946 KRB5_CFLAGS=""
15947 else
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15949 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15951 cat >>confdefs.h <<_ACEOF
15952 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15953 _ACEOF
15957 else
15958 KRB5_CFLAGS=""
15960 CPPFLAGS=$ac_save_CPPFLAGS
15961 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15962 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15965 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15966 case "x$with_krb5" in
15967 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15968 xno) ;;
15969 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15970 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15971 esac
15974 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15976 if test "x$with_gssapi" != "xno"
15977 then
15978 if ${GSSAPI_CFLAGS:+false} :; then :
15979 if ${PKG_CONFIG+:} false; then :
15980 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15983 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15984 if ${GSSAPI_LIBS:+false} :; then :
15985 if ${PKG_CONFIG+:} false; then :
15986 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15989 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15991 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15992 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15993 ac_save_CPPFLAGS=$CPPFLAGS
15994 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15995 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15996 do :
15997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15998 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16002 _ACEOF
16006 done
16008 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16009 then
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16011 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16012 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16013 $as_echo_n "(cached) " >&6
16014 else
16015 ac_check_soname_save_LIBS=$LIBS
16016 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h. */
16020 /* Override any GCC internal prototype to avoid an error.
16021 Use char because int might match the return type of a GCC
16022 builtin and then its argument prototype would still apply. */
16023 #ifdef __cplusplus
16024 extern "C"
16025 #endif
16026 char gss_init_sec_context ();
16028 main ()
16030 return gss_init_sec_context ();
16032 return 0;
16034 _ACEOF
16035 if ac_fn_c_try_link "$LINENO"; then :
16036 case "$LIBEXT" in
16037 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16038 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'` ;;
16039 *) 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'`
16040 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16041 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16042 fi ;;
16043 esac
16044 else
16045 ac_cv_lib_soname_gssapi_krb5=
16047 rm -f core conftest.err conftest.$ac_objext \
16048 conftest$ac_exeext conftest.$ac_ext
16049 LIBS=$ac_check_soname_save_LIBS
16051 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16053 $as_echo "not found" >&6; }
16054 GSSAPI_CFLAGS=""
16055 else
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16057 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16059 cat >>confdefs.h <<_ACEOF
16060 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16061 _ACEOF
16065 else
16066 GSSAPI_CFLAGS=""
16068 CPPFLAGS=$ac_save_CPPFLAGS
16069 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16070 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16073 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16074 case "x$with_gssapi" in
16075 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16076 xno) ;;
16077 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16078 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16079 esac
16083 if test "x$with_jpeg" != "xno"
16084 then
16085 if ${JPEG_CFLAGS:+false} :; then :
16086 if ${PKG_CONFIG+:} false; then :
16087 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16091 if ${JPEG_LIBS:+false} :; then :
16092 if ${PKG_CONFIG+:} false; then :
16093 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16098 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16099 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16100 ac_save_CPPFLAGS=$CPPFLAGS
16101 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16102 for ac_header in jpeglib.h
16103 do :
16104 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16105 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_JPEGLIB_H 1
16108 _ACEOF
16112 done
16114 if test "$ac_cv_header_jpeglib_h" = "yes"
16115 then
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16117 $as_echo_n "checking for -ljpeg... " >&6; }
16118 if ${ac_cv_lib_soname_jpeg+:} false; then :
16119 $as_echo_n "(cached) " >&6
16120 else
16121 ac_check_soname_save_LIBS=$LIBS
16122 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16129 #ifdef __cplusplus
16130 extern "C"
16131 #endif
16132 char jpeg_start_decompress ();
16134 main ()
16136 return jpeg_start_decompress ();
16138 return 0;
16140 _ACEOF
16141 if ac_fn_c_try_link "$LINENO"; then :
16142 case "$LIBEXT" in
16143 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16144 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'` ;;
16145 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16146 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16147 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16148 fi ;;
16149 esac
16150 else
16151 ac_cv_lib_soname_jpeg=
16153 rm -f core conftest.err conftest.$ac_objext \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_soname_save_LIBS
16157 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16159 $as_echo "not found" >&6; }
16160 JPEG_CFLAGS=""
16161 else
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16163 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16165 cat >>confdefs.h <<_ACEOF
16166 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16167 _ACEOF
16171 else
16172 JPEG_CFLAGS=""
16174 CPPFLAGS=$ac_save_CPPFLAGS
16175 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16176 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16179 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16180 case "x$with_jpeg" in
16181 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16182 xno) ;;
16183 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16184 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16185 esac
16189 if test "x$with_png" != "xno"
16190 then
16191 if ${PNG_CFLAGS:+false} :; then :
16192 if ${PKG_CONFIG+:} false; then :
16193 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16196 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16197 if ${PNG_LIBS:+false} :; then :
16198 if ${PKG_CONFIG+:} false; then :
16199 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16202 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16204 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16205 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16206 ac_save_CPPFLAGS=$CPPFLAGS
16207 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16208 for ac_header in png.h
16209 do :
16210 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16211 if test "x$ac_cv_header_png_h" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_PNG_H 1
16214 _ACEOF
16218 done
16220 if test "$ac_cv_header_png_h" = "yes"
16221 then
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16223 $as_echo_n "checking for -lpng... " >&6; }
16224 if ${ac_cv_lib_soname_png+:} false; then :
16225 $as_echo_n "(cached) " >&6
16226 else
16227 ac_check_soname_save_LIBS=$LIBS
16228 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 #ifdef __cplusplus
16236 extern "C"
16237 #endif
16238 char png_create_read_struct ();
16240 main ()
16242 return png_create_read_struct ();
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 case "$LIBEXT" in
16249 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16250 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'` ;;
16251 *) 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'`
16252 if ${ac_cv_lib_soname_png:+false} :; then :
16253 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16254 fi ;;
16255 esac
16256 else
16257 ac_cv_lib_soname_png=
16259 rm -f core conftest.err conftest.$ac_objext \
16260 conftest$ac_exeext conftest.$ac_ext
16261 LIBS=$ac_check_soname_save_LIBS
16263 if ${ac_cv_lib_soname_png:+false} :; then :
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16265 $as_echo "not found" >&6; }
16266 PNG_CFLAGS=""
16267 else
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16269 $as_echo "$ac_cv_lib_soname_png" >&6; }
16271 cat >>confdefs.h <<_ACEOF
16272 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16273 _ACEOF
16277 else
16278 PNG_CFLAGS=""
16280 CPPFLAGS=$ac_save_CPPFLAGS
16281 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16282 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16285 if test "x$ac_cv_lib_soname_png" = "x"; then :
16286 case "x$with_png" in
16287 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16288 xno) ;;
16289 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16290 This is an error since --with-png was requested." "$LINENO" 5 ;;
16291 esac
16295 if test "x$with_tiff" != "xno"
16296 then
16297 if ${TIFF_CFLAGS:+false} :; then :
16298 if ${PKG_CONFIG+:} false; then :
16299 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16303 if ${TIFF_LIBS:+false} :; then :
16304 if ${PKG_CONFIG+:} false; then :
16305 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16310 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16311 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16312 ac_save_CPPFLAGS=$CPPFLAGS
16313 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16314 for ac_header in tiffio.h
16315 do :
16316 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_TIFFIO_H 1
16320 _ACEOF
16324 done
16326 if test "$ac_cv_header_tiffio_h" = "yes"
16327 then
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16329 $as_echo_n "checking for -ltiff... " >&6; }
16330 if ${ac_cv_lib_soname_tiff+:} false; then :
16331 $as_echo_n "(cached) " >&6
16332 else
16333 ac_check_soname_save_LIBS=$LIBS
16334 LIBS="-ltiff $TIFF_LIBS $LIBS"
16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16338 /* Override any GCC internal prototype to avoid an error.
16339 Use char because int might match the return type of a GCC
16340 builtin and then its argument prototype would still apply. */
16341 #ifdef __cplusplus
16342 extern "C"
16343 #endif
16344 char TIFFClientOpen ();
16346 main ()
16348 return TIFFClientOpen ();
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 case "$LIBEXT" in
16355 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16356 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'` ;;
16357 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16358 if ${ac_cv_lib_soname_tiff:+false} :; then :
16359 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16360 fi ;;
16361 esac
16362 else
16363 ac_cv_lib_soname_tiff=
16365 rm -f core conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16367 LIBS=$ac_check_soname_save_LIBS
16369 if ${ac_cv_lib_soname_tiff:+false} :; then :
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16371 $as_echo "not found" >&6; }
16373 else
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16375 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16377 cat >>confdefs.h <<_ACEOF
16378 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16379 _ACEOF
16384 CPPFLAGS=$ac_save_CPPFLAGS
16385 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16386 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16389 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16390 case "x$with_tiff" in
16391 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16392 xno) ;;
16393 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16394 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16395 esac
16399 if test "x$with_mpg123" != "xno"
16400 then
16401 if ${MPG123_CFLAGS:+false} :; then :
16402 if ${PKG_CONFIG+:} false; then :
16403 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16407 if ${MPG123_LIBS:+false} :; then :
16408 if ${PKG_CONFIG+:} false; then :
16409 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16413 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16414 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16415 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16416 ac_save_CPPFLAGS=$CPPFLAGS
16417 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16418 for ac_header in mpg123.h
16419 do :
16420 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16421 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_MPG123_H 1
16424 _ACEOF
16428 done
16430 if test "$ac_cv_header_mpg123_h" = "yes"
16431 then
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16433 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16434 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16435 $as_echo_n "(cached) " >&6
16436 else
16437 ac_check_lib_save_LIBS=$LIBS
16438 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16442 /* Override any GCC internal prototype to avoid an error.
16443 Use char because int might match the return type of a GCC
16444 builtin and then its argument prototype would still apply. */
16445 #ifdef __cplusplus
16446 extern "C"
16447 #endif
16448 char mpg123_feed ();
16450 main ()
16452 return mpg123_feed ();
16454 return 0;
16456 _ACEOF
16457 if ac_fn_c_try_link "$LINENO"; then :
16458 ac_cv_lib_mpg123_mpg123_feed=yes
16459 else
16460 ac_cv_lib_mpg123_mpg123_feed=no
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16464 LIBS=$ac_check_lib_save_LIBS
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16467 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16468 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16470 else
16471 MPG123_LIBS=""
16474 else
16475 MPG123_CFLAGS=""
16476 MPG123_LIBS=""
16478 CPPFLAGS=$ac_save_CPPFLAGS
16479 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16480 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16483 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16484 case "x$with_mpg123" in
16485 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16486 xno) ;;
16487 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16488 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16489 esac
16490 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16492 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16494 if test "$ac_cv_header_AL_al_h" = "yes"
16495 then
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16497 $as_echo_n "checking for -lopenal... " >&6; }
16498 if ${ac_cv_lib_soname_openal+:} false; then :
16499 $as_echo_n "(cached) " >&6
16500 else
16501 ac_check_soname_save_LIBS=$LIBS
16502 LIBS="-lopenal $LIBS"
16503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16506 /* Override any GCC internal prototype to avoid an error.
16507 Use char because int might match the return type of a GCC
16508 builtin and then its argument prototype would still apply. */
16509 #ifdef __cplusplus
16510 extern "C"
16511 #endif
16512 char alGetSource3i ();
16514 main ()
16516 return alGetSource3i ();
16518 return 0;
16520 _ACEOF
16521 if ac_fn_c_try_link "$LINENO"; then :
16522 case "$LIBEXT" in
16523 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16524 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'` ;;
16525 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16526 if ${ac_cv_lib_soname_openal:+false} :; then :
16527 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16528 fi ;;
16529 esac
16530 else
16531 ac_cv_lib_soname_openal=
16533 rm -f core conftest.err conftest.$ac_objext \
16534 conftest$ac_exeext conftest.$ac_ext
16535 LIBS=$ac_check_soname_save_LIBS
16537 if ${ac_cv_lib_soname_openal:+false} :; then :
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16539 $as_echo "not found" >&6; }
16541 else
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16543 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16545 cat >>confdefs.h <<_ACEOF
16546 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16547 _ACEOF
16549 OPENAL_LIBS="-lopenal"
16551 ac_cv_lib_openal=yes
16553 cat >>confdefs.h <<_ACEOF
16554 #define HAVE_OPENAL 1
16555 _ACEOF
16559 if test "x$ac_cv_lib_openal" != xyes; then :
16560 case "x$with_openal" in
16561 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16562 xno) ;;
16563 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16564 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16565 esac
16566 enable_openal32=${enable_openal32:-no}
16569 if test "x$ac_cv_lib_soname_FAudio" = "x"
16570 then
16571 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16572 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16573 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16574 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16575 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16576 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16577 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16578 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16579 enable_xapofx1_1=${enable_xapofx1_1:-no}
16580 enable_xapofx1_2=${enable_xapofx1_2:-no}
16581 enable_xapofx1_3=${enable_xapofx1_3:-no}
16582 enable_xapofx1_4=${enable_xapofx1_4:-no}
16583 enable_xapofx1_5=${enable_xapofx1_5:-no}
16584 enable_xaudio2_0=${enable_xaudio2_0:-no}
16585 enable_xaudio2_1=${enable_xaudio2_1:-no}
16586 enable_xaudio2_2=${enable_xaudio2_2:-no}
16587 enable_xaudio2_3=${enable_xaudio2_3:-no}
16588 enable_xaudio2_4=${enable_xaudio2_4:-no}
16589 enable_xaudio2_5=${enable_xaudio2_5:-no}
16590 enable_xaudio2_6=${enable_xaudio2_6:-no}
16591 enable_xaudio2_7=${enable_xaudio2_7:-no}
16592 enable_xaudio2_8=${enable_xaudio2_8:-no}
16593 enable_xaudio2_9=${enable_xaudio2_9:-no}
16596 if test "$ac_cv_header_kstat_h" = "yes"
16597 then
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16599 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16600 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 ac_check_lib_save_LIBS=$LIBS
16604 LIBS="-lkstat $LIBS"
16605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16608 /* Override any GCC internal prototype to avoid an error.
16609 Use char because int might match the return type of a GCC
16610 builtin and then its argument prototype would still apply. */
16611 #ifdef __cplusplus
16612 extern "C"
16613 #endif
16614 char kstat_open ();
16616 main ()
16618 return kstat_open ();
16620 return 0;
16622 _ACEOF
16623 if ac_fn_c_try_link "$LINENO"; then :
16624 ac_cv_lib_kstat_kstat_open=yes
16625 else
16626 ac_cv_lib_kstat_kstat_open=no
16628 rm -f core conftest.err conftest.$ac_objext \
16629 conftest$ac_exeext conftest.$ac_ext
16630 LIBS=$ac_check_lib_save_LIBS
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16633 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16634 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16636 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16638 KSTAT_LIBS="-lkstat"
16644 if test "$ac_cv_header_libprocstat_h" = "yes"
16645 then
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16647 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16648 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16649 $as_echo_n "(cached) " >&6
16650 else
16651 ac_check_lib_save_LIBS=$LIBS
16652 LIBS="-lprocstat $LIBS"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16659 #ifdef __cplusplus
16660 extern "C"
16661 #endif
16662 char procstat_open_sysctl ();
16664 main ()
16666 return procstat_open_sysctl ();
16668 return 0;
16670 _ACEOF
16671 if ac_fn_c_try_link "$LINENO"; then :
16672 ac_cv_lib_procstat_procstat_open_sysctl=yes
16673 else
16674 ac_cv_lib_procstat_procstat_open_sysctl=no
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_lib_save_LIBS
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16681 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16682 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16684 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16686 PROCSTAT_LIBS="-lprocstat"
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16693 $as_echo_n "checking for -lodbc... " >&6; }
16694 if ${ac_cv_lib_soname_odbc+:} false; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16697 ac_check_soname_save_LIBS=$LIBS
16698 LIBS="-lodbc $LIBS"
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16702 /* Override any GCC internal prototype to avoid an error.
16703 Use char because int might match the return type of a GCC
16704 builtin and then its argument prototype would still apply. */
16705 #ifdef __cplusplus
16706 extern "C"
16707 #endif
16708 char SQLConnect ();
16710 main ()
16712 return SQLConnect ();
16714 return 0;
16716 _ACEOF
16717 if ac_fn_c_try_link "$LINENO"; then :
16718 case "$LIBEXT" in
16719 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16720 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'` ;;
16721 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16722 if ${ac_cv_lib_soname_odbc:+false} :; then :
16723 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16724 fi ;;
16725 esac
16726 else
16727 ac_cv_lib_soname_odbc=
16729 rm -f core conftest.err conftest.$ac_objext \
16730 conftest$ac_exeext conftest.$ac_ext
16731 LIBS=$ac_check_soname_save_LIBS
16733 if ${ac_cv_lib_soname_odbc:+false} :; then :
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16735 $as_echo "not found" >&6; }
16736 cat >>confdefs.h <<_ACEOF
16737 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16738 _ACEOF
16740 else
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16742 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16744 cat >>confdefs.h <<_ACEOF
16745 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16746 _ACEOF
16751 if test "x$with_netapi" != "xno"
16752 then
16753 if ${NETAPI_CFLAGS:+false} :; then :
16754 if ${PKG_CONFIG+:} false; then :
16755 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16759 if ${NETAPI_LIBS:+false} :; then :
16760 if ${PKG_CONFIG+:} false; then :
16761 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16766 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16767 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16768 ac_save_CPPFLAGS=$CPPFLAGS
16769 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16771 $as_echo_n "checking for -lnetapi... " >&6; }
16772 if ${ac_cv_lib_soname_netapi+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 ac_check_soname_save_LIBS=$LIBS
16776 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16780 /* Override any GCC internal prototype to avoid an error.
16781 Use char because int might match the return type of a GCC
16782 builtin and then its argument prototype would still apply. */
16783 #ifdef __cplusplus
16784 extern "C"
16785 #endif
16786 char libnetapi_init ();
16788 main ()
16790 return libnetapi_init ();
16792 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_link "$LINENO"; then :
16796 case "$LIBEXT" in
16797 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16798 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'` ;;
16799 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16800 if ${ac_cv_lib_soname_netapi:+false} :; then :
16801 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16802 fi ;;
16803 esac
16804 else
16805 ac_cv_lib_soname_netapi=
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 LIBS=$ac_check_soname_save_LIBS
16811 if ${ac_cv_lib_soname_netapi:+false} :; then :
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16813 $as_echo "not found" >&6; }
16814 cat >>confdefs.h <<_ACEOF
16815 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16816 _ACEOF
16818 else
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16820 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16822 cat >>confdefs.h <<_ACEOF
16823 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16824 _ACEOF
16828 CPPFLAGS=$ac_save_CPPFLAGS
16829 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16830 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16834 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16835 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16836 then
16837 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16840 if test "x$with_vulkan" != "xno"
16841 then
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16843 $as_echo_n "checking for -lvulkan... " >&6; }
16844 if ${ac_cv_lib_soname_vulkan+:} false; then :
16845 $as_echo_n "(cached) " >&6
16846 else
16847 ac_check_soname_save_LIBS=$LIBS
16848 LIBS="-lvulkan $LIBS"
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16852 /* Override any GCC internal prototype to avoid an error.
16853 Use char because int might match the return type of a GCC
16854 builtin and then its argument prototype would still apply. */
16855 #ifdef __cplusplus
16856 extern "C"
16857 #endif
16858 char vkGetInstanceProcAddr ();
16860 main ()
16862 return vkGetInstanceProcAddr ();
16864 return 0;
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 case "$LIBEXT" in
16869 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16870 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'` ;;
16871 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16872 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16873 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16874 fi ;;
16875 esac
16876 else
16877 ac_cv_lib_soname_vulkan=
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 LIBS=$ac_check_soname_save_LIBS
16883 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16885 $as_echo "not found" >&6; }
16887 else
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16889 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16891 cat >>confdefs.h <<_ACEOF
16892 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16893 _ACEOF
16897 if test "x$ac_cv_lib_soname_vulkan" = "x"
16898 then
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16900 $as_echo_n "checking for -lMoltenVK... " >&6; }
16901 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 ac_check_soname_save_LIBS=$LIBS
16905 LIBS="-lMoltenVK $LIBS"
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16909 /* Override any GCC internal prototype to avoid an error.
16910 Use char because int might match the return type of a GCC
16911 builtin and then its argument prototype would still apply. */
16912 #ifdef __cplusplus
16913 extern "C"
16914 #endif
16915 char vkGetInstanceProcAddr ();
16917 main ()
16919 return vkGetInstanceProcAddr ();
16921 return 0;
16923 _ACEOF
16924 if ac_fn_c_try_link "$LINENO"; then :
16925 case "$LIBEXT" in
16926 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16927 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'` ;;
16928 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16929 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16930 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16931 fi ;;
16932 esac
16933 else
16934 ac_cv_lib_soname_MoltenVK=
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16938 LIBS=$ac_check_soname_save_LIBS
16940 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16942 $as_echo "not found" >&6; }
16944 else
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16946 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16948 cat >>confdefs.h <<_ACEOF
16949 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16950 _ACEOF
16956 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16957 case "x$with_vulkan" in
16958 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16959 xno) ;;
16960 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16961 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16962 esac
16966 if test "x$with_vkd3d" != "xno"
16967 then
16968 if ${VKD3D_CFLAGS:+false} :; then :
16969 if ${PKG_CONFIG+:} false; then :
16970 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16974 if ${VKD3D_LIBS:+false} :; then :
16975 if ${PKG_CONFIG+:} false; then :
16976 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16981 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16982 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16983 ac_save_CPPFLAGS=$CPPFLAGS
16984 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16986 $as_echo_n "checking for -lvkd3d... " >&6; }
16987 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 ac_check_soname_save_LIBS=$LIBS
16991 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16995 /* Override any GCC internal prototype to avoid an error.
16996 Use char because int might match the return type of a GCC
16997 builtin and then its argument prototype would still apply. */
16998 #ifdef __cplusplus
16999 extern "C"
17000 #endif
17001 char vkd3d_get_dxgi_format ();
17003 main ()
17005 return vkd3d_get_dxgi_format ();
17007 return 0;
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 case "$LIBEXT" in
17012 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17013 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'` ;;
17014 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17015 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17016 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17017 fi ;;
17018 esac
17019 else
17020 ac_cv_lib_soname_vkd3d=
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 LIBS=$ac_check_soname_save_LIBS
17026 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17028 $as_echo "not found" >&6; }
17030 else
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17032 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17034 cat >>confdefs.h <<_ACEOF
17035 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17036 _ACEOF
17040 CPPFLAGS=$ac_save_CPPFLAGS
17041 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17042 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17045 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17046 case "x$with_vkd3d" in
17047 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17048 xno) ;;
17049 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17050 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17051 esac
17054 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17057 EXTRACFLAGS=""
17059 if test "x${GCC}" = "xyes"
17060 then
17061 EXTRACFLAGS="-Wall -pipe"
17063 saved_CFLAGS=$CFLAGS
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17065 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17066 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 ac_wine_try_cflags_saved=$CFLAGS
17070 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 int main(int argc, char **argv) { return 0; }
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"; then :
17076 ac_cv_cflags__Werror_unknown_warning_option=yes
17077 else
17078 ac_cv_cflags__Werror_unknown_warning_option=no
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17082 CFLAGS=$ac_wine_try_cflags_saved
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17085 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17086 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17087 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17090 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17091 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 ac_wine_try_cflags_saved=$CFLAGS
17095 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 int main(int argc, char **argv) { return 0; }
17099 _ACEOF
17100 if ac_fn_c_try_link "$LINENO"; then :
17101 ac_cv_cflags__Werror_unused_command_line_argument=yes
17102 else
17103 ac_cv_cflags__Werror_unused_command_line_argument=no
17105 rm -f core conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17107 CFLAGS=$ac_wine_try_cflags_saved
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17110 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17111 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17112 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17115 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17116 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 ac_wine_try_cflags_saved=$CFLAGS
17120 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 int main(int argc, char **argv) { return 0; }
17124 _ACEOF
17125 if ac_fn_c_try_link "$LINENO"; then :
17126 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17127 else
17128 ac_cv_cflags__Werror_ignored_optimization_argument=no
17130 rm -f core conftest.err conftest.$ac_objext \
17131 conftest$ac_exeext conftest.$ac_ext
17132 CFLAGS=$ac_wine_try_cflags_saved
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17135 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17136 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17137 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17140 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17141 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17142 $as_echo_n "(cached) " >&6
17143 else
17144 ac_wine_try_cflags_saved=$CFLAGS
17145 CFLAGS="$CFLAGS -fcf-protection=none"
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 int main(int argc, char **argv) { return 0; }
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_cflags__fcf_protection_none=yes
17152 else
17153 ac_cv_cflags__fcf_protection_none=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 CFLAGS=$ac_wine_try_cflags_saved
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17160 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17161 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17162 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17165 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17166 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17167 $as_echo_n "(cached) " >&6
17168 else
17169 ac_wine_try_cflags_saved=$CFLAGS
17170 CFLAGS="$CFLAGS -fno-stack-protector"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 int main(int argc, char **argv) { return 0; }
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_cflags__fno_stack_protector=yes
17177 else
17178 ac_cv_cflags__fno_stack_protector=no
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17182 CFLAGS=$ac_wine_try_cflags_saved
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17185 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17186 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17187 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17190 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17191 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_wine_try_cflags_saved=$CFLAGS
17195 CFLAGS="$CFLAGS -fno-strict-aliasing"
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 int main(int argc, char **argv) { return 0; }
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"; then :
17201 ac_cv_cflags__fno_strict_aliasing=yes
17202 else
17203 ac_cv_cflags__fno_strict_aliasing=no
17205 rm -f core conftest.err conftest.$ac_objext \
17206 conftest$ac_exeext conftest.$ac_ext
17207 CFLAGS=$ac_wine_try_cflags_saved
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17210 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17211 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17212 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17215 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17216 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 ac_wine_try_cflags_saved=$CFLAGS
17220 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 int main(int argc, char **argv) { return 0; }
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_cflags__Wdeclaration_after_statement=yes
17227 else
17228 ac_cv_cflags__Wdeclaration_after_statement=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 CFLAGS=$ac_wine_try_cflags_saved
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17235 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17236 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17237 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17240 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17241 if ${ac_cv_cflags__Wempty_body+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_wine_try_cflags_saved=$CFLAGS
17245 CFLAGS="$CFLAGS -Wempty-body"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 int main(int argc, char **argv) { return 0; }
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_cflags__Wempty_body=yes
17252 else
17253 ac_cv_cflags__Wempty_body=no
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17257 CFLAGS=$ac_wine_try_cflags_saved
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17260 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17261 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17262 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17265 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17266 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 ac_wine_try_cflags_saved=$CFLAGS
17270 CFLAGS="$CFLAGS -Wignored-qualifiers"
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 int main(int argc, char **argv) { return 0; }
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 ac_cv_cflags__Wignored_qualifiers=yes
17277 else
17278 ac_cv_cflags__Wignored_qualifiers=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 CFLAGS=$ac_wine_try_cflags_saved
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17285 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17286 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17287 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17290 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17291 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 ac_wine_try_cflags_saved=$CFLAGS
17295 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 int main(int argc, char **argv) { return 0; }
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"; then :
17301 ac_cv_cflags__Wpacked_not_aligned=yes
17302 else
17303 ac_cv_cflags__Wpacked_not_aligned=no
17305 rm -f core conftest.err conftest.$ac_objext \
17306 conftest$ac_exeext conftest.$ac_ext
17307 CFLAGS=$ac_wine_try_cflags_saved
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17310 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17311 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17312 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17315 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17316 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 ac_wine_try_cflags_saved=$CFLAGS
17320 CFLAGS="$CFLAGS -Wpragma-pack"
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17323 int main(int argc, char **argv) { return 0; }
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 ac_cv_cflags__Wpragma_pack=yes
17327 else
17328 ac_cv_cflags__Wpragma_pack=no
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17332 CFLAGS=$ac_wine_try_cflags_saved
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17335 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17336 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17337 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17340 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17341 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17342 $as_echo_n "(cached) " >&6
17343 else
17344 ac_wine_try_cflags_saved=$CFLAGS
17345 CFLAGS="$CFLAGS -Wshift-overflow=2"
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 int main(int argc, char **argv) { return 0; }
17349 _ACEOF
17350 if ac_fn_c_try_link "$LINENO"; then :
17351 ac_cv_cflags__Wshift_overflow_2=yes
17352 else
17353 ac_cv_cflags__Wshift_overflow_2=no
17355 rm -f core conftest.err conftest.$ac_objext \
17356 conftest$ac_exeext conftest.$ac_ext
17357 CFLAGS=$ac_wine_try_cflags_saved
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17360 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17361 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17362 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17365 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17366 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 ac_wine_try_cflags_saved=$CFLAGS
17370 CFLAGS="$CFLAGS -Wstrict-prototypes"
17371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h. */
17373 int main(int argc, char **argv) { return 0; }
17374 _ACEOF
17375 if ac_fn_c_try_link "$LINENO"; then :
17376 ac_cv_cflags__Wstrict_prototypes=yes
17377 else
17378 ac_cv_cflags__Wstrict_prototypes=no
17380 rm -f core conftest.err conftest.$ac_objext \
17381 conftest$ac_exeext conftest.$ac_ext
17382 CFLAGS=$ac_wine_try_cflags_saved
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17385 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17386 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17387 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17390 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17391 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394 ac_wine_try_cflags_saved=$CFLAGS
17395 CFLAGS="$CFLAGS -Wtype-limits"
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 int main(int argc, char **argv) { return 0; }
17399 _ACEOF
17400 if ac_fn_c_try_link "$LINENO"; then :
17401 ac_cv_cflags__Wtype_limits=yes
17402 else
17403 ac_cv_cflags__Wtype_limits=no
17405 rm -f core conftest.err conftest.$ac_objext \
17406 conftest$ac_exeext conftest.$ac_ext
17407 CFLAGS=$ac_wine_try_cflags_saved
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17410 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17411 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17412 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17415 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17416 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17417 $as_echo_n "(cached) " >&6
17418 else
17419 ac_wine_try_cflags_saved=$CFLAGS
17420 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 int main(int argc, char **argv) { return 0; }
17424 _ACEOF
17425 if ac_fn_c_try_link "$LINENO"; then :
17426 ac_cv_cflags__Wunused_but_set_parameter=yes
17427 else
17428 ac_cv_cflags__Wunused_but_set_parameter=no
17430 rm -f core conftest.err conftest.$ac_objext \
17431 conftest$ac_exeext conftest.$ac_ext
17432 CFLAGS=$ac_wine_try_cflags_saved
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17435 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17436 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17437 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17440 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17441 if ${ac_cv_cflags__Wvla+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 ac_wine_try_cflags_saved=$CFLAGS
17445 CFLAGS="$CFLAGS -Wvla"
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 int main(int argc, char **argv) { return 0; }
17449 _ACEOF
17450 if ac_fn_c_try_link "$LINENO"; then :
17451 ac_cv_cflags__Wvla=yes
17452 else
17453 ac_cv_cflags__Wvla=no
17455 rm -f core conftest.err conftest.$ac_objext \
17456 conftest$ac_exeext conftest.$ac_ext
17457 CFLAGS=$ac_wine_try_cflags_saved
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17460 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17461 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17462 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17465 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17466 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17467 $as_echo_n "(cached) " >&6
17468 else
17469 ac_wine_try_cflags_saved=$CFLAGS
17470 CFLAGS="$CFLAGS -Wwrite-strings"
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 int main(int argc, char **argv) { return 0; }
17474 _ACEOF
17475 if ac_fn_c_try_link "$LINENO"; then :
17476 ac_cv_cflags__Wwrite_strings=yes
17477 else
17478 ac_cv_cflags__Wwrite_strings=no
17480 rm -f core conftest.err conftest.$ac_objext \
17481 conftest$ac_exeext conftest.$ac_ext
17482 CFLAGS=$ac_wine_try_cflags_saved
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17485 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17486 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17487 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17490 if test -z "$CROSSTARGET"
17491 then
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17493 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17494 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 ac_wine_try_cflags_saved=$CFLAGS
17498 CFLAGS="$CFLAGS -fexcess-precision=standard"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 int main(int argc, char **argv) { return 0; }
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 ac_cv_cflags__fexcess_precision_standard=yes
17505 else
17506 ac_cv_cflags__fexcess_precision_standard=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17510 CFLAGS=$ac_wine_try_cflags_saved
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17513 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17514 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17515 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17521 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17522 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17523 $as_echo_n "(cached) " >&6
17524 else
17525 ac_wine_try_cflags_saved=$CFLAGS
17526 CFLAGS="$CFLAGS -Wpointer-arith"
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 int main(int argc, char **argv) { return 0; }
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 ac_cv_cflags__Wpointer_arith=yes
17533 else
17534 ac_cv_cflags__Wpointer_arith=no
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17538 CFLAGS=$ac_wine_try_cflags_saved
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17541 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17542 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17543 saved_string_h_CFLAGS=$CFLAGS
17544 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17546 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17547 if ${ac_cv_c_string_h_warnings+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <string.h>
17554 main ()
17558 return 0;
17560 _ACEOF
17561 if ac_fn_c_try_compile "$LINENO"; then :
17562 ac_cv_c_string_h_warnings=no
17563 else
17564 ac_cv_c_string_h_warnings=yes
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17569 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17570 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17571 CFLAGS=$saved_string_h_CFLAGS
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17575 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17576 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 ac_wine_try_cflags_saved=$CFLAGS
17580 CFLAGS="$CFLAGS -Wlogical-op"
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 int main(int argc, char **argv) { return 0; }
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_cflags__Wlogical_op=yes
17587 else
17588 ac_cv_cflags__Wlogical_op=no
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17592 CFLAGS=$ac_wine_try_cflags_saved
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17595 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17596 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17597 saved_string_h_CFLAGS=$CFLAGS
17598 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17600 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17601 if ${ac_cv_c_logicalop_noisy+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <string.h>
17607 char*f(const char *h,char n) {return strchr(h,n);}
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_compile "$LINENO"; then :
17617 ac_cv_c_logicalop_noisy=no
17618 else
17619 ac_cv_c_logicalop_noisy=yes
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17624 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17625 CFLAGS=$saved_string_h_CFLAGS
17626 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17629 for ac_flag in $CFLAGS; do
17630 case $ac_flag in
17631 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17632 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17633 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 ac_wine_try_cflags_saved=$CFLAGS
17637 CFLAGS="$CFLAGS -gdwarf-2"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 int main(int argc, char **argv) { return 0; }
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"; then :
17643 ac_cv_cflags__gdwarf_2=yes
17644 else
17645 ac_cv_cflags__gdwarf_2=no
17647 rm -f core conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17649 CFLAGS=$ac_wine_try_cflags_saved
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17652 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17653 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17654 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17657 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17658 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_wine_try_cflags_saved=$CFLAGS
17662 CFLAGS="$CFLAGS -gstrict-dwarf"
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 int main(int argc, char **argv) { return 0; }
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_cflags__gstrict_dwarf=yes
17669 else
17670 ac_cv_cflags__gstrict_dwarf=no
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17674 CFLAGS=$ac_wine_try_cflags_saved
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17677 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17678 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17679 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17680 fi ;;
17681 esac
17682 done
17684 MSVCRTFLAGS=""
17686 case $host_os in
17687 mingw32*) ;;
17688 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17689 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17690 if ${ac_cv_cflags__fno_builtin+:} false; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693 ac_wine_try_cflags_saved=$CFLAGS
17694 CFLAGS="$CFLAGS -fno-builtin"
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 int main(int argc, char **argv) { return 0; }
17698 _ACEOF
17699 if ac_fn_c_try_link "$LINENO"; then :
17700 ac_cv_cflags__fno_builtin=yes
17701 else
17702 ac_cv_cflags__fno_builtin=no
17704 rm -f core conftest.err conftest.$ac_objext \
17705 conftest$ac_exeext conftest.$ac_ext
17706 CFLAGS=$ac_wine_try_cflags_saved
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17709 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17710 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17711 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17714 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17715 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 ac_wine_try_cflags_saved=$CFLAGS
17719 CFLAGS="$CFLAGS -fshort-wchar"
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 int main(int argc, char **argv) { return 0; }
17723 _ACEOF
17724 if ac_fn_c_try_link "$LINENO"; then :
17725 ac_cv_cflags__fshort_wchar=yes
17726 else
17727 ac_cv_cflags__fshort_wchar=no
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17731 CFLAGS=$ac_wine_try_cflags_saved
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17734 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17735 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17736 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17737 fi ;;
17738 esac
17740 case $host_cpu in
17741 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17742 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17743 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 ac_wine_try_cflags_saved=$CFLAGS
17747 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 int main(int argc, char **argv) { return 0; }
17751 _ACEOF
17752 if ac_fn_c_try_link "$LINENO"; then :
17753 ac_cv_cflags__fno_omit_frame_pointer=yes
17754 else
17755 ac_cv_cflags__fno_omit_frame_pointer=no
17757 rm -f core conftest.err conftest.$ac_objext \
17758 conftest$ac_exeext conftest.$ac_ext
17759 CFLAGS=$ac_wine_try_cflags_saved
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17762 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17763 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17764 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17765 fi ;;
17766 *x86_64*)
17767 case $host_os in
17768 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17769 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17770 if ${ac_cv_cflags__Wno_format+:} false; then :
17771 $as_echo_n "(cached) " >&6
17772 else
17773 ac_wine_try_cflags_saved=$CFLAGS
17774 CFLAGS="$CFLAGS -Wno-format"
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 int main(int argc, char **argv) { return 0; }
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_cflags__Wno_format=yes
17781 else
17782 ac_cv_cflags__Wno_format=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 CFLAGS=$ac_wine_try_cflags_saved
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17789 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17790 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17791 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17792 fi ;;
17793 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17794 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17795 if ${ac_cv_cflags__mabi_ms+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 ac_wine_try_cflags_saved=$CFLAGS
17799 CFLAGS="$CFLAGS -mabi=ms"
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 int main(int argc, char **argv) { return 0; }
17803 _ACEOF
17804 if ac_fn_c_try_link "$LINENO"; then :
17805 ac_cv_cflags__mabi_ms=yes
17806 else
17807 ac_cv_cflags__mabi_ms=no
17809 rm -f core conftest.err conftest.$ac_objext \
17810 conftest$ac_exeext conftest.$ac_ext
17811 CFLAGS=$ac_wine_try_cflags_saved
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17814 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17815 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17816 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17817 fi ;;
17818 esac ;;
17819 esac
17821 CFLAGS=$saved_CFLAGS
17823 if test "x$enable_werror" = "xyes"
17824 then
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17826 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17827 if ${ac_cv_cflags__Werror+:} false; then :
17828 $as_echo_n "(cached) " >&6
17829 else
17830 ac_wine_try_cflags_saved=$CFLAGS
17831 CFLAGS="$CFLAGS -Werror"
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17834 int main(int argc, char **argv) { return 0; }
17835 _ACEOF
17836 if ac_fn_c_try_link "$LINENO"; then :
17837 ac_cv_cflags__Werror=yes
17838 else
17839 ac_cv_cflags__Werror=no
17841 rm -f core conftest.err conftest.$ac_objext \
17842 conftest$ac_exeext conftest.$ac_ext
17843 CFLAGS=$ac_wine_try_cflags_saved
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17846 $as_echo "$ac_cv_cflags__Werror" >&6; }
17847 if test "x$ac_cv_cflags__Werror" = xyes; then :
17848 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17855 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17856 if ${ac_cv_c_fortify_enabled+:} false; then :
17857 $as_echo_n "(cached) " >&6
17858 else
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #include <string.h>
17863 main ()
17865 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17866 #error Fortify enabled
17867 #endif
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873 ac_cv_c_fortify_enabled=no
17874 else
17875 ac_cv_c_fortify_enabled=yes
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17880 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17881 if test "$ac_cv_c_fortify_enabled" = yes
17882 then
17883 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17888 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17889 if ${ac_cv_c_cfi_support+:} false; then :
17890 $as_echo_n "(cached) " >&6
17891 else
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17896 main ()
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 ac_cv_c_cfi_support="yes"
17905 else
17906 ac_cv_c_cfi_support="no"
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17911 $as_echo "$ac_cv_c_cfi_support" >&6; }
17912 if test "$ac_cv_c_cfi_support" = "yes"
17913 then
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 timegm \
17988 usleep
17990 do :
17991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17994 cat >>confdefs.h <<_ACEOF
17995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17996 _ACEOF
17999 done
18001 CFLAGS="$ac_save_CFLAGS"
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18004 $as_echo_n "checking for library containing dlopen... " >&6; }
18005 if ${ac_cv_search_dlopen+:} false; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18008 ac_func_search_save_LIBS=$LIBS
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18012 /* Override any GCC internal prototype to avoid an error.
18013 Use char because int might match the return type of a GCC
18014 builtin and then its argument prototype would still apply. */
18015 #ifdef __cplusplus
18016 extern "C"
18017 #endif
18018 char dlopen ();
18020 main ()
18022 return dlopen ();
18024 return 0;
18026 _ACEOF
18027 for ac_lib in '' dl; do
18028 if test -z "$ac_lib"; then
18029 ac_res="none required"
18030 else
18031 ac_res=-l$ac_lib
18032 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18034 if ac_fn_c_try_link "$LINENO"; then :
18035 ac_cv_search_dlopen=$ac_res
18037 rm -f core conftest.err conftest.$ac_objext \
18038 conftest$ac_exeext
18039 if ${ac_cv_search_dlopen+:} false; then :
18040 break
18042 done
18043 if ${ac_cv_search_dlopen+:} false; then :
18045 else
18046 ac_cv_search_dlopen=no
18048 rm conftest.$ac_ext
18049 LIBS=$ac_func_search_save_LIBS
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18052 $as_echo "$ac_cv_search_dlopen" >&6; }
18053 ac_res=$ac_cv_search_dlopen
18054 if test "$ac_res" != no; then :
18055 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18059 ac_wine_check_funcs_save_LIBS="$LIBS"
18060 LIBS="$LIBS $DL_LIBS"
18061 for ac_func in dladdr dlinfo
18062 do :
18063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18068 _ACEOF
18071 done
18073 LIBS="$ac_wine_check_funcs_save_LIBS"
18075 if test "$ac_cv_func_poll" = no
18076 then
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18078 $as_echo_n "checking for poll in -lpoll... " >&6; }
18079 if ${ac_cv_lib_poll_poll+:} false; then :
18080 $as_echo_n "(cached) " >&6
18081 else
18082 ac_check_lib_save_LIBS=$LIBS
18083 LIBS="-lpoll $LIBS"
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18087 /* Override any GCC internal prototype to avoid an error.
18088 Use char because int might match the return type of a GCC
18089 builtin and then its argument prototype would still apply. */
18090 #ifdef __cplusplus
18091 extern "C"
18092 #endif
18093 char poll ();
18095 main ()
18097 return poll ();
18099 return 0;
18101 _ACEOF
18102 if ac_fn_c_try_link "$LINENO"; then :
18103 ac_cv_lib_poll_poll=yes
18104 else
18105 ac_cv_lib_poll_poll=no
18107 rm -f core conftest.err conftest.$ac_objext \
18108 conftest$ac_exeext conftest.$ac_ext
18109 LIBS=$ac_check_lib_save_LIBS
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18112 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18113 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18114 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18115 POLL_LIBS="-lpoll"
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18122 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18123 if ${ac_cv_search_gethostbyname+:} false; then :
18124 $as_echo_n "(cached) " >&6
18125 else
18126 ac_func_search_save_LIBS=$LIBS
18127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18128 /* end confdefs.h. */
18130 /* Override any GCC internal prototype to avoid an error.
18131 Use char because int might match the return type of a GCC
18132 builtin and then its argument prototype would still apply. */
18133 #ifdef __cplusplus
18134 extern "C"
18135 #endif
18136 char gethostbyname ();
18138 main ()
18140 return gethostbyname ();
18142 return 0;
18144 _ACEOF
18145 for ac_lib in '' nsl; do
18146 if test -z "$ac_lib"; then
18147 ac_res="none required"
18148 else
18149 ac_res=-l$ac_lib
18150 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18152 if ac_fn_c_try_link "$LINENO"; then :
18153 ac_cv_search_gethostbyname=$ac_res
18155 rm -f core conftest.err conftest.$ac_objext \
18156 conftest$ac_exeext
18157 if ${ac_cv_search_gethostbyname+:} false; then :
18158 break
18160 done
18161 if ${ac_cv_search_gethostbyname+:} false; then :
18163 else
18164 ac_cv_search_gethostbyname=no
18166 rm conftest.$ac_ext
18167 LIBS=$ac_func_search_save_LIBS
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18170 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18171 ac_res=$ac_cv_search_gethostbyname
18172 if test "$ac_res" != no; then :
18173 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18179 $as_echo_n "checking for library containing connect... " >&6; }
18180 if ${ac_cv_search_connect+:} false; then :
18181 $as_echo_n "(cached) " >&6
18182 else
18183 ac_func_search_save_LIBS=$LIBS
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18187 /* Override any GCC internal prototype to avoid an error.
18188 Use char because int might match the return type of a GCC
18189 builtin and then its argument prototype would still apply. */
18190 #ifdef __cplusplus
18191 extern "C"
18192 #endif
18193 char connect ();
18195 main ()
18197 return connect ();
18199 return 0;
18201 _ACEOF
18202 for ac_lib in '' socket; do
18203 if test -z "$ac_lib"; then
18204 ac_res="none required"
18205 else
18206 ac_res=-l$ac_lib
18207 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18209 if ac_fn_c_try_link "$LINENO"; then :
18210 ac_cv_search_connect=$ac_res
18212 rm -f core conftest.err conftest.$ac_objext \
18213 conftest$ac_exeext
18214 if ${ac_cv_search_connect+:} false; then :
18215 break
18217 done
18218 if ${ac_cv_search_connect+:} false; then :
18220 else
18221 ac_cv_search_connect=no
18223 rm conftest.$ac_ext
18224 LIBS=$ac_func_search_save_LIBS
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18227 $as_echo "$ac_cv_search_connect" >&6; }
18228 ac_res=$ac_cv_search_connect
18229 if test "$ac_res" != no; then :
18230 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18236 $as_echo_n "checking for library containing inet_aton... " >&6; }
18237 if ${ac_cv_search_inet_aton+:} false; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240 ac_func_search_save_LIBS=$LIBS
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18244 /* Override any GCC internal prototype to avoid an error.
18245 Use char because int might match the return type of a GCC
18246 builtin and then its argument prototype would still apply. */
18247 #ifdef __cplusplus
18248 extern "C"
18249 #endif
18250 char inet_aton ();
18252 main ()
18254 return inet_aton ();
18256 return 0;
18258 _ACEOF
18259 for ac_lib in '' resolv; do
18260 if test -z "$ac_lib"; then
18261 ac_res="none required"
18262 else
18263 ac_res=-l$ac_lib
18264 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18266 if ac_fn_c_try_link "$LINENO"; then :
18267 ac_cv_search_inet_aton=$ac_res
18269 rm -f core conftest.err conftest.$ac_objext \
18270 conftest$ac_exeext
18271 if ${ac_cv_search_inet_aton+:} false; then :
18272 break
18274 done
18275 if ${ac_cv_search_inet_aton+:} false; then :
18277 else
18278 ac_cv_search_inet_aton=no
18280 rm conftest.$ac_ext
18281 LIBS=$ac_func_search_save_LIBS
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18284 $as_echo "$ac_cv_search_inet_aton" >&6; }
18285 ac_res=$ac_cv_search_inet_aton
18286 if test "$ac_res" != no; then :
18287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18292 for ac_func in \
18293 getaddrinfo \
18294 getnameinfo \
18295 getnetbyname \
18296 getprotobyname \
18297 getprotobynumber \
18298 getservbyport \
18299 inet_addr \
18300 inet_network \
18301 inet_ntop \
18303 do :
18304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18307 cat >>confdefs.h <<_ACEOF
18308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18309 _ACEOF
18312 done
18315 case $host_os in
18316 darwin*|macosx*) ;;
18317 *) ac_save_LIBS=$LIBS
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18319 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18320 if ${ac_cv_search_clock_gettime+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 ac_func_search_save_LIBS=$LIBS
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18330 #ifdef __cplusplus
18331 extern "C"
18332 #endif
18333 char clock_gettime ();
18335 main ()
18337 return clock_gettime ();
18339 return 0;
18341 _ACEOF
18342 for ac_lib in '' rt; do
18343 if test -z "$ac_lib"; then
18344 ac_res="none required"
18345 else
18346 ac_res=-l$ac_lib
18347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 ac_cv_search_clock_gettime=$ac_res
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext
18354 if ${ac_cv_search_clock_gettime+:} false; then :
18355 break
18357 done
18358 if ${ac_cv_search_clock_gettime+:} false; then :
18360 else
18361 ac_cv_search_clock_gettime=no
18363 rm conftest.$ac_ext
18364 LIBS=$ac_func_search_save_LIBS
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18367 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18368 ac_res=$ac_cv_search_clock_gettime
18369 if test "$ac_res" != no; then :
18370 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18372 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18374 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18378 LIBS=$ac_save_LIBS
18380 esac
18382 if test "x$with_ldap" != "xno"
18383 then
18384 if ${LDAP_CFLAGS:+false} :; then :
18385 if ${PKG_CONFIG+:} false; then :
18386 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18390 if ${LDAP_LIBS:+false} :; then :
18391 if ${PKG_CONFIG+:} false; then :
18392 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18396 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18397 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18398 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18399 ac_save_CPPFLAGS=$CPPFLAGS
18400 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18401 for ac_header in ldap.h lber.h
18402 do :
18403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18404 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18405 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18406 cat >>confdefs.h <<_ACEOF
18407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18408 _ACEOF
18412 done
18414 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18415 then
18416 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18418 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18420 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18421 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18422 $as_echo_n "(cached) " >&6
18423 else
18424 ac_check_lib_save_LIBS=$LIBS
18425 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18429 /* Override any GCC internal prototype to avoid an error.
18430 Use char because int might match the return type of a GCC
18431 builtin and then its argument prototype would still apply. */
18432 #ifdef __cplusplus
18433 extern "C"
18434 #endif
18435 char ldap_initialize ();
18437 main ()
18439 return ldap_initialize ();
18441 return 0;
18443 _ACEOF
18444 if ac_fn_c_try_link "$LINENO"; then :
18445 ac_cv_lib_ldap_r_ldap_initialize=yes
18446 else
18447 ac_cv_lib_ldap_r_ldap_initialize=no
18449 rm -f core conftest.err conftest.$ac_objext \
18450 conftest$ac_exeext conftest.$ac_ext
18451 LIBS=$ac_check_lib_save_LIBS
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18454 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18455 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18457 $as_echo_n "checking for ber_init in -llber... " >&6; }
18458 if ${ac_cv_lib_lber_ber_init+:} false; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18461 ac_check_lib_save_LIBS=$LIBS
18462 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18466 /* Override any GCC internal prototype to avoid an error.
18467 Use char because int might match the return type of a GCC
18468 builtin and then its argument prototype would still apply. */
18469 #ifdef __cplusplus
18470 extern "C"
18471 #endif
18472 char ber_init ();
18474 main ()
18476 return ber_init ();
18478 return 0;
18480 _ACEOF
18481 if ac_fn_c_try_link "$LINENO"; then :
18482 ac_cv_lib_lber_ber_init=yes
18483 else
18484 ac_cv_lib_lber_ber_init=no
18486 rm -f core conftest.err conftest.$ac_objext \
18487 conftest$ac_exeext conftest.$ac_ext
18488 LIBS=$ac_check_lib_save_LIBS
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18491 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18492 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18494 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18496 else
18497 LDAP_LIBS=""
18500 else
18501 LDAP_LIBS=""
18504 else
18505 LDAP_LIBS=""
18508 ac_wine_check_funcs_save_LIBS="$LIBS"
18509 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18510 for ac_func in \
18511 ldap_count_references \
18512 ldap_first_reference \
18513 ldap_next_reference \
18514 ldap_parse_reference \
18515 ldap_parse_sort_control \
18516 ldap_parse_sortresponse_control \
18517 ldap_parse_vlv_control \
18518 ldap_parse_vlvresponse_control
18519 do :
18520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18523 cat >>confdefs.h <<_ACEOF
18524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18525 _ACEOF
18528 done
18530 LIBS="$ac_wine_check_funcs_save_LIBS"
18531 else
18532 LDAP_LIBS=""
18534 CPPFLAGS=$ac_save_CPPFLAGS
18535 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18536 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18539 if test "x$LDAP_LIBS" = "x"; then :
18540 case "x$with_ldap" in
18541 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18542 xno) ;;
18543 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18544 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18545 esac
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18550 $as_echo_n "checking for sched_setaffinity... " >&6; }
18551 if ${wine_cv_have_sched_setaffinity+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #define _GNU_SOURCE
18557 #include <sched.h>
18559 main ()
18561 sched_setaffinity(0, 0, 0);
18563 return 0;
18565 _ACEOF
18566 if ac_fn_c_try_link "$LINENO"; then :
18567 wine_cv_have_sched_setaffinity=yes
18568 else
18569 wine_cv_have_sched_setaffinity=no
18571 rm -f core conftest.err conftest.$ac_objext \
18572 conftest$ac_exeext conftest.$ac_ext
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18575 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18576 if test "$wine_cv_have_sched_setaffinity" = "yes"
18577 then
18579 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18584 $as_echo_n "checking for fallocate... " >&6; }
18585 if ${wine_cv_have_fallocate+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 #define _GNU_SOURCE
18591 #include <fcntl.h>
18593 main ()
18595 fallocate(-1, 0, 0, 0);
18597 return 0;
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"; then :
18601 wine_cv_have_fallocate=yes
18602 else
18603 wine_cv_have_fallocate=no
18605 rm -f core conftest.err conftest.$ac_objext \
18606 conftest$ac_exeext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18609 $as_echo "$wine_cv_have_fallocate" >&6; }
18610 if test "$wine_cv_have_fallocate" = "yes"
18611 then
18613 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18619 $as_echo_n "checking for inline... " >&6; }
18620 if ${ac_cv_c_inline+:} false; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 ac_cv_c_inline=no
18624 for ac_kw in inline __inline__ __inline; do
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #ifndef __cplusplus
18628 typedef int foo_t;
18629 static $ac_kw foo_t static_foo () {return 0; }
18630 $ac_kw foo_t foo () {return 0; }
18631 #endif
18633 _ACEOF
18634 if ac_fn_c_try_compile "$LINENO"; then :
18635 ac_cv_c_inline=$ac_kw
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 test "$ac_cv_c_inline" != no && break
18639 done
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18643 $as_echo "$ac_cv_c_inline" >&6; }
18645 case $ac_cv_c_inline in
18646 inline | yes) ;;
18648 case $ac_cv_c_inline in
18649 no) ac_val=;;
18650 *) ac_val=$ac_cv_c_inline;;
18651 esac
18652 cat >>confdefs.h <<_ACEOF
18653 #ifndef __cplusplus
18654 #define inline $ac_val
18655 #endif
18656 _ACEOF
18658 esac
18660 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18661 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18663 cat >>confdefs.h <<_ACEOF
18664 #define HAVE_FSBLKCNT_T 1
18665 _ACEOF
18669 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18670 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_FSFILCNT_T 1
18674 _ACEOF
18679 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18680 #include <signal.h>
18682 if test "x$ac_cv_type_sigset_t" = xyes; then :
18684 cat >>confdefs.h <<_ACEOF
18685 #define HAVE_SIGSET_T 1
18686 _ACEOF
18691 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18693 if test "x$ac_cv_type_request_sense" = xyes; then :
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_REQUEST_SENSE 1
18697 _ACEOF
18703 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18704 #ifdef HAVE_SYS_SOCKET_H
18705 #include <sys/socket.h>
18706 #endif
18707 #ifdef HAVE_SYS_SOCKETVAR_H
18708 #include <sys/socketvar.h>
18709 #endif
18710 #ifdef HAVE_NET_ROUTE_H
18711 #include <net/route.h>
18712 #endif
18713 #ifdef HAVE_NETINET_IN_H
18714 #include <netinet/in.h>
18715 #endif
18716 #ifdef HAVE_NETINET_IN_SYSTM_H
18717 #include <netinet/in_systm.h>
18718 #endif
18719 #ifdef HAVE_NETINET_IP_H
18720 #include <netinet/ip.h>
18721 #endif
18722 #ifdef HAVE_NETINET_IN_PCB_H
18723 #include <netinet/in_pcb.h>
18724 #endif
18726 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18728 cat >>confdefs.h <<_ACEOF
18729 #define HAVE_STRUCT_XINPGEN 1
18730 _ACEOF
18736 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18737 #include <linux/input.h>
18738 #endif
18740 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18742 cat >>confdefs.h <<_ACEOF
18743 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18744 _ACEOF
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18751 $as_echo_n "checking for if_nameindex... " >&6; }
18752 if ${wine_cv_have_if_nameindex+:} false; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 #ifdef HAVE_SYS_TYPES_H
18758 #include <sys/types.h>
18759 #endif
18760 #ifdef HAVE_SYS_SOCKET_H
18761 #include <sys/socket.h>
18762 #endif
18763 #ifdef HAVE_NET_IF_H
18764 # include <net/if.h>
18765 #endif
18767 main ()
18769 struct if_nameindex *p = if_nameindex(); return p->if_index;
18771 return 0;
18773 _ACEOF
18774 if ac_fn_c_try_link "$LINENO"; then :
18775 wine_cv_have_if_nameindex=yes
18776 else
18777 wine_cv_have_if_nameindex=no
18779 rm -f core conftest.err conftest.$ac_objext \
18780 conftest$ac_exeext conftest.$ac_ext
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18783 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18784 if test "$wine_cv_have_if_nameindex" = "yes"
18785 then
18787 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18792 $as_echo_n "checking for sigaddset... " >&6; }
18793 if ${wine_cv_have_sigaddset+:} false; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798 #include <signal.h>
18800 main ()
18802 sigset_t set; sigaddset(&set,SIGTERM);
18804 return 0;
18806 _ACEOF
18807 if ac_fn_c_try_link "$LINENO"; then :
18808 wine_cv_have_sigaddset=yes
18809 else
18810 wine_cv_have_sigaddset=no
18812 rm -f core conftest.err conftest.$ac_objext \
18813 conftest$ac_exeext conftest.$ac_ext
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18816 $as_echo "$wine_cv_have_sigaddset" >&6; }
18817 if test "$wine_cv_have_sigaddset" = "yes"
18818 then
18820 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18826 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18827 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18828 $as_echo_n "(cached) " >&6
18829 else
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 #include <netdb.h>
18834 main ()
18837 char *name=0;
18838 struct hostent he;
18839 struct hostent *result;
18840 char *buf=0;
18841 int bufsize=0;
18842 int errnr;
18843 char *addr=0;
18844 int addrlen=0;
18845 int addrtype=0;
18846 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18847 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18850 return 0;
18852 _ACEOF
18853 if ac_fn_c_try_link "$LINENO"; then :
18854 wine_cv_linux_gethostbyname_r_6=yes
18855 else
18856 wine_cv_linux_gethostbyname_r_6=no
18859 rm -f core conftest.err conftest.$ac_objext \
18860 conftest$ac_exeext conftest.$ac_ext
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18864 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18865 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18866 then
18868 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18872 if test "$ac_cv_header_linux_joystick_h" = "yes"
18873 then
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18875 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18876 if ${wine_cv_linux_joystick_22_api+:} false; then :
18877 $as_echo_n "(cached) " >&6
18878 else
18879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18882 #include <sys/ioctl.h>
18883 #include <sys/types.h>
18884 #include <linux/joystick.h>
18886 struct js_event blub;
18887 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18888 #error "no 2.2 header"
18889 #endif
18892 main ()
18894 /*empty*/
18896 return 0;
18898 _ACEOF
18899 if ac_fn_c_try_compile "$LINENO"; then :
18900 wine_cv_linux_joystick_22_api=yes
18901 else
18902 wine_cv_linux_joystick_22_api=no
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18908 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18909 if test "$wine_cv_linux_joystick_22_api" = "yes"
18910 then
18912 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18918 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18919 #ifdef HAVE_SYS_PARAM_H
18920 # include <sys/param.h>
18921 #endif
18922 #ifdef HAVE_SYS_MOUNT_H
18923 # include <sys/mount.h>
18924 #endif
18925 #ifdef HAVE_SYS_VFS_H
18926 # include <sys/vfs.h>
18927 #endif
18928 #ifdef HAVE_SYS_STATFS_H
18929 # include <sys/statfs.h>
18930 #endif
18932 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18934 cat >>confdefs.h <<_ACEOF
18935 #define HAVE_STRUCT_STATFS_F_BFREE 1
18936 _ACEOF
18940 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18941 #ifdef HAVE_SYS_PARAM_H
18942 # include <sys/param.h>
18943 #endif
18944 #ifdef HAVE_SYS_MOUNT_H
18945 # include <sys/mount.h>
18946 #endif
18947 #ifdef HAVE_SYS_VFS_H
18948 # include <sys/vfs.h>
18949 #endif
18950 #ifdef HAVE_SYS_STATFS_H
18951 # include <sys/statfs.h>
18952 #endif
18954 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18958 _ACEOF
18962 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18963 #ifdef HAVE_SYS_PARAM_H
18964 # include <sys/param.h>
18965 #endif
18966 #ifdef HAVE_SYS_MOUNT_H
18967 # include <sys/mount.h>
18968 #endif
18969 #ifdef HAVE_SYS_VFS_H
18970 # include <sys/vfs.h>
18971 #endif
18972 #ifdef HAVE_SYS_STATFS_H
18973 # include <sys/statfs.h>
18974 #endif
18976 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18978 cat >>confdefs.h <<_ACEOF
18979 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18980 _ACEOF
18984 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18985 #ifdef HAVE_SYS_PARAM_H
18986 # include <sys/param.h>
18987 #endif
18988 #ifdef HAVE_SYS_MOUNT_H
18989 # include <sys/mount.h>
18990 #endif
18991 #ifdef HAVE_SYS_VFS_H
18992 # include <sys/vfs.h>
18993 #endif
18994 #ifdef HAVE_SYS_STATFS_H
18995 # include <sys/statfs.h>
18996 #endif
18998 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_STATFS_F_FFREE 1
19002 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19007 #ifdef HAVE_SYS_PARAM_H
19008 # include <sys/param.h>
19009 #endif
19010 #ifdef HAVE_SYS_MOUNT_H
19011 # include <sys/mount.h>
19012 #endif
19013 #ifdef HAVE_SYS_VFS_H
19014 # include <sys/vfs.h>
19015 #endif
19016 #ifdef HAVE_SYS_STATFS_H
19017 # include <sys/statfs.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19029 #ifdef HAVE_SYS_PARAM_H
19030 # include <sys/param.h>
19031 #endif
19032 #ifdef HAVE_SYS_MOUNT_H
19033 # include <sys/mount.h>
19034 #endif
19035 #ifdef HAVE_SYS_VFS_H
19036 # include <sys/vfs.h>
19037 #endif
19038 #ifdef HAVE_SYS_STATFS_H
19039 # include <sys/statfs.h>
19040 #endif
19042 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19046 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19053 #include <sys/statvfs.h>
19054 #endif
19056 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19060 _ACEOF
19066 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19067 #include <dirent.h>
19068 #endif
19070 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19074 _ACEOF
19080 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19081 #ifdef HAVE_SYS_SOCKET_H
19082 # include <sys/socket.h>
19083 #endif
19084 #ifdef HAVE_SYS_UN_H
19085 # include <sys/un.h>
19086 #endif
19088 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19092 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19097 #ifdef HAVE_SYS_SOCKET_H
19098 # include <sys/socket.h>
19099 #endif
19100 #ifdef HAVE_SYS_UN_H
19101 # include <sys/un.h>
19102 #endif
19104 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19108 _ACEOF
19112 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19113 #ifdef HAVE_SYS_SOCKET_H
19114 # include <sys/socket.h>
19115 #endif
19116 #ifdef HAVE_SYS_UN_H
19117 # include <sys/un.h>
19118 #endif
19120 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19124 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19131 #ifdef HAVE_SCSI_SG_H
19132 #include <scsi/sg.h>
19133 #endif
19135 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_SCSIREQ_T_CMD 1
19139 _ACEOF
19143 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>
19144 #ifdef HAVE_SCSI_SG_H
19145 #include <scsi/sg.h>
19146 #endif
19148 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19152 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19160 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_SIGINFO_T_SI_FD 1
19164 _ACEOF
19170 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19171 #ifdef HAVE_SYS_MTIO_H
19172 #include <sys/mtio.h>
19173 #endif
19175 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19184 #ifdef HAVE_SYS_MTIO_H
19185 #include <sys/mtio.h>
19186 #endif
19188 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19197 #ifdef HAVE_SYS_MTIO_H
19198 #include <sys/mtio.h>
19199 #endif
19201 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19205 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19212 #include <getopt.h>
19213 #endif
19215 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_OPTION_NAME 1
19219 _ACEOF
19225 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19226 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19228 cat >>confdefs.h <<_ACEOF
19229 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19230 _ACEOF
19234 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19235 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_STAT_ST_MTIM 1
19239 _ACEOF
19243 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19244 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19248 _ACEOF
19252 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19253 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STRUCT_STAT_ST_CTIM 1
19257 _ACEOF
19261 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19262 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19266 _ACEOF
19270 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19271 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_STRUCT_STAT_ST_ATIM 1
19275 _ACEOF
19279 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19280 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19282 cat >>confdefs.h <<_ACEOF
19283 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19284 _ACEOF
19288 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19289 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19293 _ACEOF
19297 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19298 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19300 cat >>confdefs.h <<_ACEOF
19301 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19302 _ACEOF
19306 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19307 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19309 cat >>confdefs.h <<_ACEOF
19310 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19311 _ACEOF
19315 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19316 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19320 _ACEOF
19324 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19325 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19329 _ACEOF
19335 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
19336 #include <sys/types.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IN_H
19339 #include <netinet/in.h>
19340 #endif
19342 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19346 _ACEOF
19352 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19353 #include <sys/types.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IN_H
19356 #include <netinet/in.h>
19357 #endif
19358 #ifdef HAVE_RESOLV_H
19359 #include <resolv.h>
19360 #endif
19362 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_STRUCT___RES_STATE 1
19366 _ACEOF
19372 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
19373 #include <resolv.h>
19374 #endif
19376 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19380 _ACEOF
19386 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19387 #include <sys/types.h>
19388 #endif
19389 #ifdef HAVE_NETINET_IN_H
19390 # include <netinet/in.h>
19391 #endif
19392 #ifdef HAVE_ARPA_NAMESER_H
19393 # include <arpa/nameser.h>
19394 #endif
19396 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_NS_MSG__MSG_PTR 1
19400 _ACEOF
19406 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19407 #include <sys/types.h>
19408 #endif
19409 #ifdef HAVE_NETINET_IN_H
19410 #include <netinet/in.h>
19411 #endif
19412 #ifdef HAVE_NETINET_IP_H
19413 #include <netinet/ip.h>
19414 #endif
19415 #ifdef HAVE_NETINET_IP_ICMP_H
19416 #include <netinet/ip_icmp.h>
19417 #endif
19418 #ifdef HAVE_NETINET_ICMP_VAR_H
19419 #include <netinet/icmp_var.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19426 _ACEOF
19432 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19433 #include <sys/types.h>
19434 #endif
19435 #ifdef HAVE_ALIAS_H
19436 #include <alias.h>
19437 #endif
19438 #ifdef HAVE_SYS_SOCKET_H
19439 #include <sys/socket.h>
19440 #endif
19441 #ifdef HAVE_SYS_SOCKETVAR_H
19442 #include <sys/socketvar.h>
19443 #endif
19444 #ifdef HAVE_SYS_TIMEOUT_H
19445 #include <sys/timeout.h>
19446 #endif
19447 #ifdef HAVE_NETINET_IN_H
19448 #include <netinet/in.h>
19449 #endif
19450 #ifdef HAVE_NETINET_IN_SYSTM_H
19451 #include <netinet/in_systm.h>
19452 #endif
19453 #ifdef HAVE_NETINET_IP_H
19454 #include <netinet/ip.h>
19455 #endif
19456 #ifdef HAVE_NETINET_IP_VAR_H
19457 #include <netinet/ip_var.h>
19458 #endif
19459 #ifdef HAVE_NETINET_IP_ICMP_H
19460 #include <netinet/ip_icmp.h>
19461 #endif
19462 #ifdef HAVE_NETINET_ICMP_VAR_H
19463 #include <netinet/icmp_var.h>
19464 #endif
19466 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19468 cat >>confdefs.h <<_ACEOF
19469 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19470 _ACEOF
19476 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19477 #include <sys/types.h>
19478 #endif
19479 #ifdef HAVE_SYS_SOCKETVAR_H
19480 #include <sys/socketvar.h>
19481 #endif
19482 #ifdef HAVE_NETINET_IN_H
19483 #include <netinet/in.h>
19484 #endif
19485 #ifdef HAVE_NETINET_IP_VAR_H
19486 #include <netinet/ip_var.h>
19487 #endif
19489 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19493 _ACEOF
19499 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
19500 #include <netinet/ip_var.h>
19501 #endif
19503 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19505 cat >>confdefs.h <<_ACEOF
19506 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19507 _ACEOF
19513 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19514 #include <sys/types.h>
19515 #endif
19516 #ifdef HAVE_SYS_SOCKETVAR_H
19517 #include <sys/socketvar.h>
19518 #endif
19519 #ifdef HAVE_NETINET_IN_H
19520 #include <netinet/in.h>
19521 #endif
19522 #ifdef HAVE_NETINET_TCP_H
19523 #include <netinet/tcp.h>
19524 #endif
19525 #ifdef HAVE_NETINET_TCP_VAR_H
19526 #include <netinet/tcp_var.h>
19527 #endif
19529 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19531 cat >>confdefs.h <<_ACEOF
19532 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19533 _ACEOF
19539 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
19540 #include <netinet/tcp_var.h>
19541 #endif
19543 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19545 cat >>confdefs.h <<_ACEOF
19546 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19547 _ACEOF
19553 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19554 #include <sys/types.h>
19555 #endif
19556 #ifdef HAVE_NETINET_IN_H
19557 #include <netinet/in.h>
19558 #endif
19559 #ifdef HAVE_NETINET_IP_VAR_H
19560 #include <netinet/ip_var.h>
19561 #endif
19562 #ifdef HAVE_NETINET_UDP_H
19563 #include <netinet/udp.h>
19564 #endif
19565 #ifdef HAVE_NETINET_UDP_VAR_H
19566 #include <netinet/udp_var.h>
19567 #endif
19569 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19571 cat >>confdefs.h <<_ACEOF
19572 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19573 _ACEOF
19579 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19580 #include <sys/types.h>
19581 #endif
19582 #ifdef HAVE_NET_IF_H
19583 # include <net/if.h>
19584 #endif
19586 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19588 cat >>confdefs.h <<_ACEOF
19589 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19590 _ACEOF
19596 ac_save_LIBS="$LIBS"
19597 LIBS="$LIBS -lm"
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19599 $as_echo_n "checking for isfinite... " >&6; }
19600 if ${ac_cv_have_isfinite+:} false; then :
19601 $as_echo_n "(cached) " >&6
19602 else
19603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19605 #define _GNU_SOURCE
19606 #include <math.h>
19608 main ()
19610 float f = 0.0; return isfinite(f)
19612 return 0;
19614 _ACEOF
19615 if ac_fn_c_try_link "$LINENO"; then :
19616 ac_cv_have_isfinite="yes"
19617 else
19618 ac_cv_have_isfinite="no"
19620 rm -f core conftest.err conftest.$ac_objext \
19621 conftest$ac_exeext conftest.$ac_ext
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19624 $as_echo "$ac_cv_have_isfinite" >&6; }
19625 if test "$ac_cv_have_isfinite" = "yes"
19626 then
19628 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19633 $as_echo_n "checking for isinf... " >&6; }
19634 if ${ac_cv_have_isinf+:} false; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 #include <math.h>
19641 main ()
19643 float f = 0.0; return isinf(f)
19645 return 0;
19647 _ACEOF
19648 if ac_fn_c_try_link "$LINENO"; then :
19649 ac_cv_have_isinf="yes"
19650 else
19651 ac_cv_have_isinf="no"
19653 rm -f core conftest.err conftest.$ac_objext \
19654 conftest$ac_exeext conftest.$ac_ext
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19657 $as_echo "$ac_cv_have_isinf" >&6; }
19658 if test "$ac_cv_have_isinf" = "yes"
19659 then
19661 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19666 $as_echo_n "checking for isnan... " >&6; }
19667 if ${ac_cv_have_isnan+:} false; then :
19668 $as_echo_n "(cached) " >&6
19669 else
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672 #include <math.h>
19674 main ()
19676 float f = 0.0; return isnan(f)
19678 return 0;
19680 _ACEOF
19681 if ac_fn_c_try_link "$LINENO"; then :
19682 ac_cv_have_isnan="yes"
19683 else
19684 ac_cv_have_isnan="no"
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19690 $as_echo "$ac_cv_have_isnan" >&6; }
19691 if test "$ac_cv_have_isnan" = "yes"
19692 then
19694 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19698 for ac_func in \
19699 acosh \
19700 acoshf \
19701 asinh \
19702 asinhf \
19703 atanh \
19704 atanhf \
19705 cbrt \
19706 cbrtf \
19707 erf \
19708 erfc \
19709 erfcf \
19710 erff \
19711 exp2 \
19712 exp2f \
19713 expm1 \
19714 expm1f \
19715 fma \
19716 fmaf \
19717 ilogb \
19718 ilogbf \
19719 j0 \
19720 j1 \
19721 jn \
19722 lgamma \
19723 lgammaf \
19724 llrint \
19725 llrintf \
19726 llround \
19727 llroundf \
19728 log1p \
19729 log1pf \
19730 log2 \
19731 log2f \
19732 lrint \
19733 lrintf \
19734 lround \
19735 lroundf \
19736 nearbyint \
19737 nearbyintf \
19738 nexttoward \
19739 nexttowardf \
19740 remainder \
19741 remainderf \
19742 remquo \
19743 remquof \
19744 rint \
19745 rintf \
19746 round \
19747 roundf \
19748 tgamma \
19749 tgammaf \
19750 trunc \
19751 truncf \
19752 y0 \
19753 y1 \
19756 do :
19757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19759 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19760 cat >>confdefs.h <<_ACEOF
19761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19762 _ACEOF
19765 done
19767 LIBS="$ac_save_LIBS"
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19770 $as_echo_n "checking for __builtin_popcount... " >&6; }
19771 if ${ac_cv_have___builtin_popcount+:} false; then :
19772 $as_echo_n "(cached) " >&6
19773 else
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19778 main ()
19780 return __builtin_popcount(1)
19782 return 0;
19784 _ACEOF
19785 if ac_fn_c_try_link "$LINENO"; then :
19786 ac_cv_have___builtin_popcount="yes"
19787 else
19788 ac_cv_have___builtin_popcount="no"
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19794 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19795 if test "$ac_cv_have___builtin_popcount" = "yes"
19796 then
19798 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19803 $as_echo_n "checking for __clear_cache... " >&6; }
19804 if ${ac_cv_have___clear_cache+:} false; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19811 main ()
19813 __clear_cache((void*)0, (void*)0); return 0;
19815 return 0;
19817 _ACEOF
19818 if ac_fn_c_try_link "$LINENO"; then :
19819 ac_cv_have___clear_cache="yes"
19820 else
19821 ac_cv_have___clear_cache="no"
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19827 $as_echo "$ac_cv_have___clear_cache" >&6; }
19828 if test "$ac_cv_have___clear_cache" = "yes"
19829 then
19831 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19836 case $host_cpu in
19837 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19838 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19839 if ${ac_cv_cpp_def___i386__+:} false; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #ifndef __i386__
19846 #endif
19847 _ACEOF
19848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19849 $EGREP "yes" >/dev/null 2>&1; then :
19850 ac_cv_cpp_def___i386__=yes
19851 else
19852 ac_cv_cpp_def___i386__=no
19854 rm -f conftest*
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19858 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19859 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19860 CFLAGS="$CFLAGS -D__i386__"
19861 LINTFLAGS="$LINTFLAGS -D__i386__"
19862 fi ;;
19863 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19864 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19865 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19866 $as_echo_n "(cached) " >&6
19867 else
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #ifndef __x86_64__
19872 #endif
19873 _ACEOF
19874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19875 $EGREP "yes" >/dev/null 2>&1; then :
19876 ac_cv_cpp_def___x86_64__=yes
19877 else
19878 ac_cv_cpp_def___x86_64__=no
19880 rm -f conftest*
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19884 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19885 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19886 CFLAGS="$CFLAGS -D__x86_64__"
19887 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19888 fi ;;
19889 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19890 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19891 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19892 $as_echo_n "(cached) " >&6
19893 else
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #ifndef __sparc64__
19898 #endif
19899 _ACEOF
19900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19901 $EGREP "yes" >/dev/null 2>&1; then :
19902 ac_cv_cpp_def___sparc64__=yes
19903 else
19904 ac_cv_cpp_def___sparc64__=no
19906 rm -f conftest*
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19910 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19911 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19912 CFLAGS="$CFLAGS -D__sparc64__"
19913 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19914 fi ;;
19915 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19916 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19917 if ${ac_cv_cpp_def___sparc__+:} false; then :
19918 $as_echo_n "(cached) " >&6
19919 else
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19922 #ifndef __sparc__
19924 #endif
19925 _ACEOF
19926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19927 $EGREP "yes" >/dev/null 2>&1; then :
19928 ac_cv_cpp_def___sparc__=yes
19929 else
19930 ac_cv_cpp_def___sparc__=no
19932 rm -f conftest*
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19936 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19937 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19938 CFLAGS="$CFLAGS -D__sparc__"
19939 LINTFLAGS="$LINTFLAGS -D__sparc__"
19940 fi ;;
19941 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19942 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19943 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19944 $as_echo_n "(cached) " >&6
19945 else
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #ifndef __powerpc64__
19950 #endif
19951 _ACEOF
19952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19953 $EGREP "yes" >/dev/null 2>&1; then :
19954 ac_cv_cpp_def___powerpc64__=yes
19955 else
19956 ac_cv_cpp_def___powerpc64__=no
19958 rm -f conftest*
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19962 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19963 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19964 CFLAGS="$CFLAGS -D__powerpc64__"
19965 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19966 fi ;;
19967 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19968 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19969 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19970 $as_echo_n "(cached) " >&6
19971 else
19972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19973 /* end confdefs.h. */
19974 #ifndef __powerpc__
19976 #endif
19977 _ACEOF
19978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19979 $EGREP "yes" >/dev/null 2>&1; then :
19980 ac_cv_cpp_def___powerpc__=yes
19981 else
19982 ac_cv_cpp_def___powerpc__=no
19984 rm -f conftest*
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19988 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19989 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19990 CFLAGS="$CFLAGS -D__powerpc__"
19991 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19992 fi ;;
19993 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19994 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19995 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19996 $as_echo_n "(cached) " >&6
19997 else
19998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19999 /* end confdefs.h. */
20000 #ifndef __aarch64__
20002 #endif
20003 _ACEOF
20004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20005 $EGREP "yes" >/dev/null 2>&1; then :
20006 ac_cv_cpp_def___aarch64__=yes
20007 else
20008 ac_cv_cpp_def___aarch64__=no
20010 rm -f conftest*
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20014 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20015 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20016 CFLAGS="$CFLAGS -D__aarch64__"
20017 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20018 fi ;;
20019 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20020 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20021 if ${ac_cv_cpp_def___arm__+:} false; then :
20022 $as_echo_n "(cached) " >&6
20023 else
20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20026 #ifndef __arm__
20028 #endif
20029 _ACEOF
20030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20031 $EGREP "yes" >/dev/null 2>&1; then :
20032 ac_cv_cpp_def___arm__=yes
20033 else
20034 ac_cv_cpp_def___arm__=no
20036 rm -f conftest*
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20040 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20041 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20042 CFLAGS="$CFLAGS -D__arm__"
20043 LINTFLAGS="$LINTFLAGS -D__arm__"
20044 fi ;;
20045 esac
20047 case $host_vendor in
20048 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20049 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20050 if ${ac_cv_cpp_def___sun__+:} false; then :
20051 $as_echo_n "(cached) " >&6
20052 else
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20055 #ifndef __sun__
20057 #endif
20058 _ACEOF
20059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20060 $EGREP "yes" >/dev/null 2>&1; then :
20061 ac_cv_cpp_def___sun__=yes
20062 else
20063 ac_cv_cpp_def___sun__=no
20065 rm -f conftest*
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20069 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20070 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20071 CFLAGS="$CFLAGS -D__sun__"
20072 LINTFLAGS="$LINTFLAGS -D__sun__"
20073 fi ;;
20074 esac
20080 ac_config_commands="$ac_config_commands include/stamp-h"
20082 $as_echo_n "creating Makefile rules..." >&6
20084 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20085 OPENGL_LIBS = $OPENGL_LIBS
20086 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20087 IOKIT_LIBS = $IOKIT_LIBS
20088 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20089 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20090 CORESERVICES_LIBS = $CORESERVICES_LIBS
20091 APPKIT_LIBS = $APPKIT_LIBS
20092 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20093 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20094 SECURITY_LIBS = $SECURITY_LIBS
20095 COREAUDIO_LIBS = $COREAUDIO_LIBS
20096 OPENAL_LIBS = $OPENAL_LIBS
20097 OPENCL_LIBS = $OPENCL_LIBS
20098 QUICKTIME_LIBS = $QUICKTIME_LIBS
20099 CARBON_LIBS = $CARBON_LIBS
20100 METAL_LIBS = $METAL_LIBS
20101 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20102 PTHREAD_LIBS = $PTHREAD_LIBS
20103 X_CFLAGS = $X_CFLAGS
20104 X_PRE_LIBS = $X_PRE_LIBS
20105 X_LIBS = $X_LIBS
20106 X_EXTRA_LIBS = $X_EXTRA_LIBS
20107 PCAP_LIBS = $PCAP_LIBS
20108 XML2_CFLAGS = $XML2_CFLAGS
20109 XML2_LIBS = $XML2_LIBS
20110 XSLT_CFLAGS = $XSLT_CFLAGS
20111 XSLT_LIBS = $XSLT_LIBS
20112 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20113 INOTIFY_LIBS = $INOTIFY_LIBS
20114 DBUS_CFLAGS = $DBUS_CFLAGS
20115 DBUS_LIBS = $DBUS_LIBS
20116 HAL_CFLAGS = $HAL_CFLAGS
20117 HAL_LIBS = $HAL_LIBS
20118 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20119 GNUTLS_LIBS = $GNUTLS_LIBS
20120 SANE_CFLAGS = $SANE_CFLAGS
20121 SANE_LIBS = $SANE_LIBS
20122 USB_CFLAGS = $USB_CFLAGS
20123 USB_LIBS = $USB_LIBS
20124 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20125 GPHOTO2_LIBS = $GPHOTO2_LIBS
20126 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20127 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20128 RESOLV_LIBS = $RESOLV_LIBS
20129 LCMS2_CFLAGS = $LCMS2_CFLAGS
20130 LCMS2_LIBS = $LCMS2_LIBS
20131 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20132 FREETYPE_LIBS = $FREETYPE_LIBS
20133 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20134 PULSE_CFLAGS = $PULSE_CFLAGS
20135 PULSE_LIBS = $PULSE_LIBS
20136 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20137 GSTREAMER_LIBS = $GSTREAMER_LIBS
20138 ALSA_LIBS = $ALSA_LIBS
20139 OSS4_CFLAGS = $OSS4_CFLAGS
20140 OSS4_LIBS = $OSS4_LIBS
20141 UDEV_CFLAGS = $UDEV_CFLAGS
20142 UDEV_LIBS = $UDEV_LIBS
20143 UNWIND_CFLAGS = $UNWIND_CFLAGS
20144 UNWIND_LIBS = $UNWIND_LIBS
20145 SDL2_CFLAGS = $SDL2_CFLAGS
20146 SDL2_LIBS = $SDL2_LIBS
20147 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20148 FAUDIO_LIBS = $FAUDIO_LIBS
20149 CAPI20_CFLAGS = $CAPI20_CFLAGS
20150 CAPI20_LIBS = $CAPI20_LIBS
20151 CUPS_CFLAGS = $CUPS_CFLAGS
20152 CUPS_LIBS = $CUPS_LIBS
20153 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20154 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20155 KRB5_CFLAGS = $KRB5_CFLAGS
20156 KRB5_LIBS = $KRB5_LIBS
20157 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20158 GSSAPI_LIBS = $GSSAPI_LIBS
20159 JPEG_CFLAGS = $JPEG_CFLAGS
20160 JPEG_LIBS = $JPEG_LIBS
20161 PNG_CFLAGS = $PNG_CFLAGS
20162 PNG_LIBS = $PNG_LIBS
20163 TIFF_CFLAGS = $TIFF_CFLAGS
20164 TIFF_LIBS = $TIFF_LIBS
20165 MPG123_CFLAGS = $MPG123_CFLAGS
20166 MPG123_LIBS = $MPG123_LIBS
20167 KSTAT_LIBS = $KSTAT_LIBS
20168 PROCSTAT_LIBS = $PROCSTAT_LIBS
20169 NETAPI_CFLAGS = $NETAPI_CFLAGS
20170 NETAPI_LIBS = $NETAPI_LIBS
20171 VKD3D_CFLAGS = $VKD3D_CFLAGS
20172 VKD3D_LIBS = $VKD3D_LIBS
20173 POLL_LIBS = $POLL_LIBS
20174 RT_LIBS = $RT_LIBS
20175 LDAP_CFLAGS = $LDAP_CFLAGS
20176 LDAP_LIBS = $LDAP_LIBS
20181 wine_fn_append_rule "
20182 # Rules automatically generated by configure
20184 .INIT: Makefile
20185 .MAKEFILEDEPS:
20186 all: Makefile
20187 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20188 @./config.status Make.tmp Makefile
20189 depend: \$(MAKEDEP) dummy
20190 \$(MAKEDEP)"
20192 ac_config_links="$ac_config_links wine:tools/winewrapper"
20193 wine_fn_config_symlink wine
20194 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20195 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20196 wine_fn_config_symlink wine64
20199 wine_fn_config_makefile dlls/acledit enable_acledit
20200 wine_fn_config_makefile dlls/aclui enable_aclui
20201 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20202 wine_fn_config_makefile dlls/activeds enable_activeds
20203 wine_fn_config_makefile dlls/activeds/tests enable_tests
20204 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20205 wine_fn_config_makefile dlls/adsiid enable_adsiid
20206 wine_fn_config_makefile dlls/adsldp enable_adsldp
20207 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20208 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20209 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20210 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20211 wine_fn_config_makefile dlls/advpack enable_advpack
20212 wine_fn_config_makefile dlls/advpack/tests enable_tests
20213 wine_fn_config_makefile dlls/amsi enable_amsi
20214 wine_fn_config_makefile dlls/amstream enable_amstream
20215 wine_fn_config_makefile dlls/amstream/tests enable_tests
20216 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20218 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20219 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20221 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20236 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20241 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20242 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20247 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20248 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20251 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20271 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20274 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20282 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20283 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20294 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20295 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20296 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20319 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20323 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20326 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20336 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20342 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20368 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20369 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20388 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20399 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20403 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20405 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20407 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20408 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20413 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20415 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20421 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20424 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20426 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20428 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20432 wine_fn_config_makefile dlls/apphelp enable_apphelp
20433 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20434 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20435 wine_fn_config_makefile dlls/atl enable_atl
20436 wine_fn_config_makefile dlls/atl/tests enable_tests
20437 wine_fn_config_makefile dlls/atl100 enable_atl100
20438 wine_fn_config_makefile dlls/atl100/tests enable_tests
20439 wine_fn_config_makefile dlls/atl110 enable_atl110
20440 wine_fn_config_makefile dlls/atl80 enable_atl80
20441 wine_fn_config_makefile dlls/atl80/tests enable_tests
20442 wine_fn_config_makefile dlls/atl90 enable_atl90
20443 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20444 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20445 wine_fn_config_makefile dlls/atmlib enable_atmlib
20446 wine_fn_config_makefile dlls/authz enable_authz
20447 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20448 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20449 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20450 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20451 wine_fn_config_makefile dlls/avrt enable_avrt
20452 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20453 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20454 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20455 wine_fn_config_makefile dlls/browseui enable_browseui
20456 wine_fn_config_makefile dlls/browseui/tests enable_tests
20457 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20458 wine_fn_config_makefile dlls/cabinet enable_cabinet
20459 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20460 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20461 wine_fn_config_makefile dlls/cards enable_cards
20462 wine_fn_config_makefile dlls/cdosys enable_cdosys
20463 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20464 wine_fn_config_makefile dlls/clusapi enable_clusapi
20465 wine_fn_config_makefile dlls/combase enable_combase
20466 wine_fn_config_makefile dlls/combase/tests enable_tests
20467 wine_fn_config_makefile dlls/comcat enable_comcat
20468 wine_fn_config_makefile dlls/comcat/tests enable_tests
20469 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20470 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20471 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20472 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20473 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20474 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20475 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20476 wine_fn_config_makefile dlls/compstui enable_compstui
20477 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20478 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20479 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20480 wine_fn_config_makefile dlls/connect enable_connect
20481 wine_fn_config_makefile dlls/credui enable_credui
20482 wine_fn_config_makefile dlls/credui/tests enable_tests
20483 wine_fn_config_makefile dlls/crtdll enable_crtdll
20484 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20485 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20486 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20487 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20488 wine_fn_config_makefile dlls/cryptext enable_cryptext
20489 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20490 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20491 wine_fn_config_makefile dlls/cryptui enable_cryptui
20492 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20493 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20494 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20495 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20496 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20497 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20498 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20499 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20500 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20501 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20502 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20503 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20504 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20505 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20506 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20507 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20508 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20509 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20510 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20511 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20512 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20513 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20514 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20515 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20516 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20517 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20518 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20519 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20520 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20521 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20522 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20523 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20524 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20525 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20526 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20527 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20528 wine_fn_config_makefile dlls/d3dim enable_d3dim
20529 wine_fn_config_makefile dlls/d3drm enable_d3drm
20530 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20531 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20532 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20533 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20534 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20535 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20536 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20537 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20538 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20539 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20540 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20541 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20542 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20543 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20544 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20545 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20546 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20547 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20548 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20549 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20550 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20551 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20552 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20553 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20554 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20555 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20556 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20557 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20558 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20559 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20560 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20561 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20562 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20563 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20564 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20565 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20566 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20567 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20568 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20569 wine_fn_config_makefile dlls/davclnt enable_davclnt
20570 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20571 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20572 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20573 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20574 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20575 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20576 wine_fn_config_makefile dlls/ddraw enable_ddraw
20577 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20578 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20579 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20580 wine_fn_config_makefile dlls/devenum enable_devenum
20581 wine_fn_config_makefile dlls/devenum/tests enable_tests
20582 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20583 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20584 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20585 wine_fn_config_makefile dlls/difxapi enable_difxapi
20586 wine_fn_config_makefile dlls/dinput enable_dinput
20587 wine_fn_config_makefile dlls/dinput/tests enable_tests
20588 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20589 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20590 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20591 wine_fn_config_makefile dlls/dispex enable_dispex
20592 wine_fn_config_makefile dlls/dispex/tests enable_tests
20593 wine_fn_config_makefile dlls/display.drv16 enable_win16
20594 wine_fn_config_makefile dlls/dmband enable_dmband
20595 wine_fn_config_makefile dlls/dmband/tests enable_tests
20596 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20597 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20598 wine_fn_config_makefile dlls/dmime enable_dmime
20599 wine_fn_config_makefile dlls/dmime/tests enable_tests
20600 wine_fn_config_makefile dlls/dmloader enable_dmloader
20601 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20602 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20603 wine_fn_config_makefile dlls/dmscript enable_dmscript
20604 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20605 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20606 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20607 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20608 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20609 wine_fn_config_makefile dlls/dmusic enable_dmusic
20610 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20611 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20612 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20613 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20614 wine_fn_config_makefile dlls/dplay enable_dplay
20615 wine_fn_config_makefile dlls/dplayx enable_dplayx
20616 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20617 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20618 wine_fn_config_makefile dlls/dpnet enable_dpnet
20619 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20620 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20621 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20622 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20623 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20624 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20625 wine_fn_config_makefile dlls/drmclien enable_drmclien
20626 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20627 wine_fn_config_makefile dlls/dsound enable_dsound
20628 wine_fn_config_makefile dlls/dsound/tests enable_tests
20629 wine_fn_config_makefile dlls/dsquery enable_dsquery
20630 wine_fn_config_makefile dlls/dssenh enable_dssenh
20631 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20632 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20633 wine_fn_config_makefile dlls/dswave enable_dswave
20634 wine_fn_config_makefile dlls/dswave/tests enable_tests
20635 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20636 wine_fn_config_makefile dlls/dwrite enable_dwrite
20637 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20638 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20639 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20640 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20641 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20642 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20643 wine_fn_config_makefile dlls/dxgi enable_dxgi
20644 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20645 wine_fn_config_makefile dlls/dxguid enable_dxguid
20646 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20647 wine_fn_config_makefile dlls/esent enable_esent
20648 wine_fn_config_makefile dlls/evr enable_evr
20649 wine_fn_config_makefile dlls/evr/tests enable_tests
20650 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20651 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20652 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20653 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20654 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20655 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20656 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20657 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20658 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20659 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20660 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20661 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20662 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20663 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20664 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20665 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20666 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20667 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20668 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20669 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20670 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20671 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20672 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20673 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20674 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20675 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20676 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20677 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20678 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20679 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20680 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20681 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20682 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20683 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20684 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20685 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20686 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20687 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20688 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20689 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20690 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20691 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20692 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
20693 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20694 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20695 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20699 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20700 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20701 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20702 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20703 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20704 wine_fn_config_makefile dlls/faultrep enable_faultrep
20705 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20706 wine_fn_config_makefile dlls/feclient enable_feclient
20707 wine_fn_config_makefile dlls/fltlib enable_fltlib
20708 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20709 wine_fn_config_makefile dlls/fntcache enable_fntcache
20710 wine_fn_config_makefile dlls/fontsub enable_fontsub
20711 wine_fn_config_makefile dlls/fusion enable_fusion
20712 wine_fn_config_makefile dlls/fusion/tests enable_tests
20713 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20714 wine_fn_config_makefile dlls/gameux enable_gameux
20715 wine_fn_config_makefile dlls/gameux/tests enable_tests
20716 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20717 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20718 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20719 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20720 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20721 wine_fn_config_makefile dlls/glu32 enable_glu32
20722 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20723 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20724 wine_fn_config_makefile dlls/hal enable_hal
20725 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20726 wine_fn_config_makefile dlls/hid enable_hid
20727 wine_fn_config_makefile dlls/hid/tests enable_tests
20728 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20729 wine_fn_config_makefile dlls/hlink enable_hlink
20730 wine_fn_config_makefile dlls/hlink/tests enable_tests
20731 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20732 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20733 wine_fn_config_makefile dlls/http.sys enable_http_sys
20734 wine_fn_config_makefile dlls/httpapi enable_httpapi
20735 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20736 wine_fn_config_makefile dlls/iccvid enable_iccvid
20737 wine_fn_config_makefile dlls/icmp enable_icmp
20738 wine_fn_config_makefile dlls/ieframe enable_ieframe
20739 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20740 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20741 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20742 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20743 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20744 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20745 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20746 wine_fn_config_makefile dlls/imm32 enable_imm32
20747 wine_fn_config_makefile dlls/imm32/tests enable_tests
20748 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20749 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20750 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20751 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20752 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20753 wine_fn_config_makefile dlls/infosoft enable_infosoft
20754 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20755 wine_fn_config_makefile dlls/initpki enable_initpki
20756 wine_fn_config_makefile dlls/inkobj enable_inkobj
20757 wine_fn_config_makefile dlls/inseng enable_inseng
20758 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20759 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20760 wine_fn_config_makefile dlls/iprop enable_iprop
20761 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20762 wine_fn_config_makefile dlls/itircl enable_itircl
20763 wine_fn_config_makefile dlls/itss enable_itss
20764 wine_fn_config_makefile dlls/itss/tests enable_tests
20765 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20766 wine_fn_config_makefile dlls/jscript enable_jscript
20767 wine_fn_config_makefile dlls/jscript/tests enable_tests
20768 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20769 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20770 wine_fn_config_makefile dlls/kerberos enable_kerberos
20771 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20772 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20773 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20774 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20775 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20776 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20777 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20778 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20779 wine_fn_config_makefile dlls/ksuser enable_ksuser
20780 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20781 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20782 wine_fn_config_makefile dlls/loadperf enable_loadperf
20783 wine_fn_config_makefile dlls/localspl enable_localspl
20784 wine_fn_config_makefile dlls/localspl/tests enable_tests
20785 wine_fn_config_makefile dlls/localui enable_localui
20786 wine_fn_config_makefile dlls/localui/tests enable_tests
20787 wine_fn_config_makefile dlls/lz32 enable_lz32
20788 wine_fn_config_makefile dlls/lz32/tests enable_tests
20789 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20790 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20791 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20792 wine_fn_config_makefile dlls/mapistub enable_mapistub
20793 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20794 wine_fn_config_makefile dlls/mcicda enable_mcicda
20795 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20796 wine_fn_config_makefile dlls/mciseq enable_mciseq
20797 wine_fn_config_makefile dlls/mciwave enable_mciwave
20798 wine_fn_config_makefile dlls/mf enable_mf
20799 wine_fn_config_makefile dlls/mf/tests enable_tests
20800 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20801 wine_fn_config_makefile dlls/mferror enable_mferror
20802 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20803 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20804 wine_fn_config_makefile dlls/mfplat enable_mfplat
20805 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20806 wine_fn_config_makefile dlls/mfplay enable_mfplay
20807 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20808 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20809 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20810 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20811 wine_fn_config_makefile dlls/midimap enable_midimap
20812 wine_fn_config_makefile dlls/mlang enable_mlang
20813 wine_fn_config_makefile dlls/mlang/tests enable_tests
20814 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20815 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20816 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20817 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20818 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20819 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20820 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20821 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20822 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20823 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20824 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20825 wine_fn_config_makefile dlls/mpr enable_mpr
20826 wine_fn_config_makefile dlls/mpr/tests enable_tests
20827 wine_fn_config_makefile dlls/mprapi enable_mprapi
20828 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20829 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20830 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20831 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20832 wine_fn_config_makefile dlls/msado15 enable_msado15
20833 wine_fn_config_makefile dlls/msado15/tests enable_tests
20834 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20835 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20836 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20837 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20838 wine_fn_config_makefile dlls/mscms enable_mscms
20839 wine_fn_config_makefile dlls/mscms/tests enable_tests
20840 wine_fn_config_makefile dlls/mscoree enable_mscoree
20841 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20842 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20843 wine_fn_config_makefile dlls/msctf enable_msctf
20844 wine_fn_config_makefile dlls/msctf/tests enable_tests
20845 wine_fn_config_makefile dlls/msctfp enable_msctfp
20846 wine_fn_config_makefile dlls/msdaps enable_msdaps
20847 wine_fn_config_makefile dlls/msdelta enable_msdelta
20848 wine_fn_config_makefile dlls/msdmo enable_msdmo
20849 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20850 wine_fn_config_makefile dlls/msdrm enable_msdrm
20851 wine_fn_config_makefile dlls/msftedit enable_msftedit
20852 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20853 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20854 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20855 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20856 wine_fn_config_makefile dlls/mshtml enable_mshtml
20857 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20858 wine_fn_config_makefile dlls/msi enable_msi
20859 wine_fn_config_makefile dlls/msi/tests enable_tests
20860 wine_fn_config_makefile dlls/msident enable_msident
20861 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20862 wine_fn_config_makefile dlls/msimsg enable_msimsg
20863 wine_fn_config_makefile dlls/msimtf enable_msimtf
20864 wine_fn_config_makefile dlls/msisip enable_msisip
20865 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20866 wine_fn_config_makefile dlls/msls31 enable_msls31
20867 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20868 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20869 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20870 wine_fn_config_makefile dlls/msports enable_msports
20871 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20872 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20873 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20874 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20875 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20876 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20877 wine_fn_config_makefile dlls/mstask enable_mstask
20878 wine_fn_config_makefile dlls/mstask/tests enable_tests
20879 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20880 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20881 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20882 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20883 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20884 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20885 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20886 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20887 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20888 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20889 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20890 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20891 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20892 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20893 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20894 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20895 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20896 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20897 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20898 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20899 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20900 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20901 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20902 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20903 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20904 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20905 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20906 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20907 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20908 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20909 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20910 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20911 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20912 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20913 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20914 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20915 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20916 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20917 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20918 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20919 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20920 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20921 wine_fn_config_makefile dlls/mswsock enable_mswsock
20922 wine_fn_config_makefile dlls/msxml enable_msxml
20923 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20924 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20925 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20926 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20927 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20928 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20929 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20930 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20931 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20932 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20933 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20934 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20935 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20936 wine_fn_config_makefile dlls/netprofm enable_netprofm
20937 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20938 wine_fn_config_makefile dlls/newdev enable_newdev
20939 wine_fn_config_makefile dlls/ninput enable_ninput
20940 wine_fn_config_makefile dlls/ninput/tests enable_tests
20941 wine_fn_config_makefile dlls/normaliz enable_normaliz
20942 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20943 wine_fn_config_makefile dlls/npptools enable_npptools
20944 wine_fn_config_makefile dlls/ntdll enable_ntdll
20945 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20946 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20947 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20948 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20949 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20950 wine_fn_config_makefile dlls/ntprint enable_ntprint
20951 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20952 wine_fn_config_makefile dlls/objsel enable_objsel
20953 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20954 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20955 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20956 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20957 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20958 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20959 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20960 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20961 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20962 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20963 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20964 wine_fn_config_makefile dlls/ole32 enable_ole32
20965 wine_fn_config_makefile dlls/ole32/tests enable_tests
20966 wine_fn_config_makefile dlls/oleacc enable_oleacc
20967 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20968 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20969 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20970 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20971 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20972 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20973 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20974 wine_fn_config_makefile dlls/oledlg enable_oledlg
20975 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20976 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20977 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20978 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20979 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20980 wine_fn_config_makefile dlls/opcservices enable_opcservices
20981 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20982 wine_fn_config_makefile dlls/openal32 enable_openal32
20983 wine_fn_config_makefile dlls/opencl enable_opencl
20984 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20985 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20986 wine_fn_config_makefile dlls/packager enable_packager
20987 wine_fn_config_makefile dlls/packager/tests enable_tests
20988 wine_fn_config_makefile dlls/pdh enable_pdh
20989 wine_fn_config_makefile dlls/pdh/tests enable_tests
20990 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20991 wine_fn_config_makefile dlls/pidgen enable_pidgen
20992 wine_fn_config_makefile dlls/powrprof enable_powrprof
20993 wine_fn_config_makefile dlls/printui enable_printui
20994 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20995 wine_fn_config_makefile dlls/propsys enable_propsys
20996 wine_fn_config_makefile dlls/propsys/tests enable_tests
20997 wine_fn_config_makefile dlls/psapi enable_psapi
20998 wine_fn_config_makefile dlls/psapi/tests enable_tests
20999 wine_fn_config_makefile dlls/pstorec enable_pstorec
21000 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21001 wine_fn_config_makefile dlls/qasf enable_qasf
21002 wine_fn_config_makefile dlls/qasf/tests enable_tests
21003 wine_fn_config_makefile dlls/qcap enable_qcap
21004 wine_fn_config_makefile dlls/qcap/tests enable_tests
21005 wine_fn_config_makefile dlls/qdvd enable_qdvd
21006 wine_fn_config_makefile dlls/qedit enable_qedit
21007 wine_fn_config_makefile dlls/qedit/tests enable_tests
21008 wine_fn_config_makefile dlls/qmgr enable_qmgr
21009 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21010 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21011 wine_fn_config_makefile dlls/quartz enable_quartz
21012 wine_fn_config_makefile dlls/quartz/tests enable_tests
21013 wine_fn_config_makefile dlls/query enable_query
21014 wine_fn_config_makefile dlls/qwave enable_qwave
21015 wine_fn_config_makefile dlls/qwave/tests enable_tests
21016 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21017 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21018 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21019 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21020 wine_fn_config_makefile dlls/regapi enable_regapi
21021 wine_fn_config_makefile dlls/resutils enable_resutils
21022 wine_fn_config_makefile dlls/riched20 enable_riched20
21023 wine_fn_config_makefile dlls/riched20/tests enable_tests
21024 wine_fn_config_makefile dlls/riched32 enable_riched32
21025 wine_fn_config_makefile dlls/riched32/tests enable_tests
21026 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21027 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21028 wine_fn_config_makefile dlls/rsabase enable_rsabase
21029 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21030 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21031 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21032 wine_fn_config_makefile dlls/rtutils enable_rtutils
21033 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21034 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21035 wine_fn_config_makefile dlls/samlib enable_samlib
21036 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21037 wine_fn_config_makefile dlls/sapi enable_sapi
21038 wine_fn_config_makefile dlls/sapi/tests enable_tests
21039 wine_fn_config_makefile dlls/sas enable_sas
21040 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21041 wine_fn_config_makefile dlls/sccbase enable_sccbase
21042 wine_fn_config_makefile dlls/schannel enable_schannel
21043 wine_fn_config_makefile dlls/schannel/tests enable_tests
21044 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21045 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21046 wine_fn_config_makefile dlls/scrobj enable_scrobj
21047 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21048 wine_fn_config_makefile dlls/scrrun enable_scrrun
21049 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21050 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21051 wine_fn_config_makefile dlls/sechost enable_sechost
21052 wine_fn_config_makefile dlls/secur32 enable_secur32
21053 wine_fn_config_makefile dlls/secur32/tests enable_tests
21054 wine_fn_config_makefile dlls/security enable_security
21055 wine_fn_config_makefile dlls/sensapi enable_sensapi
21056 wine_fn_config_makefile dlls/serialui enable_serialui
21057 wine_fn_config_makefile dlls/serialui/tests enable_tests
21058 wine_fn_config_makefile dlls/setupapi enable_setupapi
21059 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21060 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21061 wine_fn_config_makefile dlls/sfc enable_sfc
21062 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21063 wine_fn_config_makefile dlls/shcore enable_shcore
21064 wine_fn_config_makefile dlls/shcore/tests enable_tests
21065 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21066 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21067 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21068 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21069 wine_fn_config_makefile dlls/shell32 enable_shell32
21070 wine_fn_config_makefile dlls/shell32/tests enable_tests
21071 wine_fn_config_makefile dlls/shfolder enable_shfolder
21072 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21073 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21074 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21075 wine_fn_config_makefile dlls/slc enable_slc
21076 wine_fn_config_makefile dlls/slc/tests enable_tests
21077 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21078 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21079 wine_fn_config_makefile dlls/softpub enable_softpub
21080 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21081 wine_fn_config_makefile dlls/spoolss enable_spoolss
21082 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21083 wine_fn_config_makefile dlls/srclient enable_srclient
21084 wine_fn_config_makefile dlls/sspicli enable_sspicli
21085 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21086 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21087 wine_fn_config_makefile dlls/sti enable_sti
21088 wine_fn_config_makefile dlls/sti/tests enable_tests
21089 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21090 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21091 wine_fn_config_makefile dlls/strmbase enable_strmbase
21092 wine_fn_config_makefile dlls/strmdll enable_strmdll
21093 wine_fn_config_makefile dlls/strmiids enable_strmiids
21094 wine_fn_config_makefile dlls/svrapi enable_svrapi
21095 wine_fn_config_makefile dlls/sxs enable_sxs
21096 wine_fn_config_makefile dlls/sxs/tests enable_tests
21097 wine_fn_config_makefile dlls/system.drv16 enable_win16
21098 wine_fn_config_makefile dlls/t2embed enable_t2embed
21099 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21100 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21101 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21102 wine_fn_config_makefile dlls/taskschd enable_taskschd
21103 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21104 wine_fn_config_makefile dlls/tdh enable_tdh
21105 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21106 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21107 wine_fn_config_makefile dlls/traffic enable_traffic
21108 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21109 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21110 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21111 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21112 wine_fn_config_makefile dlls/tzres enable_tzres
21113 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21114 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21115 wine_fn_config_makefile dlls/uianimation enable_uianimation
21116 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21117 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21118 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21119 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21120 wine_fn_config_makefile dlls/unicows enable_unicows
21121 wine_fn_config_makefile dlls/updspapi enable_updspapi
21122 wine_fn_config_makefile dlls/url enable_url
21123 wine_fn_config_makefile dlls/urlmon enable_urlmon
21124 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21125 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21126 wine_fn_config_makefile dlls/user.exe16 enable_win16
21127 wine_fn_config_makefile dlls/user32 enable_user32
21128 wine_fn_config_makefile dlls/user32/tests enable_tests
21129 wine_fn_config_makefile dlls/userenv enable_userenv
21130 wine_fn_config_makefile dlls/userenv/tests enable_tests
21131 wine_fn_config_makefile dlls/usp10 enable_usp10
21132 wine_fn_config_makefile dlls/usp10/tests enable_tests
21133 wine_fn_config_makefile dlls/utildll enable_utildll
21134 wine_fn_config_makefile dlls/uuid enable_uuid
21135 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21136 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21137 wine_fn_config_makefile dlls/vbscript enable_vbscript
21138 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21139 wine_fn_config_makefile dlls/vcomp enable_vcomp
21140 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21141 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21142 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21143 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21144 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21145 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21146 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21147 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21148 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21149 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21150 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21151 wine_fn_config_makefile dlls/version enable_version
21152 wine_fn_config_makefile dlls/version/tests enable_tests
21153 wine_fn_config_makefile dlls/vga enable_vga
21154 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21155 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21156 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21157 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21158 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21159 wine_fn_config_makefile dlls/vssapi enable_vssapi
21160 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21161 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21162 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21163 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21164 wine_fn_config_makefile dlls/w32skrnl enable_win16
21165 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21166 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21167 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21168 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21169 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21170 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21171 wine_fn_config_makefile dlls/wdscore enable_wdscore
21172 wine_fn_config_makefile dlls/webservices enable_webservices
21173 wine_fn_config_makefile dlls/webservices/tests enable_tests
21174 wine_fn_config_makefile dlls/wer enable_wer
21175 wine_fn_config_makefile dlls/wer/tests enable_tests
21176 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21177 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21178 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21179 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21180 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21181 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21182 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21183 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21184 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21185 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21186 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21187 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21188 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21189 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21190 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21191 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21192 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21193 wine_fn_config_makefile dlls/wined3d enable_wined3d
21194 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21195 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21196 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21197 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21198 wine_fn_config_makefile dlls/winemapi enable_winemapi
21199 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21200 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21201 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21202 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21203 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21204 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21205 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21206 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21207 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21208 wine_fn_config_makefile dlls/wing32 enable_wing32
21209 wine_fn_config_makefile dlls/winhttp enable_winhttp
21210 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21211 wine_fn_config_makefile dlls/wininet enable_wininet
21212 wine_fn_config_makefile dlls/wininet/tests enable_tests
21213 wine_fn_config_makefile dlls/winmm enable_winmm
21214 wine_fn_config_makefile dlls/winmm/tests enable_tests
21215 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21216 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21217 wine_fn_config_makefile dlls/winscard enable_winscard
21218 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21219 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21220 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21221 wine_fn_config_makefile dlls/winsta enable_winsta
21222 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21223 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21224 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21225 wine_fn_config_makefile dlls/wintrust enable_wintrust
21226 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21227 wine_fn_config_makefile dlls/winusb enable_winusb
21228 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21229 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21230 wine_fn_config_makefile dlls/wlanui enable_wlanui
21231 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21232 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21233 wine_fn_config_makefile dlls/wmasf enable_wmasf
21234 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21235 wine_fn_config_makefile dlls/wmi enable_wmi
21236 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21237 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21238 wine_fn_config_makefile dlls/wmp enable_wmp
21239 wine_fn_config_makefile dlls/wmp/tests enable_tests
21240 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21241 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21242 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21243 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21244 wine_fn_config_makefile dlls/wow32 enable_win16
21245 wine_fn_config_makefile dlls/wpc enable_wpc
21246 wine_fn_config_makefile dlls/wpc/tests enable_tests
21247 wine_fn_config_makefile dlls/wpcap enable_wpcap
21248 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21249 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21250 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21251 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21252 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21253 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21254 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21255 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21256 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21257 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21258 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21259 wine_fn_config_makefile dlls/wuapi enable_wuapi
21260 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21261 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21262 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21263 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21264 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21265 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21266 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21267 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21268 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21269 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21270 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21271 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21272 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21273 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21274 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21275 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21276 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21277 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21278 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21279 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21280 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21281 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21282 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21283 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21284 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21285 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21286 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21287 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21288 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21289 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21290 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21291 wine_fn_config_makefile dlls/xmllite enable_xmllite
21292 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21293 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21294 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21295 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21296 wine_fn_config_makefile fonts enable_fonts
21297 wine_fn_config_makefile include enable_include
21298 wine_fn_config_makefile libs/port enable_port
21299 wine_fn_config_makefile libs/wine enable_wine
21300 wine_fn_config_makefile libs/wpp enable_wpp
21301 wine_fn_config_makefile loader enable_loader
21302 wine_fn_config_makefile nls enable_nls
21303 wine_fn_config_makefile po enable_po
21304 wine_fn_config_makefile programs/arp enable_arp
21305 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21306 wine_fn_config_makefile programs/attrib enable_attrib
21307 wine_fn_config_makefile programs/cabarc enable_cabarc
21308 wine_fn_config_makefile programs/cacls enable_cacls
21309 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21310 wine_fn_config_makefile programs/clock enable_clock
21311 wine_fn_config_makefile programs/cmd enable_cmd
21312 wine_fn_config_makefile programs/cmd/tests enable_tests
21313 wine_fn_config_makefile programs/conhost enable_conhost
21314 wine_fn_config_makefile programs/control enable_control
21315 wine_fn_config_makefile programs/cscript enable_cscript
21316 wine_fn_config_makefile programs/dism enable_dism
21317 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21318 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21319 wine_fn_config_makefile programs/eject enable_eject
21320 wine_fn_config_makefile programs/expand enable_expand
21321 wine_fn_config_makefile programs/explorer enable_explorer
21322 wine_fn_config_makefile programs/extrac32 enable_extrac32
21323 wine_fn_config_makefile programs/fc enable_fc
21324 wine_fn_config_makefile programs/find enable_find
21325 wine_fn_config_makefile programs/find/tests enable_tests
21326 wine_fn_config_makefile programs/findstr enable_findstr
21327 wine_fn_config_makefile programs/fsutil enable_fsutil
21328 wine_fn_config_makefile programs/hh enable_hh
21329 wine_fn_config_makefile programs/hostname enable_hostname
21330 wine_fn_config_makefile programs/icacls enable_icacls
21331 wine_fn_config_makefile programs/icinfo enable_icinfo
21332 wine_fn_config_makefile programs/iexplore enable_iexplore
21333 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21334 wine_fn_config_makefile programs/lodctr enable_lodctr
21335 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21336 wine_fn_config_makefile programs/mshta enable_mshta
21337 wine_fn_config_makefile programs/msidb enable_msidb
21338 wine_fn_config_makefile programs/msiexec enable_msiexec
21339 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21340 wine_fn_config_makefile programs/net enable_net
21341 wine_fn_config_makefile programs/netsh enable_netsh
21342 wine_fn_config_makefile programs/netstat enable_netstat
21343 wine_fn_config_makefile programs/ngen enable_ngen
21344 wine_fn_config_makefile programs/notepad enable_notepad
21345 wine_fn_config_makefile programs/oleview enable_oleview
21346 wine_fn_config_makefile programs/ping enable_ping
21347 wine_fn_config_makefile programs/plugplay enable_plugplay
21348 wine_fn_config_makefile programs/powershell enable_powershell
21349 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21350 wine_fn_config_makefile programs/progman enable_progman
21351 wine_fn_config_makefile programs/reg enable_reg
21352 wine_fn_config_makefile programs/reg/tests enable_tests
21353 wine_fn_config_makefile programs/regasm enable_regasm
21354 wine_fn_config_makefile programs/regedit enable_regedit
21355 wine_fn_config_makefile programs/regedit/tests enable_tests
21356 wine_fn_config_makefile programs/regini enable_regini
21357 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21358 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21359 wine_fn_config_makefile programs/rpcss enable_rpcss
21360 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21361 wine_fn_config_makefile programs/rundll32 enable_rundll32
21362 wine_fn_config_makefile programs/sc enable_sc
21363 wine_fn_config_makefile programs/schtasks enable_schtasks
21364 wine_fn_config_makefile programs/schtasks/tests enable_tests
21365 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21366 wine_fn_config_makefile programs/secedit enable_secedit
21367 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21368 wine_fn_config_makefile programs/services enable_services
21369 wine_fn_config_makefile programs/services/tests enable_tests
21370 wine_fn_config_makefile programs/shutdown enable_shutdown
21371 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21372 wine_fn_config_makefile programs/start enable_start
21373 wine_fn_config_makefile programs/subst enable_subst
21374 wine_fn_config_makefile programs/svchost enable_svchost
21375 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21376 wine_fn_config_makefile programs/taskkill enable_taskkill
21377 wine_fn_config_makefile programs/tasklist enable_tasklist
21378 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21379 wine_fn_config_makefile programs/termsv enable_termsv
21380 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21381 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21382 wine_fn_config_makefile programs/view enable_view
21383 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21384 wine_fn_config_makefile programs/whoami enable_whoami
21385 wine_fn_config_makefile programs/wineboot enable_wineboot
21386 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21387 wine_fn_config_makefile programs/winecfg enable_winecfg
21388 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21389 wine_fn_config_makefile programs/winedbg enable_winedbg
21390 wine_fn_config_makefile programs/winedevice enable_winedevice
21391 wine_fn_config_makefile programs/winefile enable_winefile
21392 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21393 wine_fn_config_makefile programs/winemine enable_winemine
21394 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21395 wine_fn_config_makefile programs/winepath enable_winepath
21396 wine_fn_config_makefile programs/winetest enable_winetest
21397 wine_fn_config_makefile programs/winevdm enable_win16
21398 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21399 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21400 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21401 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21402 wine_fn_config_makefile programs/winver enable_winver
21403 wine_fn_config_makefile programs/wmic enable_wmic
21404 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21405 wine_fn_config_makefile programs/wordpad enable_wordpad
21406 wine_fn_config_makefile programs/write enable_write
21407 wine_fn_config_makefile programs/wscript enable_wscript
21408 wine_fn_config_makefile programs/wscript/tests enable_tests
21409 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21410 wine_fn_config_makefile programs/wusa enable_wusa
21411 wine_fn_config_makefile programs/xcopy enable_xcopy
21412 wine_fn_config_makefile programs/xcopy/tests enable_tests
21413 wine_fn_config_makefile server enable_server
21414 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21415 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21416 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21417 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21418 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21419 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21420 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21421 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21422 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21425 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21426 wine_fn_append_file CONFIGURE_TARGETS "tags"
21427 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21428 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21429 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21430 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21431 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21432 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21434 if test "x$enable_tools" != xno
21435 then
21436 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21437 ac_config_commands="$ac_config_commands tools/makedep"
21441 ac_config_commands="$ac_config_commands Makefile"
21444 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21448 if test "x$enable_maintainer_mode" = xyes
21449 then
21450 wine_fn_append_rule "configure: configure.ac aclocal.m4
21451 autoconf --warnings=all
21452 include/config.h.in: include/stamp-h.in
21453 include/stamp-h.in: configure.ac aclocal.m4
21454 autoheader --warnings=all
21455 @echo timestamp > \$@"
21458 if test "x$enable_tools" != xno
21459 then
21460 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21461 @./config.status tools/makedep
21462 Makefile: tools/makedep$ac_exeext
21463 fonts: tools/sfnt2fon
21464 include: tools tools/widl"
21465 else
21466 wine_fn_append_rule "\$(MAKEDEP):
21467 @echo \"You need to run make in $TOOLSDIR first\" && false"
21470 if test -n "$with_wine64"
21471 then
21472 case "$with_wine64" in
21473 /*) reldir="" ;;
21474 *) reldir="../" ;;
21475 esac
21476 rm -f fonts server 2>/dev/null
21477 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21478 loader/wine64 loader/wine64-preloader:
21479 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21480 $with_wine64/loader/wine:
21481 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21482 $with_wine64/loader/wine-preloader:
21483 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21484 clean::
21485 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21486 else
21487 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21488 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21489 fonts \
21490 loader/wine.inf \
21491 loader/winebus.inf \
21492 loader/winehid.inf \
21493 loader/wineusb.inf \
21494 nls \
21495 programs/msidb/msidb \
21496 programs/msiexec/msiexec \
21497 programs/notepad/notepad \
21498 programs/regedit/regedit \
21499 programs/regsvr32/regsvr32 \
21500 programs/wineboot/wineboot \
21501 programs/winecfg/winecfg \
21502 programs/wineconsole/wineconsole \
21503 programs/winedbg/winedbg \
21504 programs/winefile/winefile \
21505 programs/winemine/winemine \
21506 programs/winepath/winepath \
21507 server/wineserver"
21509 case $host_os in
21510 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21511 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21512 esac
21515 $as_echo " done" >&6
21516 cat >confcache <<\_ACEOF
21517 # This file is a shell script that caches the results of configure
21518 # tests run on this system so they can be shared between configure
21519 # scripts and configure runs, see configure's option --config-cache.
21520 # It is not useful on other systems. If it contains results you don't
21521 # want to keep, you may remove or edit it.
21523 # config.status only pays attention to the cache file if you give it
21524 # the --recheck option to rerun configure.
21526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21528 # following values.
21530 _ACEOF
21532 # The following way of writing the cache mishandles newlines in values,
21533 # but we know of no workaround that is simple, portable, and efficient.
21534 # So, we kill variables containing newlines.
21535 # Ultrix sh set writes to stderr and can't be redirected directly,
21536 # and sets the high bit in the cache file unless we assign to the vars.
21538 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21539 eval ac_val=\$$ac_var
21540 case $ac_val in #(
21541 *${as_nl}*)
21542 case $ac_var in #(
21543 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21544 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21545 esac
21546 case $ac_var in #(
21547 _ | IFS | as_nl) ;; #(
21548 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21549 *) { eval $ac_var=; unset $ac_var;} ;;
21550 esac ;;
21551 esac
21552 done
21554 (set) 2>&1 |
21555 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21556 *${as_nl}ac_space=\ *)
21557 # `set' does not quote correctly, so add quotes: double-quote
21558 # substitution turns \\\\ into \\, and sed turns \\ into \.
21559 sed -n \
21560 "s/'/'\\\\''/g;
21561 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21562 ;; #(
21564 # `set' quotes correctly as required by POSIX, so do not add quotes.
21565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21567 esac |
21568 sort
21570 sed '
21571 /^ac_cv_env_/b end
21572 t clear
21573 :clear
21574 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21575 t end
21576 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21577 :end' >>confcache
21578 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21579 if test -w "$cache_file"; then
21580 if test "x$cache_file" != "x/dev/null"; then
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21582 $as_echo "$as_me: updating cache $cache_file" >&6;}
21583 if test ! -f "$cache_file" || test -h "$cache_file"; then
21584 cat confcache >"$cache_file"
21585 else
21586 case $cache_file in #(
21587 */* | ?:*)
21588 mv -f confcache "$cache_file"$$ &&
21589 mv -f "$cache_file"$$ "$cache_file" ;; #(
21591 mv -f confcache "$cache_file" ;;
21592 esac
21595 else
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21597 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21600 rm -f confcache
21602 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21603 # Let make expand exec_prefix.
21604 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21606 DEFS=-DHAVE_CONFIG_H
21608 ac_libobjs=
21609 ac_ltlibobjs=
21611 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21612 # 1. Remove the extension, and $U if already installed.
21613 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21614 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21615 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21616 # will be set to the directory where LIBOBJS objects are built.
21617 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21618 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21619 done
21620 LIBOBJS=$ac_libobjs
21622 LTLIBOBJS=$ac_ltlibobjs
21626 : "${CONFIG_STATUS=./config.status}"
21627 ac_write_fail=0
21628 ac_clean_files_save=$ac_clean_files
21629 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21631 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21632 as_write_fail=0
21633 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21634 #! $SHELL
21635 # Generated by $as_me.
21636 # Run this file to recreate the current configuration.
21637 # Compiler output produced by configure, useful for debugging
21638 # configure, is in config.log if it exists.
21640 debug=false
21641 ac_cs_recheck=false
21642 ac_cs_silent=false
21644 SHELL=\${CONFIG_SHELL-$SHELL}
21645 export SHELL
21646 _ASEOF
21647 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21648 ## -------------------- ##
21649 ## M4sh Initialization. ##
21650 ## -------------------- ##
21652 # Be more Bourne compatible
21653 DUALCASE=1; export DUALCASE # for MKS sh
21654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21655 emulate sh
21656 NULLCMD=:
21657 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21658 # is contrary to our usage. Disable this feature.
21659 alias -g '${1+"$@"}'='"$@"'
21660 setopt NO_GLOB_SUBST
21661 else
21662 case `(set -o) 2>/dev/null` in #(
21663 *posix*) :
21664 set -o posix ;; #(
21665 *) :
21667 esac
21671 as_nl='
21673 export as_nl
21674 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21675 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21676 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21678 # Prefer a ksh shell builtin over an external printf program on Solaris,
21679 # but without wasting forks for bash or zsh.
21680 if test -z "$BASH_VERSION$ZSH_VERSION" \
21681 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21682 as_echo='print -r --'
21683 as_echo_n='print -rn --'
21684 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21685 as_echo='printf %s\n'
21686 as_echo_n='printf %s'
21687 else
21688 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21689 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21690 as_echo_n='/usr/ucb/echo -n'
21691 else
21692 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21693 as_echo_n_body='eval
21694 arg=$1;
21695 case $arg in #(
21696 *"$as_nl"*)
21697 expr "X$arg" : "X\\(.*\\)$as_nl";
21698 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21699 esac;
21700 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21702 export as_echo_n_body
21703 as_echo_n='sh -c $as_echo_n_body as_echo'
21705 export as_echo_body
21706 as_echo='sh -c $as_echo_body as_echo'
21709 # The user is always right.
21710 if test "${PATH_SEPARATOR+set}" != set; then
21711 PATH_SEPARATOR=:
21712 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21713 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21714 PATH_SEPARATOR=';'
21719 # IFS
21720 # We need space, tab and new line, in precisely that order. Quoting is
21721 # there to prevent editors from complaining about space-tab.
21722 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21723 # splitting by setting IFS to empty value.)
21724 IFS=" "" $as_nl"
21726 # Find who we are. Look in the path if we contain no directory separator.
21727 as_myself=
21728 case $0 in #((
21729 *[\\/]* ) as_myself=$0 ;;
21730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21731 for as_dir in $PATH
21733 IFS=$as_save_IFS
21734 test -z "$as_dir" && as_dir=.
21735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21736 done
21737 IFS=$as_save_IFS
21740 esac
21741 # We did not find ourselves, most probably we were run as `sh COMMAND'
21742 # in which case we are not to be found in the path.
21743 if test "x$as_myself" = x; then
21744 as_myself=$0
21746 if test ! -f "$as_myself"; then
21747 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21748 exit 1
21751 # Unset variables that we do not need and which cause bugs (e.g. in
21752 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21753 # suppresses any "Segmentation fault" message there. '((' could
21754 # trigger a bug in pdksh 5.2.14.
21755 for as_var in BASH_ENV ENV MAIL MAILPATH
21756 do eval test x\${$as_var+set} = xset \
21757 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21758 done
21759 PS1='$ '
21760 PS2='> '
21761 PS4='+ '
21763 # NLS nuisances.
21764 LC_ALL=C
21765 export LC_ALL
21766 LANGUAGE=C
21767 export LANGUAGE
21769 # CDPATH.
21770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21773 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21774 # ----------------------------------------
21775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21777 # script with STATUS, using 1 if that was 0.
21778 as_fn_error ()
21780 as_status=$1; test $as_status -eq 0 && as_status=1
21781 if test "$4"; then
21782 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21783 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21785 $as_echo "$as_me: error: $2" >&2
21786 as_fn_exit $as_status
21787 } # as_fn_error
21790 # as_fn_set_status STATUS
21791 # -----------------------
21792 # Set $? to STATUS, without forking.
21793 as_fn_set_status ()
21795 return $1
21796 } # as_fn_set_status
21798 # as_fn_exit STATUS
21799 # -----------------
21800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21801 as_fn_exit ()
21803 set +e
21804 as_fn_set_status $1
21805 exit $1
21806 } # as_fn_exit
21808 # as_fn_unset VAR
21809 # ---------------
21810 # Portably unset VAR.
21811 as_fn_unset ()
21813 { eval $1=; unset $1;}
21815 as_unset=as_fn_unset
21816 # as_fn_append VAR VALUE
21817 # ----------------------
21818 # Append the text in VALUE to the end of the definition contained in VAR. Take
21819 # advantage of any shell optimizations that allow amortized linear growth over
21820 # repeated appends, instead of the typical quadratic growth present in naive
21821 # implementations.
21822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21823 eval 'as_fn_append ()
21825 eval $1+=\$2
21827 else
21828 as_fn_append ()
21830 eval $1=\$$1\$2
21832 fi # as_fn_append
21834 # as_fn_arith ARG...
21835 # ------------------
21836 # Perform arithmetic evaluation on the ARGs, and store the result in the
21837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21838 # must be portable across $(()) and expr.
21839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21840 eval 'as_fn_arith ()
21842 as_val=$(( $* ))
21844 else
21845 as_fn_arith ()
21847 as_val=`expr "$@" || test $? -eq 1`
21849 fi # as_fn_arith
21852 if expr a : '\(a\)' >/dev/null 2>&1 &&
21853 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21854 as_expr=expr
21855 else
21856 as_expr=false
21859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21860 as_basename=basename
21861 else
21862 as_basename=false
21865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21866 as_dirname=dirname
21867 else
21868 as_dirname=false
21871 as_me=`$as_basename -- "$0" ||
21872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21873 X"$0" : 'X\(//\)$' \| \
21874 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21875 $as_echo X/"$0" |
21876 sed '/^.*\/\([^/][^/]*\)\/*$/{
21877 s//\1/
21880 /^X\/\(\/\/\)$/{
21881 s//\1/
21884 /^X\/\(\/\).*/{
21885 s//\1/
21888 s/.*/./; q'`
21890 # Avoid depending upon Character Ranges.
21891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21894 as_cr_digits='0123456789'
21895 as_cr_alnum=$as_cr_Letters$as_cr_digits
21897 ECHO_C= ECHO_N= ECHO_T=
21898 case `echo -n x` in #(((((
21899 -n*)
21900 case `echo 'xy\c'` in
21901 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21902 xy) ECHO_C='\c';;
21903 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21904 ECHO_T=' ';;
21905 esac;;
21907 ECHO_N='-n';;
21908 esac
21910 rm -f conf$$ conf$$.exe conf$$.file
21911 if test -d conf$$.dir; then
21912 rm -f conf$$.dir/conf$$.file
21913 else
21914 rm -f conf$$.dir
21915 mkdir conf$$.dir 2>/dev/null
21917 if (echo >conf$$.file) 2>/dev/null; then
21918 if ln -s conf$$.file conf$$ 2>/dev/null; then
21919 as_ln_s='ln -s'
21920 # ... but there are two gotchas:
21921 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21922 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21923 # In both cases, we have to default to `cp -pR'.
21924 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21925 as_ln_s='cp -pR'
21926 elif ln conf$$.file conf$$ 2>/dev/null; then
21927 as_ln_s=ln
21928 else
21929 as_ln_s='cp -pR'
21931 else
21932 as_ln_s='cp -pR'
21934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21935 rmdir conf$$.dir 2>/dev/null
21938 # as_fn_mkdir_p
21939 # -------------
21940 # Create "$as_dir" as a directory, including parents if necessary.
21941 as_fn_mkdir_p ()
21944 case $as_dir in #(
21945 -*) as_dir=./$as_dir;;
21946 esac
21947 test -d "$as_dir" || eval $as_mkdir_p || {
21948 as_dirs=
21949 while :; do
21950 case $as_dir in #(
21951 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21952 *) as_qdir=$as_dir;;
21953 esac
21954 as_dirs="'$as_qdir' $as_dirs"
21955 as_dir=`$as_dirname -- "$as_dir" ||
21956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21957 X"$as_dir" : 'X\(//\)[^/]' \| \
21958 X"$as_dir" : 'X\(//\)$' \| \
21959 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21960 $as_echo X"$as_dir" |
21961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21962 s//\1/
21965 /^X\(\/\/\)[^/].*/{
21966 s//\1/
21969 /^X\(\/\/\)$/{
21970 s//\1/
21973 /^X\(\/\).*/{
21974 s//\1/
21977 s/.*/./; q'`
21978 test -d "$as_dir" && break
21979 done
21980 test -z "$as_dirs" || eval "mkdir $as_dirs"
21981 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21984 } # as_fn_mkdir_p
21985 if mkdir -p . 2>/dev/null; then
21986 as_mkdir_p='mkdir -p "$as_dir"'
21987 else
21988 test -d ./-p && rmdir ./-p
21989 as_mkdir_p=false
21993 # as_fn_executable_p FILE
21994 # -----------------------
21995 # Test if FILE is an executable regular file.
21996 as_fn_executable_p ()
21998 test -f "$1" && test -x "$1"
21999 } # as_fn_executable_p
22000 as_test_x='test -x'
22001 as_executable_p=as_fn_executable_p
22003 # Sed expression to map a string onto a valid CPP name.
22004 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22006 # Sed expression to map a string onto a valid variable name.
22007 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22010 exec 6>&1
22011 ## ----------------------------------- ##
22012 ## Main body of $CONFIG_STATUS script. ##
22013 ## ----------------------------------- ##
22014 _ASEOF
22015 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22018 # Save the log message, to keep $0 and so on meaningful, and to
22019 # report actual input values of CONFIG_FILES etc. instead of their
22020 # values after options handling.
22021 ac_log="
22022 This file was extended by Wine $as_me 5.9, which was
22023 generated by GNU Autoconf 2.69. Invocation command line was
22025 CONFIG_FILES = $CONFIG_FILES
22026 CONFIG_HEADERS = $CONFIG_HEADERS
22027 CONFIG_LINKS = $CONFIG_LINKS
22028 CONFIG_COMMANDS = $CONFIG_COMMANDS
22029 $ $0 $@
22031 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22034 _ACEOF
22036 case $ac_config_files in *"
22037 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22038 esac
22040 case $ac_config_headers in *"
22041 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22042 esac
22045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22046 # Files that config.status was made for.
22047 config_files="$ac_config_files"
22048 config_headers="$ac_config_headers"
22049 config_links="$ac_config_links"
22050 config_commands="$ac_config_commands"
22052 _ACEOF
22054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22055 ac_cs_usage="\
22056 \`$as_me' instantiates files and other configuration actions
22057 from templates according to the current configuration. Unless the files
22058 and actions are specified as TAGs, all are instantiated by default.
22060 Usage: $0 [OPTION]... [TAG]...
22062 -h, --help print this help, then exit
22063 -V, --version print version number and configuration settings, then exit
22064 --config print configuration, then exit
22065 -q, --quiet, --silent
22066 do not print progress messages
22067 -d, --debug don't remove temporary files
22068 --recheck update $as_me by reconfiguring in the same conditions
22069 --file=FILE[:TEMPLATE]
22070 instantiate the configuration file FILE
22071 --header=FILE[:TEMPLATE]
22072 instantiate the configuration header FILE
22074 Configuration files:
22075 $config_files
22077 Configuration headers:
22078 $config_headers
22080 Configuration links:
22081 $config_links
22083 Configuration commands:
22084 $config_commands
22086 Report bugs to <wine-devel@winehq.org>.
22087 Wine home page: <https://www.winehq.org>."
22089 _ACEOF
22090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22091 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22092 ac_cs_version="\\
22093 Wine config.status 5.9
22094 configured by $0, generated by GNU Autoconf 2.69,
22095 with options \\"\$ac_cs_config\\"
22097 Copyright (C) 2012 Free Software Foundation, Inc.
22098 This config.status script is free software; the Free Software Foundation
22099 gives unlimited permission to copy, distribute and modify it."
22101 ac_pwd='$ac_pwd'
22102 srcdir='$srcdir'
22103 test -n "\$AWK" || AWK=awk
22104 _ACEOF
22106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22107 # The default lists apply if the user does not specify any file.
22108 ac_need_defaults=:
22109 while test $# != 0
22111 case $1 in
22112 --*=?*)
22113 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22114 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22115 ac_shift=:
22117 --*=)
22118 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22119 ac_optarg=
22120 ac_shift=:
22123 ac_option=$1
22124 ac_optarg=$2
22125 ac_shift=shift
22127 esac
22129 case $ac_option in
22130 # Handling of the options.
22131 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22132 ac_cs_recheck=: ;;
22133 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22134 $as_echo "$ac_cs_version"; exit ;;
22135 --config | --confi | --conf | --con | --co | --c )
22136 $as_echo "$ac_cs_config"; exit ;;
22137 --debug | --debu | --deb | --de | --d | -d )
22138 debug=: ;;
22139 --file | --fil | --fi | --f )
22140 $ac_shift
22141 case $ac_optarg in
22142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22143 '') as_fn_error $? "missing file argument" ;;
22144 esac
22145 as_fn_append CONFIG_FILES " '$ac_optarg'"
22146 ac_need_defaults=false;;
22147 --header | --heade | --head | --hea )
22148 $ac_shift
22149 case $ac_optarg in
22150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22151 esac
22152 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22153 ac_need_defaults=false;;
22154 --he | --h)
22155 # Conflict between --help and --header
22156 as_fn_error $? "ambiguous option: \`$1'
22157 Try \`$0 --help' for more information.";;
22158 --help | --hel | -h )
22159 $as_echo "$ac_cs_usage"; exit ;;
22160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22161 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22162 ac_cs_silent=: ;;
22164 # This is an error.
22165 -*) as_fn_error $? "unrecognized option: \`$1'
22166 Try \`$0 --help' for more information." ;;
22168 *) as_fn_append ac_config_targets " $1"
22169 ac_need_defaults=false ;;
22171 esac
22172 shift
22173 done
22175 ac_configure_extra_args=
22177 if $ac_cs_silent; then
22178 exec 6>/dev/null
22179 ac_configure_extra_args="$ac_configure_extra_args --silent"
22182 _ACEOF
22183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22184 if \$ac_cs_recheck; then
22185 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22186 shift
22187 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22188 CONFIG_SHELL='$SHELL'
22189 export CONFIG_SHELL
22190 exec "\$@"
22193 _ACEOF
22194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22195 exec 5>>config.log
22197 echo
22198 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22199 ## Running $as_me. ##
22200 _ASBOX
22201 $as_echo "$ac_log"
22202 } >&5
22204 _ACEOF
22205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22207 # INIT-COMMANDS
22209 wine_fn_output_makedep ()
22211 as_dir=tools; as_fn_mkdir_p
22212 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22214 wine_fn_output_makefile ()
22216 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22217 `cat $wine_rules_file`
22218 _WINE_EOF
22219 as_fn_error $? "could not create Makefile" "$LINENO" 5
22222 _ACEOF
22224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22226 # Handling of arguments.
22227 for ac_config_target in $ac_config_targets
22229 case $ac_config_target in
22230 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22231 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22232 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22233 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22234 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22235 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22236 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22238 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22239 esac
22240 done
22243 # If the user did not use the arguments to specify the items to instantiate,
22244 # then the envvar interface is used. Set only those that are not.
22245 # We use the long form for the default assignment because of an extremely
22246 # bizarre bug on SunOS 4.1.3.
22247 if $ac_need_defaults; then
22248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22250 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22251 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22254 # Have a temporary directory for convenience. Make it in the build tree
22255 # simply because there is no reason against having it here, and in addition,
22256 # creating and moving files from /tmp can sometimes cause problems.
22257 # Hook for its removal unless debugging.
22258 # Note that there is a small window in which the directory will not be cleaned:
22259 # after its creation but before its name has been assigned to `$tmp'.
22260 $debug ||
22262 tmp= ac_tmp=
22263 trap 'exit_status=$?
22264 : "${ac_tmp:=$tmp}"
22265 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22267 trap 'as_fn_exit 1' 1 2 13 15
22269 # Create a (secure) tmp directory for tmp files.
22272 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22273 test -d "$tmp"
22274 } ||
22276 tmp=./conf$$-$RANDOM
22277 (umask 077 && mkdir "$tmp")
22278 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22279 ac_tmp=$tmp
22281 # Set up the scripts for CONFIG_FILES section.
22282 # No need to generate them if there are no CONFIG_FILES.
22283 # This happens for instance with `./config.status config.h'.
22284 if test -n "$CONFIG_FILES"; then
22287 ac_cr=`echo X | tr X '\015'`
22288 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22289 # But we know of no other shell where ac_cr would be empty at this
22290 # point, so we can use a bashism as a fallback.
22291 if test "x$ac_cr" = x; then
22292 eval ac_cr=\$\'\\r\'
22294 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22295 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22296 ac_cs_awk_cr='\\r'
22297 else
22298 ac_cs_awk_cr=$ac_cr
22301 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22302 _ACEOF
22306 echo "cat >conf$$subs.awk <<_ACEOF" &&
22307 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22308 echo "_ACEOF"
22309 } >conf$$subs.sh ||
22310 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22311 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22312 ac_delim='%!_!# '
22313 for ac_last_try in false false false false false :; do
22314 . ./conf$$subs.sh ||
22315 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22317 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22318 if test $ac_delim_n = $ac_delim_num; then
22319 break
22320 elif $ac_last_try; then
22321 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22322 else
22323 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22325 done
22326 rm -f conf$$subs.sh
22328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22329 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22330 _ACEOF
22331 sed -n '
22333 s/^/S["/; s/!.*/"]=/
22336 s/^[^!]*!//
22337 :repl
22338 t repl
22339 s/'"$ac_delim"'$//
22340 t delim
22343 s/\(.\{148\}\)..*/\1/
22344 t more1
22345 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22348 b repl
22349 :more1
22350 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22353 s/.\{148\}//
22354 t nl
22355 :delim
22357 s/\(.\{148\}\)..*/\1/
22358 t more2
22359 s/["\\]/\\&/g; s/^/"/; s/$/"/
22362 :more2
22363 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22366 s/.\{148\}//
22367 t delim
22368 ' <conf$$subs.awk | sed '
22369 /^[^""]/{
22371 s/\n//
22373 ' >>$CONFIG_STATUS || ac_write_fail=1
22374 rm -f conf$$subs.awk
22375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22376 _ACAWK
22377 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22378 for (key in S) S_is_set[key] = 1
22379 FS = "\a"
22383 line = $ 0
22384 nfields = split(line, field, "@")
22385 substed = 0
22386 len = length(field[1])
22387 for (i = 2; i < nfields; i++) {
22388 key = field[i]
22389 keylen = length(key)
22390 if (S_is_set[key]) {
22391 value = S[key]
22392 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22393 len += length(value) + length(field[++i])
22394 substed = 1
22395 } else
22396 len += 1 + keylen
22399 print line
22402 _ACAWK
22403 _ACEOF
22404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22405 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22406 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22407 else
22409 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22410 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22411 _ACEOF
22413 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22414 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22415 # trailing colons and then remove the whole line if VPATH becomes empty
22416 # (actually we leave an empty line to preserve line numbers).
22417 if test "x$srcdir" = x.; then
22418 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22420 s///
22421 s/^/:/
22422 s/[ ]*$/:/
22423 s/:\$(srcdir):/:/g
22424 s/:\${srcdir}:/:/g
22425 s/:@srcdir@:/:/g
22426 s/^:*//
22427 s/:*$//
22429 s/\(=[ ]*\).*/\1/
22431 s/\n//
22432 s/^[^=]*=[ ]*$//
22436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22437 fi # test -n "$CONFIG_FILES"
22439 # Set up the scripts for CONFIG_HEADERS section.
22440 # No need to generate them if there are no CONFIG_HEADERS.
22441 # This happens for instance with `./config.status Makefile'.
22442 if test -n "$CONFIG_HEADERS"; then
22443 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22444 BEGIN {
22445 _ACEOF
22447 # Transform confdefs.h into an awk script `defines.awk', embedded as
22448 # here-document in config.status, that substitutes the proper values into
22449 # config.h.in to produce config.h.
22451 # Create a delimiter string that does not exist in confdefs.h, to ease
22452 # handling of long lines.
22453 ac_delim='%!_!# '
22454 for ac_last_try in false false :; do
22455 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22456 if test -z "$ac_tt"; then
22457 break
22458 elif $ac_last_try; then
22459 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22460 else
22461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22463 done
22465 # For the awk script, D is an array of macro values keyed by name,
22466 # likewise P contains macro parameters if any. Preserve backslash
22467 # newline sequences.
22469 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22470 sed -n '
22471 s/.\{148\}/&'"$ac_delim"'/g
22472 t rset
22473 :rset
22474 s/^[ ]*#[ ]*define[ ][ ]*/ /
22475 t def
22477 :def
22478 s/\\$//
22479 t bsnl
22480 s/["\\]/\\&/g
22481 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22482 D["\1"]=" \3"/p
22483 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22485 :bsnl
22486 s/["\\]/\\&/g
22487 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22488 D["\1"]=" \3\\\\\\n"\\/p
22489 t cont
22490 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22491 t cont
22493 :cont
22495 s/.\{148\}/&'"$ac_delim"'/g
22496 t clear
22497 :clear
22498 s/\\$//
22499 t bsnlc
22500 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22502 :bsnlc
22503 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22504 b cont
22505 ' <confdefs.h | sed '
22506 s/'"$ac_delim"'/"\\\
22507 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22510 for (key in D) D_is_set[key] = 1
22511 FS = "\a"
22513 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22514 line = \$ 0
22515 split(line, arg, " ")
22516 if (arg[1] == "#") {
22517 defundef = arg[2]
22518 mac1 = arg[3]
22519 } else {
22520 defundef = substr(arg[1], 2)
22521 mac1 = arg[2]
22523 split(mac1, mac2, "(") #)
22524 macro = mac2[1]
22525 prefix = substr(line, 1, index(line, defundef) - 1)
22526 if (D_is_set[macro]) {
22527 # Preserve the white space surrounding the "#".
22528 print prefix "define", macro P[macro] D[macro]
22529 next
22530 } else {
22531 # Replace #undef with comments. This is necessary, for example,
22532 # in the case of _POSIX_SOURCE, which is predefined and required
22533 # on some systems where configure will not decide to define it.
22534 if (defundef == "undef") {
22535 print "/*", prefix defundef, macro, "*/"
22536 next
22540 { print }
22541 _ACAWK
22542 _ACEOF
22543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22544 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22545 fi # test -n "$CONFIG_HEADERS"
22548 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22549 shift
22550 for ac_tag
22552 case $ac_tag in
22553 :[FHLC]) ac_mode=$ac_tag; continue;;
22554 esac
22555 case $ac_mode$ac_tag in
22556 :[FHL]*:*);;
22557 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22558 :[FH]-) ac_tag=-:-;;
22559 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22560 esac
22561 ac_save_IFS=$IFS
22562 IFS=:
22563 set x $ac_tag
22564 IFS=$ac_save_IFS
22565 shift
22566 ac_file=$1
22567 shift
22569 case $ac_mode in
22570 :L) ac_source=$1;;
22571 :[FH])
22572 ac_file_inputs=
22573 for ac_f
22575 case $ac_f in
22576 -) ac_f="$ac_tmp/stdin";;
22577 *) # Look for the file first in the build tree, then in the source tree
22578 # (if the path is not absolute). The absolute path cannot be DOS-style,
22579 # because $ac_f cannot contain `:'.
22580 test -f "$ac_f" ||
22581 case $ac_f in
22582 [\\/$]*) false;;
22583 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22584 esac ||
22585 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22586 esac
22587 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22588 as_fn_append ac_file_inputs " '$ac_f'"
22589 done
22591 # Let's still pretend it is `configure' which instantiates (i.e., don't
22592 # use $as_me), people would be surprised to read:
22593 # /* config.h. Generated by config.status. */
22594 configure_input='Generated from '`
22595 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22596 `' by configure.'
22597 if test x"$ac_file" != x-; then
22598 configure_input="$ac_file. $configure_input"
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22600 $as_echo "$as_me: creating $ac_file" >&6;}
22602 # Neutralize special characters interpreted by sed in replacement strings.
22603 case $configure_input in #(
22604 *\&* | *\|* | *\\* )
22605 ac_sed_conf_input=`$as_echo "$configure_input" |
22606 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22607 *) ac_sed_conf_input=$configure_input;;
22608 esac
22610 case $ac_tag in
22611 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22612 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22613 esac
22615 esac
22617 ac_dir=`$as_dirname -- "$ac_file" ||
22618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22619 X"$ac_file" : 'X\(//\)[^/]' \| \
22620 X"$ac_file" : 'X\(//\)$' \| \
22621 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22622 $as_echo X"$ac_file" |
22623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22624 s//\1/
22627 /^X\(\/\/\)[^/].*/{
22628 s//\1/
22631 /^X\(\/\/\)$/{
22632 s//\1/
22635 /^X\(\/\).*/{
22636 s//\1/
22639 s/.*/./; q'`
22640 as_dir="$ac_dir"; as_fn_mkdir_p
22641 ac_builddir=.
22643 case "$ac_dir" in
22644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22647 # A ".." for each directory in $ac_dir_suffix.
22648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22649 case $ac_top_builddir_sub in
22650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22652 esac ;;
22653 esac
22654 ac_abs_top_builddir=$ac_pwd
22655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22656 # for backward compatibility:
22657 ac_top_builddir=$ac_top_build_prefix
22659 case $srcdir in
22660 .) # We are building in place.
22661 ac_srcdir=.
22662 ac_top_srcdir=$ac_top_builddir_sub
22663 ac_abs_top_srcdir=$ac_pwd ;;
22664 [\\/]* | ?:[\\/]* ) # Absolute name.
22665 ac_srcdir=$srcdir$ac_dir_suffix;
22666 ac_top_srcdir=$srcdir
22667 ac_abs_top_srcdir=$srcdir ;;
22668 *) # Relative name.
22669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22670 ac_top_srcdir=$ac_top_build_prefix$srcdir
22671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22672 esac
22673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22676 case $ac_mode in
22679 # CONFIG_FILE
22682 _ACEOF
22684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22685 # If the template does not know about datarootdir, expand it.
22686 # FIXME: This hack should be removed a few years after 2.60.
22687 ac_datarootdir_hack=; ac_datarootdir_seen=
22688 ac_sed_dataroot='
22689 /datarootdir/ {
22693 /@datadir@/p
22694 /@docdir@/p
22695 /@infodir@/p
22696 /@localedir@/p
22697 /@mandir@/p'
22698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22699 *datarootdir*) ac_datarootdir_seen=yes;;
22700 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22703 _ACEOF
22704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22705 ac_datarootdir_hack='
22706 s&@datadir@&$datadir&g
22707 s&@docdir@&$docdir&g
22708 s&@infodir@&$infodir&g
22709 s&@localedir@&$localedir&g
22710 s&@mandir@&$mandir&g
22711 s&\\\${datarootdir}&$datarootdir&g' ;;
22712 esac
22713 _ACEOF
22715 # Neutralize VPATH when `$srcdir' = `.'.
22716 # Shell code in configure.ac might set extrasub.
22717 # FIXME: do we really want to maintain this feature?
22718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22719 ac_sed_extra="$ac_vpsub
22720 $extrasub
22721 _ACEOF
22722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22725 s|@configure_input@|$ac_sed_conf_input|;t t
22726 s&@top_builddir@&$ac_top_builddir_sub&;t t
22727 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22728 s&@srcdir@&$ac_srcdir&;t t
22729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22730 s&@top_srcdir@&$ac_top_srcdir&;t t
22731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22732 s&@builddir@&$ac_builddir&;t t
22733 s&@abs_builddir@&$ac_abs_builddir&;t t
22734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22735 $ac_datarootdir_hack
22737 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22738 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22740 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22741 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22742 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22743 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22745 which seems to be undefined. Please make sure it is defined" >&5
22746 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22747 which seems to be undefined. Please make sure it is defined" >&2;}
22749 rm -f "$ac_tmp/stdin"
22750 case $ac_file in
22751 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22752 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22753 esac \
22754 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22758 # CONFIG_HEADER
22760 if test x"$ac_file" != x-; then
22762 $as_echo "/* $configure_input */" \
22763 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22764 } >"$ac_tmp/config.h" \
22765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22766 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22768 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22769 else
22770 rm -f "$ac_file"
22771 mv "$ac_tmp/config.h" "$ac_file" \
22772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22774 else
22775 $as_echo "/* $configure_input */" \
22776 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22777 || as_fn_error $? "could not create -" "$LINENO" 5
22782 # CONFIG_LINK
22785 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22787 else
22788 # Prefer the file from the source tree if names are identical.
22789 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22790 ac_source=$srcdir/$ac_source
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22794 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22796 if test ! -r "$ac_source"; then
22797 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22799 rm -f "$ac_file"
22801 # Try a relative symlink, then a hard link, then a copy.
22802 case $ac_source in
22803 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22804 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22805 esac
22806 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22807 ln "$ac_source" "$ac_file" 2>/dev/null ||
22808 cp -p "$ac_source" "$ac_file" ||
22809 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22812 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22813 $as_echo "$as_me: executing $ac_file commands" >&6;}
22815 esac
22818 case $ac_file$ac_mode in
22819 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22820 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22821 "Makefile":C) wine_fn_output_makefile Makefile ;;
22823 esac
22824 done # for ac_tag
22827 as_fn_exit 0
22828 _ACEOF
22829 ac_clean_files=$ac_clean_files_save
22831 test $ac_write_fail = 0 ||
22832 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22835 # configure is writing to config.log, and then calls config.status.
22836 # config.status does its own redirection, appending to config.log.
22837 # Unfortunately, on DOS this fails, as config.log is still kept open
22838 # by configure, so config.status won't be able to write to it; its
22839 # output is simply discarded. So we exec the FD to /dev/null,
22840 # effectively closing config.log, so it can be properly (re)opened and
22841 # appended to by config.status. When coming back to configure, we
22842 # need to make the FD available again.
22843 if test "$no_create" != yes; then
22844 ac_cs_success=:
22845 ac_config_status_args=
22846 test "$silent" = yes &&
22847 ac_config_status_args="$ac_config_status_args --quiet"
22848 exec 5>/dev/null
22849 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22850 exec 5>>config.log
22851 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22852 # would make configure fail if this is the last instruction.
22853 $ac_cs_success || as_fn_exit 1
22855 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22857 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22861 if test "$no_create" = "yes"
22862 then
22863 exit 0
22866 ac_save_IFS="$IFS"
22867 if test "x$wine_notices" != x; then
22868 echo >&6
22869 IFS="|"
22870 for msg in $wine_notices; do
22871 IFS="$ac_save_IFS"
22872 if ${msg:+false} :; then :
22874 else
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22876 $as_echo "$as_me: $msg" >&6;}
22878 done
22880 IFS="|"
22881 for msg in $wine_warnings; do
22882 IFS="$ac_save_IFS"
22883 if ${msg:+false} :; then :
22885 else
22886 echo >&2
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22888 $as_echo "$as_me: WARNING: $msg" >&2;}
22890 done
22891 IFS="$ac_save_IFS"
22893 $as_echo "
22894 $as_me: Finished. Do '${ac_make}' to compile Wine.
22895 " >&6