vbscript/tests: Add tests for persistent named items.
[wine.git] / configure
blob1bde1100b9f0ee5f396ab2d016be0bd402794390
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.4'
584 PACKAGE_STRING='Wine 5.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_zlib
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dswave
1271 enable_dwmapi
1272 enable_dwrite
1273 enable_dx8vb
1274 enable_dxdiagn
1275 enable_dxerr8
1276 enable_dxerr9
1277 enable_dxgi
1278 enable_dxguid
1279 enable_dxva2
1280 enable_esent
1281 enable_evr
1282 enable_explorerframe
1283 enable_ext_ms_win_authz_context_l1_1_0
1284 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1285 enable_ext_ms_win_dwmapi_ext_l1_1_0
1286 enable_ext_ms_win_gdi_dc_create_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_1
1288 enable_ext_ms_win_gdi_dc_l1_2_0
1289 enable_ext_ms_win_gdi_devcaps_l1_1_0
1290 enable_ext_ms_win_gdi_draw_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_1
1292 enable_ext_ms_win_gdi_font_l1_1_0
1293 enable_ext_ms_win_gdi_font_l1_1_1
1294 enable_ext_ms_win_gdi_render_l1_1_0
1295 enable_ext_ms_win_kernel32_package_current_l1_1_0
1296 enable_ext_ms_win_kernel32_package_l1_1_1
1297 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1298 enable_ext_ms_win_ntuser_draw_l1_1_0
1299 enable_ext_ms_win_ntuser_gui_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_3_0
1301 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1302 enable_ext_ms_win_ntuser_message_l1_1_0
1303 enable_ext_ms_win_ntuser_message_l1_1_1
1304 enable_ext_ms_win_ntuser_misc_l1_1_0
1305 enable_ext_ms_win_ntuser_misc_l1_2_0
1306 enable_ext_ms_win_ntuser_misc_l1_5_1
1307 enable_ext_ms_win_ntuser_mouse_l1_1_0
1308 enable_ext_ms_win_ntuser_private_l1_1_1
1309 enable_ext_ms_win_ntuser_private_l1_3_1
1310 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1311 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_window_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_1
1314 enable_ext_ms_win_ntuser_window_l1_1_4
1315 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1317 enable_ext_ms_win_oleacc_l1_1_0
1318 enable_ext_ms_win_ras_rasapi32_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1326 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1329 enable_ext_ms_win_security_credui_l1_1_0
1330 enable_ext_ms_win_security_cryptui_l1_1_0
1331 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1332 enable_ext_ms_win_shell_comdlg32_l1_1_0
1333 enable_ext_ms_win_shell_shell32_l1_2_0
1334 enable_ext_ms_win_uxtheme_themes_l1_1_0
1335 enable_faultrep
1336 enable_feclient
1337 enable_fltlib
1338 enable_fltmgr_sys
1339 enable_fntcache
1340 enable_fontsub
1341 enable_fusion
1342 enable_fwpuclnt
1343 enable_gameux
1344 enable_gdi32
1345 enable_gdiplus
1346 enable_glu32
1347 enable_gphoto2_ds
1348 enable_gpkcsp
1349 enable_hal
1350 enable_hhctrl_ocx
1351 enable_hid
1352 enable_hidclass_sys
1353 enable_hlink
1354 enable_hnetcfg
1355 enable_http_sys
1356 enable_httpapi
1357 enable_iccvid
1358 enable_icmp
1359 enable_ieframe
1360 enable_ieproxy
1361 enable_imaadp32_acm
1362 enable_imagehlp
1363 enable_imm32
1364 enable_inetcomm
1365 enable_inetcpl_cpl
1366 enable_inetmib1
1367 enable_infosoft
1368 enable_initpki
1369 enable_inkobj
1370 enable_inseng
1371 enable_iphlpapi
1372 enable_iprop
1373 enable_irprops_cpl
1374 enable_itircl
1375 enable_itss
1376 enable_joy_cpl
1377 enable_jscript
1378 enable_jsproxy
1379 enable_kerberos
1380 enable_kernel32
1381 enable_kernelbase
1382 enable_ksecdd_sys
1383 enable_ksuser
1384 enable_ktmw32
1385 enable_l3codeca_acm
1386 enable_loadperf
1387 enable_localspl
1388 enable_localui
1389 enable_lz32
1390 enable_mapi32
1391 enable_mapistub
1392 enable_mciavi32
1393 enable_mcicda
1394 enable_mciqtz32
1395 enable_mciseq
1396 enable_mciwave
1397 enable_mf
1398 enable_mf3216
1399 enable_mferror
1400 enable_mfmediaengine
1401 enable_mfplat
1402 enable_mfplay
1403 enable_mfreadwrite
1404 enable_mfuuid
1405 enable_mgmtapi
1406 enable_midimap
1407 enable_mlang
1408 enable_mmcndmgr
1409 enable_mmdevapi
1410 enable_mountmgr_sys
1411 enable_mp3dmod
1412 enable_mpr
1413 enable_mprapi
1414 enable_msacm32_drv
1415 enable_msacm32
1416 enable_msado15
1417 enable_msadp32_acm
1418 enable_msasn1
1419 enable_mscat32
1420 enable_mscms
1421 enable_mscoree
1422 enable_mscorwks
1423 enable_msctf
1424 enable_msctfp
1425 enable_msdaps
1426 enable_msdelta
1427 enable_msdmo
1428 enable_msdrm
1429 enable_msftedit
1430 enable_msg711_acm
1431 enable_msgsm32_acm
1432 enable_mshtml_tlb
1433 enable_mshtml
1434 enable_msi
1435 enable_msident
1436 enable_msimg32
1437 enable_msimsg
1438 enable_msimtf
1439 enable_msisip
1440 enable_msisys_ocx
1441 enable_msls31
1442 enable_msnet32
1443 enable_mspatcha
1444 enable_msports
1445 enable_msrle32
1446 enable_msscript_ocx
1447 enable_mssign32
1448 enable_mssip32
1449 enable_mstask
1450 enable_msvcirt
1451 enable_msvcm80
1452 enable_msvcm90
1453 enable_msvcp100
1454 enable_msvcp110
1455 enable_msvcp120
1456 enable_msvcp120_app
1457 enable_msvcp140
1458 enable_msvcp60
1459 enable_msvcp70
1460 enable_msvcp71
1461 enable_msvcp80
1462 enable_msvcp90
1463 enable_msvcr100
1464 enable_msvcr110
1465 enable_msvcr120
1466 enable_msvcr120_app
1467 enable_msvcr70
1468 enable_msvcr71
1469 enable_msvcr80
1470 enable_msvcr90
1471 enable_msvcrt
1472 enable_msvcrt20
1473 enable_msvcrt40
1474 enable_msvcrtd
1475 enable_msvfw32
1476 enable_msvidc32
1477 enable_mswsock
1478 enable_msxml
1479 enable_msxml2
1480 enable_msxml3
1481 enable_msxml4
1482 enable_msxml6
1483 enable_mtxdm
1484 enable_ncrypt
1485 enable_nddeapi
1486 enable_ndis_sys
1487 enable_netapi32
1488 enable_netcfgx
1489 enable_netprofm
1490 enable_newdev
1491 enable_ninput
1492 enable_normaliz
1493 enable_npmshtml
1494 enable_npptools
1495 enable_ntdll
1496 enable_ntdsapi
1497 enable_ntoskrnl_exe
1498 enable_ntprint
1499 enable_objsel
1500 enable_odbc32
1501 enable_odbcbcp
1502 enable_odbccp32
1503 enable_odbccu32
1504 enable_ole32
1505 enable_oleacc
1506 enable_oleaut32
1507 enable_olecli32
1508 enable_oledb32
1509 enable_oledlg
1510 enable_olepro32
1511 enable_olesvr32
1512 enable_olethk32
1513 enable_opcservices
1514 enable_openal32
1515 enable_opencl
1516 enable_opengl32
1517 enable_packager
1518 enable_pdh
1519 enable_photometadatahandler
1520 enable_pidgen
1521 enable_powrprof
1522 enable_printui
1523 enable_prntvpt
1524 enable_propsys
1525 enable_psapi
1526 enable_pstorec
1527 enable_qasf
1528 enable_qcap
1529 enable_qedit
1530 enable_qmgr
1531 enable_qmgrprxy
1532 enable_quartz
1533 enable_query
1534 enable_qwave
1535 enable_rasapi32
1536 enable_rasdlg
1537 enable_regapi
1538 enable_resutils
1539 enable_riched20
1540 enable_riched32
1541 enable_rpcrt4
1542 enable_rsabase
1543 enable_rsaenh
1544 enable_rstrtmgr
1545 enable_rtutils
1546 enable_rtworkq
1547 enable_samlib
1548 enable_sane_ds
1549 enable_sapi
1550 enable_sas
1551 enable_scarddlg
1552 enable_sccbase
1553 enable_schannel
1554 enable_schedsvc
1555 enable_scrobj
1556 enable_scrrun
1557 enable_scsiport_sys
1558 enable_secur32
1559 enable_security
1560 enable_sensapi
1561 enable_serialui
1562 enable_setupapi
1563 enable_sfc
1564 enable_sfc_os
1565 enable_shcore
1566 enable_shdoclc
1567 enable_shdocvw
1568 enable_shell32
1569 enable_shfolder
1570 enable_shlwapi
1571 enable_slbcsp
1572 enable_slc
1573 enable_snmpapi
1574 enable_softpub
1575 enable_spoolss
1576 enable_srclient
1577 enable_sspicli
1578 enable_stdole2_tlb
1579 enable_stdole32_tlb
1580 enable_sti
1581 enable_strmbase
1582 enable_strmdll
1583 enable_strmiids
1584 enable_svrapi
1585 enable_sxs
1586 enable_t2embed
1587 enable_tapi32
1588 enable_taskschd
1589 enable_tdh
1590 enable_tdi_sys
1591 enable_traffic
1592 enable_twain_32
1593 enable_tzres
1594 enable_ucrtbase
1595 enable_uianimation
1596 enable_uiautomationcore
1597 enable_uiribbon
1598 enable_unicows
1599 enable_updspapi
1600 enable_url
1601 enable_urlmon
1602 enable_usbd_sys
1603 enable_user32
1604 enable_userenv
1605 enable_usp10
1606 enable_utildll
1607 enable_uuid
1608 enable_uxtheme
1609 enable_vbscript
1610 enable_vcomp
1611 enable_vcomp100
1612 enable_vcomp110
1613 enable_vcomp120
1614 enable_vcomp140
1615 enable_vcomp90
1616 enable_vcruntime140
1617 enable_vcruntime140_1
1618 enable_vdmdbg
1619 enable_version
1620 enable_vga
1621 enable_virtdisk
1622 enable_vssapi
1623 enable_vulkan_1
1624 enable_wbemdisp
1625 enable_wbemprox
1626 enable_wbemuuid
1627 enable_wdscore
1628 enable_webservices
1629 enable_wer
1630 enable_wevtapi
1631 enable_wiaservc
1632 enable_wimgapi
1633 enable_windowscodecs
1634 enable_windowscodecsext
1635 enable_winealsa_drv
1636 enable_wineandroid_drv
1637 enable_winebus_sys
1638 enable_winecoreaudio_drv
1639 enable_winecrt0
1640 enable_wined3d
1641 enable_winegstreamer
1642 enable_winehid_sys
1643 enable_winejoystick_drv
1644 enable_winemac_drv
1645 enable_winemapi
1646 enable_wineoss_drv
1647 enable_wineps_drv
1648 enable_winepulse_drv
1649 enable_wineqtdecoder
1650 enable_winevulkan
1651 enable_winex11_drv
1652 enable_wing32
1653 enable_winhttp
1654 enable_wininet
1655 enable_winmm
1656 enable_winnls32
1657 enable_winscard
1658 enable_winspool_drv
1659 enable_winsta
1660 enable_wintab32
1661 enable_wintrust
1662 enable_winusb
1663 enable_wlanapi
1664 enable_wlanui
1665 enable_wldap32
1666 enable_wmasf
1667 enable_wmcodecdspuuid
1668 enable_wmi
1669 enable_wmiutils
1670 enable_wmp
1671 enable_wmphoto
1672 enable_wmvcore
1673 enable_wnaspi32
1674 enable_wpc
1675 enable_wpcap
1676 enable_ws2_32
1677 enable_wsdapi
1678 enable_wshom_ocx
1679 enable_wsnmp32
1680 enable_wsock32
1681 enable_wtsapi32
1682 enable_wuapi
1683 enable_wuaueng
1684 enable_x3daudio1_0
1685 enable_x3daudio1_1
1686 enable_x3daudio1_2
1687 enable_x3daudio1_3
1688 enable_x3daudio1_4
1689 enable_x3daudio1_5
1690 enable_x3daudio1_6
1691 enable_x3daudio1_7
1692 enable_xapofx1_1
1693 enable_xapofx1_2
1694 enable_xapofx1_3
1695 enable_xapofx1_4
1696 enable_xapofx1_5
1697 enable_xaudio2_0
1698 enable_xaudio2_1
1699 enable_xaudio2_2
1700 enable_xaudio2_3
1701 enable_xaudio2_4
1702 enable_xaudio2_5
1703 enable_xaudio2_6
1704 enable_xaudio2_7
1705 enable_xaudio2_8
1706 enable_xaudio2_9
1707 enable_xinput1_1
1708 enable_xinput1_2
1709 enable_xinput1_3
1710 enable_xinput1_4
1711 enable_xinput9_1_0
1712 enable_xmllite
1713 enable_xolehlp
1714 enable_xpsprint
1715 enable_xpssvcs
1716 enable_fonts
1717 enable_include
1718 enable_port
1719 enable_wine
1720 enable_wpp
1721 enable_loader
1722 enable_nls
1723 enable_po
1724 enable_arp
1725 enable_aspnet_regiis
1726 enable_attrib
1727 enable_cabarc
1728 enable_cacls
1729 enable_chcp_com
1730 enable_clock
1731 enable_cmd
1732 enable_conhost
1733 enable_control
1734 enable_cscript
1735 enable_dism
1736 enable_dpnsvr
1737 enable_dxdiag
1738 enable_eject
1739 enable_expand
1740 enable_explorer
1741 enable_extrac32
1742 enable_fc
1743 enable_find
1744 enable_findstr
1745 enable_fsutil
1746 enable_hh
1747 enable_hostname
1748 enable_icacls
1749 enable_icinfo
1750 enable_iexplore
1751 enable_ipconfig
1752 enable_lodctr
1753 enable_mofcomp
1754 enable_mshta
1755 enable_msidb
1756 enable_msiexec
1757 enable_msinfo32
1758 enable_net
1759 enable_netsh
1760 enable_netstat
1761 enable_ngen
1762 enable_notepad
1763 enable_oleview
1764 enable_ping
1765 enable_plugplay
1766 enable_powershell
1767 enable_presentationfontcache
1768 enable_progman
1769 enable_reg
1770 enable_regasm
1771 enable_regedit
1772 enable_regini
1773 enable_regsvcs
1774 enable_regsvr32
1775 enable_rpcss
1776 enable_rundll32
1777 enable_sc
1778 enable_schtasks
1779 enable_sdbinst
1780 enable_secedit
1781 enable_servicemodelreg
1782 enable_services
1783 enable_shutdown
1784 enable_spoolsv
1785 enable_start
1786 enable_subst
1787 enable_svchost
1788 enable_systeminfo
1789 enable_taskkill
1790 enable_tasklist
1791 enable_taskmgr
1792 enable_termsv
1793 enable_uninstaller
1794 enable_unlodctr
1795 enable_view
1796 enable_wevtutil
1797 enable_whoami
1798 enable_wineboot
1799 enable_winebrowser
1800 enable_winecfg
1801 enable_wineconsole
1802 enable_winedbg
1803 enable_winedevice
1804 enable_winefile
1805 enable_winemenubuilder
1806 enable_winemine
1807 enable_winemsibuilder
1808 enable_winepath
1809 enable_winetest
1810 enable_winhlp32
1811 enable_winmgmt
1812 enable_winver
1813 enable_wmic
1814 enable_wmplayer
1815 enable_wordpad
1816 enable_write
1817 enable_wscript
1818 enable_wuauserv
1819 enable_wusa
1820 enable_xcopy
1821 enable_server
1822 enable_tools
1823 enable_sfnt2fon
1824 enable_widl
1825 enable_winebuild
1826 enable_winedump
1827 enable_winegcc
1828 enable_winemaker
1829 enable_wmc
1830 enable_wrc
1832 ac_precious_vars='build_alias
1833 host_alias
1834 target_alias
1836 CFLAGS
1837 LDFLAGS
1838 LIBS
1839 CPPFLAGS
1841 CXXFLAGS
1844 OBJC
1845 OBJCFLAGS
1846 OBJCPP
1847 XMKMF
1848 XML2_CFLAGS
1849 XML2_LIBS
1850 XSLT_CFLAGS
1851 XSLT_LIBS
1852 INOTIFY_CFLAGS
1853 INOTIFY_LIBS
1854 DBUS_CFLAGS
1855 DBUS_LIBS
1856 HAL_CFLAGS
1857 HAL_LIBS
1858 GNUTLS_CFLAGS
1859 GNUTLS_LIBS
1860 SANE_CFLAGS
1861 SANE_LIBS
1862 GPHOTO2_CFLAGS
1863 GPHOTO2_LIBS
1864 GPHOTO2_PORT_CFLAGS
1865 GPHOTO2_PORT_LIBS
1866 LCMS2_CFLAGS
1867 LCMS2_LIBS
1868 FREETYPE_CFLAGS
1869 FREETYPE_LIBS
1870 Z_CFLAGS
1871 Z_LIBS
1872 PULSE_CFLAGS
1873 PULSE_LIBS
1874 GSTREAMER_CFLAGS
1875 GSTREAMER_LIBS
1876 UDEV_CFLAGS
1877 UDEV_LIBS
1878 UNWIND_CFLAGS
1879 UNWIND_LIBS
1880 SDL2_CFLAGS
1881 SDL2_LIBS
1882 FAUDIO_CFLAGS
1883 FAUDIO_LIBS
1884 CAPI20_CFLAGS
1885 CAPI20_LIBS
1886 CUPS_CFLAGS
1887 CUPS_LIBS
1888 FONTCONFIG_CFLAGS
1889 FONTCONFIG_LIBS
1890 KRB5_CFLAGS
1891 KRB5_LIBS
1892 GSSAPI_CFLAGS
1893 GSSAPI_LIBS
1894 JPEG_CFLAGS
1895 JPEG_LIBS
1896 PNG_CFLAGS
1897 PNG_LIBS
1898 TIFF_CFLAGS
1899 TIFF_LIBS
1900 MPG123_CFLAGS
1901 MPG123_LIBS
1902 NETAPI_CFLAGS
1903 NETAPI_LIBS
1904 VKD3D_CFLAGS
1905 VKD3D_LIBS
1906 LDAP_CFLAGS
1907 LDAP_LIBS'
1910 # Initialize some variables set by options.
1911 ac_init_help=
1912 ac_init_version=false
1913 ac_unrecognized_opts=
1914 ac_unrecognized_sep=
1915 # The variables have the same names as the options, with
1916 # dashes changed to underlines.
1917 cache_file=/dev/null
1918 exec_prefix=NONE
1919 no_create=
1920 no_recursion=
1921 prefix=NONE
1922 program_prefix=NONE
1923 program_suffix=NONE
1924 program_transform_name=s,x,x,
1925 silent=
1926 site=
1927 srcdir=
1928 verbose=
1929 x_includes=NONE
1930 x_libraries=NONE
1932 # Installation directory options.
1933 # These are left unexpanded so users can "make install exec_prefix=/foo"
1934 # and all the variables that are supposed to be based on exec_prefix
1935 # by default will actually change.
1936 # Use braces instead of parens because sh, perl, etc. also accept them.
1937 # (The list follows the same order as the GNU Coding Standards.)
1938 bindir='${exec_prefix}/bin'
1939 sbindir='${exec_prefix}/sbin'
1940 libexecdir='${exec_prefix}/libexec'
1941 datarootdir='${prefix}/share'
1942 datadir='${datarootdir}'
1943 sysconfdir='${prefix}/etc'
1944 sharedstatedir='${prefix}/com'
1945 localstatedir='${prefix}/var'
1946 runstatedir='${localstatedir}/run'
1947 includedir='${prefix}/include'
1948 oldincludedir='/usr/include'
1949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1950 infodir='${datarootdir}/info'
1951 htmldir='${docdir}'
1952 dvidir='${docdir}'
1953 pdfdir='${docdir}'
1954 psdir='${docdir}'
1955 libdir='${exec_prefix}/lib'
1956 localedir='${datarootdir}/locale'
1957 mandir='${datarootdir}/man'
1959 ac_prev=
1960 ac_dashdash=
1961 for ac_option
1963 # If the previous option needs an argument, assign it.
1964 if test -n "$ac_prev"; then
1965 eval $ac_prev=\$ac_option
1966 ac_prev=
1967 continue
1970 case $ac_option in
1971 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1972 *=) ac_optarg= ;;
1973 *) ac_optarg=yes ;;
1974 esac
1976 # Accept the important Cygnus configure options, so we can diagnose typos.
1978 case $ac_dashdash$ac_option in
1980 ac_dashdash=yes ;;
1982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1983 ac_prev=bindir ;;
1984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1985 bindir=$ac_optarg ;;
1987 -build | --build | --buil | --bui | --bu)
1988 ac_prev=build_alias ;;
1989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1990 build_alias=$ac_optarg ;;
1992 -cache-file | --cache-file | --cache-fil | --cache-fi \
1993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1994 ac_prev=cache_file ;;
1995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1997 cache_file=$ac_optarg ;;
1999 --config-cache | -C)
2000 cache_file=config.cache ;;
2002 -datadir | --datadir | --datadi | --datad)
2003 ac_prev=datadir ;;
2004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2005 datadir=$ac_optarg ;;
2007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2008 | --dataroo | --dataro | --datar)
2009 ac_prev=datarootdir ;;
2010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2012 datarootdir=$ac_optarg ;;
2014 -disable-* | --disable-*)
2015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2016 # Reject names that are not valid shell variable names.
2017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2018 as_fn_error $? "invalid feature name: $ac_useropt"
2019 ac_useropt_orig=$ac_useropt
2020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2021 case $ac_user_opts in
2023 "enable_$ac_useropt"
2024 "*) ;;
2025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2026 ac_unrecognized_sep=', ';;
2027 esac
2028 eval enable_$ac_useropt=no ;;
2030 -docdir | --docdir | --docdi | --doc | --do)
2031 ac_prev=docdir ;;
2032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2033 docdir=$ac_optarg ;;
2035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2036 ac_prev=dvidir ;;
2037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2038 dvidir=$ac_optarg ;;
2040 -enable-* | --enable-*)
2041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2042 # Reject names that are not valid shell variable names.
2043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2044 as_fn_error $? "invalid feature name: $ac_useropt"
2045 ac_useropt_orig=$ac_useropt
2046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2047 case $ac_user_opts in
2049 "enable_$ac_useropt"
2050 "*) ;;
2051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2052 ac_unrecognized_sep=', ';;
2053 esac
2054 eval enable_$ac_useropt=\$ac_optarg ;;
2056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2058 | --exec | --exe | --ex)
2059 ac_prev=exec_prefix ;;
2060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2062 | --exec=* | --exe=* | --ex=*)
2063 exec_prefix=$ac_optarg ;;
2065 -gas | --gas | --ga | --g)
2066 # Obsolete; use --with-gas.
2067 with_gas=yes ;;
2069 -help | --help | --hel | --he | -h)
2070 ac_init_help=long ;;
2071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2072 ac_init_help=recursive ;;
2073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2074 ac_init_help=short ;;
2076 -host | --host | --hos | --ho)
2077 ac_prev=host_alias ;;
2078 -host=* | --host=* | --hos=* | --ho=*)
2079 host_alias=$ac_optarg ;;
2081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2082 ac_prev=htmldir ;;
2083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2084 | --ht=*)
2085 htmldir=$ac_optarg ;;
2087 -includedir | --includedir | --includedi | --included | --include \
2088 | --includ | --inclu | --incl | --inc)
2089 ac_prev=includedir ;;
2090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2091 | --includ=* | --inclu=* | --incl=* | --inc=*)
2092 includedir=$ac_optarg ;;
2094 -infodir | --infodir | --infodi | --infod | --info | --inf)
2095 ac_prev=infodir ;;
2096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2097 infodir=$ac_optarg ;;
2099 -libdir | --libdir | --libdi | --libd)
2100 ac_prev=libdir ;;
2101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2102 libdir=$ac_optarg ;;
2104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2105 | --libexe | --libex | --libe)
2106 ac_prev=libexecdir ;;
2107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2108 | --libexe=* | --libex=* | --libe=*)
2109 libexecdir=$ac_optarg ;;
2111 -localedir | --localedir | --localedi | --localed | --locale)
2112 ac_prev=localedir ;;
2113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2114 localedir=$ac_optarg ;;
2116 -localstatedir | --localstatedir | --localstatedi | --localstated \
2117 | --localstate | --localstat | --localsta | --localst | --locals)
2118 ac_prev=localstatedir ;;
2119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2121 localstatedir=$ac_optarg ;;
2123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2124 ac_prev=mandir ;;
2125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2126 mandir=$ac_optarg ;;
2128 -nfp | --nfp | --nf)
2129 # Obsolete; use --without-fp.
2130 with_fp=no ;;
2132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2133 | --no-cr | --no-c | -n)
2134 no_create=yes ;;
2136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2138 no_recursion=yes ;;
2140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2142 | --oldin | --oldi | --old | --ol | --o)
2143 ac_prev=oldincludedir ;;
2144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2147 oldincludedir=$ac_optarg ;;
2149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2150 ac_prev=prefix ;;
2151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2152 prefix=$ac_optarg ;;
2154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2155 | --program-pre | --program-pr | --program-p)
2156 ac_prev=program_prefix ;;
2157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2159 program_prefix=$ac_optarg ;;
2161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2162 | --program-suf | --program-su | --program-s)
2163 ac_prev=program_suffix ;;
2164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2166 program_suffix=$ac_optarg ;;
2168 -program-transform-name | --program-transform-name \
2169 | --program-transform-nam | --program-transform-na \
2170 | --program-transform-n | --program-transform- \
2171 | --program-transform | --program-transfor \
2172 | --program-transfo | --program-transf \
2173 | --program-trans | --program-tran \
2174 | --progr-tra | --program-tr | --program-t)
2175 ac_prev=program_transform_name ;;
2176 -program-transform-name=* | --program-transform-name=* \
2177 | --program-transform-nam=* | --program-transform-na=* \
2178 | --program-transform-n=* | --program-transform-=* \
2179 | --program-transform=* | --program-transfor=* \
2180 | --program-transfo=* | --program-transf=* \
2181 | --program-trans=* | --program-tran=* \
2182 | --progr-tra=* | --program-tr=* | --program-t=*)
2183 program_transform_name=$ac_optarg ;;
2185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2186 ac_prev=pdfdir ;;
2187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2188 pdfdir=$ac_optarg ;;
2190 -psdir | --psdir | --psdi | --psd | --ps)
2191 ac_prev=psdir ;;
2192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2193 psdir=$ac_optarg ;;
2195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2196 | -silent | --silent | --silen | --sile | --sil)
2197 silent=yes ;;
2199 -runstatedir | --runstatedir | --runstatedi | --runstated \
2200 | --runstate | --runstat | --runsta | --runst | --runs \
2201 | --run | --ru | --r)
2202 ac_prev=runstatedir ;;
2203 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2204 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2205 | --run=* | --ru=* | --r=*)
2206 runstatedir=$ac_optarg ;;
2208 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2209 ac_prev=sbindir ;;
2210 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2211 | --sbi=* | --sb=*)
2212 sbindir=$ac_optarg ;;
2214 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2215 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2216 | --sharedst | --shareds | --shared | --share | --shar \
2217 | --sha | --sh)
2218 ac_prev=sharedstatedir ;;
2219 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2220 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2221 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2222 | --sha=* | --sh=*)
2223 sharedstatedir=$ac_optarg ;;
2225 -site | --site | --sit)
2226 ac_prev=site ;;
2227 -site=* | --site=* | --sit=*)
2228 site=$ac_optarg ;;
2230 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2231 ac_prev=srcdir ;;
2232 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2233 srcdir=$ac_optarg ;;
2235 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2236 | --syscon | --sysco | --sysc | --sys | --sy)
2237 ac_prev=sysconfdir ;;
2238 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2239 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2240 sysconfdir=$ac_optarg ;;
2242 -target | --target | --targe | --targ | --tar | --ta | --t)
2243 ac_prev=target_alias ;;
2244 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2245 target_alias=$ac_optarg ;;
2247 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2248 verbose=yes ;;
2250 -version | --version | --versio | --versi | --vers | -V)
2251 ac_init_version=: ;;
2253 -with-* | --with-*)
2254 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2255 # Reject names that are not valid shell variable names.
2256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2257 as_fn_error $? "invalid package name: $ac_useropt"
2258 ac_useropt_orig=$ac_useropt
2259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2260 case $ac_user_opts in
2262 "with_$ac_useropt"
2263 "*) ;;
2264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2265 ac_unrecognized_sep=', ';;
2266 esac
2267 eval with_$ac_useropt=\$ac_optarg ;;
2269 -without-* | --without-*)
2270 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2271 # Reject names that are not valid shell variable names.
2272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2273 as_fn_error $? "invalid package name: $ac_useropt"
2274 ac_useropt_orig=$ac_useropt
2275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2276 case $ac_user_opts in
2278 "with_$ac_useropt"
2279 "*) ;;
2280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2281 ac_unrecognized_sep=', ';;
2282 esac
2283 eval with_$ac_useropt=no ;;
2285 --x)
2286 # Obsolete; use --with-x.
2287 with_x=yes ;;
2289 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2290 | --x-incl | --x-inc | --x-in | --x-i)
2291 ac_prev=x_includes ;;
2292 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2293 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2294 x_includes=$ac_optarg ;;
2296 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2297 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2298 ac_prev=x_libraries ;;
2299 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2300 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2301 x_libraries=$ac_optarg ;;
2303 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2304 Try \`$0 --help' for more information"
2307 *=*)
2308 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2309 # Reject names that are not valid shell variable names.
2310 case $ac_envvar in #(
2311 '' | [0-9]* | *[!_$as_cr_alnum]* )
2312 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2313 esac
2314 eval $ac_envvar=\$ac_optarg
2315 export $ac_envvar ;;
2318 # FIXME: should be removed in autoconf 3.0.
2319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2322 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2325 esac
2326 done
2328 if test -n "$ac_prev"; then
2329 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2330 as_fn_error $? "missing argument to $ac_option"
2333 if test -n "$ac_unrecognized_opts"; then
2334 case $enable_option_checking in
2335 no) ;;
2336 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2338 esac
2341 # Check all directory arguments for consistency.
2342 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2343 datadir sysconfdir sharedstatedir localstatedir includedir \
2344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2345 libdir localedir mandir runstatedir
2347 eval ac_val=\$$ac_var
2348 # Remove trailing slashes.
2349 case $ac_val in
2350 */ )
2351 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2352 eval $ac_var=\$ac_val;;
2353 esac
2354 # Be sure to have absolute directory names.
2355 case $ac_val in
2356 [\\/$]* | ?:[\\/]* ) continue;;
2357 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2358 esac
2359 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2360 done
2362 # There might be people who depend on the old broken behavior: `$host'
2363 # used to hold the argument of --host etc.
2364 # FIXME: To remove some day.
2365 build=$build_alias
2366 host=$host_alias
2367 target=$target_alias
2369 # FIXME: To remove some day.
2370 if test "x$host_alias" != x; then
2371 if test "x$build_alias" = x; then
2372 cross_compiling=maybe
2373 elif test "x$build_alias" != "x$host_alias"; then
2374 cross_compiling=yes
2378 ac_tool_prefix=
2379 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2381 test "$silent" = yes && exec 6>/dev/null
2384 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2385 ac_ls_di=`ls -di .` &&
2386 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2387 as_fn_error $? "working directory cannot be determined"
2388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2389 as_fn_error $? "pwd does not report name of working directory"
2392 # Find the source files, if location was not specified.
2393 if test -z "$srcdir"; then
2394 ac_srcdir_defaulted=yes
2395 # Try the directory containing this script, then the parent directory.
2396 ac_confdir=`$as_dirname -- "$as_myself" ||
2397 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2398 X"$as_myself" : 'X\(//\)[^/]' \| \
2399 X"$as_myself" : 'X\(//\)$' \| \
2400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2401 $as_echo X"$as_myself" |
2402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2403 s//\1/
2406 /^X\(\/\/\)[^/].*/{
2407 s//\1/
2410 /^X\(\/\/\)$/{
2411 s//\1/
2414 /^X\(\/\).*/{
2415 s//\1/
2418 s/.*/./; q'`
2419 srcdir=$ac_confdir
2420 if test ! -r "$srcdir/$ac_unique_file"; then
2421 srcdir=..
2423 else
2424 ac_srcdir_defaulted=no
2426 if test ! -r "$srcdir/$ac_unique_file"; then
2427 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2428 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2430 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2431 ac_abs_confdir=`(
2432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2433 pwd)`
2434 # When building in place, set srcdir=.
2435 if test "$ac_abs_confdir" = "$ac_pwd"; then
2436 srcdir=.
2438 # Remove unnecessary trailing slashes from srcdir.
2439 # Double slashes in file names in object file debugging info
2440 # mess up M-x gdb in Emacs.
2441 case $srcdir in
2442 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2443 esac
2444 for ac_var in $ac_precious_vars; do
2445 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2446 eval ac_env_${ac_var}_value=\$${ac_var}
2447 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2448 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2449 done
2452 # Report the --help message.
2454 if test "$ac_init_help" = "long"; then
2455 # Omit some internal or obsolete options to make the list less imposing.
2456 # This message is too long to be a string in the A/UX 3.1 sh.
2457 cat <<_ACEOF
2458 \`configure' configures Wine 5.4 to adapt to many kinds of systems.
2460 Usage: $0 [OPTION]... [VAR=VALUE]...
2462 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2463 VAR=VALUE. See below for descriptions of some of the useful variables.
2465 Defaults for the options are specified in brackets.
2467 Configuration:
2468 -h, --help display this help and exit
2469 --help=short display options specific to this package
2470 --help=recursive display the short help of all the included packages
2471 -V, --version display version information and exit
2472 -q, --quiet, --silent do not print \`checking ...' messages
2473 --cache-file=FILE cache test results in FILE [disabled]
2474 -C, --config-cache alias for \`--cache-file=config.cache'
2475 -n, --no-create do not create output files
2476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2478 Installation directories:
2479 --prefix=PREFIX install architecture-independent files in PREFIX
2480 [$ac_default_prefix]
2481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2482 [PREFIX]
2484 By default, \`make install' will install all the files in
2485 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2486 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2487 for instance \`--prefix=\$HOME'.
2489 For better control, use the options below.
2491 Fine tuning of the installation directories:
2492 --bindir=DIR user executables [EPREFIX/bin]
2493 --sbindir=DIR system admin executables [EPREFIX/sbin]
2494 --libexecdir=DIR program executables [EPREFIX/libexec]
2495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2498 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2499 --libdir=DIR object code libraries [EPREFIX/lib]
2500 --includedir=DIR C header files [PREFIX/include]
2501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2504 --infodir=DIR info documentation [DATAROOTDIR/info]
2505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2506 --mandir=DIR man documentation [DATAROOTDIR/man]
2507 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2508 --htmldir=DIR html documentation [DOCDIR]
2509 --dvidir=DIR dvi documentation [DOCDIR]
2510 --pdfdir=DIR pdf documentation [DOCDIR]
2511 --psdir=DIR ps documentation [DOCDIR]
2512 _ACEOF
2514 cat <<\_ACEOF
2516 X features:
2517 --x-includes=DIR X include files are in DIR
2518 --x-libraries=DIR X library files are in DIR
2520 System types:
2521 --build=BUILD configure for building on BUILD [guessed]
2522 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2523 _ACEOF
2526 if test -n "$ac_init_help"; then
2527 case $ac_init_help in
2528 short | recursive ) echo "Configuration of Wine 5.4:";;
2529 esac
2530 cat <<\_ACEOF
2532 Optional Features:
2533 --disable-option-checking ignore unrecognized --enable/--with options
2534 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2535 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2536 --disable-win16 do not include Win16 support
2537 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2538 binaries)
2539 --disable-tests do not build the regression tests
2540 --enable-maintainer-mode
2541 enable maintainer-specific build rules
2542 --enable-werror treat compilation warnings as errors
2543 --disable-largefile omit support for large files
2545 Optional Packages:
2546 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2547 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2548 --without-alsa do not use the Alsa sound support
2549 --without-capi do not use CAPI (ISDN support)
2550 --without-cms do not use CMS (color management support)
2551 --without-coreaudio do not use the CoreAudio sound support
2552 --without-cups do not use CUPS
2553 --without-curses do not use (n)curses
2554 --without-dbus do not use DBus (dynamic device support)
2555 --without-faudio do not use FAudio (XAudio2 support)
2556 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2557 --without-fontconfig do not use fontconfig
2558 --without-freetype do not use the FreeType library
2559 --without-gettext do not use gettext
2560 --with-gettextpo use the GetTextPO library to rebuild po files
2561 --without-gphoto do not use gphoto (Digital Camera support)
2562 --without-glu do not use the GLU library
2563 --without-gnutls do not use GnuTLS (schannel support)
2564 --without-gsm do not use libgsm (GSM 06.10 codec support)
2565 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2566 --without-gstreamer do not use GStreamer (codecs support)
2567 --without-hal do not use HAL (dynamic device support)
2568 --without-inotify do not use inotify (filesystem change notifications)
2569 --without-jpeg do not use JPEG
2570 --without-krb5 do not use krb5 (Kerberos)
2571 --without-ldap do not use LDAP
2572 --without-mingw do not use the MinGW cross-compiler
2573 --without-mpg123 do not use the mpg123 library
2574 --without-netapi do not use the Samba NetAPI library
2575 --without-openal do not use OpenAL
2576 --without-opencl do not use OpenCL
2577 --without-opengl do not use OpenGL
2578 --without-osmesa do not use the OSMesa library
2579 --without-oss do not use the OSS sound support
2580 --without-pcap do not use the Packet Capture library
2581 --without-png do not use PNG
2582 --without-pthread do not use the pthread library
2583 --without-pulse do not use PulseAudio sound support
2584 --without-sane do not use SANE (scanner support)
2585 --without-sdl do not use SDL
2586 --without-tiff do not use TIFF
2587 --without-udev do not use udev (plug and play support)
2588 --without-unwind do not use the libunwind library (exception
2589 handling)
2590 --without-v4l2 do not use v4l2 (video capture)
2591 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2592 --without-vulkan do not use Vulkan
2593 --without-xcomposite do not use the Xcomposite extension
2594 --without-xcursor do not use the Xcursor extension
2595 --without-xfixes do not use Xfixes for clipboard change notifications
2596 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2597 --without-xinput do not use the Xinput extension
2598 --without-xinput2 do not use the Xinput 2 extension
2599 --without-xml do not use XML
2600 --without-xrandr do not use Xrandr (multi-monitor support)
2601 --without-xrender do not use the Xrender extension
2602 --without-xshape do not use the Xshape extension
2603 --without-xshm do not use XShm (shared memory extension)
2604 --without-xslt do not use XSLT
2605 --without-xxf86vm do not use XFree video mode extension
2606 --without-zlib do not use Zlib (data compression)
2607 --with-wine-tools=DIR use Wine tools from directory DIR
2608 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2609 --with-x use the X Window System
2611 Some influential environment variables:
2612 CC C compiler command
2613 CFLAGS C compiler flags
2614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2615 nonstandard directory <lib dir>
2616 LIBS libraries to pass to the linker, e.g. -l<library>
2617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2618 you have headers in a nonstandard directory <include dir>
2619 CXX C++ compiler command
2620 CXXFLAGS C++ compiler flags
2621 CPP C preprocessor
2622 OBJC Objective C compiler command
2623 OBJCFLAGS Objective C compiler flags
2624 OBJCPP Objective C preprocessor
2625 XMKMF Path to xmkmf, Makefile generator for X Window System
2626 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2627 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2628 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2629 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2630 INOTIFY_CFLAGS
2631 C compiler flags for libinotify, overriding pkg-config
2632 INOTIFY_LIBS
2633 Linker flags for libinotify, overriding pkg-config
2634 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2635 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2636 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2637 HAL_LIBS Linker flags for hal, overriding pkg-config
2638 GNUTLS_CFLAGS
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2642 SANE_LIBS Linker flags for libsane, overriding pkg-config
2643 GPHOTO2_CFLAGS
2644 C compiler flags for libgphoto2, overriding pkg-config
2645 GPHOTO2_LIBS
2646 Linker flags for libgphoto2, overriding pkg-config
2647 GPHOTO2_PORT_CFLAGS
2648 C compiler flags for libgphoto2_port, overriding pkg-config
2649 GPHOTO2_PORT_LIBS
2650 Linker flags for libgphoto2_port, overriding pkg-config
2651 LCMS2_CFLAGS
2652 C compiler flags for lcms2, overriding pkg-config
2653 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2654 FREETYPE_CFLAGS
2655 C compiler flags for freetype2, overriding pkg-config
2656 FREETYPE_LIBS
2657 Linker flags for freetype2, overriding pkg-config
2658 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2659 Z_LIBS Linker flags for libz, overriding pkg-config
2660 PULSE_CFLAGS
2661 C compiler flags for libpulse, overriding pkg-config
2662 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2663 GSTREAMER_CFLAGS
2664 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0, overriding pkg-config
2666 GSTREAMER_LIBS
2667 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2668 gstreamer-audio-1.0, overriding pkg-config
2669 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2670 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2671 UNWIND_CFLAGS
2672 C compiler flags for libunwind, overriding pkg-config
2673 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2674 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2675 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2676 FAUDIO_CFLAGS
2677 C compiler flags for faudio, overriding pkg-config
2678 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2679 CAPI20_CFLAGS
2680 C compiler flags for capi20, overriding pkg-config
2681 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2682 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2683 CUPS_LIBS Linker flags for cups, overriding pkg-config
2684 FONTCONFIG_CFLAGS
2685 C compiler flags for fontconfig, overriding pkg-config
2686 FONTCONFIG_LIBS
2687 Linker flags for fontconfig, overriding pkg-config
2688 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2689 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2690 GSSAPI_CFLAGS
2691 C compiler flags for krb5-gssapi, overriding pkg-config
2692 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2693 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2694 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2695 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2696 PNG_LIBS Linker flags for libpng, overriding pkg-config
2697 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2698 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2699 MPG123_CFLAGS
2700 C compiler flags for libmpg123, overriding pkg-config
2701 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2702 NETAPI_CFLAGS
2703 C compiler flags for netapi, overriding pkg-config
2704 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2705 VKD3D_CFLAGS
2706 C compiler flags for libvkd3d, overriding pkg-config
2707 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2708 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2709 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2711 Use these variables to override the choices made by `configure' or to help
2712 it to find libraries and programs with nonstandard names/locations.
2714 Report bugs to <wine-devel@winehq.org>.
2715 Wine home page: <https://www.winehq.org>.
2716 _ACEOF
2717 ac_status=$?
2720 if test "$ac_init_help" = "recursive"; then
2721 # If there are subdirs, report their specific --help.
2722 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2723 test -d "$ac_dir" ||
2724 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2725 continue
2726 ac_builddir=.
2728 case "$ac_dir" in
2729 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2731 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2732 # A ".." for each directory in $ac_dir_suffix.
2733 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2734 case $ac_top_builddir_sub in
2735 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2737 esac ;;
2738 esac
2739 ac_abs_top_builddir=$ac_pwd
2740 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2741 # for backward compatibility:
2742 ac_top_builddir=$ac_top_build_prefix
2744 case $srcdir in
2745 .) # We are building in place.
2746 ac_srcdir=.
2747 ac_top_srcdir=$ac_top_builddir_sub
2748 ac_abs_top_srcdir=$ac_pwd ;;
2749 [\\/]* | ?:[\\/]* ) # Absolute name.
2750 ac_srcdir=$srcdir$ac_dir_suffix;
2751 ac_top_srcdir=$srcdir
2752 ac_abs_top_srcdir=$srcdir ;;
2753 *) # Relative name.
2754 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2755 ac_top_srcdir=$ac_top_build_prefix$srcdir
2756 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2757 esac
2758 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2760 cd "$ac_dir" || { ac_status=$?; continue; }
2761 # Check for guested configure.
2762 if test -f "$ac_srcdir/configure.gnu"; then
2763 echo &&
2764 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2765 elif test -f "$ac_srcdir/configure"; then
2766 echo &&
2767 $SHELL "$ac_srcdir/configure" --help=recursive
2768 else
2769 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2770 fi || ac_status=$?
2771 cd "$ac_pwd" || { ac_status=$?; break; }
2772 done
2775 test -n "$ac_init_help" && exit $ac_status
2776 if $ac_init_version; then
2777 cat <<\_ACEOF
2778 Wine configure 5.4
2779 generated by GNU Autoconf 2.69
2781 Copyright (C) 2012 Free Software Foundation, Inc.
2782 This configure script is free software; the Free Software Foundation
2783 gives unlimited permission to copy, distribute and modify it.
2784 _ACEOF
2785 exit
2788 ## ------------------------ ##
2789 ## Autoconf initialization. ##
2790 ## ------------------------ ##
2792 # ac_fn_c_try_compile LINENO
2793 # --------------------------
2794 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2795 ac_fn_c_try_compile ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 rm -f conftest.$ac_objext
2799 if { { ac_try="$ac_compile"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_compile") 2>conftest.err
2807 ac_status=$?
2808 if test -s conftest.err; then
2809 grep -v '^ *+' conftest.err >conftest.er1
2810 cat conftest.er1 >&5
2811 mv -f conftest.er1 conftest.err
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } && {
2815 test -z "$ac_c_werror_flag" ||
2816 test ! -s conftest.err
2817 } && test -s conftest.$ac_objext; then :
2818 ac_retval=0
2819 else
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2823 ac_retval=1
2825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_c_try_compile
2830 # ac_fn_cxx_try_compile LINENO
2831 # ----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_cxx_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_cxx_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_cxx_try_compile
2868 # ac_fn_c_try_link LINENO
2869 # -----------------------
2870 # Try to link conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_c_try_link ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 rm -f conftest.$ac_objext conftest$ac_exeext
2875 if { { ac_try="$ac_link"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_link") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest$ac_exeext && {
2894 test "$cross_compiling" = yes ||
2895 test -x conftest$ac_exeext
2896 }; then :
2897 ac_retval=0
2898 else
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 ac_retval=1
2904 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2905 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2906 # interfere with the next link command; also delete a directory that is
2907 # left behind by Apple's compiler. We do this before executing the actions.
2908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_c_try_link
2914 # ac_fn_c_try_cpp LINENO
2915 # ----------------------
2916 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2917 ac_fn_c_try_cpp ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 if { { ac_try="$ac_cpp conftest.$ac_ext"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2928 ac_status=$?
2929 if test -s conftest.err; then
2930 grep -v '^ *+' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 mv -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } > conftest.i && {
2936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 }; then :
2939 ac_retval=0
2940 else
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_retval=1
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_c_try_cpp
2951 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2952 # -------------------------------------------------------
2953 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2954 # the include files in INCLUDES and setting the cache variable VAR
2955 # accordingly.
2956 ac_fn_c_check_header_mongrel ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 if eval \${$3+:} false; then :
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2961 $as_echo_n "checking for $2... " >&6; }
2962 if eval \${$3+:} false; then :
2963 $as_echo_n "(cached) " >&6
2965 eval ac_res=\$$3
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2967 $as_echo "$ac_res" >&6; }
2968 else
2969 # Is the header compilable?
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2971 $as_echo_n "checking $2 usability... " >&6; }
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2975 #include <$2>
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 ac_header_compiler=yes
2979 else
2980 ac_header_compiler=no
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2984 $as_echo "$ac_header_compiler" >&6; }
2986 # Is the header present?
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2988 $as_echo_n "checking $2 presence... " >&6; }
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2991 #include <$2>
2992 _ACEOF
2993 if ac_fn_c_try_cpp "$LINENO"; then :
2994 ac_header_preproc=yes
2995 else
2996 ac_header_preproc=no
2998 rm -f conftest.err conftest.i conftest.$ac_ext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3000 $as_echo "$ac_header_preproc" >&6; }
3002 # So? What about this header?
3003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3004 yes:no: )
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3006 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3008 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3010 no:yes:* )
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3012 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3014 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3016 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3018 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3021 ( $as_echo "## ------------------------------------ ##
3022 ## Report this to wine-devel@winehq.org ##
3023 ## ------------------------------------ ##"
3024 ) | sed "s/^/$as_me: WARNING: /" >&2
3026 esac
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3028 $as_echo_n "checking for $2... " >&6; }
3029 if eval \${$3+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 eval "$3=\$ac_header_compiler"
3034 eval ac_res=\$$3
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 } # ac_fn_c_check_header_mongrel
3042 # ac_fn_c_try_run LINENO
3043 # ----------------------
3044 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3045 # that executables *can* be run.
3046 ac_fn_c_try_run ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 if { { ac_try="$ac_link"
3050 case "(($ac_try" in
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3053 esac
3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056 (eval "$ac_link") 2>&5
3057 ac_status=$?
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3060 { { case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_try") 2>&5
3067 ac_status=$?
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }; }; then :
3070 ac_retval=0
3071 else
3072 $as_echo "$as_me: program exited with status $ac_status" >&5
3073 $as_echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3076 ac_retval=$ac_status
3078 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status $ac_retval
3082 } # ac_fn_c_try_run
3084 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3085 # -------------------------------------------------------
3086 # Tests whether HEADER exists and can be compiled using the include files in
3087 # INCLUDES, setting the cache variable VAR accordingly.
3088 ac_fn_c_check_header_compile ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3092 $as_echo_n "checking for $2... " >&6; }
3093 if eval \${$3+:} false; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3099 #include <$2>
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 eval "$3=yes"
3103 else
3104 eval "$3=no"
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_header_compile
3115 # ac_fn_objc_try_compile LINENO
3116 # -----------------------------
3117 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3118 ac_fn_objc_try_compile ()
3120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3121 rm -f conftest.$ac_objext
3122 if { { ac_try="$ac_compile"
3123 case "(($ac_try" in
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3126 esac
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_compile") 2>conftest.err
3130 ac_status=$?
3131 if test -s conftest.err; then
3132 grep -v '^ *+' conftest.err >conftest.er1
3133 cat conftest.er1 >&5
3134 mv -f conftest.er1 conftest.err
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; } && {
3138 test -z "$ac_objc_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then :
3141 ac_retval=0
3142 else
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_retval=1
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3149 as_fn_set_status $ac_retval
3151 } # ac_fn_objc_try_compile
3153 # ac_fn_objc_try_cpp LINENO
3154 # -------------------------
3155 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3156 ac_fn_objc_try_cpp ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 if { { ac_try="$ac_cpp conftest.$ac_ext"
3160 case "(($ac_try" in
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3163 esac
3164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3165 $as_echo "$ac_try_echo"; } >&5
3166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3167 ac_status=$?
3168 if test -s conftest.err; then
3169 grep -v '^ *+' conftest.err >conftest.er1
3170 cat conftest.er1 >&5
3171 mv -f conftest.er1 conftest.err
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; } > conftest.i && {
3175 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3176 test ! -s conftest.err
3177 }; then :
3178 ac_retval=0
3179 else
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3183 ac_retval=1
3185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3186 as_fn_set_status $ac_retval
3188 } # ac_fn_objc_try_cpp
3190 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3191 # ----------------------------------------------------------
3192 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3193 # the include files in INCLUDES and setting the cache variable VAR
3194 # accordingly.
3195 ac_fn_objc_check_header_mongrel ()
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 if eval \${$3+:} false; then :
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3200 $as_echo_n "checking for $2... " >&6; }
3201 if eval \${$3+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 eval ac_res=\$$3
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3206 $as_echo "$ac_res" >&6; }
3207 else
3208 # Is the header compilable?
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3210 $as_echo_n "checking $2 usability... " >&6; }
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3214 #include <$2>
3215 _ACEOF
3216 if ac_fn_objc_try_compile "$LINENO"; then :
3217 ac_header_compiler=yes
3218 else
3219 ac_header_compiler=no
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3223 $as_echo "$ac_header_compiler" >&6; }
3225 # Is the header present?
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3227 $as_echo_n "checking $2 presence... " >&6; }
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3230 #include <$2>
3231 _ACEOF
3232 if ac_fn_objc_try_cpp "$LINENO"; then :
3233 ac_header_preproc=yes
3234 else
3235 ac_header_preproc=no
3237 rm -f conftest.err conftest.i conftest.$ac_ext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3239 $as_echo "$ac_header_preproc" >&6; }
3241 # So? What about this header?
3242 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3243 yes:no: )
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3245 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3247 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3249 no:yes:* )
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3251 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3253 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3255 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3257 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3259 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3260 ( $as_echo "## ------------------------------------ ##
3261 ## Report this to wine-devel@winehq.org ##
3262 ## ------------------------------------ ##"
3263 ) | sed "s/^/$as_me: WARNING: /" >&2
3265 esac
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3267 $as_echo_n "checking for $2... " >&6; }
3268 if eval \${$3+:} false; then :
3269 $as_echo_n "(cached) " >&6
3270 else
3271 eval "$3=\$ac_header_compiler"
3273 eval ac_res=\$$3
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3275 $as_echo "$ac_res" >&6; }
3277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3279 } # ac_fn_objc_check_header_mongrel
3281 # ac_fn_c_check_func LINENO FUNC VAR
3282 # ----------------------------------
3283 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3284 ac_fn_c_check_func ()
3286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3288 $as_echo_n "checking for $2... " >&6; }
3289 if eval \${$3+:} false; then :
3290 $as_echo_n "(cached) " >&6
3291 else
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3294 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3296 #define $2 innocuous_$2
3298 /* System header to define __stub macros and hopefully few prototypes,
3299 which can conflict with char $2 (); below.
3300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3301 <limits.h> exists even on freestanding compilers. */
3303 #ifdef __STDC__
3304 # include <limits.h>
3305 #else
3306 # include <assert.h>
3307 #endif
3309 #undef $2
3311 /* Override any GCC internal prototype to avoid an error.
3312 Use char because int might match the return type of a GCC
3313 builtin and then its argument prototype would still apply. */
3314 #ifdef __cplusplus
3315 extern "C"
3316 #endif
3317 char $2 ();
3318 /* The GNU C library defines this for functions which it implements
3319 to always fail with ENOSYS. Some functions are actually named
3320 something starting with __ and the normal name is an alias. */
3321 #if defined __stub_$2 || defined __stub___$2
3322 choke me
3323 #endif
3326 main ()
3328 return $2 ();
3330 return 0;
3332 _ACEOF
3333 if ac_fn_c_try_link "$LINENO"; then :
3334 eval "$3=yes"
3335 else
3336 eval "$3=no"
3338 rm -f core conftest.err conftest.$ac_objext \
3339 conftest$ac_exeext conftest.$ac_ext
3341 eval ac_res=\$$3
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3343 $as_echo "$ac_res" >&6; }
3344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3346 } # ac_fn_c_check_func
3348 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3349 # ----------------------------------------------------
3350 # Tries to find if the field MEMBER exists in type AGGR, after including
3351 # INCLUDES, setting cache variable VAR accordingly.
3352 ac_fn_c_check_member ()
3354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3356 $as_echo_n "checking for $2.$3... " >&6; }
3357 if eval \${$4+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 main ()
3366 static $2 ac_aggr;
3367 if (ac_aggr.$3)
3368 return 0;
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 eval "$4=yes"
3375 else
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 static $2 ac_aggr;
3383 if (sizeof ac_aggr.$3)
3384 return 0;
3386 return 0;
3388 _ACEOF
3389 if ac_fn_c_try_compile "$LINENO"; then :
3390 eval "$4=yes"
3391 else
3392 eval "$4=no"
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 eval ac_res=\$$4
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3400 $as_echo "$ac_res" >&6; }
3401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3403 } # ac_fn_c_check_member
3405 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3406 # -------------------------------------------
3407 # Tests whether TYPE exists after having included INCLUDES, setting cache
3408 # variable VAR accordingly.
3409 ac_fn_c_check_type ()
3411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3413 $as_echo_n "checking for $2... " >&6; }
3414 if eval \${$3+:} false; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 eval "$3=no"
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 main ()
3424 if (sizeof ($2))
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 if (sizeof (($2)))
3438 return 0;
3440 return 0;
3442 _ACEOF
3443 if ac_fn_c_try_compile "$LINENO"; then :
3445 else
3446 eval "$3=yes"
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 eval ac_res=\$$3
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3454 $as_echo "$ac_res" >&6; }
3455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3457 } # ac_fn_c_check_type
3458 cat >config.log <<_ACEOF
3459 This file contains any messages produced by compilers while
3460 running configure, to aid debugging if configure makes a mistake.
3462 It was created by Wine $as_me 5.4, which was
3463 generated by GNU Autoconf 2.69. Invocation command line was
3465 $ $0 $@
3467 _ACEOF
3468 exec 5>>config.log
3470 cat <<_ASUNAME
3471 ## --------- ##
3472 ## Platform. ##
3473 ## --------- ##
3475 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3476 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3477 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3478 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3479 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3481 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3482 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3484 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3485 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3486 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3487 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3488 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3489 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3490 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3492 _ASUNAME
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH
3497 IFS=$as_save_IFS
3498 test -z "$as_dir" && as_dir=.
3499 $as_echo "PATH: $as_dir"
3500 done
3501 IFS=$as_save_IFS
3503 } >&5
3505 cat >&5 <<_ACEOF
3508 ## ----------- ##
3509 ## Core tests. ##
3510 ## ----------- ##
3512 _ACEOF
3515 # Keep a trace of the command line.
3516 # Strip out --no-create and --no-recursion so they do not pile up.
3517 # Strip out --silent because we don't want to record it for future runs.
3518 # Also quote any args containing shell meta-characters.
3519 # Make two passes to allow for proper duplicate-argument suppression.
3520 ac_configure_args=
3521 ac_configure_args0=
3522 ac_configure_args1=
3523 ac_must_keep_next=false
3524 for ac_pass in 1 2
3526 for ac_arg
3528 case $ac_arg in
3529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3531 | -silent | --silent | --silen | --sile | --sil)
3532 continue ;;
3533 *\'*)
3534 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3535 esac
3536 case $ac_pass in
3537 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3539 as_fn_append ac_configure_args1 " '$ac_arg'"
3540 if test $ac_must_keep_next = true; then
3541 ac_must_keep_next=false # Got value, back to normal.
3542 else
3543 case $ac_arg in
3544 *=* | --config-cache | -C | -disable-* | --disable-* \
3545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3547 | -with-* | --with-* | -without-* | --without-* | --x)
3548 case "$ac_configure_args0 " in
3549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3550 esac
3552 -* ) ac_must_keep_next=true ;;
3553 esac
3555 as_fn_append ac_configure_args " '$ac_arg'"
3557 esac
3558 done
3559 done
3560 { ac_configure_args0=; unset ac_configure_args0;}
3561 { ac_configure_args1=; unset ac_configure_args1;}
3563 # When interrupted or exit'd, cleanup temporary files, and complete
3564 # config.log. We remove comments because anyway the quotes in there
3565 # would cause problems or look ugly.
3566 # WARNING: Use '\'' to represent an apostrophe within the trap.
3567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3568 trap 'exit_status=$?
3569 # Save into config.log some information that might help in debugging.
3571 echo
3573 $as_echo "## ---------------- ##
3574 ## Cache variables. ##
3575 ## ---------------- ##"
3576 echo
3577 # The following way of writing the cache mishandles newlines in values,
3579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3580 eval ac_val=\$$ac_var
3581 case $ac_val in #(
3582 *${as_nl}*)
3583 case $ac_var in #(
3584 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3586 esac
3587 case $ac_var in #(
3588 _ | IFS | as_nl) ;; #(
3589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3590 *) { eval $ac_var=; unset $ac_var;} ;;
3591 esac ;;
3592 esac
3593 done
3594 (set) 2>&1 |
3595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3596 *${as_nl}ac_space=\ *)
3597 sed -n \
3598 "s/'\''/'\''\\\\'\'''\''/g;
3599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3600 ;; #(
3602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3604 esac |
3605 sort
3607 echo
3609 $as_echo "## ----------------- ##
3610 ## Output variables. ##
3611 ## ----------------- ##"
3612 echo
3613 for ac_var in $ac_subst_vars
3615 eval ac_val=\$$ac_var
3616 case $ac_val in
3617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3618 esac
3619 $as_echo "$ac_var='\''$ac_val'\''"
3620 done | sort
3621 echo
3623 if test -n "$ac_subst_files"; then
3624 $as_echo "## ------------------- ##
3625 ## File substitutions. ##
3626 ## ------------------- ##"
3627 echo
3628 for ac_var in $ac_subst_files
3630 eval ac_val=\$$ac_var
3631 case $ac_val in
3632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3633 esac
3634 $as_echo "$ac_var='\''$ac_val'\''"
3635 done | sort
3636 echo
3639 if test -s confdefs.h; then
3640 $as_echo "## ----------- ##
3641 ## confdefs.h. ##
3642 ## ----------- ##"
3643 echo
3644 cat confdefs.h
3645 echo
3647 test "$ac_signal" != 0 &&
3648 $as_echo "$as_me: caught signal $ac_signal"
3649 $as_echo "$as_me: exit $exit_status"
3650 } >&5
3651 rm -f core *.core core.conftest.* &&
3652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3653 exit $exit_status
3655 for ac_signal in 1 2 13 15; do
3656 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3657 done
3658 ac_signal=0
3660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3661 rm -f -r conftest* confdefs.h
3663 $as_echo "/* confdefs.h */" > confdefs.h
3665 # Predefined preprocessor variables.
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_NAME "$PACKAGE_NAME"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_STRING "$PACKAGE_STRING"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3685 _ACEOF
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_URL "$PACKAGE_URL"
3689 _ACEOF
3692 # Let the site file select an alternate cache file if it wants to.
3693 # Prefer an explicitly selected file to automatically selected ones.
3694 ac_site_file1=NONE
3695 ac_site_file2=NONE
3696 if test -n "$CONFIG_SITE"; then
3697 # We do not want a PATH search for config.site.
3698 case $CONFIG_SITE in #((
3699 -*) ac_site_file1=./$CONFIG_SITE;;
3700 */*) ac_site_file1=$CONFIG_SITE;;
3701 *) ac_site_file1=./$CONFIG_SITE;;
3702 esac
3703 elif test "x$prefix" != xNONE; then
3704 ac_site_file1=$prefix/share/config.site
3705 ac_site_file2=$prefix/etc/config.site
3706 else
3707 ac_site_file1=$ac_default_prefix/share/config.site
3708 ac_site_file2=$ac_default_prefix/etc/config.site
3710 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3712 test "x$ac_site_file" = xNONE && continue
3713 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3715 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3716 sed 's/^/| /' "$ac_site_file" >&5
3717 . "$ac_site_file" \
3718 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error $? "failed to load site script $ac_site_file
3721 See \`config.log' for more details" "$LINENO" 5; }
3723 done
3725 if test -r "$cache_file"; then
3726 # Some versions of bash will fail to source /dev/null (special files
3727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3728 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3730 $as_echo "$as_me: loading cache $cache_file" >&6;}
3731 case $cache_file in
3732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3733 *) . "./$cache_file";;
3734 esac
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3738 $as_echo "$as_me: creating cache $cache_file" >&6;}
3739 >$cache_file
3742 # Check that the precious variables saved in the cache have kept the same
3743 # value.
3744 ac_cache_corrupted=false
3745 for ac_var in $ac_precious_vars; do
3746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3747 eval ac_new_set=\$ac_env_${ac_var}_set
3748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3749 eval ac_new_val=\$ac_env_${ac_var}_value
3750 case $ac_old_set,$ac_new_set in
3751 set,)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3753 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3754 ac_cache_corrupted=: ;;
3755 ,set)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3757 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3758 ac_cache_corrupted=: ;;
3759 ,);;
3761 if test "x$ac_old_val" != "x$ac_new_val"; then
3762 # differences in whitespace do not lead to failure.
3763 ac_old_val_w=`echo x $ac_old_val`
3764 ac_new_val_w=`echo x $ac_new_val`
3765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3768 ac_cache_corrupted=:
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3772 eval $ac_var=\$ac_old_val
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3775 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3778 fi;;
3779 esac
3780 # Pass precious variables to config.status.
3781 if test "$ac_new_set" = set; then
3782 case $ac_new_val in
3783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3784 *) ac_arg=$ac_var=$ac_new_val ;;
3785 esac
3786 case " $ac_configure_args " in
3787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3788 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3789 esac
3791 done
3792 if $ac_cache_corrupted; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3797 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3799 ## -------------------- ##
3800 ## Main body of script. ##
3801 ## -------------------- ##
3803 ac_ext=c
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 ac_config_headers="$ac_config_headers include/config.h"
3813 ac_aux_dir=
3814 for ac_dir in tools "$srcdir"/tools; do
3815 if test -f "$ac_dir/install-sh"; then
3816 ac_aux_dir=$ac_dir
3817 ac_install_sh="$ac_aux_dir/install-sh -c"
3818 break
3819 elif test -f "$ac_dir/install.sh"; then
3820 ac_aux_dir=$ac_dir
3821 ac_install_sh="$ac_aux_dir/install.sh -c"
3822 break
3823 elif test -f "$ac_dir/shtool"; then
3824 ac_aux_dir=$ac_dir
3825 ac_install_sh="$ac_aux_dir/shtool install -c"
3826 break
3828 done
3829 if test -z "$ac_aux_dir"; then
3830 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3833 # These three variables are undocumented and unsupported,
3834 # and are intended to be withdrawn in a future Autoconf release.
3835 # They can cause serious problems if a builder's source tree is in a directory
3836 # whose full name contains unusual characters.
3837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3843 libwine_version="1.0"
3847 # Check whether --enable-win16 was given.
3848 if test "${enable_win16+set}" = set; then :
3849 enableval=$enable_win16;
3852 # Check whether --enable-win64 was given.
3853 if test "${enable_win64+set}" = set; then :
3854 enableval=$enable_win64;
3857 # Check whether --enable-tests was given.
3858 if test "${enable_tests+set}" = set; then :
3859 enableval=$enable_tests;
3862 # Check whether --enable-maintainer-mode was given.
3863 if test "${enable_maintainer_mode+set}" = set; then :
3864 enableval=$enable_maintainer_mode;
3867 # Check whether --enable-werror was given.
3868 if test "${enable_werror+set}" = set; then :
3869 enableval=$enable_werror;
3874 # Check whether --with-alsa was given.
3875 if test "${with_alsa+set}" = set; then :
3876 withval=$with_alsa;
3880 # Check whether --with-capi was given.
3881 if test "${with_capi+set}" = set; then :
3882 withval=$with_capi;
3886 # Check whether --with-cms was given.
3887 if test "${with_cms+set}" = set; then :
3888 withval=$with_cms;
3892 # Check whether --with-coreaudio was given.
3893 if test "${with_coreaudio+set}" = set; then :
3894 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3898 # Check whether --with-cups was given.
3899 if test "${with_cups+set}" = set; then :
3900 withval=$with_cups;
3904 # Check whether --with-curses was given.
3905 if test "${with_curses+set}" = set; then :
3906 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3910 # Check whether --with-dbus was given.
3911 if test "${with_dbus+set}" = set; then :
3912 withval=$with_dbus;
3916 # Check whether --with-faudio was given.
3917 if test "${with_faudio+set}" = set; then :
3918 withval=$with_faudio;
3922 # Check whether --with-float-abi was given.
3923 if test "${with_float_abi+set}" = set; then :
3924 withval=$with_float_abi;
3928 # Check whether --with-fontconfig was given.
3929 if test "${with_fontconfig+set}" = set; then :
3930 withval=$with_fontconfig;
3934 # Check whether --with-freetype was given.
3935 if test "${with_freetype+set}" = set; then :
3936 withval=$with_freetype;
3940 # Check whether --with-gettext was given.
3941 if test "${with_gettext+set}" = set; then :
3942 withval=$with_gettext;
3946 # Check whether --with-gettextpo was given.
3947 if test "${with_gettextpo+set}" = set; then :
3948 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3952 # Check whether --with-gphoto was given.
3953 if test "${with_gphoto+set}" = set; then :
3954 withval=$with_gphoto;
3958 # Check whether --with-glu was given.
3959 if test "${with_glu+set}" = set; then :
3960 withval=$with_glu;
3964 # Check whether --with-gnutls was given.
3965 if test "${with_gnutls+set}" = set; then :
3966 withval=$with_gnutls;
3970 # Check whether --with-gsm was given.
3971 if test "${with_gsm+set}" = set; then :
3972 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3976 # Check whether --with-gssapi was given.
3977 if test "${with_gssapi+set}" = set; then :
3978 withval=$with_gssapi;
3982 # Check whether --with-gstreamer was given.
3983 if test "${with_gstreamer+set}" = set; then :
3984 withval=$with_gstreamer;
3988 # Check whether --with-hal was given.
3989 if test "${with_hal+set}" = set; then :
3990 withval=$with_hal;
3994 # Check whether --with-inotify was given.
3995 if test "${with_inotify+set}" = set; then :
3996 withval=$with_inotify;
4000 # Check whether --with-jpeg was given.
4001 if test "${with_jpeg+set}" = set; then :
4002 withval=$with_jpeg;
4006 # Check whether --with-krb5 was given.
4007 if test "${with_krb5+set}" = set; then :
4008 withval=$with_krb5;
4012 # Check whether --with-ldap was given.
4013 if test "${with_ldap+set}" = set; then :
4014 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4018 # Check whether --with-mingw was given.
4019 if test "${with_mingw+set}" = set; then :
4020 withval=$with_mingw;
4024 # Check whether --with-mpg123 was given.
4025 if test "${with_mpg123+set}" = set; then :
4026 withval=$with_mpg123;
4030 # Check whether --with-netapi was given.
4031 if test "${with_netapi+set}" = set; then :
4032 withval=$with_netapi;
4036 # Check whether --with-openal was given.
4037 if test "${with_openal+set}" = set; then :
4038 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4042 # Check whether --with-opencl was given.
4043 if test "${with_opencl+set}" = set; then :
4044 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4048 # Check whether --with-opengl was given.
4049 if test "${with_opengl+set}" = set; then :
4050 withval=$with_opengl;
4054 # Check whether --with-osmesa was given.
4055 if test "${with_osmesa+set}" = set; then :
4056 withval=$with_osmesa;
4060 # Check whether --with-oss was given.
4061 if test "${with_oss+set}" = set; then :
4062 withval=$with_oss;
4066 # Check whether --with-pcap was given.
4067 if test "${with_pcap+set}" = set; then :
4068 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4072 # Check whether --with-png was given.
4073 if test "${with_png+set}" = set; then :
4074 withval=$with_png;
4078 # Check whether --with-pthread was given.
4079 if test "${with_pthread+set}" = set; then :
4080 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4084 # Check whether --with-pulse was given.
4085 if test "${with_pulse+set}" = set; then :
4086 withval=$with_pulse;
4090 # Check whether --with-sane was given.
4091 if test "${with_sane+set}" = set; then :
4092 withval=$with_sane;
4096 # Check whether --with-sdl was given.
4097 if test "${with_sdl+set}" = set; then :
4098 withval=$with_sdl;
4102 # Check whether --with-tiff was given.
4103 if test "${with_tiff+set}" = set; then :
4104 withval=$with_tiff;
4108 # Check whether --with-udev was given.
4109 if test "${with_udev+set}" = set; then :
4110 withval=$with_udev;
4114 # Check whether --with-unwind was given.
4115 if test "${with_unwind+set}" = set; then :
4116 withval=$with_unwind;
4120 # Check whether --with-v4l2 was given.
4121 if test "${with_v4l2+set}" = set; then :
4122 withval=$with_v4l2;
4126 # Check whether --with-vkd3d was given.
4127 if test "${with_vkd3d+set}" = set; then :
4128 withval=$with_vkd3d;
4132 # Check whether --with-vulkan was given.
4133 if test "${with_vulkan+set}" = set; then :
4134 withval=$with_vulkan;
4138 # Check whether --with-xcomposite was given.
4139 if test "${with_xcomposite+set}" = set; then :
4140 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4144 # Check whether --with-xcursor was given.
4145 if test "${with_xcursor+set}" = set; then :
4146 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4150 # Check whether --with-xfixes was given.
4151 if test "${with_xfixes+set}" = set; then :
4152 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4156 # Check whether --with-xinerama was given.
4157 if test "${with_xinerama+set}" = set; then :
4158 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4162 # Check whether --with-xinput was given.
4163 if test "${with_xinput+set}" = set; then :
4164 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4168 # Check whether --with-xinput2 was given.
4169 if test "${with_xinput2+set}" = set; then :
4170 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4174 # Check whether --with-xml was given.
4175 if test "${with_xml+set}" = set; then :
4176 withval=$with_xml;
4180 # Check whether --with-xrandr was given.
4181 if test "${with_xrandr+set}" = set; then :
4182 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4186 # Check whether --with-xrender was given.
4187 if test "${with_xrender+set}" = set; then :
4188 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4192 # Check whether --with-xshape was given.
4193 if test "${with_xshape+set}" = set; then :
4194 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4198 # Check whether --with-xshm was given.
4199 if test "${with_xshm+set}" = set; then :
4200 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4204 # Check whether --with-xslt was given.
4205 if test "${with_xslt+set}" = set; then :
4206 withval=$with_xslt;
4210 # Check whether --with-xxf86vm was given.
4211 if test "${with_xxf86vm+set}" = set; then :
4212 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then :
4218 withval=$with_zlib;
4223 # Check whether --with-wine-tools was given.
4224 if test "${with_wine_tools+set}" = set; then :
4225 withval=$with_wine_tools;
4229 # Check whether --with-wine64 was given.
4230 if test "${with_wine64+set}" = set; then :
4231 withval=$with_wine64;
4235 # Make sure we can run config.sub.
4236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4237 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4240 $as_echo_n "checking build system type... " >&6; }
4241 if ${ac_cv_build+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 ac_build_alias=$build_alias
4245 test "x$ac_build_alias" = x &&
4246 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4247 test "x$ac_build_alias" = x &&
4248 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4249 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4250 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4254 $as_echo "$ac_cv_build" >&6; }
4255 case $ac_cv_build in
4256 *-*-*) ;;
4257 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4258 esac
4259 build=$ac_cv_build
4260 ac_save_IFS=$IFS; IFS='-'
4261 set x $ac_cv_build
4262 shift
4263 build_cpu=$1
4264 build_vendor=$2
4265 shift; shift
4266 # Remember, the first character of IFS is used to create $*,
4267 # except with old shells:
4268 build_os=$*
4269 IFS=$ac_save_IFS
4270 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4274 $as_echo_n "checking host system type... " >&6; }
4275 if ${ac_cv_host+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 if test "x$host_alias" = x; then
4279 ac_cv_host=$ac_cv_build
4280 else
4281 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4287 $as_echo "$ac_cv_host" >&6; }
4288 case $ac_cv_host in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4291 esac
4292 host=$ac_cv_host
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_host
4295 shift
4296 host_cpu=$1
4297 host_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 host_os=$*
4302 IFS=$ac_save_IFS
4303 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4309 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4310 set x ${MAKE-make}
4311 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4312 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 cat >conftest.make <<\_ACEOF
4316 SHELL = /bin/sh
4317 all:
4318 @echo '@@@%%%=$(MAKE)=@@@%%%'
4319 _ACEOF
4320 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4321 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4322 *@@@%%%=?*=@@@%%%*)
4323 eval ac_cv_prog_make_${ac_make}_set=yes;;
4325 eval ac_cv_prog_make_${ac_make}_set=no;;
4326 esac
4327 rm -f conftest.make
4329 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4331 $as_echo "yes" >&6; }
4332 SET_MAKE=
4333 else
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4336 SET_MAKE="MAKE=${MAKE-make}"
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4351 else
4352 if test -n "$CC"; then
4353 ac_cv_prog_CC="$CC" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 break 2
4366 done
4367 done
4368 IFS=$as_save_IFS
4372 CC=$ac_cv_prog_CC
4373 if test -n "$CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4375 $as_echo "$CC" >&6; }
4376 else
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4383 if test -z "$ac_cv_prog_CC"; then
4384 ac_ct_CC=$CC
4385 # Extract the first word of "gcc", so it can be a program name with args.
4386 set dummy gcc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$ac_ct_CC"; then
4393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_ac_ct_CC="gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4413 if test -n "$ac_ct_CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4415 $as_echo "$ac_ct_CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_ct_CC" = x; then
4422 CC=""
4423 else
4424 case $cross_compiling:$ac_tool_warned in
4425 yes:)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4429 esac
4430 CC=$ac_ct_CC
4432 else
4433 CC="$ac_cv_prog_CC"
4436 if test -z "$CC"; then
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}cc; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 else
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH
4451 IFS=$as_save_IFS
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_CC="${ac_tool_prefix}cc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4459 done
4460 done
4461 IFS=$as_save_IFS
4465 CC=$ac_cv_prog_CC
4466 if test -n "$CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4468 $as_echo "$CC" >&6; }
4469 else
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4477 if test -z "$CC"; then
4478 # Extract the first word of "cc", so it can be a program name with args.
4479 set dummy cc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 ac_prog_rejected=no
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4497 ac_prog_rejected=yes
4498 continue
4500 ac_cv_prog_CC="cc"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 break 2
4504 done
4505 done
4506 IFS=$as_save_IFS
4508 if test $ac_prog_rejected = yes; then
4509 # We found a bogon in the path, so make sure we never use it.
4510 set dummy $ac_cv_prog_CC
4511 shift
4512 if test $# != 0; then
4513 # We chose a different compiler from the bogus one.
4514 # However, it has the same basename, so the bogon will be chosen
4515 # first if we set CC to just the basename; use the full file name.
4516 shift
4517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4522 CC=$ac_cv_prog_CC
4523 if test -n "$CC"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4526 else
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4533 if test -z "$CC"; then
4534 if test -n "$ac_tool_prefix"; then
4535 for ac_prog in cl.exe
4537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if ${ac_cv_prog_CC+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 if test -n "$CC"; then
4545 ac_cv_prog_CC="$CC" # Let the user override the test.
4546 else
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH
4550 IFS=$as_save_IFS
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 break 2
4558 done
4559 done
4560 IFS=$as_save_IFS
4564 CC=$ac_cv_prog_CC
4565 if test -n "$CC"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4567 $as_echo "$CC" >&6; }
4568 else
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$CC" && break
4575 done
4577 if test -z "$CC"; then
4578 ac_ct_CC=$CC
4579 for ac_prog in cl.exe
4581 # Extract the first word of "$ac_prog", so it can be a program name with args.
4582 set dummy $ac_prog; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 if test -n "$ac_ct_CC"; then
4589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4590 else
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH
4594 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_ac_ct_CC="$ac_prog"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4602 done
4603 done
4604 IFS=$as_save_IFS
4608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4609 if test -n "$ac_ct_CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4611 $as_echo "$ac_ct_CC" >&6; }
4612 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4618 test -n "$ac_ct_CC" && break
4619 done
4621 if test "x$ac_ct_CC" = x; then
4622 CC=""
4623 else
4624 case $cross_compiling:$ac_tool_warned in
4625 yes:)
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned=yes ;;
4629 esac
4630 CC=$ac_ct_CC
4637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4639 as_fn_error $? "no acceptable C compiler found in \$PATH
4640 See \`config.log' for more details" "$LINENO" 5; }
4642 # Provide some information about the compiler.
4643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4644 set X $ac_compile
4645 ac_compiler=$2
4646 for ac_option in --version -v -V -qversion; do
4647 { { ac_try="$ac_compiler $ac_option >&5"
4648 case "(($ac_try" in
4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4651 esac
4652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4653 $as_echo "$ac_try_echo"; } >&5
4654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4655 ac_status=$?
4656 if test -s conftest.err; then
4657 sed '10a\
4658 ... rest of stderr output deleted ...
4659 10q' conftest.err >conftest.er1
4660 cat conftest.er1 >&5
4662 rm -f conftest.er1 conftest.err
4663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4664 test $ac_status = 0; }
4665 done
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4675 return 0;
4677 _ACEOF
4678 ac_clean_files_save=$ac_clean_files
4679 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4680 # Try to create an executable without -o first, disregard a.out.
4681 # It will help us diagnose broken compilers, and finding out an intuition
4682 # of exeext.
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4684 $as_echo_n "checking whether the C compiler works... " >&6; }
4685 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4687 # The possible output files:
4688 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4690 ac_rmfiles=
4691 for ac_file in $ac_files
4693 case $ac_file in
4694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4696 esac
4697 done
4698 rm -f $ac_rmfiles
4700 if { { ac_try="$ac_link_default"
4701 case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4704 esac
4705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4706 $as_echo "$ac_try_echo"; } >&5
4707 (eval "$ac_link_default") 2>&5
4708 ac_status=$?
4709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4710 test $ac_status = 0; }; then :
4711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4712 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4714 # so that the user can short-circuit this test for compilers unknown to
4715 # Autoconf.
4716 for ac_file in $ac_files ''
4718 test -f "$ac_file" || continue
4719 case $ac_file in
4720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4722 [ab].out )
4723 # We found the default executable, but exeext='' is most
4724 # certainly right.
4725 break;;
4726 *.* )
4727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4728 then :; else
4729 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4731 # We set ac_cv_exeext here because the later test for it is not
4732 # safe: cross compilers may not add the suffix if given an `-o'
4733 # argument, so we may need to know it at that point already.
4734 # Even if this section looks crufty: it has the advantage of
4735 # actually working.
4736 break;;
4738 break;;
4739 esac
4740 done
4741 test "$ac_cv_exeext" = no && ac_cv_exeext=
4743 else
4744 ac_file=''
4746 if test -z "$ac_file"; then :
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4749 $as_echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error 77 "C compiler cannot create executables
4755 See \`config.log' for more details" "$LINENO" 5; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4758 $as_echo "yes" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4761 $as_echo_n "checking for C compiler default output file name... " >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4763 $as_echo "$ac_file" >&6; }
4764 ac_exeext=$ac_cv_exeext
4766 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4767 ac_clean_files=$ac_clean_files_save
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4769 $as_echo_n "checking for suffix of executables... " >&6; }
4770 if { { ac_try="$ac_link"
4771 case "(($ac_try" in
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4774 esac
4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4776 $as_echo "$ac_try_echo"; } >&5
4777 (eval "$ac_link") 2>&5
4778 ac_status=$?
4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 test $ac_status = 0; }; then :
4781 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4782 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4783 # work properly (i.e., refer to `conftest.exe'), while it won't with
4784 # `rm'.
4785 for ac_file in conftest.exe conftest conftest.*; do
4786 test -f "$ac_file" || continue
4787 case $ac_file in
4788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4789 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4790 break;;
4791 * ) break;;
4792 esac
4793 done
4794 else
4795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4797 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4798 See \`config.log' for more details" "$LINENO" 5; }
4800 rm -f conftest conftest$ac_cv_exeext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4802 $as_echo "$ac_cv_exeext" >&6; }
4804 rm -f conftest.$ac_ext
4805 EXEEXT=$ac_cv_exeext
4806 ac_exeext=$EXEEXT
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809 #include <stdio.h>
4811 main ()
4813 FILE *f = fopen ("conftest.out", "w");
4814 return ferror (f) || fclose (f) != 0;
4817 return 0;
4819 _ACEOF
4820 ac_clean_files="$ac_clean_files conftest.out"
4821 # Check that the compiler produces executables we can run. If not, either
4822 # the compiler is broken, or we cross compile.
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4824 $as_echo_n "checking whether we are cross compiling... " >&6; }
4825 if test "$cross_compiling" != yes; then
4826 { { ac_try="$ac_link"
4827 case "(($ac_try" in
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4830 esac
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_link") 2>&5
4834 ac_status=$?
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }
4837 if { ac_try='./conftest$ac_cv_exeext'
4838 { { case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_try") 2>&5
4845 ac_status=$?
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }; }; then
4848 cross_compiling=no
4849 else
4850 if test "$cross_compiling" = maybe; then
4851 cross_compiling=yes
4852 else
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $? "cannot run C compiled programs.
4856 If you meant to cross compile, use \`--host'.
4857 See \`config.log' for more details" "$LINENO" 5; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4862 $as_echo "$cross_compiling" >&6; }
4864 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4865 ac_clean_files=$ac_clean_files_save
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4867 $as_echo_n "checking for suffix of object files... " >&6; }
4868 if ${ac_cv_objext+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 rm -f conftest.o conftest.obj
4883 if { { ac_try="$ac_compile"
4884 case "(($ac_try" in
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4887 esac
4888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4889 $as_echo "$ac_try_echo"; } >&5
4890 (eval "$ac_compile") 2>&5
4891 ac_status=$?
4892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4893 test $ac_status = 0; }; then :
4894 for ac_file in conftest.o conftest.obj conftest.*; do
4895 test -f "$ac_file" || continue;
4896 case $ac_file in
4897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4898 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4899 break;;
4900 esac
4901 done
4902 else
4903 $as_echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4908 as_fn_error $? "cannot compute suffix of object files: cannot compile
4909 See \`config.log' for more details" "$LINENO" 5; }
4911 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4914 $as_echo "$ac_cv_objext" >&6; }
4915 OBJEXT=$ac_cv_objext
4916 ac_objext=$OBJEXT
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4919 if ${ac_cv_c_compiler_gnu+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4926 main ()
4928 #ifndef __GNUC__
4929 choke me
4930 #endif
4933 return 0;
4935 _ACEOF
4936 if ac_fn_c_try_compile "$LINENO"; then :
4937 ac_compiler_gnu=yes
4938 else
4939 ac_compiler_gnu=no
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4947 if test $ac_compiler_gnu = yes; then
4948 GCC=yes
4949 else
4950 GCC=
4952 ac_test_CFLAGS=${CFLAGS+set}
4953 ac_save_CFLAGS=$CFLAGS
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4956 if ${ac_cv_prog_cc_g+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 ac_save_c_werror_flag=$ac_c_werror_flag
4960 ac_c_werror_flag=yes
4961 ac_cv_prog_cc_g=no
4962 CFLAGS="-g"
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 ac_cv_prog_cc_g=yes
4976 else
4977 CFLAGS=""
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_compile "$LINENO"; then :
4991 else
4992 ac_c_werror_flag=$ac_save_c_werror_flag
4993 CFLAGS="-g"
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_compile "$LINENO"; then :
5006 ac_cv_prog_cc_g=yes
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 ac_c_werror_flag=$ac_save_c_werror_flag
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5016 $as_echo "$ac_cv_prog_cc_g" >&6; }
5017 if test "$ac_test_CFLAGS" = set; then
5018 CFLAGS=$ac_save_CFLAGS
5019 elif test $ac_cv_prog_cc_g = yes; then
5020 if test "$GCC" = yes; then
5021 CFLAGS="-g -O2"
5022 else
5023 CFLAGS="-g"
5025 else
5026 if test "$GCC" = yes; then
5027 CFLAGS="-O2"
5028 else
5029 CFLAGS=
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5034 if ${ac_cv_prog_cc_c89+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 ac_cv_prog_cc_c89=no
5038 ac_save_CC=$CC
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <stdarg.h>
5042 #include <stdio.h>
5043 struct stat;
5044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5045 struct buf { int x; };
5046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5047 static char *e (p, i)
5048 char **p;
5049 int i;
5051 return p[i];
5053 static char *f (char * (*g) (char **, int), char **p, ...)
5055 char *s;
5056 va_list v;
5057 va_start (v,p);
5058 s = g (p, va_arg (v,int));
5059 va_end (v);
5060 return s;
5063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std. */
5070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5073 inside strings and character constants. */
5074 #define FOO(x) 'x'
5075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5077 int test (int i, double x);
5078 struct s1 {int (*f) (int a);};
5079 struct s2 {int (*f) (double a);};
5080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5081 int argc;
5082 char **argv;
5084 main ()
5086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5088 return 0;
5090 _ACEOF
5091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5094 CC="$ac_save_CC $ac_arg"
5095 if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_prog_cc_c89=$ac_arg
5098 rm -f core conftest.err conftest.$ac_objext
5099 test "x$ac_cv_prog_cc_c89" != "xno" && break
5100 done
5101 rm -f conftest.$ac_ext
5102 CC=$ac_save_CC
5105 # AC_CACHE_VAL
5106 case "x$ac_cv_prog_cc_c89" in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5109 $as_echo "none needed" >&6; } ;;
5110 xno)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5112 $as_echo "unsupported" >&6; } ;;
5114 CC="$CC $ac_cv_prog_cc_c89"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5117 esac
5118 if test "x$ac_cv_prog_cc_c89" != xno; then :
5122 ac_ext=c
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5128 ac_ext=cpp
5129 ac_cpp='$CXXCPP $CPPFLAGS'
5130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5133 if test -z "$CXX"; then
5134 if test -n "$CCC"; then
5135 CXX=$CCC
5136 else
5137 if test -n "$ac_tool_prefix"; then
5138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_CXX+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$CXX"; then
5148 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 CXX=$ac_cv_prog_CXX
5168 if test -n "$CXX"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5170 $as_echo "$CXX" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$CXX" && break
5178 done
5180 if test -z "$CXX"; then
5181 ac_ct_CXX=$CXX
5182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5184 # Extract the first word of "$ac_prog", so it can be a program name with args.
5185 set dummy $ac_prog; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 if test -n "$ac_ct_CXX"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5197 IFS=$as_save_IFS
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_CXX="$ac_prog"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 break 2
5205 done
5206 done
5207 IFS=$as_save_IFS
5211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5212 if test -n "$ac_ct_CXX"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5214 $as_echo "$ac_ct_CXX" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5221 test -n "$ac_ct_CXX" && break
5222 done
5224 if test "x$ac_ct_CXX" = x; then
5225 CXX="g++"
5226 else
5227 case $cross_compiling:$ac_tool_warned in
5228 yes:)
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned=yes ;;
5232 esac
5233 CXX=$ac_ct_CXX
5239 # Provide some information about the compiler.
5240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5241 set X $ac_compile
5242 ac_compiler=$2
5243 for ac_option in --version -v -V -qversion; do
5244 { { ac_try="$ac_compiler $ac_option >&5"
5245 case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248 esac
5249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5250 $as_echo "$ac_try_echo"; } >&5
5251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5252 ac_status=$?
5253 if test -s conftest.err; then
5254 sed '10a\
5255 ... rest of stderr output deleted ...
5256 10q' conftest.err >conftest.er1
5257 cat conftest.er1 >&5
5259 rm -f conftest.er1 conftest.err
5260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5261 test $ac_status = 0; }
5262 done
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5265 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5266 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5273 main ()
5275 #ifndef __GNUC__
5276 choke me
5277 #endif
5280 return 0;
5282 _ACEOF
5283 if ac_fn_cxx_try_compile "$LINENO"; then :
5284 ac_compiler_gnu=yes
5285 else
5286 ac_compiler_gnu=no
5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5293 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5294 if test $ac_compiler_gnu = yes; then
5295 GXX=yes
5296 else
5297 GXX=
5299 ac_test_CXXFLAGS=${CXXFLAGS+set}
5300 ac_save_CXXFLAGS=$CXXFLAGS
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5302 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5303 if ${ac_cv_prog_cxx_g+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5307 ac_cxx_werror_flag=yes
5308 ac_cv_prog_cxx_g=no
5309 CXXFLAGS="-g"
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5322 ac_cv_prog_cxx_g=yes
5323 else
5324 CXXFLAGS=""
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5333 return 0;
5335 _ACEOF
5336 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 else
5339 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5340 CXXFLAGS="-g"
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5345 main ()
5349 return 0;
5351 _ACEOF
5352 if ac_fn_cxx_try_compile "$LINENO"; then :
5353 ac_cv_prog_cxx_g=yes
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5363 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5364 if test "$ac_test_CXXFLAGS" = set; then
5365 CXXFLAGS=$ac_save_CXXFLAGS
5366 elif test $ac_cv_prog_cxx_g = yes; then
5367 if test "$GXX" = yes; then
5368 CXXFLAGS="-g -O2"
5369 else
5370 CXXFLAGS="-g"
5372 else
5373 if test "$GXX" = yes; then
5374 CXXFLAGS="-O2"
5375 else
5376 CXXFLAGS=
5379 ac_ext=c
5380 ac_cpp='$CPP $CPPFLAGS'
5381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5387 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_CPPBIN+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$CPPBIN"; then
5394 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 CPPBIN=$ac_cv_prog_CPPBIN
5414 if test -n "$CPPBIN"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5416 $as_echo "$CPPBIN" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_CPPBIN"; then
5425 ac_ct_CPPBIN=$CPPBIN
5426 # Extract the first word of "cpp", so it can be a program name with args.
5427 set dummy cpp; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$ac_ct_CPPBIN"; then
5434 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_CPPBIN="cpp"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5454 if test -n "$ac_ct_CPPBIN"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5456 $as_echo "$ac_ct_CPPBIN" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_CPPBIN" = x; then
5463 CPPBIN="cpp"
5464 else
5465 case $cross_compiling:$ac_tool_warned in
5466 yes:)
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5470 esac
5471 CPPBIN=$ac_ct_CPPBIN
5473 else
5474 CPPBIN="$ac_cv_prog_CPPBIN"
5478 cat >>confdefs.h <<_ACEOF
5479 #define EXEEXT "$ac_exeext"
5480 _ACEOF
5482 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5484 set dummy ${ac_tool_prefix}ld; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_LD+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$LD"; then
5491 ac_cv_prog_LD="$LD" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_LD="${ac_tool_prefix}ld"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 LD=$ac_cv_prog_LD
5511 if test -n "$LD"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5513 $as_echo "$LD" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5521 if test -z "$ac_cv_prog_LD"; then
5522 ac_ct_LD=$LD
5523 # Extract the first word of "ld", so it can be a program name with args.
5524 set dummy ld; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$ac_ct_LD"; then
5531 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_LD="ld"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5551 if test -n "$ac_ct_LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5553 $as_echo "$ac_ct_LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5559 if test "x$ac_ct_LD" = x; then
5560 LD=""
5561 else
5562 case $cross_compiling:$ac_tool_warned in
5563 yes:)
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5567 esac
5568 LD=$ac_ct_LD
5570 else
5571 LD="$ac_cv_prog_LD"
5575 case $host in
5576 *-darwin*)
5577 with_fontconfig=${with_fontconfig:-no}
5579 *-mingw32*|*-cygwin*)
5580 enable_win16=${enable_win16:-no}
5581 with_mingw=${with_mingw:-no}
5582 CFLAGS="$CFLAGS -D_WIN32"
5584 esac
5586 case $host in
5587 x86_64*|amd64*)
5588 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5589 then
5590 CC="$CC -m32"
5591 CXX="$CXX -m32"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5594 $as_echo_n "checking whether $CC works... " >&6; }
5595 if ${wine_cv_cc_m32+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5602 main ()
5606 return 0;
5608 _ACEOF
5609 if ac_fn_c_try_link "$LINENO"; then :
5610 wine_cv_cc_m32=yes
5611 else
5612 wine_cv_cc_m32=no
5614 rm -f core conftest.err conftest.$ac_objext \
5615 conftest$ac_exeext conftest.$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5618 $as_echo "$wine_cv_cc_m32" >&6; }
5619 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5620 host_cpu="i386"
5621 notice_platform="32-bit "
5622 TARGETFLAGS="-m32"
5624 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5625 export PKG_CONFIG_PATH
5626 enable_win16=${enable_win16:-yes}
5627 with_unwind=${with_unwind:-no}
5628 else
5629 if test "x${GCC}" = "xyes"
5630 then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5632 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5633 if ${wine_cv_builtin_ms_va_list+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5638 #include <stdarg.h>
5640 main ()
5642 void func(__builtin_ms_va_list *args);
5644 return 0;
5646 _ACEOF
5647 if ac_fn_c_try_compile "$LINENO"; then :
5648 wine_cv_builtin_ms_va_list=yes
5649 else
5650 wine_cv_builtin_ms_va_list=no
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5655 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5656 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5658 CC="$CC -m64"
5659 CXX="$CXX -m64"
5660 host_cpu="x86_64"
5661 notice_platform="64-bit "
5662 TARGETFLAGS="-m64"
5666 arm*)
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5668 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5669 if ${wine_cv_thumb+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5674 int ac_test(int i) { return i; }
5676 main ()
5678 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5680 return 0;
5682 _ACEOF
5683 if ac_fn_c_try_link "$LINENO"; then :
5684 wine_cv_thumb=yes
5685 else
5686 wine_cv_thumb=no
5688 rm -f core conftest.err conftest.$ac_objext \
5689 conftest$ac_exeext conftest.$ac_ext
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5692 $as_echo "$wine_cv_thumb" >&6; }
5693 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5694 case $with_float_abi in
5695 soft|softfp|hard)
5696 float_abi=$with_float_abi ;;
5698 case $host_os in
5699 *eabihf)
5700 float_abi=hard ;;
5702 float_abi=softfp
5703 saved_CFLAGS=$CFLAGS
5704 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5706 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5707 if ${wine_cv_float_abi+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5714 main ()
5716 asm("vmrs r2,fpscr");
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_link "$LINENO"; then :
5722 wine_cv_float_abi=yes
5723 else
5724 wine_cv_float_abi=no
5726 rm -f core conftest.err conftest.$ac_objext \
5727 conftest$ac_exeext conftest.$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5730 $as_echo "$wine_cv_float_abi" >&6; }
5731 if test $wine_cv_float_abi = no
5732 then
5733 float_abi=soft
5734 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5736 CFLAGS=$saved_CFLAGS
5737 esac
5739 esac
5740 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5741 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5744 aarch64*)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5746 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5747 if ${wine_cv_builtin_ms_va_list+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5752 #include <stdarg.h>
5754 main ()
5756 void func(__builtin_ms_va_list *args);
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_compile "$LINENO"; then :
5762 wine_cv_builtin_ms_va_list=yes
5763 else
5764 wine_cv_builtin_ms_va_list=no
5766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5769 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5770 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5772 i[3456789]86*)
5773 enable_win16=${enable_win16:-yes}
5774 with_unwind=${with_unwind:-no}
5776 esac
5778 enable_win16=${enable_win16:-no}
5779 enable_win64=${enable_win64:-no}
5781 enable_winetest=${enable_winetest:-$enable_tests}
5783 if test "x$enable_win64" = "xyes"
5784 then
5785 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5786 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5787 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5791 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5792 if ${wine_cv_toolsdir+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 wine_cv_toolsdir="$with_wine_tools"
5796 if test -z "$with_wine_tools"; then
5797 if test "$cross_compiling" = "yes"; then
5798 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5799 elif test -n "$with_wine64"; then
5800 wine_cv_toolsdir="$with_wine64"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5805 $as_echo "$wine_cv_toolsdir" >&6; }
5806 if test -z "$wine_cv_toolsdir"; then
5807 wine_makedep=tools/makedep
5808 TOOLSDIR="\$(top_builddir)"
5810 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5811 wine_makedep=$wine_cv_toolsdir/tools/makedep
5812 case "$wine_cv_toolsdir" in
5813 /*) TOOLSDIR=$wine_cv_toolsdir
5815 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5817 esac
5818 enable_tools=${enable_tools:-no}
5819 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5820 else
5821 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5823 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5824 then
5825 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5829 for ac_prog in flex
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy $ac_prog; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_FLEX+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -n "$FLEX"; then
5839 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_FLEX="$ac_prog"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5852 done
5853 done
5854 IFS=$as_save_IFS
5858 FLEX=$ac_cv_prog_FLEX
5859 if test -n "$FLEX"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5861 $as_echo "$FLEX" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 test -n "$FLEX" && break
5869 done
5870 test -n "$FLEX" || FLEX="none"
5872 if test "$FLEX" = "none"
5873 then
5874 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5877 $as_echo_n "checking whether flex is recent enough... " >&6; }
5878 if ${wine_cv_recent_flex+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 cat >conftest.l <<EOF
5882 %top{
5883 #include "prediluvian.h"
5887 if $FLEX -t conftest.l >/dev/null 2>&5
5888 then
5889 wine_cv_recent_flex=yes
5890 else
5891 wine_cv_recent_flex=no
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5895 $as_echo "$wine_cv_recent_flex" >&6; }
5896 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5898 for ac_prog in bison
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_BISON+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$BISON"; then
5908 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_BISON="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 BISON=$ac_cv_prog_BISON
5928 if test -n "$BISON"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5930 $as_echo "$BISON" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$BISON" && break
5938 done
5939 test -n "$BISON" || BISON="none"
5941 if test "$BISON" = "none"
5942 then
5943 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5946 $as_echo_n "checking whether bison is recent enough... " >&6; }
5947 if ${wine_cv_recent_bison+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 cat >conftest.y <<EOF
5951 %define parse.error verbose
5953 empty: ;
5955 if $BISON conftest.y >/dev/null 2>&5
5956 then
5957 wine_cv_recent_bison=yes
5958 else
5959 wine_cv_recent_bison=no
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5963 $as_echo "$wine_cv_recent_bison" >&6; }
5964 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5966 if test -n "$ac_tool_prefix"; then
5967 for ac_prog in ar gar
5969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_AR+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$AR"; then
5977 ac_cv_prog_AR="$AR" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 AR=$ac_cv_prog_AR
5997 if test -n "$AR"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5999 $as_echo "$AR" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$AR" && break
6007 done
6009 if test -z "$AR"; then
6010 ac_ct_AR=$AR
6011 for ac_prog in ar gar
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy $ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$ac_ct_AR"; then
6021 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_ac_ct_AR="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6041 if test -n "$ac_ct_AR"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6043 $as_echo "$ac_ct_AR" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$ac_ct_AR" && break
6051 done
6053 if test "x$ac_ct_AR" = x; then
6054 AR="ar"
6055 else
6056 case $cross_compiling:$ac_tool_warned in
6057 yes:)
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6061 esac
6062 AR=$ac_ct_AR
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}strip; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_STRIP+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -n "$STRIP"; then
6075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 STRIP=$ac_cv_prog_STRIP
6095 if test -n "$STRIP"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6097 $as_echo "$STRIP" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6105 if test -z "$ac_cv_prog_STRIP"; then
6106 ac_ct_STRIP=$STRIP
6107 # Extract the first word of "strip", so it can be a program name with args.
6108 set dummy strip; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$ac_ct_STRIP"; then
6115 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ac_ct_STRIP="strip"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6135 if test -n "$ac_ct_STRIP"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6137 $as_echo "$ac_ct_STRIP" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6143 if test "x$ac_ct_STRIP" = x; then
6144 STRIP="strip"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 STRIP=$ac_ct_STRIP
6154 else
6155 STRIP="$ac_cv_prog_STRIP"
6158 if test -n "$ac_tool_prefix"; then
6159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 $as_echo_n "checking for $ac_word... " >&6; }
6163 if ${ac_cv_prog_RANLIB+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if test -n "$RANLIB"; then
6167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6180 done
6181 done
6182 IFS=$as_save_IFS
6186 RANLIB=$ac_cv_prog_RANLIB
6187 if test -n "$RANLIB"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6189 $as_echo "$RANLIB" >&6; }
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 $as_echo "no" >&6; }
6197 if test -z "$ac_cv_prog_RANLIB"; then
6198 ac_ct_RANLIB=$RANLIB
6199 # Extract the first word of "ranlib", so it can be a program name with args.
6200 set dummy ranlib; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 if test -n "$ac_ct_RANLIB"; then
6207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_ac_ct_RANLIB="ranlib"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 break 2
6220 done
6221 done
6222 IFS=$as_save_IFS
6226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6227 if test -n "$ac_ct_RANLIB"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6229 $as_echo "$ac_ct_RANLIB" >&6; }
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6235 if test "x$ac_ct_RANLIB" = x; then
6236 RANLIB=":"
6237 else
6238 case $cross_compiling:$ac_tool_warned in
6239 yes:)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6243 esac
6244 RANLIB=$ac_ct_RANLIB
6246 else
6247 RANLIB="$ac_cv_prog_RANLIB"
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6251 $as_echo_n "checking whether ln -s works... " >&6; }
6252 LN_S=$as_ln_s
6253 if test "$LN_S" = "ln -s"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6255 $as_echo "yes" >&6; }
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6258 $as_echo "no, using $LN_S" >&6; }
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6263 if ${ac_cv_path_GREP+:} false; then :
6264 $as_echo_n "(cached) " >&6
6265 else
6266 if test -z "$GREP"; then
6267 ac_path_GREP_found=false
6268 # Loop through the user's path and test for each of PROGNAME-LIST
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_prog in grep ggrep; do
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6277 as_fn_executable_p "$ac_path_GREP" || continue
6278 # Check for GNU ac_path_GREP and select it if it is found.
6279 # Check for GNU $ac_path_GREP
6280 case `"$ac_path_GREP" --version 2>&1` in
6281 *GNU*)
6282 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6284 ac_count=0
6285 $as_echo_n 0123456789 >"conftest.in"
6286 while :
6288 cat "conftest.in" "conftest.in" >"conftest.tmp"
6289 mv "conftest.tmp" "conftest.in"
6290 cp "conftest.in" "conftest.nl"
6291 $as_echo 'GREP' >> "conftest.nl"
6292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6293 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6294 as_fn_arith $ac_count + 1 && ac_count=$as_val
6295 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6296 # Best one so far, save it but keep looking for a better one
6297 ac_cv_path_GREP="$ac_path_GREP"
6298 ac_path_GREP_max=$ac_count
6300 # 10*(2^10) chars as input seems more than enough
6301 test $ac_count -gt 10 && break
6302 done
6303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6304 esac
6306 $ac_path_GREP_found && break 3
6307 done
6308 done
6309 done
6310 IFS=$as_save_IFS
6311 if test -z "$ac_cv_path_GREP"; then
6312 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6314 else
6315 ac_cv_path_GREP=$GREP
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6320 $as_echo "$ac_cv_path_GREP" >&6; }
6321 GREP="$ac_cv_path_GREP"
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6325 $as_echo_n "checking for egrep... " >&6; }
6326 if ${ac_cv_path_EGREP+:} false; then :
6327 $as_echo_n "(cached) " >&6
6328 else
6329 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6330 then ac_cv_path_EGREP="$GREP -E"
6331 else
6332 if test -z "$EGREP"; then
6333 ac_path_EGREP_found=false
6334 # Loop through the user's path and test for each of PROGNAME-LIST
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_prog in egrep; do
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6343 as_fn_executable_p "$ac_path_EGREP" || continue
6344 # Check for GNU ac_path_EGREP and select it if it is found.
6345 # Check for GNU $ac_path_EGREP
6346 case `"$ac_path_EGREP" --version 2>&1` in
6347 *GNU*)
6348 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6350 ac_count=0
6351 $as_echo_n 0123456789 >"conftest.in"
6352 while :
6354 cat "conftest.in" "conftest.in" >"conftest.tmp"
6355 mv "conftest.tmp" "conftest.in"
6356 cp "conftest.in" "conftest.nl"
6357 $as_echo 'EGREP' >> "conftest.nl"
6358 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6360 as_fn_arith $ac_count + 1 && ac_count=$as_val
6361 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6362 # Best one so far, save it but keep looking for a better one
6363 ac_cv_path_EGREP="$ac_path_EGREP"
6364 ac_path_EGREP_max=$ac_count
6366 # 10*(2^10) chars as input seems more than enough
6367 test $ac_count -gt 10 && break
6368 done
6369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6370 esac
6372 $ac_path_EGREP_found && break 3
6373 done
6374 done
6375 done
6376 IFS=$as_save_IFS
6377 if test -z "$ac_cv_path_EGREP"; then
6378 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6380 else
6381 ac_cv_path_EGREP=$EGREP
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6387 $as_echo "$ac_cv_path_EGREP" >&6; }
6388 EGREP="$ac_cv_path_EGREP"
6391 # Extract the first word of "ldconfig", so it can be a program name with args.
6392 set dummy ldconfig; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_path_LDCONFIG+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 case $LDCONFIG in
6399 [\\/]* | ?:[\\/]*)
6400 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in /sbin /usr/sbin $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6418 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6420 esac
6422 LDCONFIG=$ac_cv_path_LDCONFIG
6423 if test -n "$LDCONFIG"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6425 $as_echo "$LDCONFIG" >&6; }
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6432 for ac_prog in msgfmt
6434 # Extract the first word of "$ac_prog", so it can be a program name with args.
6435 set dummy $ac_prog; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_MSGFMT+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 if test -n "$MSGFMT"; then
6442 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6443 else
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in $PATH
6447 IFS=$as_save_IFS
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_MSGFMT="$ac_prog"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 break 2
6455 done
6456 done
6457 IFS=$as_save_IFS
6461 MSGFMT=$ac_cv_prog_MSGFMT
6462 if test -n "$MSGFMT"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6464 $as_echo "$MSGFMT" >&6; }
6465 else
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6471 test -n "$MSGFMT" && break
6472 done
6473 test -n "$MSGFMT" || MSGFMT="false"
6475 if ${ac_tool_prefix+:} false; then :
6476 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6477 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 $as_echo_n "checking for $ac_word... " >&6; }
6480 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6481 $as_echo_n "(cached) " >&6
6482 else
6483 if test -n "$PKG_CONFIG"; then
6484 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6504 if test -n "$PKG_CONFIG"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6506 $as_echo "$PKG_CONFIG" >&6; }
6507 else
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6515 if test "x$cross_compiling" = xyes; then :
6517 else
6518 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6519 # Extract the first word of "pkg-config", so it can be a program name with args.
6520 set dummy pkg-config; ac_word=$2
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522 $as_echo_n "checking for $ac_word... " >&6; }
6523 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 if test -n "$PKG_CONFIG"; then
6527 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6528 else
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 for as_dir in $PATH
6532 IFS=$as_save_IFS
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_PKG_CONFIG="pkg-config"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 break 2
6540 done
6541 done
6542 IFS=$as_save_IFS
6546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6547 if test -n "$PKG_CONFIG"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6549 $as_echo "$PKG_CONFIG" >&6; }
6550 else
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552 $as_echo "no" >&6; }
6557 else
6558 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6561 if test "x$enable_maintainer_mode" != "xyes"
6562 then
6563 FONTFORGE=""
6564 RSVG=""
6565 CONVERT=""
6566 ICOTOOL=""
6567 else
6568 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6569 for ac_prog in fontforge
6571 # Extract the first word of "$ac_prog", so it can be a program name with args.
6572 set dummy $ac_prog; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_FONTFORGE+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$FONTFORGE"; then
6579 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_FONTFORGE="$ac_prog"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6592 done
6593 done
6594 IFS=$as_save_IFS
6598 FONTFORGE=$ac_cv_prog_FONTFORGE
6599 if test -n "$FONTFORGE"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6601 $as_echo "$FONTFORGE" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6608 test -n "$FONTFORGE" && break
6609 done
6610 test -n "$FONTFORGE" || FONTFORGE="false"
6612 for ac_prog in rsvg-convert rsvg
6614 # Extract the first word of "$ac_prog", so it can be a program name with args.
6615 set dummy $ac_prog; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_RSVG+:} false; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 if test -n "$RSVG"; then
6622 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_RSVG="$ac_prog"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6641 RSVG=$ac_cv_prog_RSVG
6642 if test -n "$RSVG"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6644 $as_echo "$RSVG" >&6; }
6645 else
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6651 test -n "$RSVG" && break
6652 done
6653 test -n "$RSVG" || RSVG="false"
6655 for ac_prog in convert
6657 # Extract the first word of "$ac_prog", so it can be a program name with args.
6658 set dummy $ac_prog; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_CONVERT+:} false; then :
6662 $as_echo_n "(cached) " >&6
6663 else
6664 if test -n "$CONVERT"; then
6665 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6670 IFS=$as_save_IFS
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_CONVERT="$ac_prog"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 break 2
6678 done
6679 done
6680 IFS=$as_save_IFS
6684 CONVERT=$ac_cv_prog_CONVERT
6685 if test -n "$CONVERT"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6687 $as_echo "$CONVERT" >&6; }
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6694 test -n "$CONVERT" && break
6695 done
6696 test -n "$CONVERT" || CONVERT="false"
6698 for ac_prog in icotool
6700 # Extract the first word of "$ac_prog", so it can be a program name with args.
6701 set dummy $ac_prog; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ICOTOOL+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706 else
6707 if test -n "$ICOTOOL"; then
6708 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6709 else
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 for as_dir in $PATH
6713 IFS=$as_save_IFS
6714 test -z "$as_dir" && as_dir=.
6715 for ac_exec_ext in '' $ac_executable_extensions; do
6716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6717 ac_cv_prog_ICOTOOL="$ac_prog"
6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719 break 2
6721 done
6722 done
6723 IFS=$as_save_IFS
6727 ICOTOOL=$ac_cv_prog_ICOTOOL
6728 if test -n "$ICOTOOL"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6730 $as_echo "$ICOTOOL" >&6; }
6731 else
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6737 test -n "$ICOTOOL" && break
6738 done
6739 test -n "$ICOTOOL" || ICOTOOL="false"
6741 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6742 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6744 if test "$CONVERT" = false
6745 then
6746 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6749 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6750 convert_version=`convert --version | head -n1`
6751 if test "x$convert_version" != "x"
6752 then
6753 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6754 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6755 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6756 then
6757 CONVERT=false
6760 if test "$CONVERT" = false
6761 then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6763 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6764 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6767 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6771 if test "$ICOTOOL" = false
6772 then
6773 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6774 else
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6776 $as_echo_n "checking for recent enough icotool... " >&6; }
6777 icotool_version=`icotool --version | head -n1`
6778 if test "x$icotool_version" != "x"
6779 then
6780 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6781 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6782 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6783 then
6784 ICOTOOL=false
6785 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6788 if test "$ICOTOOL" = false
6789 then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6791 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6792 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6793 else
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6795 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6799 with_gettext=yes
6800 with_gettextpo=yes
6802 enable_werror=yes
6805 test "x$with_gettext" != xno || MSGFMT=false
6806 if test "$MSGFMT" != "false"
6807 then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6809 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6810 if ${wine_cv_msgfmt_contexts+:} false; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6813 cat >conftest.po <<EOF
6814 # comment
6815 msgctxt "ctxt"
6816 msgid "id"
6817 msgstr "str"
6819 if $MSGFMT -o /dev/null conftest.po 2>&5
6820 then
6821 wine_cv_msgfmt_contexts=yes
6822 else
6823 wine_cv_msgfmt_contexts=no
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6827 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6828 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6830 if test "$MSGFMT" = false; then :
6831 case "x$with_gettext" in
6832 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6833 xno) ;;
6834 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6835 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6836 esac
6837 enable_po=${enable_po:-no}
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6842 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6843 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 ac_check_lib_save_LIBS=$LIBS
6847 LIBS="-li386 $LIBS"
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6851 /* Override any GCC internal prototype to avoid an error.
6852 Use char because int might match the return type of a GCC
6853 builtin and then its argument prototype would still apply. */
6854 #ifdef __cplusplus
6855 extern "C"
6856 #endif
6857 char i386_set_ldt ();
6859 main ()
6861 return i386_set_ldt ();
6863 return 0;
6865 _ACEOF
6866 if ac_fn_c_try_link "$LINENO"; then :
6867 ac_cv_lib_i386_i386_set_ldt=yes
6868 else
6869 ac_cv_lib_i386_i386_set_ldt=no
6871 rm -f core conftest.err conftest.$ac_objext \
6872 conftest$ac_exeext conftest.$ac_ext
6873 LIBS=$ac_check_lib_save_LIBS
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6876 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6877 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6878 I386_LIBS="-li386"
6883 OPENGL_LIBS=""
6887 # Check whether --enable-largefile was given.
6888 if test "${enable_largefile+set}" = set; then :
6889 enableval=$enable_largefile;
6892 if test "$enable_largefile" != no; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6895 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6896 if ${ac_cv_sys_largefile_CC+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 ac_cv_sys_largefile_CC=no
6900 if test "$GCC" != yes; then
6901 ac_save_CC=$CC
6902 while :; do
6903 # IRIX 6.2 and later do not support large files by default,
6904 # so use the C compiler's -n32 option if that helps.
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 #include <sys/types.h>
6908 /* Check that off_t can represent 2**63 - 1 correctly.
6909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6910 since some C++ compilers masquerading as C compilers
6911 incorrectly reject 9223372036854775807. */
6912 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6914 && LARGE_OFF_T % 2147483647 == 1)
6915 ? 1 : -1];
6917 main ()
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 break
6927 rm -f core conftest.err conftest.$ac_objext
6928 CC="$CC -n32"
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 ac_cv_sys_largefile_CC=' -n32'; break
6932 rm -f core conftest.err conftest.$ac_objext
6933 break
6934 done
6935 CC=$ac_save_CC
6936 rm -f conftest.$ac_ext
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6940 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6941 if test "$ac_cv_sys_largefile_CC" != no; then
6942 CC=$CC$ac_cv_sys_largefile_CC
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6946 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6947 if ${ac_cv_sys_file_offset_bits+:} false; then :
6948 $as_echo_n "(cached) " >&6
6949 else
6950 while :; do
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 #include <sys/types.h>
6954 /* Check that off_t can represent 2**63 - 1 correctly.
6955 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6956 since some C++ compilers masquerading as C compilers
6957 incorrectly reject 9223372036854775807. */
6958 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6959 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6960 && LARGE_OFF_T % 2147483647 == 1)
6961 ? 1 : -1];
6963 main ()
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_compile "$LINENO"; then :
6971 ac_cv_sys_file_offset_bits=no; break
6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6976 #define _FILE_OFFSET_BITS 64
6977 #include <sys/types.h>
6978 /* Check that off_t can represent 2**63 - 1 correctly.
6979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6980 since some C++ compilers masquerading as C compilers
6981 incorrectly reject 9223372036854775807. */
6982 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6984 && LARGE_OFF_T % 2147483647 == 1)
6985 ? 1 : -1];
6987 main ()
6991 return 0;
6993 _ACEOF
6994 if ac_fn_c_try_compile "$LINENO"; then :
6995 ac_cv_sys_file_offset_bits=64; break
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 ac_cv_sys_file_offset_bits=unknown
6999 break
7000 done
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7003 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7004 case $ac_cv_sys_file_offset_bits in #(
7005 no | unknown) ;;
7007 cat >>confdefs.h <<_ACEOF
7008 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7009 _ACEOF
7011 esac
7012 rm -rf conftest*
7013 if test $ac_cv_sys_file_offset_bits = unknown; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7015 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7016 if ${ac_cv_sys_large_files+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 while :; do
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 ac_cv_sys_large_files=no; break
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #define _LARGE_FILES 1
7046 #include <sys/types.h>
7047 /* Check that off_t can represent 2**63 - 1 correctly.
7048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7049 since some C++ compilers masquerading as C compilers
7050 incorrectly reject 9223372036854775807. */
7051 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7053 && LARGE_OFF_T % 2147483647 == 1)
7054 ? 1 : -1];
7056 main ()
7060 return 0;
7062 _ACEOF
7063 if ac_fn_c_try_compile "$LINENO"; then :
7064 ac_cv_sys_large_files=1; break
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 ac_cv_sys_large_files=unknown
7068 break
7069 done
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7072 $as_echo "$ac_cv_sys_large_files" >&6; }
7073 case $ac_cv_sys_large_files in #(
7074 no | unknown) ;;
7076 cat >>confdefs.h <<_ACEOF
7077 #define _LARGE_FILES $ac_cv_sys_large_files
7078 _ACEOF
7080 esac
7081 rm -rf conftest*
7088 ac_ext=c
7089 ac_cpp='$CPP $CPPFLAGS'
7090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7094 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7095 # On Suns, sometimes $CPP names a directory.
7096 if test -n "$CPP" && test -d "$CPP"; then
7097 CPP=
7099 if test -z "$CPP"; then
7100 if ${ac_cv_prog_CPP+:} false; then :
7101 $as_echo_n "(cached) " >&6
7102 else
7103 # Double quotes because CPP needs to be expanded
7104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7106 ac_preproc_ok=false
7107 for ac_c_preproc_warn_flag in '' yes
7109 # Use a header file that comes with gcc, so configuring glibc
7110 # with a fresh cross-compiler works.
7111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7112 # <limits.h> exists even on freestanding compilers.
7113 # On the NeXT, cc -E runs the code through the compiler's parser,
7114 # not just through cpp. "Syntax error" is here to catch this case.
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 #ifdef __STDC__
7118 # include <limits.h>
7119 #else
7120 # include <assert.h>
7121 #endif
7122 Syntax error
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7126 else
7127 # Broken: fails on valid input.
7128 continue
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7132 # OK, works on sane cases. Now check whether nonexistent headers
7133 # can be detected and how.
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7136 #include <ac_nonexistent.h>
7137 _ACEOF
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7139 # Broken: success on invalid input.
7140 continue
7141 else
7142 # Passes both tests.
7143 ac_preproc_ok=:
7144 break
7146 rm -f conftest.err conftest.i conftest.$ac_ext
7148 done
7149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7150 rm -f conftest.i conftest.err conftest.$ac_ext
7151 if $ac_preproc_ok; then :
7152 break
7155 done
7156 ac_cv_prog_CPP=$CPP
7159 CPP=$ac_cv_prog_CPP
7160 else
7161 ac_cv_prog_CPP=$CPP
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7164 $as_echo "$CPP" >&6; }
7165 ac_preproc_ok=false
7166 for ac_c_preproc_warn_flag in '' yes
7168 # Use a header file that comes with gcc, so configuring glibc
7169 # with a fresh cross-compiler works.
7170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7171 # <limits.h> exists even on freestanding compilers.
7172 # On the NeXT, cc -E runs the code through the compiler's parser,
7173 # not just through cpp. "Syntax error" is here to catch this case.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #ifdef __STDC__
7177 # include <limits.h>
7178 #else
7179 # include <assert.h>
7180 #endif
7181 Syntax error
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7185 else
7186 # Broken: fails on valid input.
7187 continue
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7191 # OK, works on sane cases. Now check whether nonexistent headers
7192 # can be detected and how.
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #include <ac_nonexistent.h>
7196 _ACEOF
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7198 # Broken: success on invalid input.
7199 continue
7200 else
7201 # Passes both tests.
7202 ac_preproc_ok=:
7203 break
7205 rm -f conftest.err conftest.i conftest.$ac_ext
7207 done
7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7209 rm -f conftest.i conftest.err conftest.$ac_ext
7210 if $ac_preproc_ok; then :
7212 else
7213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7215 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7216 See \`config.log' for more details" "$LINENO" 5; }
7219 ac_ext=c
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7227 $as_echo_n "checking for ANSI C header files... " >&6; }
7228 if ${ac_cv_header_stdc+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 #include <stdlib.h>
7234 #include <stdarg.h>
7235 #include <string.h>
7236 #include <float.h>
7239 main ()
7243 return 0;
7245 _ACEOF
7246 if ac_fn_c_try_compile "$LINENO"; then :
7247 ac_cv_header_stdc=yes
7248 else
7249 ac_cv_header_stdc=no
7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253 if test $ac_cv_header_stdc = yes; then
7254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <string.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "memchr" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #include <stdlib.h>
7276 _ACEOF
7277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7278 $EGREP "free" >/dev/null 2>&1; then :
7280 else
7281 ac_cv_header_stdc=no
7283 rm -f conftest*
7287 if test $ac_cv_header_stdc = yes; then
7288 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7289 if test "$cross_compiling" = yes; then :
7291 else
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <ctype.h>
7295 #include <stdlib.h>
7296 #if ((' ' & 0x0FF) == 0x020)
7297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7299 #else
7300 # define ISLOWER(c) \
7301 (('a' <= (c) && (c) <= 'i') \
7302 || ('j' <= (c) && (c) <= 'r') \
7303 || ('s' <= (c) && (c) <= 'z'))
7304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7305 #endif
7307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7309 main ()
7311 int i;
7312 for (i = 0; i < 256; i++)
7313 if (XOR (islower (i), ISLOWER (i))
7314 || toupper (i) != TOUPPER (i))
7315 return 2;
7316 return 0;
7318 _ACEOF
7319 if ac_fn_c_try_run "$LINENO"; then :
7321 else
7322 ac_cv_header_stdc=no
7324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7325 conftest.$ac_objext conftest.beam conftest.$ac_ext
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7331 $as_echo "$ac_cv_header_stdc" >&6; }
7332 if test $ac_cv_header_stdc = yes; then
7334 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7338 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7339 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7340 inttypes.h stdint.h unistd.h
7341 do :
7342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7343 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7355 for ac_header in \
7356 AL/al.h \
7357 ApplicationServices/ApplicationServices.h \
7358 AudioToolbox/AudioConverter.h \
7359 AudioUnit/AudioUnit.h \
7360 AudioUnit/AudioComponent.h \
7361 CL/cl.h \
7362 Carbon/Carbon.h \
7363 CommonCrypto/CommonCryptor.h \
7364 CoreAudio/CoreAudio.h \
7365 CoreServices/CoreServices.h \
7366 DiskArbitration/DiskArbitration.h \
7367 EGL/egl.h \
7368 IOKit/IOKitLib.h \
7369 IOKit/hid/IOHIDLib.h \
7370 OpenAL/al.h \
7371 OpenCL/opencl.h \
7372 QuickTime/ImageCompression.h \
7373 Security/Security.h \
7374 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7375 SystemConfiguration/SCNetworkConfiguration.h \
7376 alias.h \
7377 arpa/inet.h \
7378 arpa/nameser.h \
7379 asm/types.h \
7380 asm/user.h \
7381 curses.h \
7382 dirent.h \
7383 dlfcn.h \
7384 elf.h \
7385 float.h \
7386 fnmatch.h \
7387 getopt.h \
7388 gettext-po.h \
7389 grp.h \
7390 gsm.h \
7391 gsm/gsm.h \
7392 ieeefp.h \
7393 inet/mib2.h \
7394 kstat.h \
7395 libproc.h \
7396 link.h \
7397 linux/cdrom.h \
7398 linux/compiler.h \
7399 linux/filter.h \
7400 linux/hdreg.h \
7401 linux/hidraw.h \
7402 linux/input.h \
7403 linux/ioctl.h \
7404 linux/joystick.h \
7405 linux/major.h \
7406 linux/param.h \
7407 linux/serial.h \
7408 linux/types.h \
7409 linux/ucdrom.h \
7410 lwp.h \
7411 mach-o/nlist.h \
7412 mach-o/loader.h \
7413 mach/mach.h \
7414 mach/machine.h \
7415 machine/cpu.h \
7416 machine/limits.h \
7417 machine/sysarch.h \
7418 mntent.h \
7419 ncurses.h \
7420 netdb.h \
7421 netinet/in.h \
7422 netinet/in_systm.h \
7423 netinet/tcp.h \
7424 netinet/tcp_fsm.h \
7425 pcap/pcap.h \
7426 poll.h \
7427 port.h \
7428 pthread.h \
7429 pwd.h \
7430 sched.h \
7431 scsi/scsi.h \
7432 scsi/scsi_ioctl.h \
7433 scsi/sg.h \
7434 stdbool.h \
7435 stdint.h \
7436 stropts.h \
7437 sys/attr.h \
7438 sys/auxv.h \
7439 sys/cdio.h \
7440 sys/elf32.h \
7441 sys/epoll.h \
7442 sys/event.h \
7443 sys/exec_elf.h \
7444 sys/filio.h \
7445 sys/ioctl.h \
7446 sys/ipc.h \
7447 sys/limits.h \
7448 sys/link.h \
7449 sys/mman.h \
7450 sys/modem.h \
7451 sys/msg.h \
7452 sys/mtio.h \
7453 sys/param.h \
7454 sys/poll.h \
7455 sys/prctl.h \
7456 sys/protosw.h \
7457 sys/ptrace.h \
7458 sys/queue.h \
7459 sys/resource.h \
7460 sys/scsiio.h \
7461 sys/shm.h \
7462 sys/signal.h \
7463 sys/socket.h \
7464 sys/socketvar.h \
7465 sys/sockio.h \
7466 sys/statvfs.h \
7467 sys/strtio.h \
7468 sys/syscall.h \
7469 sys/sysinfo.h \
7470 sys/tihdr.h \
7471 sys/time.h \
7472 sys/timeout.h \
7473 sys/times.h \
7474 sys/uio.h \
7475 sys/user.h \
7476 sys/utsname.h \
7477 sys/vnode.h \
7478 sys/wait.h \
7479 syscall.h \
7480 termios.h \
7481 unistd.h \
7482 utime.h \
7483 valgrind/memcheck.h \
7484 valgrind/valgrind.h
7486 do :
7487 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7488 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7490 cat >>confdefs.h <<_ACEOF
7491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7492 _ACEOF
7496 done
7498 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7499 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7501 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7506 if test $ac_cv_header_sys_mkdev_h = no; then
7507 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7508 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7510 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7517 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7518 if ${ac_cv_header_stat_broken+:} false; then :
7519 $as_echo_n "(cached) " >&6
7520 else
7521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7523 #include <sys/types.h>
7524 #include <sys/stat.h>
7526 #if defined S_ISBLK && defined S_IFDIR
7527 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7528 #endif
7530 #if defined S_ISBLK && defined S_IFCHR
7531 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7532 #endif
7534 #if defined S_ISLNK && defined S_IFREG
7535 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7536 #endif
7538 #if defined S_ISSOCK && defined S_IFREG
7539 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7540 #endif
7542 _ACEOF
7543 if ac_fn_c_try_compile "$LINENO"; then :
7544 ac_cv_header_stat_broken=no
7545 else
7546 ac_cv_header_stat_broken=yes
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7551 $as_echo "$ac_cv_header_stat_broken" >&6; }
7552 if test $ac_cv_header_stat_broken = yes; then
7554 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7560 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7561 do :
7562 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7563 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7564 #ifdef HAVE_SYS_PARAM_H
7565 # include <sys/param.h>
7566 #endif
7568 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7569 cat >>confdefs.h <<_ACEOF
7570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7571 _ACEOF
7575 done
7578 for ac_header in \
7579 netinet/ip.h \
7580 net/if.h \
7581 net/if_arp.h \
7582 net/if_dl.h \
7583 net/if_types.h \
7584 net/route.h \
7585 netinet/if_ether.h \
7586 netinet/if_inarp.h \
7587 netinet/in_pcb.h \
7588 netinet/ip_icmp.h \
7589 netinet/ip_var.h \
7590 netinet/udp.h \
7591 netipx/ipx.h \
7592 sys/un.h \
7594 do :
7595 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7596 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7597 #ifdef HAVE_SYS_SOCKET_H
7598 # include <sys/socket.h>
7599 #endif
7600 #ifdef HAVE_SYS_SOCKETVAR_H
7601 # include <sys/socketvar.h>
7602 #endif
7603 #ifdef HAVE_NET_ROUTE_H
7604 # include <net/route.h>
7605 #endif
7606 #ifdef HAVE_NETINET_IN_H
7607 # include <netinet/in.h>
7608 #endif
7609 #ifdef HAVE_NETINET_IN_SYSTM_H
7610 # include <netinet/in_systm.h>
7611 #endif
7612 #ifdef HAVE_NET_IF_H
7613 # include <net/if.h>
7614 #endif
7615 #ifdef HAVE_NETINET_IP_H
7616 # include <netinet/ip.h>
7617 #endif
7619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7620 cat >>confdefs.h <<_ACEOF
7621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7622 _ACEOF
7626 done
7629 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7630 do :
7631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7632 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7633 #ifdef HAVE_ALIAS_H
7634 # include <alias.h>
7635 #endif
7636 #ifdef HAVE_SYS_SOCKET_H
7637 # include <sys/socket.h>
7638 #endif
7639 #ifdef HAVE_SYS_SOCKETVAR_H
7640 # include <sys/socketvar.h>
7641 #endif
7642 #ifdef HAVE_SYS_TIMEOUT_H
7643 # include <sys/timeout.h>
7644 #endif
7645 #ifdef HAVE_NETINET_IN_H
7646 # include <netinet/in.h>
7647 #endif
7648 #ifdef HAVE_NETINET_IN_SYSTM_H
7649 # include <netinet/in_systm.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IP_H
7652 # include <netinet/ip.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IP_VAR_H
7655 # include <netinet/ip_var.h>
7656 #endif
7657 #ifdef HAVE_NETINET_IP_ICMP_H
7658 # include <netinet/ip_icmp.h>
7659 #endif
7660 #ifdef HAVE_NETINET_UDP_H
7661 # include <netinet/udp.h>
7662 #endif
7663 #ifdef HAVE_NETINET_TCP_H
7664 # include <netinet/tcp.h>
7665 #endif
7666 #ifdef HAVE_NETINET_TCP_TIMER_H
7667 #include <netinet/tcp_timer.h>
7668 #endif
7670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7673 _ACEOF
7677 done
7680 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7681 do :
7682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7683 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7684 #ifdef HAVE_ASM_TYPES_H
7685 # include <asm/types.h>
7686 #endif
7687 #ifdef HAVE_SYS_SOCKET_H
7688 # include <sys/socket.h>
7689 #endif
7690 #ifdef HAVE_LINUX_TYPES_H
7691 # include <linux/types.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 resolv.h
7705 do :
7706 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_SOCKET_H
7708 # include <sys/socket.h>
7709 #endif
7710 #ifdef HAVE_NETINET_IN_H
7711 # include <netinet/in.h>
7712 #endif
7713 #ifdef HAVE_ARPA_NAMESER_H
7714 # include <arpa/nameser.h>
7715 #endif
7717 if test "x$ac_cv_header_resolv_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_RESOLV_H 1
7720 _ACEOF
7724 done
7727 for ac_header in ifaddrs.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7731 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_IFADDRS_H 1
7734 _ACEOF
7738 done
7741 for ac_header in sys/ucontext.h
7742 do :
7743 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7745 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_SYS_UCONTEXT_H 1
7748 _ACEOF
7752 done
7755 for ac_header in sys/thr.h
7756 do :
7757 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7758 #ifdef HAVE_SYS_UCONTEXT_H
7759 #include <sys/ucontext.h>
7760 #endif
7762 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_SYS_THR_H 1
7765 _ACEOF
7769 done
7772 for ac_header in pthread_np.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7775 #include <pthread.h>
7776 #endif
7778 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_PTHREAD_NP_H 1
7781 _ACEOF
7785 done
7788 for ac_header in linux/videodev2.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7791 #include <sys/time.h>
7792 #endif
7793 #include <sys/types.h>
7794 #ifdef HAVE_ASM_TYPES_H
7795 #include <asm/types.h>
7796 #endif
7798 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_LINUX_VIDEODEV2_H 1
7801 _ACEOF
7805 done
7808 for ac_header in libprocstat.h
7809 do :
7810 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7811 #include <sys/param.h>
7812 #endif
7813 #ifdef HAVE_SYS_QUEUE_H
7814 #include <sys/queue.h>
7815 #endif
7816 #ifdef HAVE_SYS_SOCKET_H
7817 #include <sys/socket.h>
7818 #endif
7820 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_LIBPROCSTAT_H 1
7823 _ACEOF
7827 done
7831 DLLFLAGS="-D_REENTRANT"
7833 LDRPATH_INSTALL=""
7835 LDRPATH_LOCAL=""
7837 LDDLLFLAGS=""
7839 LDEXECFLAGS=""
7841 TOP_INSTALL_LIB=""
7843 TOP_INSTALL_DEV=""
7845 WINELOADER_LDFLAGS=""
7847 WINEPRELOADER_LDFLAGS=""
7849 LIBEXT="so"
7850 DLLEXT=".so"
7851 # Extract the first word of "ldd", so it can be a program name with args.
7852 set dummy ldd; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7854 $as_echo_n "checking for $ac_word... " >&6; }
7855 if ${ac_cv_path_LDD+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 case $LDD in
7859 [\\/]* | ?:[\\/]*)
7860 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 as_dummy="/sbin:/usr/sbin:$PATH"
7865 for as_dir in $as_dummy
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7879 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7881 esac
7883 LDD=$ac_cv_path_LDD
7884 if test -n "$LDD"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7886 $as_echo "$LDD" >&6; }
7887 else
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}otool; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_OTOOL+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 if test -n "$OTOOL"; then
7902 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 OTOOL=$ac_cv_prog_OTOOL
7922 if test -n "$OTOOL"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7924 $as_echo "$OTOOL" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7932 if test -z "$ac_cv_prog_OTOOL"; then
7933 ac_ct_OTOOL=$OTOOL
7934 # Extract the first word of "otool", so it can be a program name with args.
7935 set dummy otool; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$ac_ct_OTOOL"; then
7942 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_ac_ct_OTOOL="otool"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7962 if test -n "$ac_ct_OTOOL"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7964 $as_echo "$ac_ct_OTOOL" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7970 if test "x$ac_ct_OTOOL" = x; then
7971 OTOOL="otool"
7972 else
7973 case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7977 ac_tool_warned=yes ;;
7978 esac
7979 OTOOL=$ac_ct_OTOOL
7981 else
7982 OTOOL="$ac_cv_prog_OTOOL"
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_READELF+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$READELF"; then
7994 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 READELF=$ac_cv_prog_READELF
8014 if test -n "$READELF"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8016 $as_echo "$READELF" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_READELF"; then
8025 ac_ct_READELF=$READELF
8026 # Extract the first word of "readelf", so it can be a program name with args.
8027 set dummy readelf; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_READELF"; then
8034 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_READELF="readelf"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8054 if test -n "$ac_ct_READELF"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8056 $as_echo "$ac_ct_READELF" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_READELF" = x; then
8063 READELF="true"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 READELF=$ac_ct_READELF
8073 else
8074 READELF="$ac_cv_prog_READELF"
8077 wine_rules_file=conf$$rules.make
8078 rm -f $wine_rules_file
8079 SUBDIRS=""
8081 DISABLED_SUBDIRS=""
8083 CONFIGURE_TARGETS=""
8086 wine_fn_append_file ()
8088 as_fn_append $1 " \\$as_nl $2"
8091 wine_fn_append_rule ()
8093 $as_echo "$1" >>$wine_rules_file
8096 wine_fn_config_makefile ()
8098 wine_fn_append_file SUBDIRS $1
8099 if eval test \"x\$"$2"\" = x"no"; then :
8100 wine_fn_append_file DISABLED_SUBDIRS $1
8104 wine_fn_config_symlink ()
8106 ac_links=$@
8107 wine_fn_append_rule \
8108 "$ac_links:
8109 @./config.status \$@"
8110 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8113 wine_binary="wine"
8114 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8115 WINELOADER_PROGRAMS="$wine_binary"
8117 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8119 case $host_os in
8120 cygwin*|mingw32*)
8121 if test -n "$ac_tool_prefix"; then
8122 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8123 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8125 $as_echo_n "checking for $ac_word... " >&6; }
8126 if ${ac_cv_prog_DLLTOOL+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 if test -n "$DLLTOOL"; then
8130 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8131 else
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 for as_dir in $PATH
8135 IFS=$as_save_IFS
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8139 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 break 2
8143 done
8144 done
8145 IFS=$as_save_IFS
8149 DLLTOOL=$ac_cv_prog_DLLTOOL
8150 if test -n "$DLLTOOL"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8152 $as_echo "$DLLTOOL" >&6; }
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8160 if test -z "$ac_cv_prog_DLLTOOL"; then
8161 ac_ct_DLLTOOL=$DLLTOOL
8162 # Extract the first word of "dlltool", so it can be a program name with args.
8163 set dummy dlltool; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8165 $as_echo_n "checking for $ac_word... " >&6; }
8166 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 if test -n "$ac_ct_DLLTOOL"; then
8170 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8171 else
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 for as_dir in $PATH
8175 IFS=$as_save_IFS
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 break 2
8183 done
8184 done
8185 IFS=$as_save_IFS
8189 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8190 if test -n "$ac_ct_DLLTOOL"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8192 $as_echo "$ac_ct_DLLTOOL" >&6; }
8193 else
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8198 if test "x$ac_ct_DLLTOOL" = x; then
8199 DLLTOOL="false"
8200 else
8201 case $cross_compiling:$ac_tool_warned in
8202 yes:)
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8205 ac_tool_warned=yes ;;
8206 esac
8207 DLLTOOL=$ac_ct_DLLTOOL
8209 else
8210 DLLTOOL="$ac_cv_prog_DLLTOOL"
8213 LIBEXT="dll"
8214 DLLEXT=""
8215 case $host_cpu in
8216 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8217 esac
8218 enable_iphlpapi=${enable_iphlpapi:-no}
8219 enable_kernel32=${enable_kernel32:-no}
8220 enable_ntdll=${enable_ntdll:-no}
8221 enable_ws2_32=${enable_ws2_32:-no}
8222 enable_loader=${enable_loader:-no}
8223 enable_server=${enable_server:-no}
8224 with_x=${with_x:-no}
8225 with_pthread=${with_pthread:-no}
8228 darwin*|macosx*)
8229 ac_ext=m
8230 ac_cpp='$OBJCPP $CPPFLAGS'
8231 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8232 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8233 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8235 ac_ext=m
8236 ac_cpp='$OBJCPP $CPPFLAGS'
8237 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8238 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8239 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8240 if test -n "$ac_tool_prefix"; then
8241 for ac_prog in gcc objcc objc cc CC
8243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_OBJC+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 if test -n "$OBJC"; then
8251 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8256 IFS=$as_save_IFS
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 break 2
8264 done
8265 done
8266 IFS=$as_save_IFS
8270 OBJC=$ac_cv_prog_OBJC
8271 if test -n "$OBJC"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8273 $as_echo "$OBJC" >&6; }
8274 else
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8280 test -n "$OBJC" && break
8281 done
8283 if test -z "$OBJC"; then
8284 ac_ct_OBJC=$OBJC
8285 for ac_prog in gcc objcc objc cc CC
8287 # Extract the first word of "$ac_prog", so it can be a program name with args.
8288 set dummy $ac_prog; ac_word=$2
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 $as_echo_n "checking for $ac_word... " >&6; }
8291 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 if test -n "$ac_ct_OBJC"; then
8295 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8296 else
8297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 for as_dir in $PATH
8300 IFS=$as_save_IFS
8301 test -z "$as_dir" && as_dir=.
8302 for ac_exec_ext in '' $ac_executable_extensions; do
8303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8304 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8306 break 2
8308 done
8309 done
8310 IFS=$as_save_IFS
8314 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8315 if test -n "$ac_ct_OBJC"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8317 $as_echo "$ac_ct_OBJC" >&6; }
8318 else
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8324 test -n "$ac_ct_OBJC" && break
8325 done
8327 if test "x$ac_ct_OBJC" = x; then
8328 OBJC="gcc"
8329 else
8330 case $cross_compiling:$ac_tool_warned in
8331 yes:)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8334 ac_tool_warned=yes ;;
8335 esac
8336 OBJC=$ac_ct_OBJC
8340 # Provide some information about the compiler.
8341 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8342 set X $ac_compile
8343 ac_compiler=$2
8344 for ac_option in --version -v -V -qversion; do
8345 { { ac_try="$ac_compiler $ac_option >&5"
8346 case "(($ac_try" in
8347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8348 *) ac_try_echo=$ac_try;;
8349 esac
8350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8351 $as_echo "$ac_try_echo"; } >&5
8352 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8353 ac_status=$?
8354 if test -s conftest.err; then
8355 sed '10a\
8356 ... rest of stderr output deleted ...
8357 10q' conftest.err >conftest.er1
8358 cat conftest.er1 >&5
8360 rm -f conftest.er1 conftest.err
8361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8362 test $ac_status = 0; }
8363 done
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8366 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8367 if ${ac_cv_objc_compiler_gnu+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 main ()
8376 #ifndef __GNUC__
8377 choke me
8378 #endif
8381 return 0;
8383 _ACEOF
8384 if ac_fn_objc_try_compile "$LINENO"; then :
8385 ac_compiler_gnu=yes
8386 else
8387 ac_compiler_gnu=no
8389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8390 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8394 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8395 if test $ac_compiler_gnu = yes; then
8396 GOBJC=yes
8397 else
8398 GOBJC=
8400 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8401 ac_save_OBJCFLAGS=$OBJCFLAGS
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8403 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8404 if ${ac_cv_prog_objc_g+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_save_objc_werror_flag=$ac_objc_werror_flag
8408 ac_objc_werror_flag=yes
8409 ac_cv_prog_objc_g=no
8410 OBJCFLAGS="-g"
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8415 main ()
8419 return 0;
8421 _ACEOF
8422 if ac_fn_objc_try_compile "$LINENO"; then :
8423 ac_cv_prog_objc_g=yes
8424 else
8425 OBJCFLAGS=""
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8430 main ()
8434 return 0;
8436 _ACEOF
8437 if ac_fn_objc_try_compile "$LINENO"; then :
8439 else
8440 ac_objc_werror_flag=$ac_save_objc_werror_flag
8441 OBJCFLAGS="-g"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8446 main ()
8450 return 0;
8452 _ACEOF
8453 if ac_fn_objc_try_compile "$LINENO"; then :
8454 ac_cv_prog_objc_g=yes
8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 ac_objc_werror_flag=$ac_save_objc_werror_flag
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8464 $as_echo "$ac_cv_prog_objc_g" >&6; }
8465 if test "$ac_test_OBJCFLAGS" = set; then
8466 OBJCFLAGS=$ac_save_OBJCFLAGS
8467 elif test $ac_cv_prog_objc_g = yes; then
8468 if test "$GOBJC" = yes; then
8469 OBJCFLAGS="-g -O2"
8470 else
8471 OBJCFLAGS="-g"
8473 else
8474 if test "$GOBJC" = yes; then
8475 OBJCFLAGS="-O2"
8476 else
8477 OBJCFLAGS=
8480 ac_ext=m
8481 ac_cpp='$OBJCPP $CPPFLAGS'
8482 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8487 ac_ext=m
8488 ac_cpp='$OBJCPP $CPPFLAGS'
8489 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8493 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8494 if test -z "$OBJCPP"; then
8495 if ${ac_cv_prog_OBJCPP+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 # Double quotes because OBJCPP needs to be expanded
8499 for OBJCPP in "$OBJC -E" "/lib/cpp"
8501 ac_preproc_ok=false
8502 for ac_objc_preproc_warn_flag in '' yes
8504 # Use a header file that comes with gcc, so configuring glibc
8505 # with a fresh cross-compiler works.
8506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8507 # <limits.h> exists even on freestanding compilers.
8508 # On the NeXT, cc -E runs the code through the compiler's parser,
8509 # not just through cpp. "Syntax error" is here to catch this case.
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 #ifdef __STDC__
8513 # include <limits.h>
8514 #else
8515 # include <assert.h>
8516 #endif
8517 Syntax error
8518 _ACEOF
8519 if ac_fn_objc_try_cpp "$LINENO"; then :
8521 else
8522 # Broken: fails on valid input.
8523 continue
8525 rm -f conftest.err conftest.i conftest.$ac_ext
8527 # OK, works on sane cases. Now check whether nonexistent headers
8528 # can be detected and how.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #include <ac_nonexistent.h>
8532 _ACEOF
8533 if ac_fn_objc_try_cpp "$LINENO"; then :
8534 # Broken: success on invalid input.
8535 continue
8536 else
8537 # Passes both tests.
8538 ac_preproc_ok=:
8539 break
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 done
8544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8545 rm -f conftest.i conftest.err conftest.$ac_ext
8546 if $ac_preproc_ok; then :
8547 break
8550 done
8551 ac_cv_prog_OBJCPP=$OBJCPP
8554 OBJCPP=$ac_cv_prog_OBJCPP
8555 else
8556 ac_cv_prog_OBJCPP=$OBJCPP
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8559 $as_echo "$OBJCPP" >&6; }
8560 ac_preproc_ok=false
8561 for ac_objc_preproc_warn_flag in '' yes
8563 # Use a header file that comes with gcc, so configuring glibc
8564 # with a fresh cross-compiler works.
8565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8566 # <limits.h> exists even on freestanding compilers.
8567 # On the NeXT, cc -E runs the code through the compiler's parser,
8568 # not just through cpp. "Syntax error" is here to catch this case.
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8571 #ifdef __STDC__
8572 # include <limits.h>
8573 #else
8574 # include <assert.h>
8575 #endif
8576 Syntax error
8577 _ACEOF
8578 if ac_fn_objc_try_cpp "$LINENO"; then :
8580 else
8581 # Broken: fails on valid input.
8582 continue
8584 rm -f conftest.err conftest.i conftest.$ac_ext
8586 # OK, works on sane cases. Now check whether nonexistent headers
8587 # can be detected and how.
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 #include <ac_nonexistent.h>
8591 _ACEOF
8592 if ac_fn_objc_try_cpp "$LINENO"; then :
8593 # Broken: success on invalid input.
8594 continue
8595 else
8596 # Passes both tests.
8597 ac_preproc_ok=:
8598 break
8600 rm -f conftest.err conftest.i conftest.$ac_ext
8602 done
8603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8604 rm -f conftest.i conftest.err conftest.$ac_ext
8605 if $ac_preproc_ok; then :
8607 else
8608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8610 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8611 See \`config.log' for more details" "$LINENO" 5; }
8614 ac_ext=m
8615 ac_cpp='$OBJCPP $CPPFLAGS'
8616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8621 for ac_header in Metal/Metal.h
8622 do :
8623 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8624 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8625 cat >>confdefs.h <<_ACEOF
8626 #define HAVE_METAL_METAL_H 1
8627 _ACEOF
8631 done
8633 ac_ext=c
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8639 LIBEXT="dylib"
8640 DLLFLAGS="$DLLFLAGS -fPIC"
8641 LDDLLFLAGS="-fPIC"
8642 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8643 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8644 COREFOUNDATION_LIBS="-framework CoreFoundation"
8646 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8648 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8650 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8652 CORESERVICES_LIBS="-framework CoreServices"
8654 APPKIT_LIBS="-framework AppKit"
8656 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8659 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8661 wine_can_build_preloader=yes
8662 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8664 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8665 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_cflags__Wl__no_new_main__e__main=yes
8676 else
8677 ac_cv_cflags__Wl__no_new_main__e__main=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 CFLAGS=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8684 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8685 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8686 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8688 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8689 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8700 else
8701 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8708 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8709 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8710 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8711 else
8712 { $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
8713 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8714 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8725 else
8726 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $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
8733 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8734 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8735 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8736 else
8737 wine_can_build_preloader=no
8740 else
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8742 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8743 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 ac_wine_try_cflags_saved=$CFLAGS
8747 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 int main(int argc, char **argv) { return 0; }
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8754 else
8755 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8762 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8763 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8764 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8767 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8768 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 int main(int argc, char **argv) { return 0; }
8776 _ACEOF
8777 if ac_fn_c_try_link "$LINENO"; then :
8778 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8779 else
8780 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8787 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8788 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8789 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8790 else
8791 wine_can_build_preloader=no
8795 if test "$wine_can_build_preloader" = "yes"
8796 then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8798 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8799 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -Wl,-no_pie"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_cflags__Wl__no_pie=yes
8810 else
8811 ac_cv_cflags__Wl__no_pie=no
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8818 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8819 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8820 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8822 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8823 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8824 else
8825 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8828 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8829 then
8830 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8833 if test "$ac_cv_header_Security_Security_h" = "yes"
8834 then
8835 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8837 ac_save_LIBS="$LIBS"
8838 LIBS="$LIBS $SECURITY_LIBS"
8839 for ac_func in SSLCopyPeerCertificates
8840 do :
8841 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8842 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8843 cat >>confdefs.h <<_ACEOF
8844 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8845 _ACEOF
8848 done
8850 LIBS="$ac_save_LIBS"
8852 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8853 then
8854 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8855 then
8856 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8858 else
8859 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8862 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8863 ac_save_LIBS="$LIBS"
8864 LIBS="$LIBS $COREAUDIO_LIBS"
8865 for ac_func in AUGraphAddNode
8866 do :
8867 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8868 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8869 cat >>confdefs.h <<_ACEOF
8870 #define HAVE_AUGRAPHADDNODE 1
8871 _ACEOF
8874 done
8876 LIBS="$ac_save_LIBS"
8878 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8879 then
8880 OPENAL_LIBS="-framework OpenAL"
8883 cat >>confdefs.h <<_ACEOF
8884 #define HAVE_OPENAL 1
8885 _ACEOF
8887 ac_cv_lib_openal=yes
8889 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8890 then
8891 OPENCL_LIBS="-framework OpenCL"
8893 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8895 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8896 then
8897 ac_save_LIBS="$LIBS"
8898 LIBS="$LIBS $IOKIT_LIBS"
8899 for ac_func in IOHIDManagerCreate
8900 do :
8901 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8902 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8903 cat >>confdefs.h <<_ACEOF
8904 #define HAVE_IOHIDMANAGERCREATE 1
8905 _ACEOF
8908 done
8910 LIBS="$ac_save_LIBS"
8912 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8913 then
8914 ac_save_LIBS="$LIBS"
8915 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8917 $as_echo_n "checking for the QuickTime framework... " >&6; }
8918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8920 #include <QuickTime/ImageCompression.h>
8922 main ()
8924 CodecManagerVersion(NULL);
8926 return 0;
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8931 $as_echo "yes" >&6; }
8932 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8934 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8938 ac_cv_header_QuickTime_ImageCompression_h=no
8940 rm -f core conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 LIBS="$ac_save_LIBS"
8944 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8945 then
8946 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8948 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8949 then
8950 CARBON_LIBS="-framework Carbon"
8953 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8954 then
8955 METAL_LIBS="-framework Metal -framework QuartzCore"
8959 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8960 then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8962 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8963 ac_ext=m
8964 ac_cpp='$OBJCPP $CPPFLAGS'
8965 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8966 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8967 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 #include <Metal/Metal.h>
8973 main ()
8975 id<MTLDevice> device; device.registryID;
8977 return 0;
8979 _ACEOF
8980 if ac_fn_objc_try_compile "$LINENO"; then :
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8982 $as_echo "yes" >&6; }
8984 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8991 ac_ext=c
8992 ac_cpp='$CPP $CPPFLAGS'
8993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8999 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9000 then
9001 ac_save_LIBS="$LIBS"
9002 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9003 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9004 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9005 enable_winemac_drv=${enable_winemac_drv:-yes}
9008 LIBS="$ac_save_LIBS"
9011 if test "x$enable_win16" = "xyes"
9012 then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9014 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9015 if test "$cross_compiling" = yes; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9017 $as_echo "cross-compiling, assuming yes" >&6; }
9018 else
9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9021 asm(".text\n"
9022 "bad:\tnop;nop\n"
9023 "good:\tnop;nop\n\t"
9024 ".globl _testfunc\n"
9025 "_testfunc:\tcallw good");
9026 extern void testfunc();
9028 main ()
9030 unsigned short *p = (unsigned short *)testfunc;
9031 return p[0] != 0xe866 || p[1] != 0xfffa
9033 return 0;
9035 _ACEOF
9036 if ac_fn_c_try_run "$LINENO"; then :
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9038 $as_echo "yes" >&6; }
9039 else
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041 $as_echo "no" >&6; }
9042 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
9044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9045 conftest.$ac_objext conftest.beam conftest.$ac_ext
9050 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9052 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9054 WINELOADER_DEPENDS="wine_info.plist"
9056 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9057 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9060 linux-android*)
9061 DLLFLAGS="$DLLFLAGS -fPIC"
9062 LDDLLFLAGS="-fPIC"
9063 LDEXECFLAGS="-Wl,-pie"
9064 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9066 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9067 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 ac_wine_try_cflags_saved=$CFLAGS
9071 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 int main(int argc, char **argv) { return 0; }
9075 _ACEOF
9076 if ac_fn_c_try_link "$LINENO"; then :
9077 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9078 else
9079 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9081 rm -f core conftest.err conftest.$ac_objext \
9082 conftest$ac_exeext conftest.$ac_ext
9083 CFLAGS=$ac_wine_try_cflags_saved
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9086 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9087 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9088 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9090 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9091 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9093 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9094 if eval \${$as_ac_var+:} false; then :
9095 $as_echo_n "(cached) " >&6
9096 else
9097 ac_wine_try_cflags_saved=$CFLAGS
9098 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9101 int main(int argc, char **argv) { return 0; }
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9104 eval "$as_ac_var=yes"
9105 else
9106 eval "$as_ac_var=no"
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 CFLAGS=$ac_wine_try_cflags_saved
9112 eval ac_res=\$$as_ac_var
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9114 $as_echo "$ac_res" >&6; }
9115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9116 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9117 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9118 else
9119 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9121 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9122 if eval \${$as_ac_var+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9129 int main(int argc, char **argv) { return 0; }
9130 _ACEOF
9131 if ac_fn_c_try_link "$LINENO"; then :
9132 eval "$as_ac_var=yes"
9133 else
9134 eval "$as_ac_var=no"
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 CFLAGS=$ac_wine_try_cflags_saved
9140 eval ac_res=\$$as_ac_var
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9142 $as_echo "$ac_res" >&6; }
9143 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9144 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9145 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9149 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9150 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9151 $as_echo_n "(cached) " >&6
9152 else
9153 ac_wine_try_cflags_saved=$CFLAGS
9154 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 int main(int argc, char **argv) { return 0; }
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 ac_cv_cflags__Wl___enable_new_dtags=yes
9161 else
9162 ac_cv_cflags__Wl___enable_new_dtags=no
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 CFLAGS=$ac_wine_try_cflags_saved
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9169 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9170 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9171 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9174 LIBWINE_SHAREDLIB="libwine.so"
9176 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9178 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9181 $as_echo_n "checking for -lEGL... " >&6; }
9182 if ${ac_cv_lib_soname_EGL+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 ac_check_soname_save_LIBS=$LIBS
9186 LIBS="-lEGL $LIBS"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9193 #ifdef __cplusplus
9194 extern "C"
9195 #endif
9196 char eglGetProcAddress ();
9198 main ()
9200 return eglGetProcAddress ();
9202 return 0;
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 case "$LIBEXT" in
9207 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9212 fi ;;
9213 esac
9214 else
9215 ac_cv_lib_soname_EGL=
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 LIBS=$ac_check_soname_save_LIBS
9221 if ${ac_cv_lib_soname_EGL:+false} :; then :
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9223 $as_echo "not found" >&6; }
9225 else
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9227 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9229 cat >>confdefs.h <<_ACEOF
9230 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9231 _ACEOF
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9236 $as_echo_n "checking for -lGLESv2... " >&6; }
9237 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_soname_save_LIBS=$LIBS
9241 LIBS="-lGLESv2 $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char glFlush ();
9253 main ()
9255 return glFlush ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 case "$LIBEXT" in
9262 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9263 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'` ;;
9264 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9267 fi ;;
9268 esac
9269 else
9270 ac_cv_lib_soname_GLESv2=
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_soname_save_LIBS
9276 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9278 $as_echo "not found" >&6; }
9280 else
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9282 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9284 cat >>confdefs.h <<_ACEOF
9285 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9286 _ACEOF
9291 if test "x$exec_prefix" = xNONE
9292 then
9293 case $host_cpu in
9294 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9295 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9296 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9297 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9298 esac
9303 case $host_cpu in
9304 *i[3456789]86*)
9305 DLLFLAGS="$DLLFLAGS -fno-PIC"
9306 LDDLLFLAGS="-fno-PIC" ;;
9308 DLLFLAGS="$DLLFLAGS -fPIC"
9309 LDDLLFLAGS="-fPIC" ;;
9310 esac
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9312 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9313 if ${ac_cv_c_dll_gnuelf+:} false; then :
9314 $as_echo_n "(cached) " >&6
9315 else
9316 ac_wine_try_cflags_saved=$CFLAGS
9317 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9320 void myfunc() {}
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9324 else
9325 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 CFLAGS=$ac_wine_try_cflags_saved
9330 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9331 ac_cv_c_dll_gnuelf="yes"
9332 else
9333 ac_cv_c_dll_gnuelf="no"
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9337 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9338 if test "$ac_cv_c_dll_gnuelf" = "yes"
9339 then
9340 LIBWINE_LDFLAGS="-shared"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9342 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9343 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_wine_try_cflags_saved=$CFLAGS
9347 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9350 int main(int argc, char **argv) { return 0; }
9351 _ACEOF
9352 if ac_fn_c_try_link "$LINENO"; then :
9353 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9354 else
9355 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 CFLAGS=$ac_wine_try_cflags_saved
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9362 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9363 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9364 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9365 else
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9367 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9368 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_wine_try_cflags_saved=$CFLAGS
9372 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9375 int main(int argc, char **argv) { return 0; }
9376 _ACEOF
9377 if ac_fn_c_try_link "$LINENO"; then :
9378 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9379 else
9380 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 CFLAGS=$ac_wine_try_cflags_saved
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9387 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9388 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9389 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9393 echo '{ global: *; };' >conftest.map
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9395 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9396 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9397 $as_echo_n "(cached) " >&6
9398 else
9399 ac_wine_try_cflags_saved=$CFLAGS
9400 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9407 else
9408 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 CFLAGS=$ac_wine_try_cflags_saved
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9415 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9416 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9417 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9419 rm -f conftest.map
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9422 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9423 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_cflags__Wl___export_dynamic=yes
9434 else
9435 ac_cv_cflags__Wl___export_dynamic=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9442 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9443 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9444 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9446 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9448 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9450 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9451 if eval \${$as_ac_var+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_wine_try_cflags_saved=$CFLAGS
9455 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9458 int main(int argc, char **argv) { return 0; }
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 eval "$as_ac_var=yes"
9462 else
9463 eval "$as_ac_var=no"
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 CFLAGS=$ac_wine_try_cflags_saved
9469 eval ac_res=\$$as_ac_var
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9471 $as_echo "$ac_res" >&6; }
9472 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9473 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9474 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9475 else
9476 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9478 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9479 if eval \${$as_ac_var+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 eval "$as_ac_var=yes"
9490 else
9491 eval "$as_ac_var=no"
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 eval ac_res=\$$as_ac_var
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9499 $as_echo "$ac_res" >&6; }
9500 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9501 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9502 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9507 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9508 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 ac_wine_try_cflags_saved=$CFLAGS
9512 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_cflags__Wl___enable_new_dtags=yes
9519 else
9520 ac_cv_cflags__Wl___enable_new_dtags=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 CFLAGS=$ac_wine_try_cflags_saved
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9527 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9528 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9529 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9532 case $host_cpu in
9533 *i[3456789]86* | x86_64 | *aarch64*)
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9535 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9536 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_wine_try_cflags_saved=$CFLAGS
9540 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9547 else
9548 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 CFLAGS=$ac_wine_try_cflags_saved
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9555 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9556 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9557 case $host_os in
9558 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9559 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9560 esac
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9563 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9564 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 int main(int argc, char **argv) { return 0; }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9575 else
9576 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9583 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9584 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9585 case $host_os in
9586 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9587 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9588 esac
9590 # Extract the first word of "prelink", so it can be a program name with args.
9591 set dummy prelink; ac_word=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 $as_echo_n "checking for $ac_word... " >&6; }
9594 if ${ac_cv_path_PRELINK+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 case $PRELINK in
9598 [\\/]* | ?:[\\/]*)
9599 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9603 for as_dir in /sbin /usr/sbin $PATH
9605 IFS=$as_save_IFS
9606 test -z "$as_dir" && as_dir=.
9607 for ac_exec_ext in '' $ac_executable_extensions; do
9608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9609 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9611 break 2
9613 done
9614 done
9615 IFS=$as_save_IFS
9617 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9619 esac
9621 PRELINK=$ac_cv_path_PRELINK
9622 if test -n "$PRELINK"; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9624 $as_echo "$PRELINK" >&6; }
9625 else
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9627 $as_echo "no" >&6; }
9631 if test "x$PRELINK" = xfalse
9632 then
9633 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9637 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9638 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9639 $as_echo_n "(cached) " >&6
9640 else
9641 ac_wine_try_cflags_saved=$CFLAGS
9642 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9645 int main(int argc, char **argv) { return 0; }
9646 _ACEOF
9647 if ac_fn_c_try_link "$LINENO"; then :
9648 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9649 else
9650 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9652 rm -f core conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9654 CFLAGS=$ac_wine_try_cflags_saved
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9657 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9658 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9659 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9662 esac
9664 else
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9666 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9667 if ${ac_cv_c_dll_unixware+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_wine_try_cflags_saved=$CFLAGS
9671 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9674 void myfunc() {}
9675 _ACEOF
9676 if ac_fn_c_try_link "$LINENO"; then :
9677 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9678 else
9679 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9681 rm -f core conftest.err conftest.$ac_objext \
9682 conftest$ac_exeext conftest.$ac_ext
9683 CFLAGS=$ac_wine_try_cflags_saved
9684 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9685 ac_cv_c_dll_unixware="yes"
9686 else
9687 ac_cv_c_dll_unixware="no"
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9691 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9692 if test "$ac_cv_c_dll_unixware" = "yes"
9693 then
9694 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9697 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9699 LIBWINE_DEPENDS="wine.map"
9701 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9702 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9704 esac
9706 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9707 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9708 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9709 enable_winemac_drv=${enable_winemac_drv:-no}
9710 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9712 CROSSTARGET=""
9714 if test "x$with_mingw" != xno
9715 then
9716 case "x$with_mingw" in
9717 x|xyes) case "$host_cpu" in
9718 aarch64*)
9719 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9720 arm*)
9721 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9722 i[3456789]86*)
9723 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
9724 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9725 mingw32-gcc" ;;
9726 x86_64)
9727 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
9728 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9730 ac_prefix_list="" ;;
9731 esac
9732 for ac_prog in $ac_prefix_list
9734 # Extract the first word of "$ac_prog", so it can be a program name with args.
9735 set dummy $ac_prog; ac_word=$2
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9737 $as_echo_n "checking for $ac_word... " >&6; }
9738 if ${ac_cv_prog_CROSSCC+:} false; then :
9739 $as_echo_n "(cached) " >&6
9740 else
9741 if test -n "$CROSSCC"; then
9742 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9743 else
9744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9745 for as_dir in $PATH
9747 IFS=$as_save_IFS
9748 test -z "$as_dir" && as_dir=.
9749 for ac_exec_ext in '' $ac_executable_extensions; do
9750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9751 ac_cv_prog_CROSSCC="$ac_prog"
9752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9753 break 2
9755 done
9756 done
9757 IFS=$as_save_IFS
9761 CROSSCC=$ac_cv_prog_CROSSCC
9762 if test -n "$CROSSCC"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9764 $as_echo "$CROSSCC" >&6; }
9765 else
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9767 $as_echo "no" >&6; }
9771 test -n "$CROSSCC" && break
9772 done
9773 test -n "$CROSSCC" || CROSSCC="false"
9775 *) CROSSCC=$with_mingw ;;
9776 esac
9777 if test "$CROSSCC" != "false"
9778 then
9779 ac_save_CC="$CC"
9780 saved_CFLAGS=$CFLAGS
9781 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9783 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9787 CC="$CROSSCC"
9788 CFLAGS=$CROSSCFLAGS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9790 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9791 if ${wine_cv_crosscc+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main ()
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_compile "$LINENO"; then :
9806 wine_cv_crosscc=yes
9807 else
9808 wine_cv_crosscc=no
9810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9813 $as_echo "$wine_cv_crosscc" >&6; }
9814 if test $wine_cv_crosscc = yes
9815 then
9816 set x $CROSSCC
9817 shift
9818 while test $# -ge 1
9820 case "$1" in
9821 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9822 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9823 esac
9824 shift
9825 done
9827 llvm_target=$CROSSTARGET
9828 if test -z "$llvm_target"
9829 then
9830 case $host_cpu in
9831 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9832 *) llvm_target=$host_cpu-windows-gnu ;;
9833 esac
9835 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9837 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9838 if eval \${$as_ac_var+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_wine_try_cflags_saved=$CFLAGS
9842 ac_wine_try_cflags_saved_cc=$CC
9843 ac_wine_try_cflags_saved_exeext=$ac_exeext
9844 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9845 CC="$CROSSCC"
9846 ac_exeext=".exe"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9849 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"; then :
9852 eval "$as_ac_var=yes"
9853 else
9854 eval "$as_ac_var=no"
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 CFLAGS=$ac_wine_try_cflags_saved
9859 CC=$ac_wine_try_cflags_saved_cc
9860 ac_exeext=$ac_wine_try_cflags_saved_exeext
9862 eval ac_res=\$$as_ac_var
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9864 $as_echo "$ac_res" >&6; }
9865 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9866 CROSSTARGET=$llvm_target
9867 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9868 CFLAGS="$CFLAGS -fuse-ld=lld"
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9872 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9873 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 ac_wine_try_cflags_saved_cc=$CC
9878 ac_wine_try_cflags_saved_exeext=$ac_exeext
9879 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9880 CC="$CROSSCC"
9881 ac_exeext=".exe"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 ac_cv_crosscflags__fno_strict_aliasing=yes
9888 else
9889 ac_cv_crosscflags__fno_strict_aliasing=no
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9894 CC=$ac_wine_try_cflags_saved_cc
9895 ac_exeext=$ac_wine_try_cflags_saved_exeext
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9898 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9899 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9900 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9903 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9904 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_wine_try_cflags_saved=$CFLAGS
9908 ac_wine_try_cflags_saved_cc=$CC
9909 ac_wine_try_cflags_saved_exeext=$ac_exeext
9910 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9911 CC="$CROSSCC"
9912 ac_exeext=".exe"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9915 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9919 else
9920 ac_cv_crosscflags__Werror_unknown_warning_option=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 CFLAGS=$ac_wine_try_cflags_saved
9925 CC=$ac_wine_try_cflags_saved_cc
9926 ac_exeext=$ac_wine_try_cflags_saved_exeext
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9929 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9930 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9931 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9934 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9935 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_wine_try_cflags_saved=$CFLAGS
9939 ac_wine_try_cflags_saved_cc=$CC
9940 ac_wine_try_cflags_saved_exeext=$ac_exeext
9941 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9942 CC="$CROSSCC"
9943 ac_exeext=".exe"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9947 _ACEOF
9948 if ac_fn_c_try_link "$LINENO"; then :
9949 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9950 else
9951 ac_cv_crosscflags__Wdeclaration_after_statement=no
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9956 CC=$ac_wine_try_cflags_saved_cc
9957 ac_exeext=$ac_wine_try_cflags_saved_exeext
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9960 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9961 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9962 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9965 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9966 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 ac_wine_try_cflags_saved_cc=$CC
9971 ac_wine_try_cflags_saved_exeext=$ac_exeext
9972 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9973 CC="$CROSSCC"
9974 ac_exeext=".exe"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9977 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9978 _ACEOF
9979 if ac_fn_c_try_link "$LINENO"; then :
9980 ac_cv_crosscflags__Wempty_body=yes
9981 else
9982 ac_cv_crosscflags__Wempty_body=no
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 CFLAGS=$ac_wine_try_cflags_saved
9987 CC=$ac_wine_try_cflags_saved_cc
9988 ac_exeext=$ac_wine_try_cflags_saved_exeext
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9991 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9992 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9993 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9996 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9997 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_wine_try_cflags_saved=$CFLAGS
10001 ac_wine_try_cflags_saved_cc=$CC
10002 ac_wine_try_cflags_saved_exeext=$ac_exeext
10003 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10004 CC="$CROSSCC"
10005 ac_exeext=".exe"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 ac_cv_crosscflags__Wignored_qualifiers=yes
10012 else
10013 ac_cv_crosscflags__Wignored_qualifiers=no
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10018 CC=$ac_wine_try_cflags_saved_cc
10019 ac_exeext=$ac_wine_try_cflags_saved_exeext
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10022 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10023 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10024 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10027 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10028 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_wine_try_cflags_saved=$CFLAGS
10032 ac_wine_try_cflags_saved_cc=$CC
10033 ac_wine_try_cflags_saved_exeext=$ac_exeext
10034 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10035 CC="$CROSSCC"
10036 ac_exeext=".exe"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_crosscflags__Wpacked_not_aligned=yes
10043 else
10044 ac_cv_crosscflags__Wpacked_not_aligned=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 CFLAGS=$ac_wine_try_cflags_saved
10049 CC=$ac_wine_try_cflags_saved_cc
10050 ac_exeext=$ac_wine_try_cflags_saved_exeext
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10053 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10054 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10055 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10058 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10059 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_wine_try_cflags_saved=$CFLAGS
10063 ac_wine_try_cflags_saved_cc=$CC
10064 ac_wine_try_cflags_saved_exeext=$ac_exeext
10065 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10066 CC="$CROSSCC"
10067 ac_exeext=".exe"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 ac_cv_crosscflags__Wpragma_pack=yes
10074 else
10075 ac_cv_crosscflags__Wpragma_pack=no
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 CFLAGS=$ac_wine_try_cflags_saved
10080 CC=$ac_wine_try_cflags_saved_cc
10081 ac_exeext=$ac_wine_try_cflags_saved_exeext
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10084 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10085 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10086 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10089 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10090 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 ac_wine_try_cflags_saved_cc=$CC
10095 ac_wine_try_cflags_saved_exeext=$ac_exeext
10096 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10097 CC="$CROSSCC"
10098 ac_exeext=".exe"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10101 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 ac_cv_crosscflags__Wshift_overflow_2=yes
10105 else
10106 ac_cv_crosscflags__Wshift_overflow_2=no
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 CFLAGS=$ac_wine_try_cflags_saved
10111 CC=$ac_wine_try_cflags_saved_cc
10112 ac_exeext=$ac_wine_try_cflags_saved_exeext
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10115 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10116 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10117 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10120 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10121 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_wine_try_cflags_saved=$CFLAGS
10125 ac_wine_try_cflags_saved_cc=$CC
10126 ac_wine_try_cflags_saved_exeext=$ac_exeext
10127 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10128 CC="$CROSSCC"
10129 ac_exeext=".exe"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_crosscflags__Wstrict_prototypes=yes
10136 else
10137 ac_cv_crosscflags__Wstrict_prototypes=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_wine_try_cflags_saved
10142 CC=$ac_wine_try_cflags_saved_cc
10143 ac_exeext=$ac_wine_try_cflags_saved_exeext
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10146 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10147 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10148 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10151 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10152 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_wine_try_cflags_saved=$CFLAGS
10156 ac_wine_try_cflags_saved_cc=$CC
10157 ac_wine_try_cflags_saved_exeext=$ac_exeext
10158 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10159 CC="$CROSSCC"
10160 ac_exeext=".exe"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 ac_cv_crosscflags__Wtype_limits=yes
10167 else
10168 ac_cv_crosscflags__Wtype_limits=no
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10173 CC=$ac_wine_try_cflags_saved_cc
10174 ac_exeext=$ac_wine_try_cflags_saved_exeext
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10177 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10178 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10182 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10183 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10186 ac_wine_try_cflags_saved=$CFLAGS
10187 ac_wine_try_cflags_saved_cc=$CC
10188 ac_wine_try_cflags_saved_exeext=$ac_exeext
10189 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10190 CC="$CROSSCC"
10191 ac_exeext=".exe"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10198 else
10199 ac_cv_crosscflags__Wunused_but_set_parameter=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 CFLAGS=$ac_wine_try_cflags_saved
10204 CC=$ac_wine_try_cflags_saved_cc
10205 ac_exeext=$ac_wine_try_cflags_saved_exeext
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10208 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10209 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10210 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10213 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10214 if ${ac_cv_crosscflags__Wvla+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_wine_try_cflags_saved=$CFLAGS
10218 ac_wine_try_cflags_saved_cc=$CC
10219 ac_wine_try_cflags_saved_exeext=$ac_exeext
10220 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10221 CC="$CROSSCC"
10222 ac_exeext=".exe"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_crosscflags__Wvla=yes
10229 else
10230 ac_cv_crosscflags__Wvla=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 CFLAGS=$ac_wine_try_cflags_saved
10235 CC=$ac_wine_try_cflags_saved_cc
10236 ac_exeext=$ac_wine_try_cflags_saved_exeext
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10239 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10240 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10241 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10244 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10245 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_wine_try_cflags_saved=$CFLAGS
10249 ac_wine_try_cflags_saved_cc=$CC
10250 ac_wine_try_cflags_saved_exeext=$ac_exeext
10251 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10252 CC="$CROSSCC"
10253 ac_exeext=".exe"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_crosscflags__Wwrite_strings=yes
10260 else
10261 ac_cv_crosscflags__Wwrite_strings=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10266 CC=$ac_wine_try_cflags_saved_cc
10267 ac_exeext=$ac_wine_try_cflags_saved_exeext
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10270 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10271 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10272 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10275 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10276 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 ac_wine_try_cflags_saved=$CFLAGS
10280 ac_wine_try_cflags_saved_cc=$CC
10281 ac_wine_try_cflags_saved_exeext=$ac_exeext
10282 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10283 CC="$CROSSCC"
10284 ac_exeext=".exe"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10287 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 ac_cv_crosscflags__Wpointer_arith=yes
10291 else
10292 ac_cv_crosscflags__Wpointer_arith=no
10294 rm -f core conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 CFLAGS=$ac_wine_try_cflags_saved
10297 CC=$ac_wine_try_cflags_saved_cc
10298 ac_exeext=$ac_wine_try_cflags_saved_exeext
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10301 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10302 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10303 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10306 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10307 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_wine_try_cflags_saved=$CFLAGS
10311 ac_wine_try_cflags_saved_cc=$CC
10312 ac_wine_try_cflags_saved_exeext=$ac_exeext
10313 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10314 CC="$CROSSCC"
10315 ac_exeext=".exe"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10318 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"; then :
10321 ac_cv_crosscflags__Wlogical_op=yes
10322 else
10323 ac_cv_crosscflags__Wlogical_op=no
10325 rm -f core conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10327 CFLAGS=$ac_wine_try_cflags_saved
10328 CC=$ac_wine_try_cflags_saved_cc
10329 ac_exeext=$ac_wine_try_cflags_saved_exeext
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10332 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10333 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10334 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10337 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10338 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10339 $as_echo_n "(cached) " >&6
10340 else
10341 ac_wine_try_cflags_saved=$CFLAGS
10342 ac_wine_try_cflags_saved_cc=$CC
10343 ac_wine_try_cflags_saved_exeext=$ac_exeext
10344 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10345 CC="$CROSSCC"
10346 ac_exeext=".exe"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10349 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10350 _ACEOF
10351 if ac_fn_c_try_link "$LINENO"; then :
10352 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10353 else
10354 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 CFLAGS=$ac_wine_try_cflags_saved
10359 CC=$ac_wine_try_cflags_saved_cc
10360 ac_exeext=$ac_wine_try_cflags_saved_exeext
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10363 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10364 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10365 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10368 case $host_cpu in
10369 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10370 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10371 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10372 $as_echo_n "(cached) " >&6
10373 else
10374 ac_wine_try_cflags_saved=$CFLAGS
10375 ac_wine_try_cflags_saved_cc=$CC
10376 ac_wine_try_cflags_saved_exeext=$ac_exeext
10377 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10378 CC="$CROSSCC"
10379 ac_exeext=".exe"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10382 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10386 else
10387 ac_cv_crosscflags__fno_omit_frame_pointer=no
10389 rm -f core conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 CFLAGS=$ac_wine_try_cflags_saved
10392 CC=$ac_wine_try_cflags_saved_cc
10393 ac_exeext=$ac_wine_try_cflags_saved_exeext
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10396 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10397 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10398 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10399 fi ;;
10400 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10401 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10402 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
10405 ac_wine_try_cflags_saved=$CFLAGS
10406 ac_wine_try_cflags_saved_cc=$CC
10407 ac_wine_try_cflags_saved_exeext=$ac_exeext
10408 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10409 CC="$CROSSCC"
10410 ac_exeext=".exe"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10413 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10414 _ACEOF
10415 if ac_fn_c_try_link "$LINENO"; then :
10416 ac_cv_crosscflags__Wno_format=yes
10417 else
10418 ac_cv_crosscflags__Wno_format=no
10420 rm -f core conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 CFLAGS=$ac_wine_try_cflags_saved
10423 CC=$ac_wine_try_cflags_saved_cc
10424 ac_exeext=$ac_wine_try_cflags_saved_exeext
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10427 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10428 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10429 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10432 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10433 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_wine_try_cflags_saved=$CFLAGS
10437 ac_wine_try_cflags_saved_cc=$CC
10438 ac_wine_try_cflags_saved_exeext=$ac_exeext
10439 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10440 CC="$CROSSCC"
10441 ac_exeext=".exe"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10444 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 ac_cv_crosscflags__Wformat_overflow=yes
10448 else
10449 ac_cv_crosscflags__Wformat_overflow=no
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 CFLAGS=$ac_wine_try_cflags_saved
10454 CC=$ac_wine_try_cflags_saved_cc
10455 ac_exeext=$ac_wine_try_cflags_saved_exeext
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10458 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10459 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10460 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10463 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10464 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 ac_wine_try_cflags_saved=$CFLAGS
10468 ac_wine_try_cflags_saved_cc=$CC
10469 ac_wine_try_cflags_saved_exeext=$ac_exeext
10470 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10471 CC="$CROSSCC"
10472 ac_exeext=".exe"
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10475 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10476 _ACEOF
10477 if ac_fn_c_try_link "$LINENO"; then :
10478 ac_cv_crosscflags__Wnonnull=yes
10479 else
10480 ac_cv_crosscflags__Wnonnull=no
10482 rm -f core conftest.err conftest.$ac_objext \
10483 conftest$ac_exeext conftest.$ac_ext
10484 CFLAGS=$ac_wine_try_cflags_saved
10485 CC=$ac_wine_try_cflags_saved_cc
10486 ac_exeext=$ac_wine_try_cflags_saved_exeext
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10489 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10490 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10491 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10492 fi ;;
10493 esac
10495 for ac_flag in $CROSSCFLAGS; do
10496 case $ac_flag in
10497 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10498 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10499 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10500 $as_echo_n "(cached) " >&6
10501 else
10502 ac_wine_try_cflags_saved=$CFLAGS
10503 ac_wine_try_cflags_saved_cc=$CC
10504 ac_wine_try_cflags_saved_exeext=$ac_exeext
10505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10506 CC="$CROSSCC"
10507 ac_exeext=".exe"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10510 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10511 _ACEOF
10512 if ac_fn_c_try_link "$LINENO"; then :
10513 ac_cv_crosscflags__gdwarf_2=yes
10514 else
10515 ac_cv_crosscflags__gdwarf_2=no
10517 rm -f core conftest.err conftest.$ac_objext \
10518 conftest$ac_exeext conftest.$ac_ext
10519 CFLAGS=$ac_wine_try_cflags_saved
10520 CC=$ac_wine_try_cflags_saved_cc
10521 ac_exeext=$ac_wine_try_cflags_saved_exeext
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10524 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10525 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10526 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10529 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10530 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10531 $as_echo_n "(cached) " >&6
10532 else
10533 ac_wine_try_cflags_saved=$CFLAGS
10534 ac_wine_try_cflags_saved_cc=$CC
10535 ac_wine_try_cflags_saved_exeext=$ac_exeext
10536 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10537 CC="$CROSSCC"
10538 ac_exeext=".exe"
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10541 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 ac_cv_crosscflags__gstrict_dwarf=yes
10545 else
10546 ac_cv_crosscflags__gstrict_dwarf=no
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 CFLAGS=$ac_wine_try_cflags_saved
10551 CC=$ac_wine_try_cflags_saved_cc
10552 ac_exeext=$ac_wine_try_cflags_saved_exeext
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10555 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10556 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10557 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10558 fi ;;
10559 esac
10560 done
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10563 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10564 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_wine_try_cflags_saved=$CFLAGS
10568 ac_wine_try_cflags_saved_cc=$CC
10569 ac_wine_try_cflags_saved_exeext=$ac_exeext
10570 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10571 CC="$CROSSCC"
10572 ac_exeext=".exe"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10575 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10579 else
10580 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 CFLAGS=$ac_wine_try_cflags_saved
10585 CC=$ac_wine_try_cflags_saved_cc
10586 ac_exeext=$ac_wine_try_cflags_saved_exeext
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10589 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10590 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10591 DELAYLOADFLAG="-Wl,-delayload,"
10595 if test "x$enable_werror" = "xyes"
10596 then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10598 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10599 if ${ac_cv_crosscflags__Werror+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 ac_wine_try_cflags_saved_cc=$CC
10604 ac_wine_try_cflags_saved_exeext=$ac_exeext
10605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10606 CC="$CROSSCC"
10607 ac_exeext=".exe"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_crosscflags__Werror=yes
10614 else
10615 ac_cv_crosscflags__Werror=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 CFLAGS=$ac_wine_try_cflags_saved
10620 CC=$ac_wine_try_cflags_saved_cc
10621 ac_exeext=$ac_wine_try_cflags_saved_exeext
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10624 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10625 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10626 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10630 CFLAGS=$saved_CFLAGS
10631 CC="$ac_save_CC"
10634 if test "x$CROSSTARGET" = "x"; then :
10635 case "x$with_mingw" in
10636 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10637 xno) ;;
10638 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10639 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10640 esac
10645 if test "$ac_cv_header_pthread_h" = "yes"
10646 then
10647 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10648 if test "x$ac_cv_func_pthread_create" = xyes; then :
10650 else
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10652 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10653 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10654 $as_echo_n "(cached) " >&6
10655 else
10656 ac_check_lib_save_LIBS=$LIBS
10657 LIBS="-lpthread $LIBS"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10661 /* Override any GCC internal prototype to avoid an error.
10662 Use char because int might match the return type of a GCC
10663 builtin and then its argument prototype would still apply. */
10664 #ifdef __cplusplus
10665 extern "C"
10666 #endif
10667 char pthread_create ();
10669 main ()
10671 return pthread_create ();
10673 return 0;
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
10677 ac_cv_lib_pthread_pthread_create=yes
10678 else
10679 ac_cv_lib_pthread_pthread_create=no
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 LIBS=$ac_check_lib_save_LIBS
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10686 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10687 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10688 PTHREAD_LIBS="-lpthread"
10695 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10696 case "x$with_pthread" in
10697 xno) ;;
10698 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10699 Wine cannot support threads without libpthread.
10700 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10701 esac
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10707 $as_echo_n "checking for X... " >&6; }
10710 # Check whether --with-x was given.
10711 if test "${with_x+set}" = set; then :
10712 withval=$with_x;
10715 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10716 if test "x$with_x" = xno; then
10717 # The user explicitly disabled X.
10718 have_x=disabled
10719 else
10720 case $x_includes,$x_libraries in #(
10721 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10722 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10723 $as_echo_n "(cached) " >&6
10724 else
10725 # One or both of the vars are not set, and there is no cached value.
10726 ac_x_includes=no ac_x_libraries=no
10727 rm -f -r conftest.dir
10728 if mkdir conftest.dir; then
10729 cd conftest.dir
10730 cat >Imakefile <<'_ACEOF'
10731 incroot:
10732 @echo incroot='${INCROOT}'
10733 usrlibdir:
10734 @echo usrlibdir='${USRLIBDIR}'
10735 libdir:
10736 @echo libdir='${LIBDIR}'
10737 _ACEOF
10738 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10739 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10740 for ac_var in incroot usrlibdir libdir; do
10741 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10742 done
10743 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10744 for ac_extension in a so sl dylib la dll; do
10745 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10746 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10747 ac_im_usrlibdir=$ac_im_libdir; break
10749 done
10750 # Screen out bogus values from the imake configuration. They are
10751 # bogus both because they are the default anyway, and because
10752 # using them would break gcc on systems where it needs fixed includes.
10753 case $ac_im_incroot in
10754 /usr/include) ac_x_includes= ;;
10755 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10756 esac
10757 case $ac_im_usrlibdir in
10758 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10759 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10760 esac
10762 cd ..
10763 rm -f -r conftest.dir
10766 # Standard set of common directories for X headers.
10767 # Check X11 before X11Rn because it is often a symlink to the current release.
10768 ac_x_header_dirs='
10769 /usr/X11/include
10770 /usr/X11R7/include
10771 /usr/X11R6/include
10772 /usr/X11R5/include
10773 /usr/X11R4/include
10775 /usr/include/X11
10776 /usr/include/X11R7
10777 /usr/include/X11R6
10778 /usr/include/X11R5
10779 /usr/include/X11R4
10781 /usr/local/X11/include
10782 /usr/local/X11R7/include
10783 /usr/local/X11R6/include
10784 /usr/local/X11R5/include
10785 /usr/local/X11R4/include
10787 /usr/local/include/X11
10788 /usr/local/include/X11R7
10789 /usr/local/include/X11R6
10790 /usr/local/include/X11R5
10791 /usr/local/include/X11R4
10793 /usr/X386/include
10794 /usr/x386/include
10795 /usr/XFree86/include/X11
10797 /usr/include
10798 /usr/local/include
10799 /usr/unsupported/include
10800 /usr/athena/include
10801 /usr/local/x11r5/include
10802 /usr/lpp/Xamples/include
10804 /usr/openwin/include
10805 /usr/openwin/share/include'
10807 if test "$ac_x_includes" = no; then
10808 # Guess where to find include files, by looking for Xlib.h.
10809 # First, try using that file with no special directory specified.
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10812 #include <X11/Xlib.h>
10813 _ACEOF
10814 if ac_fn_c_try_cpp "$LINENO"; then :
10815 # We can compile using X headers with no special include directory.
10816 ac_x_includes=
10817 else
10818 for ac_dir in $ac_x_header_dirs; do
10819 if test -r "$ac_dir/X11/Xlib.h"; then
10820 ac_x_includes=$ac_dir
10821 break
10823 done
10825 rm -f conftest.err conftest.i conftest.$ac_ext
10826 fi # $ac_x_includes = no
10828 if test "$ac_x_libraries" = no; then
10829 # Check for the libraries.
10830 # See if we find them without any special options.
10831 # Don't add to $LIBS permanently.
10832 ac_save_LIBS=$LIBS
10833 LIBS="-lX11 $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 #include <X11/Xlib.h>
10838 main ()
10840 XrmInitialize ()
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_link "$LINENO"; then :
10846 LIBS=$ac_save_LIBS
10847 # We can link X programs with no special library path.
10848 ac_x_libraries=
10849 else
10850 LIBS=$ac_save_LIBS
10851 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10853 # Don't even attempt the hair of trying to link an X program!
10854 for ac_extension in a so sl dylib la dll; do
10855 if test -r "$ac_dir/libX11.$ac_extension"; then
10856 ac_x_libraries=$ac_dir
10857 break 2
10859 done
10860 done
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 fi # $ac_x_libraries = no
10866 case $ac_x_includes,$ac_x_libraries in #(
10867 no,* | *,no | *\'*)
10868 # Didn't find X, or a directory has "'" in its name.
10869 ac_cv_have_x="have_x=no";; #(
10871 # Record where we found X for the cache.
10872 ac_cv_have_x="have_x=yes\
10873 ac_x_includes='$ac_x_includes'\
10874 ac_x_libraries='$ac_x_libraries'"
10875 esac
10877 ;; #(
10878 *) have_x=yes;;
10879 esac
10880 eval "$ac_cv_have_x"
10881 fi # $with_x != no
10883 if test "$have_x" != yes; then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10885 $as_echo "$have_x" >&6; }
10886 no_x=yes
10887 else
10888 # If each of the values was on the command line, it overrides each guess.
10889 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10890 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10891 # Update the cache value to reflect the command line values.
10892 ac_cv_have_x="have_x=yes\
10893 ac_x_includes='$x_includes'\
10894 ac_x_libraries='$x_libraries'"
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10896 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10899 if test "$no_x" = yes; then
10900 # Not all programs may use this symbol, but it does not hurt to define it.
10902 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10904 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10905 else
10906 if test -n "$x_includes"; then
10907 X_CFLAGS="$X_CFLAGS -I$x_includes"
10910 # It would also be nice to do this for all -L options, not just this one.
10911 if test -n "$x_libraries"; then
10912 X_LIBS="$X_LIBS -L$x_libraries"
10913 # For Solaris; some versions of Sun CC require a space after -R and
10914 # others require no space. Words are not sufficient . . . .
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10916 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10917 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10918 ac_xsave_c_werror_flag=$ac_c_werror_flag
10919 ac_c_werror_flag=yes
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10924 main ()
10928 return 0;
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10933 $as_echo "no" >&6; }
10934 X_LIBS="$X_LIBS -R$x_libraries"
10935 else
10936 LIBS="$ac_xsave_LIBS -R $x_libraries"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10941 main ()
10945 return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10950 $as_echo "yes" >&6; }
10951 X_LIBS="$X_LIBS -R $x_libraries"
10952 else
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10954 $as_echo "neither works" >&6; }
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10959 rm -f core conftest.err conftest.$ac_objext \
10960 conftest$ac_exeext conftest.$ac_ext
10961 ac_c_werror_flag=$ac_xsave_c_werror_flag
10962 LIBS=$ac_xsave_LIBS
10965 # Check for system-dependent libraries X programs must link with.
10966 # Do this before checking for the system-independent R6 libraries
10967 # (-lICE), since we may need -lsocket or whatever for X linking.
10969 if test "$ISC" = yes; then
10970 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10971 else
10972 # Martyn Johnson says this is needed for Ultrix, if the X
10973 # libraries were built with DECnet support. And Karl Berry says
10974 # the Alpha needs dnet_stub (dnet does not exist).
10975 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char XOpenDisplay ();
10987 main ()
10989 return XOpenDisplay ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10996 else
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10998 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10999 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11000 $as_echo_n "(cached) " >&6
11001 else
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-ldnet $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char dnet_ntoa ();
11015 main ()
11017 return dnet_ntoa ();
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_dnet_dnet_ntoa=yes
11024 else
11025 ac_cv_lib_dnet_dnet_ntoa=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11032 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11033 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11034 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11037 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11039 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11040 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11041 $as_echo_n "(cached) " >&6
11042 else
11043 ac_check_lib_save_LIBS=$LIBS
11044 LIBS="-ldnet_stub $LIBS"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11051 #ifdef __cplusplus
11052 extern "C"
11053 #endif
11054 char dnet_ntoa ();
11056 main ()
11058 return dnet_ntoa ();
11060 return 0;
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"; then :
11064 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11065 else
11066 ac_cv_lib_dnet_stub_dnet_ntoa=no
11068 rm -f core conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11070 LIBS=$ac_check_lib_save_LIBS
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11073 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11074 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11075 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11080 rm -f core conftest.err conftest.$ac_objext \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS="$ac_xsave_LIBS"
11084 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11085 # to get the SysV transport functions.
11086 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11087 # needs -lnsl.
11088 # The nsl library prevents programs from opening the X display
11089 # on Irix 5.2, according to T.E. Dickey.
11090 # The functions gethostbyname, getservbyname, and inet_addr are
11091 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11092 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11093 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11097 if test $ac_cv_func_gethostbyname = no; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11099 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11100 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lnsl $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char gethostbyname ();
11116 main ()
11118 return gethostbyname ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_nsl_gethostbyname=yes
11125 else
11126 ac_cv_lib_nsl_gethostbyname=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11133 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11134 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11135 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11138 if test $ac_cv_lib_nsl_gethostbyname = no; then
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11140 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11141 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-lbsd $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char gethostbyname ();
11157 main ()
11159 return gethostbyname ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_bsd_gethostbyname=yes
11166 else
11167 ac_cv_lib_bsd_gethostbyname=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11174 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11175 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11182 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11183 # socket/setsockopt and other routines are undefined under SCO ODT
11184 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11185 # on later versions), says Simon Leinen: it contains gethostby*
11186 # variants that don't use the name server (or something). -lsocket
11187 # must be given before -lnsl if both are needed. We assume that
11188 # if connect needs -lnsl, so does gethostbyname.
11189 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11190 if test "x$ac_cv_func_connect" = xyes; then :
11194 if test $ac_cv_func_connect = no; then
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11196 $as_echo_n "checking for connect in -lsocket... " >&6; }
11197 if ${ac_cv_lib_socket_connect+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199 else
11200 ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char connect ();
11213 main ()
11215 return connect ();
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_socket_connect=yes
11222 else
11223 ac_cv_lib_socket_connect=no
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11230 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11231 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11232 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11237 # Guillermo Gomez says -lposix is necessary on A/UX.
11238 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11239 if test "x$ac_cv_func_remove" = xyes; then :
11243 if test $ac_cv_func_remove = no; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11245 $as_echo_n "checking for remove in -lposix... " >&6; }
11246 if ${ac_cv_lib_posix_remove+:} false; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lposix $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char remove ();
11262 main ()
11264 return remove ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_posix_remove=yes
11271 else
11272 ac_cv_lib_posix_remove=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11279 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11280 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11286 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11287 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11288 if test "x$ac_cv_func_shmat" = xyes; then :
11292 if test $ac_cv_func_shmat = no; then
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11294 $as_echo_n "checking for shmat in -lipc... " >&6; }
11295 if ${ac_cv_lib_ipc_shmat+:} false; then :
11296 $as_echo_n "(cached) " >&6
11297 else
11298 ac_check_lib_save_LIBS=$LIBS
11299 LIBS="-lipc $LIBS"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11303 /* Override any GCC internal prototype to avoid an error.
11304 Use char because int might match the return type of a GCC
11305 builtin and then its argument prototype would still apply. */
11306 #ifdef __cplusplus
11307 extern "C"
11308 #endif
11309 char shmat ();
11311 main ()
11313 return shmat ();
11315 return 0;
11317 _ACEOF
11318 if ac_fn_c_try_link "$LINENO"; then :
11319 ac_cv_lib_ipc_shmat=yes
11320 else
11321 ac_cv_lib_ipc_shmat=no
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11328 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11329 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11330 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11336 # Check for libraries that X11R6 Xt/Xaw programs need.
11337 ac_save_LDFLAGS=$LDFLAGS
11338 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11339 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11340 # check for ICE first), but we must link in the order -lSM -lICE or
11341 # we get undefined symbols. So assume we have SM if we have ICE.
11342 # These have to be linked with before -lX11, unlike the other
11343 # libraries we check for below, so use a different variable.
11344 # John Interrante, Karl Berry
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11346 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11347 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11348 $as_echo_n "(cached) " >&6
11349 else
11350 ac_check_lib_save_LIBS=$LIBS
11351 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char IceConnectionNumber ();
11363 main ()
11365 return IceConnectionNumber ();
11367 return 0;
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 ac_cv_lib_ICE_IceConnectionNumber=yes
11372 else
11373 ac_cv_lib_ICE_IceConnectionNumber=no
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11380 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11381 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11382 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11385 LDFLAGS=$ac_save_LDFLAGS
11390 if test "$have_x" = "yes"
11391 then
11392 ac_save_CPPFLAGS="$CPPFLAGS"
11393 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11396 $as_echo_n "checking for -lX11... " >&6; }
11397 if ${ac_cv_lib_soname_X11+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_soname_save_LIBS=$LIBS
11401 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char XCreateWindow ();
11413 main ()
11415 return XCreateWindow ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 case "$LIBEXT" in
11422 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11425 if ${ac_cv_lib_soname_X11:+false} :; then :
11426 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11427 fi ;;
11428 esac
11429 else
11430 ac_cv_lib_soname_X11=
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_soname_save_LIBS
11436 if ${ac_cv_lib_soname_X11:+false} :; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11438 $as_echo "not found" >&6; }
11440 else
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11442 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11444 cat >>confdefs.h <<_ACEOF
11445 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11446 _ACEOF
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11451 $as_echo_n "checking for -lXext... " >&6; }
11452 if ${ac_cv_lib_soname_Xext+:} false; then :
11453 $as_echo_n "(cached) " >&6
11454 else
11455 ac_check_soname_save_LIBS=$LIBS
11456 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11463 #ifdef __cplusplus
11464 extern "C"
11465 #endif
11466 char XextCreateExtension ();
11468 main ()
11470 return XextCreateExtension ();
11472 return 0;
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"; then :
11476 case "$LIBEXT" in
11477 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11478 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'` ;;
11479 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11480 if ${ac_cv_lib_soname_Xext:+false} :; then :
11481 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11482 fi ;;
11483 esac
11484 else
11485 ac_cv_lib_soname_Xext=
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_Xext:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11495 else
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11497 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11499 cat >>confdefs.h <<_ACEOF
11500 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11501 _ACEOF
11503 X_LIBS="$X_LIBS -lXext"
11505 X_LIBS="$X_LIBS -lX11"
11507 for ac_header in X11/Xlib.h \
11508 X11/XKBlib.h \
11509 X11/Xutil.h \
11510 X11/Xcursor/Xcursor.h \
11511 X11/extensions/shape.h \
11512 X11/extensions/XInput.h \
11513 X11/extensions/XInput2.h \
11514 X11/extensions/XShm.h \
11515 X11/extensions/Xcomposite.h \
11516 X11/extensions/Xfixes.h \
11517 X11/extensions/Xinerama.h \
11518 X11/extensions/Xrandr.h \
11519 X11/extensions/Xrender.h \
11520 X11/extensions/xf86vmode.h \
11521 X11/extensions/xf86vmproto.h
11522 do :
11523 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11524 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11525 # include <X11/Xlib.h>
11526 #endif
11527 #ifdef HAVE_X11_XUTIL_H
11528 # include <X11/Xutil.h>
11529 #endif
11531 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11532 cat >>confdefs.h <<_ACEOF
11533 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11534 _ACEOF
11538 done
11541 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11542 then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11544 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11545 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11546 $as_echo_n "(cached) " >&6
11547 else
11548 ac_check_lib_save_LIBS=$LIBS
11549 LIBS="-lX11 $X_LIBS $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 XkbQueryExtension ();
11561 main ()
11563 return XkbQueryExtension ();
11565 return 0;
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"; then :
11569 ac_cv_lib_X11_XkbQueryExtension=yes
11570 else
11571 ac_cv_lib_X11_XkbQueryExtension=no
11573 rm -f core conftest.err conftest.$ac_objext \
11574 conftest$ac_exeext conftest.$ac_ext
11575 LIBS=$ac_check_lib_save_LIBS
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11578 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11579 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11581 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11587 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11588 then
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11590 $as_echo_n "checking for -lXcursor... " >&6; }
11591 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 ac_check_soname_save_LIBS=$LIBS
11595 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11602 #ifdef __cplusplus
11603 extern "C"
11604 #endif
11605 char XcursorImageLoadCursor ();
11607 main ()
11609 return XcursorImageLoadCursor ();
11611 return 0;
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"; then :
11615 case "$LIBEXT" in
11616 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11617 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'` ;;
11618 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11619 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11620 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11621 fi ;;
11622 esac
11623 else
11624 ac_cv_lib_soname_Xcursor=
11626 rm -f core conftest.err conftest.$ac_objext \
11627 conftest$ac_exeext conftest.$ac_ext
11628 LIBS=$ac_check_soname_save_LIBS
11630 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11632 $as_echo "not found" >&6; }
11634 else
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11636 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11638 cat >>confdefs.h <<_ACEOF
11639 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11640 _ACEOF
11645 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11646 case "x$with_xcursor" in
11647 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11648 xno) ;;
11649 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11650 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11651 esac
11655 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11656 then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11658 $as_echo_n "checking for -lXi... " >&6; }
11659 if ${ac_cv_lib_soname_Xi+:} false; then :
11660 $as_echo_n "(cached) " >&6
11661 else
11662 ac_check_soname_save_LIBS=$LIBS
11663 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11670 #ifdef __cplusplus
11671 extern "C"
11672 #endif
11673 char XOpenDevice ();
11675 main ()
11677 return XOpenDevice ();
11679 return 0;
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"; then :
11683 case "$LIBEXT" in
11684 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11685 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'` ;;
11686 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11687 if ${ac_cv_lib_soname_Xi:+false} :; then :
11688 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11689 fi ;;
11690 esac
11691 else
11692 ac_cv_lib_soname_Xi=
11694 rm -f core conftest.err conftest.$ac_objext \
11695 conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_soname_save_LIBS
11698 if ${ac_cv_lib_soname_Xi:+false} :; then :
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11700 $as_echo "not found" >&6; }
11702 else
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11704 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11706 cat >>confdefs.h <<_ACEOF
11707 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11708 _ACEOF
11713 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11714 case "x$with_xinput" in
11715 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11716 xno) ;;
11717 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11718 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11719 esac
11723 if test "x$ac_cv_lib_soname_Xi" != x
11724 then
11725 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11726 case "x$with_xinput2" in
11727 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11728 xno) ;;
11729 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11730 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11731 esac
11736 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11737 then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11739 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11740 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11741 $as_echo_n "(cached) " >&6
11742 else
11743 ac_check_lib_save_LIBS=$LIBS
11744 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11751 #ifdef __cplusplus
11752 extern "C"
11753 #endif
11754 char XShmQueryExtension ();
11756 main ()
11758 return XShmQueryExtension ();
11760 return 0;
11762 _ACEOF
11763 if ac_fn_c_try_link "$LINENO"; then :
11764 ac_cv_lib_Xext_XShmQueryExtension=yes
11765 else
11766 ac_cv_lib_Xext_XShmQueryExtension=no
11768 rm -f core conftest.err conftest.$ac_objext \
11769 conftest$ac_exeext conftest.$ac_ext
11770 LIBS=$ac_check_lib_save_LIBS
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11773 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11774 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11776 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11781 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11782 case "x$with_xshm" in
11783 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11784 xno) ;;
11785 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11786 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11787 esac
11791 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11792 then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11794 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11795 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char XShapeQueryExtension ();
11811 main ()
11813 return XShapeQueryExtension ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 ac_cv_lib_Xext_XShapeQueryExtension=yes
11820 else
11821 ac_cv_lib_Xext_XShapeQueryExtension=no
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_lib_save_LIBS
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11828 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11829 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11831 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11836 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11837 case "x$with_xshape" in
11838 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11839 xno) ;;
11840 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11841 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11842 esac
11846 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11847 then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11849 $as_echo_n "checking for -lXxf86vm... " >&6; }
11850 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 ac_check_soname_save_LIBS=$LIBS
11854 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11861 #ifdef __cplusplus
11862 extern "C"
11863 #endif
11864 char XF86VidModeQueryExtension ();
11866 main ()
11868 return XF86VidModeQueryExtension ();
11870 return 0;
11872 _ACEOF
11873 if ac_fn_c_try_link "$LINENO"; then :
11874 case "$LIBEXT" in
11875 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11876 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'` ;;
11877 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11878 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11879 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11880 fi ;;
11881 esac
11882 else
11883 ac_cv_lib_soname_Xxf86vm=
11885 rm -f core conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11887 LIBS=$ac_check_soname_save_LIBS
11889 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11891 $as_echo "not found" >&6; }
11893 else
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11895 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11897 cat >>confdefs.h <<_ACEOF
11898 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11899 _ACEOF
11904 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11905 case "x$with_xxf86vm" in
11906 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11907 xno) ;;
11908 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11909 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11910 esac
11914 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11915 then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11917 $as_echo_n "checking for -lXrender... " >&6; }
11918 if ${ac_cv_lib_soname_Xrender+:} false; then :
11919 $as_echo_n "(cached) " >&6
11920 else
11921 ac_check_soname_save_LIBS=$LIBS
11922 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11929 #ifdef __cplusplus
11930 extern "C"
11931 #endif
11932 char XRenderQueryExtension ();
11934 main ()
11936 return XRenderQueryExtension ();
11938 return 0;
11940 _ACEOF
11941 if ac_fn_c_try_link "$LINENO"; then :
11942 case "$LIBEXT" in
11943 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11944 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'` ;;
11945 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11946 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11947 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11948 fi ;;
11949 esac
11950 else
11951 ac_cv_lib_soname_Xrender=
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_soname_save_LIBS
11957 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11959 $as_echo "not found" >&6; }
11961 else
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11963 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11965 cat >>confdefs.h <<_ACEOF
11966 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11967 _ACEOF
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11970 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11971 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11972 $as_echo_n "(cached) " >&6
11973 else
11974 ac_check_lib_save_LIBS=$LIBS
11975 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11979 /* Override any GCC internal prototype to avoid an error.
11980 Use char because int might match the return type of a GCC
11981 builtin and then its argument prototype would still apply. */
11982 #ifdef __cplusplus
11983 extern "C"
11984 #endif
11985 char XRenderSetPictureTransform ();
11987 main ()
11989 return XRenderSetPictureTransform ();
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11996 else
11997 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11999 rm -f core conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_lib_save_LIBS
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12004 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12005 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12007 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12012 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12013 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12014 $as_echo_n "(cached) " >&6
12015 else
12016 ac_check_lib_save_LIBS=$LIBS
12017 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12024 #ifdef __cplusplus
12025 extern "C"
12026 #endif
12027 char XRenderCreateLinearGradient ();
12029 main ()
12031 return XRenderCreateLinearGradient ();
12033 return 0;
12035 _ACEOF
12036 if ac_fn_c_try_link "$LINENO"; then :
12037 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12038 else
12039 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12041 rm -f core conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12043 LIBS=$ac_check_lib_save_LIBS
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12046 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12047 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12049 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12056 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12057 case "x$with_xrender" in
12058 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12061 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12067 then
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12070 #include <X11/Xlib.h>
12071 #include <X11/extensions/Xrandr.h>
12073 main ()
12075 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_compile "$LINENO"; then :
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12082 $as_echo_n "checking for -lXrandr... " >&6; }
12083 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_soname_save_LIBS=$LIBS
12087 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char XRRQueryExtension ();
12099 main ()
12101 return XRRQueryExtension ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 case "$LIBEXT" in
12108 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12112 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12113 fi ;;
12114 esac
12115 else
12116 ac_cv_lib_soname_Xrandr=
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_soname_save_LIBS
12122 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12124 $as_echo "not found" >&6; }
12126 else
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12128 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12130 cat >>confdefs.h <<_ACEOF
12131 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12132 _ACEOF
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12136 #include <X11/Xlib.h>
12137 #include <X11/extensions/Xrandr.h>
12139 main ()
12141 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_compile "$LINENO"; then :
12148 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12154 #include <X11/Xlib.h>
12155 #include <X11/extensions/Xrandr.h>
12157 main ()
12159 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_compile "$LINENO"; then :
12166 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12168 else
12169 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12176 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12177 case "x$with_xrandr" in
12178 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12179 xno) ;;
12180 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12181 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12182 esac
12186 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12187 then
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12190 #include <X11/Xlib.h>
12191 #include <X11/extensions/Xfixes.h>
12193 main ()
12195 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_compile "$LINENO"; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12202 $as_echo_n "checking for -lXfixes... " >&6; }
12203 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12204 $as_echo_n "(cached) " >&6
12205 else
12206 ac_check_soname_save_LIBS=$LIBS
12207 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12214 #ifdef __cplusplus
12215 extern "C"
12216 #endif
12217 char XFixesQueryVersion ();
12219 main ()
12221 return XFixesQueryVersion ();
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_link "$LINENO"; then :
12227 case "$LIBEXT" in
12228 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12229 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'` ;;
12230 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12231 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12232 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12233 fi ;;
12234 esac
12235 else
12236 ac_cv_lib_soname_Xfixes=
12238 rm -f core conftest.err conftest.$ac_objext \
12239 conftest$ac_exeext conftest.$ac_ext
12240 LIBS=$ac_check_soname_save_LIBS
12242 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12244 $as_echo "not found" >&6; }
12246 else
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12248 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12250 cat >>confdefs.h <<_ACEOF
12251 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12252 _ACEOF
12257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12259 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12260 case "x$with_xfixes" in
12261 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12262 xno) ;;
12263 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12264 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12265 esac
12269 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12270 then
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12273 #include <X11/Xlib.h>
12274 #include <X11/extensions/Xinerama.h>
12276 main ()
12278 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12280 return 0;
12282 _ACEOF
12283 if ac_fn_c_try_compile "$LINENO"; then :
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12285 $as_echo_n "checking for -lXinerama... " >&6; }
12286 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 ac_check_soname_save_LIBS=$LIBS
12290 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 #ifdef __cplusplus
12298 extern "C"
12299 #endif
12300 char XineramaQueryScreens ();
12302 main ()
12304 return XineramaQueryScreens ();
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_link "$LINENO"; then :
12310 case "$LIBEXT" in
12311 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12312 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'` ;;
12313 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12314 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12315 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12316 fi ;;
12317 esac
12318 else
12319 ac_cv_lib_soname_Xinerama=
12321 rm -f core conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12323 LIBS=$ac_check_soname_save_LIBS
12325 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12327 $as_echo "not found" >&6; }
12329 else
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12331 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12333 cat >>confdefs.h <<_ACEOF
12334 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12335 _ACEOF
12340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12342 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12343 case "x$with_xinerama" in
12344 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12345 xno) ;;
12346 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12347 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12348 esac
12352 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12353 then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12355 $as_echo_n "checking for -lXcomposite... " >&6; }
12356 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12357 $as_echo_n "(cached) " >&6
12358 else
12359 ac_check_soname_save_LIBS=$LIBS
12360 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 #ifdef __cplusplus
12368 extern "C"
12369 #endif
12370 char XCompositeRedirectWindow ();
12372 main ()
12374 return XCompositeRedirectWindow ();
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 case "$LIBEXT" in
12381 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12382 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'` ;;
12383 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12384 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12385 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12386 fi ;;
12387 esac
12388 else
12389 ac_cv_lib_soname_Xcomposite=
12391 rm -f core conftest.err conftest.$ac_objext \
12392 conftest$ac_exeext conftest.$ac_ext
12393 LIBS=$ac_check_soname_save_LIBS
12395 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12397 $as_echo "not found" >&6; }
12399 else
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12401 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12403 cat >>confdefs.h <<_ACEOF
12404 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12405 _ACEOF
12410 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12411 case "x$with_xcomposite" in
12412 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12413 xno) ;;
12414 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12415 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12416 esac
12420 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12421 #include <X11/Xlib.h>
12422 #endif
12424 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12426 cat >>confdefs.h <<_ACEOF
12427 #define HAVE_XICCALLBACK_CALLBACK 1
12428 _ACEOF
12432 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12433 #include <X11/Xlib.h>
12434 #endif
12436 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12438 cat >>confdefs.h <<_ACEOF
12439 #define HAVE_XEVENT_XCOOKIE 1
12440 _ACEOF
12447 opengl_msg=""
12448 if test "x$with_opengl" != "xno"
12449 then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12451 $as_echo_n "checking for -lGL... " >&6; }
12452 if ${ac_cv_lib_soname_GL+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 ac_check_soname_save_LIBS=$LIBS
12456 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12463 #ifdef __cplusplus
12464 extern "C"
12465 #endif
12466 char glXCreateContext ();
12468 main ()
12470 return glXCreateContext ();
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_link "$LINENO"; then :
12476 case "$LIBEXT" in
12477 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12478 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'` ;;
12479 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12480 if ${ac_cv_lib_soname_GL:+false} :; then :
12481 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12482 fi ;;
12483 esac
12484 else
12485 ac_cv_lib_soname_GL=
12487 rm -f core conftest.err conftest.$ac_objext \
12488 conftest$ac_exeext conftest.$ac_ext
12489 LIBS=$ac_check_soname_save_LIBS
12491 if ${ac_cv_lib_soname_GL:+false} :; then :
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12493 $as_echo "not found" >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12495 $as_echo_n "checking for -lGL... " >&6; }
12496 if ${ac_cv_lib_soname_GL+:} false; then :
12497 $as_echo_n "(cached) " >&6
12498 else
12499 ac_check_soname_save_LIBS=$LIBS
12500 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"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 /* Override any GCC internal prototype to avoid an error.
12505 Use char because int might match the return type of a GCC
12506 builtin and then its argument prototype would still apply. */
12507 #ifdef __cplusplus
12508 extern "C"
12509 #endif
12510 char glXCreateContext ();
12512 main ()
12514 return glXCreateContext ();
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_link "$LINENO"; then :
12520 case "$LIBEXT" in
12521 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12522 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'` ;;
12523 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12524 if ${ac_cv_lib_soname_GL:+false} :; then :
12525 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12526 fi ;;
12527 esac
12528 else
12529 ac_cv_lib_soname_GL=
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 LIBS=$ac_check_soname_save_LIBS
12535 if ${ac_cv_lib_soname_GL:+false} :; then :
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12537 $as_echo "not found" >&6; }
12538 if test -f /usr/X11R6/lib/libGL.a
12539 then
12540 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12541 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12542 else
12543 opengl_msg="No OpenGL library found on this system."
12545 else
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12547 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12549 cat >>confdefs.h <<_ACEOF
12550 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12551 _ACEOF
12553 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"
12555 else
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12557 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12559 cat >>confdefs.h <<_ACEOF
12560 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12561 _ACEOF
12563 OPENGL_LIBS="-lGL"
12565 if test "x$with_glu" != "xno"
12566 then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12568 $as_echo_n "checking for -lGLU... " >&6; }
12569 if ${ac_cv_lib_soname_GLU+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_soname_save_LIBS=$LIBS
12573 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char gluLookAt ();
12585 main ()
12587 return gluLookAt ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 case "$LIBEXT" in
12594 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12595 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'` ;;
12596 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12597 if ${ac_cv_lib_soname_GLU:+false} :; then :
12598 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12599 fi ;;
12600 esac
12601 else
12602 ac_cv_lib_soname_GLU=
12604 rm -f core conftest.err conftest.$ac_objext \
12605 conftest$ac_exeext conftest.$ac_ext
12606 LIBS=$ac_check_soname_save_LIBS
12608 if ${ac_cv_lib_soname_GLU:+false} :; then :
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12610 $as_echo "not found" >&6; }
12612 else
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12614 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12616 cat >>confdefs.h <<_ACEOF
12617 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12618 _ACEOF
12622 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12623 case "x$with_glu" in
12624 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12625 xno) ;;
12626 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12627 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12628 esac
12633 if test "x$with_osmesa" != "xno"
12634 then
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12636 $as_echo_n "checking for -lOSMesa... " >&6; }
12637 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12638 $as_echo_n "(cached) " >&6
12639 else
12640 ac_check_soname_save_LIBS=$LIBS
12641 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12645 /* Override any GCC internal prototype to avoid an error.
12646 Use char because int might match the return type of a GCC
12647 builtin and then its argument prototype would still apply. */
12648 #ifdef __cplusplus
12649 extern "C"
12650 #endif
12651 char OSMesaGetProcAddress ();
12653 main ()
12655 return OSMesaGetProcAddress ();
12657 return 0;
12659 _ACEOF
12660 if ac_fn_c_try_link "$LINENO"; then :
12661 case "$LIBEXT" in
12662 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12663 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'` ;;
12664 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12665 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12666 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12667 fi ;;
12668 esac
12669 else
12670 ac_cv_lib_soname_OSMesa=
12672 rm -f core conftest.err conftest.$ac_objext \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_soname_save_LIBS
12676 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12678 $as_echo "not found" >&6; }
12680 else
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12682 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12684 cat >>confdefs.h <<_ACEOF
12685 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12686 _ACEOF
12690 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12691 case "x$with_osmesa" in
12692 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12693 xno) ;;
12694 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12695 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12696 esac
12701 if test -n "$opengl_msg"; then :
12702 case "x$with_opengl" in
12703 x) as_fn_append wine_warnings "|$opengl_msg
12704 OpenGL and Direct3D won't be supported." ;;
12705 xno) ;;
12706 *) as_fn_error $? "$opengl_msg
12707 OpenGL and Direct3D won't be supported.
12708 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12709 esac
12713 CPPFLAGS="$ac_save_CPPFLAGS"
12714 else
12715 X_CFLAGS=""
12716 X_LIBS=""
12719 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12720 then
12721 if test "x$X_LIBS" = "x"; then :
12722 case "x$with_x" in
12723 xno) ;;
12724 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12725 without X support, which probably isn't what you want. You will need
12726 to install ${notice_platform}development packages of Xlib at the very least.
12727 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12728 esac
12729 enable_winex11_drv=${enable_winex11_drv:-no}
12731 else
12732 if test "x$X_LIBS" = "x"; then :
12733 case "x$with_x" in
12734 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12735 xno) ;;
12736 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12737 This is an error since --with-x was requested." "$LINENO" 5 ;;
12738 esac
12739 enable_winex11_drv=${enable_winex11_drv:-no}
12743 if test "$ac_cv_header_CL_cl_h" = "yes"
12744 then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12746 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12747 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12748 $as_echo_n "(cached) " >&6
12749 else
12750 ac_check_lib_save_LIBS=$LIBS
12751 LIBS="-lOpenCL $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 #ifdef __cplusplus
12759 extern "C"
12760 #endif
12761 char clGetPlatformInfo ();
12763 main ()
12765 return clGetPlatformInfo ();
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"; then :
12771 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12772 else
12773 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12775 rm -f core conftest.err conftest.$ac_objext \
12776 conftest$ac_exeext conftest.$ac_ext
12777 LIBS=$ac_check_lib_save_LIBS
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12780 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12781 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12782 OPENCL_LIBS="-lOpenCL"
12787 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12788 case "x$with_opencl" in
12789 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12790 xno) ;;
12791 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12792 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12793 esac
12794 enable_opencl=${enable_opencl:-no}
12797 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12798 then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12800 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12801 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12802 $as_echo_n "(cached) " >&6
12803 else
12804 ac_check_lib_save_LIBS=$LIBS
12805 LIBS="-lpcap $LIBS"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12812 #ifdef __cplusplus
12813 extern "C"
12814 #endif
12815 char pcap_create ();
12817 main ()
12819 return pcap_create ();
12821 return 0;
12823 _ACEOF
12824 if ac_fn_c_try_link "$LINENO"; then :
12825 ac_cv_lib_pcap_pcap_create=yes
12826 else
12827 ac_cv_lib_pcap_pcap_create=no
12829 rm -f core conftest.err conftest.$ac_objext \
12830 conftest$ac_exeext conftest.$ac_ext
12831 LIBS=$ac_check_lib_save_LIBS
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12834 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12835 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12836 PCAP_LIBS="-lpcap"
12841 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12842 case "x$with_pcap" in
12843 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12844 xno) ;;
12845 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12846 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12847 esac
12848 enable_wpcap=${enable_wpcap:-no}
12852 if test "x$with_xml" != "xno"
12853 then
12854 if ${XML2_CFLAGS:+false} :; then :
12855 if ${PKG_CONFIG+:} false; then :
12856 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12859 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12860 if ${XML2_LIBS:+false} :; then :
12861 if ${PKG_CONFIG+:} false; then :
12862 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12865 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12866 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12867 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12868 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12869 ac_save_CPPFLAGS=$CPPFLAGS
12870 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12871 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12872 do :
12873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12874 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12876 cat >>confdefs.h <<_ACEOF
12877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12878 _ACEOF
12882 done
12884 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"
12885 then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12887 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12888 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12889 $as_echo_n "(cached) " >&6
12890 else
12891 ac_check_lib_save_LIBS=$LIBS
12892 LIBS="-lxml2 $XML2_LIBS $LIBS"
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12899 #ifdef __cplusplus
12900 extern "C"
12901 #endif
12902 char xmlParseMemory ();
12904 main ()
12906 return xmlParseMemory ();
12908 return 0;
12910 _ACEOF
12911 if ac_fn_c_try_link "$LINENO"; then :
12912 ac_cv_lib_xml2_xmlParseMemory=yes
12913 else
12914 ac_cv_lib_xml2_xmlParseMemory=no
12916 rm -f core conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12921 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12922 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12924 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12926 else
12927 XML2_LIBS=""
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12931 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12932 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12933 $as_echo_n "(cached) " >&6
12934 else
12935 ac_check_lib_save_LIBS=$LIBS
12936 LIBS="-lxml2 $XML2_LIBS $LIBS"
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12943 #ifdef __cplusplus
12944 extern "C"
12945 #endif
12946 char xmlReadMemory ();
12948 main ()
12950 return xmlReadMemory ();
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_lib_xml2_xmlReadMemory=yes
12957 else
12958 ac_cv_lib_xml2_xmlReadMemory=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12965 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12966 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12968 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12973 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12974 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
12977 ac_check_lib_save_LIBS=$LIBS
12978 LIBS="-lxml2 $XML2_LIBS $LIBS"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12982 /* Override any GCC internal prototype to avoid an error.
12983 Use char because int might match the return type of a GCC
12984 builtin and then its argument prototype would still apply. */
12985 #ifdef __cplusplus
12986 extern "C"
12987 #endif
12988 char xmlNewDocPI ();
12990 main ()
12992 return xmlNewDocPI ();
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_link "$LINENO"; then :
12998 ac_cv_lib_xml2_xmlNewDocPI=yes
12999 else
13000 ac_cv_lib_xml2_xmlNewDocPI=no
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_lib_save_LIBS
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13007 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13008 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13010 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13015 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13016 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13017 $as_echo_n "(cached) " >&6
13018 else
13019 ac_check_lib_save_LIBS=$LIBS
13020 LIBS="-lxml2 $XML2_LIBS $LIBS"
13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13027 #ifdef __cplusplus
13028 extern "C"
13029 #endif
13030 char xmlSchemaSetParserStructuredErrors ();
13032 main ()
13034 return xmlSchemaSetParserStructuredErrors ();
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_link "$LINENO"; then :
13040 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13041 else
13042 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13044 rm -f core conftest.err conftest.$ac_objext \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_lib_save_LIBS
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13049 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13050 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13052 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13057 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13058 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13059 $as_echo_n "(cached) " >&6
13060 else
13061 ac_check_lib_save_LIBS=$LIBS
13062 LIBS="-lxml2 $XML2_LIBS $LIBS"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13069 #ifdef __cplusplus
13070 extern "C"
13071 #endif
13072 char xmlSchemaSetValidStructuredErrors ();
13074 main ()
13076 return xmlSchemaSetValidStructuredErrors ();
13078 return 0;
13080 _ACEOF
13081 if ac_fn_c_try_link "$LINENO"; then :
13082 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13083 else
13084 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13086 rm -f core conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LIBS=$ac_check_lib_save_LIBS
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13091 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13092 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13094 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13099 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13100 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13101 $as_echo_n "(cached) " >&6
13102 else
13103 ac_check_lib_save_LIBS=$LIBS
13104 LIBS="-lxml2 $XML2_LIBS $LIBS"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 /* Override any GCC internal prototype to avoid an error.
13109 Use char because int might match the return type of a GCC
13110 builtin and then its argument prototype would still apply. */
13111 #ifdef __cplusplus
13112 extern "C"
13113 #endif
13114 char xmlFirstElementChild ();
13116 main ()
13118 return xmlFirstElementChild ();
13120 return 0;
13122 _ACEOF
13123 if ac_fn_c_try_link "$LINENO"; then :
13124 ac_cv_lib_xml2_xmlFirstElementChild=yes
13125 else
13126 ac_cv_lib_xml2_xmlFirstElementChild=no
13128 rm -f core conftest.err conftest.$ac_objext \
13129 conftest$ac_exeext conftest.$ac_ext
13130 LIBS=$ac_check_lib_save_LIBS
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13133 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13134 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13136 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13140 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13142 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13144 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13148 else
13149 XML2_CFLAGS=""
13150 XML2_LIBS=""
13152 CPPFLAGS=$ac_save_CPPFLAGS
13153 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13154 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13157 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13158 case "x$with_xml" in
13159 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13160 xno) ;;
13161 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13162 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13163 esac
13167 if test "x$with_xslt" != "xno"
13168 then
13169 if ${XSLT_CFLAGS:+false} :; then :
13170 if ${PKG_CONFIG+:} false; then :
13171 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13174 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13175 if ${XSLT_LIBS:+false} :; then :
13176 if ${PKG_CONFIG+:} false; then :
13177 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13180 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13181 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13184 ac_save_CPPFLAGS=$CPPFLAGS
13185 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13186 for ac_header in libxslt/pattern.h libxslt/transform.h
13187 do :
13188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13189 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13190 # include <libxslt/pattern.h>
13191 #endif
13193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13194 cat >>confdefs.h <<_ACEOF
13195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13196 _ACEOF
13200 done
13202 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13203 then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13205 $as_echo_n "checking for -lxslt... " >&6; }
13206 if ${ac_cv_lib_soname_xslt+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_soname_save_LIBS=$LIBS
13210 LIBS="-lxslt $XSLT_LIBS $LIBS"
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char xsltCompilePattern ();
13222 main ()
13224 return xsltCompilePattern ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 case "$LIBEXT" in
13231 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13232 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'` ;;
13233 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13234 if ${ac_cv_lib_soname_xslt:+false} :; then :
13235 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13236 fi ;;
13237 esac
13238 else
13239 ac_cv_lib_soname_xslt=
13241 rm -f core conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_soname_save_LIBS
13245 if ${ac_cv_lib_soname_xslt:+false} :; then :
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13247 $as_echo "not found" >&6; }
13249 else
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13251 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13253 cat >>confdefs.h <<_ACEOF
13254 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13255 _ACEOF
13259 else
13260 XSLT_CFLAGS=""
13262 CPPFLAGS=$ac_save_CPPFLAGS
13263 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13264 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13267 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13268 case "x$with_xslt" in
13269 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13270 xno) ;;
13271 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13272 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13273 esac
13277 if test "x$with_inotify" != "xno"
13278 then
13279 if ${INOTIFY_CFLAGS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13285 if ${INOTIFY_LIBS:+false} :; then :
13286 if ${PKG_CONFIG+:} false; then :
13287 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13292 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13294 ac_save_CPPFLAGS=$CPPFLAGS
13295 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13296 for ac_header in sys/inotify.h
13297 do :
13298 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13299 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13300 cat >>confdefs.h <<_ACEOF
13301 #define HAVE_SYS_INOTIFY_H 1
13302 _ACEOF
13306 done
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13309 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13310 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13311 $as_echo_n "(cached) " >&6
13312 else
13313 ac_check_lib_save_LIBS=$LIBS
13314 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char inotify_add_watch ();
13326 main ()
13328 return inotify_add_watch ();
13330 return 0;
13332 _ACEOF
13333 if ac_fn_c_try_link "$LINENO"; then :
13334 ac_cv_lib_inotify_inotify_add_watch=yes
13335 else
13336 ac_cv_lib_inotify_inotify_add_watch=no
13338 rm -f core conftest.err conftest.$ac_objext \
13339 conftest$ac_exeext conftest.$ac_ext
13340 LIBS=$ac_check_lib_save_LIBS
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13343 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13344 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13346 else
13347 INOTIFY_LIBS=""
13350 CPPFLAGS=$ac_save_CPPFLAGS
13351 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13355 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13356 case "x$with_inotify" in
13357 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13358 xno) ;;
13359 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13360 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13361 esac
13365 if test "x$with_dbus" != "xno"
13366 then
13367 if ${DBUS_CFLAGS:+false} :; then :
13368 if ${PKG_CONFIG+:} false; then :
13369 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13373 if ${DBUS_LIBS:+false} :; then :
13374 if ${PKG_CONFIG+:} false; then :
13375 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13380 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13381 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13382 ac_save_CPPFLAGS=$CPPFLAGS
13383 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13384 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13385 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13387 $as_echo_n "checking for -ldbus-1... " >&6; }
13388 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13389 $as_echo_n "(cached) " >&6
13390 else
13391 ac_check_soname_save_LIBS=$LIBS
13392 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13396 /* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13399 #ifdef __cplusplus
13400 extern "C"
13401 #endif
13402 char dbus_connection_close ();
13404 main ()
13406 return dbus_connection_close ();
13408 return 0;
13410 _ACEOF
13411 if ac_fn_c_try_link "$LINENO"; then :
13412 case "$LIBEXT" in
13413 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13414 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'` ;;
13415 *) 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'`
13416 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13417 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13418 fi ;;
13419 esac
13420 else
13421 ac_cv_lib_soname_dbus_1=
13423 rm -f core conftest.err conftest.$ac_objext \
13424 conftest$ac_exeext conftest.$ac_ext
13425 LIBS=$ac_check_soname_save_LIBS
13427 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13429 $as_echo "not found" >&6; }
13430 DBUS_CFLAGS=""
13431 else
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13433 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13435 cat >>confdefs.h <<_ACEOF
13436 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13437 _ACEOF
13441 else
13442 DBUS_CFLAGS=""
13446 CPPFLAGS=$ac_save_CPPFLAGS
13447 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13448 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13451 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13452 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13453 case "x$with_dbus" in
13454 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13455 xno) ;;
13456 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13457 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13458 esac
13462 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13463 then
13464 if ${HAL_CFLAGS:+false} :; then :
13465 if ${PKG_CONFIG+:} false; then :
13466 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13470 if ${HAL_LIBS:+false} :; then :
13471 if ${PKG_CONFIG+:} false; then :
13472 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13476 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13477 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13478 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13479 ac_save_CPPFLAGS=$CPPFLAGS
13480 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13481 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13482 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13484 $as_echo_n "checking for -lhal... " >&6; }
13485 if ${ac_cv_lib_soname_hal+:} false; then :
13486 $as_echo_n "(cached) " >&6
13487 else
13488 ac_check_soname_save_LIBS=$LIBS
13489 LIBS="-lhal $HAL_LIBS $LIBS"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13496 #ifdef __cplusplus
13497 extern "C"
13498 #endif
13499 char libhal_ctx_new ();
13501 main ()
13503 return libhal_ctx_new ();
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_link "$LINENO"; then :
13509 case "$LIBEXT" in
13510 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13511 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'` ;;
13512 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13513 if ${ac_cv_lib_soname_hal:+false} :; then :
13514 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13515 fi ;;
13516 esac
13517 else
13518 ac_cv_lib_soname_hal=
13520 rm -f core conftest.err conftest.$ac_objext \
13521 conftest$ac_exeext conftest.$ac_ext
13522 LIBS=$ac_check_soname_save_LIBS
13524 if ${ac_cv_lib_soname_hal:+false} :; then :
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13526 $as_echo "not found" >&6; }
13527 HAL_CFLAGS=""
13528 else
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13530 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13532 cat >>confdefs.h <<_ACEOF
13533 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13534 _ACEOF
13538 else
13539 HAL_CFLAGS=""
13543 CPPFLAGS=$ac_save_CPPFLAGS
13544 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13545 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13547 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13548 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13549 case "x$with_hal" in
13550 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13551 xno) ;;
13552 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13553 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13554 esac
13559 if test "x$with_gnutls" != "xno"
13560 then
13561 if ${GNUTLS_CFLAGS:+false} :; then :
13562 if ${PKG_CONFIG+:} false; then :
13563 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13567 if ${GNUTLS_LIBS:+false} :; then :
13568 if ${PKG_CONFIG+:} false; then :
13569 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13574 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13575 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13576 ac_save_CPPFLAGS=$CPPFLAGS
13577 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13578 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13579 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582 #include <gnutls/gnutls.h>
13583 #include <gnutls/crypto.h>
13585 main ()
13587 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_compile "$LINENO"; then :
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13594 $as_echo_n "checking for -lgnutls... " >&6; }
13595 if ${ac_cv_lib_soname_gnutls+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 ac_check_soname_save_LIBS=$LIBS
13599 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13603 /* Override any GCC internal prototype to avoid an error.
13604 Use char because int might match the return type of a GCC
13605 builtin and then its argument prototype would still apply. */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 char gnutls_global_init ();
13611 main ()
13613 return gnutls_global_init ();
13615 return 0;
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 case "$LIBEXT" in
13620 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13621 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'` ;;
13622 *) 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'`
13623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13624 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'`
13625 fi ;;
13626 esac
13627 else
13628 ac_cv_lib_soname_gnutls=
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_soname_save_LIBS
13634 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13636 $as_echo "not found" >&6; }
13637 GNUTLS_CFLAGS=""
13638 else
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13640 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13642 cat >>confdefs.h <<_ACEOF
13643 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13644 _ACEOF
13648 ac_wine_check_funcs_save_LIBS="$LIBS"
13649 LIBS="$LIBS $GNUTLS_LIBS"
13650 for ac_func in gnutls_cipher_init
13651 do :
13652 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13653 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13654 cat >>confdefs.h <<_ACEOF
13655 #define HAVE_GNUTLS_CIPHER_INIT 1
13656 _ACEOF
13658 else
13659 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13661 done
13663 LIBS="$ac_wine_check_funcs_save_LIBS"
13665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 else
13667 GNUTLS_CFLAGS=""
13671 CPPFLAGS=$ac_save_CPPFLAGS
13672 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13673 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13676 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13677 case "x$with_gnutls" in
13678 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13679 xno) ;;
13680 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13681 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13682 esac
13686 CURSES_LIBS=""
13687 if test "$ac_cv_header_ncurses_h" = "yes"
13688 then
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13690 $as_echo_n "checking for -lncurses... " >&6; }
13691 if ${ac_cv_lib_soname_ncurses+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_check_soname_save_LIBS=$LIBS
13695 LIBS="-lncurses $LIBS"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13702 #ifdef __cplusplus
13703 extern "C"
13704 #endif
13705 char waddch ();
13707 main ()
13709 return waddch ();
13711 return 0;
13713 _ACEOF
13714 if ac_fn_c_try_link "$LINENO"; then :
13715 case "$LIBEXT" in
13716 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13717 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'` ;;
13718 *) 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'`
13719 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13720 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13721 fi ;;
13722 esac
13723 else
13724 ac_cv_lib_soname_ncurses=
13726 rm -f core conftest.err conftest.$ac_objext \
13727 conftest$ac_exeext conftest.$ac_ext
13728 LIBS=$ac_check_soname_save_LIBS
13730 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13732 $as_echo "not found" >&6; }
13734 else
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13736 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13738 cat >>confdefs.h <<_ACEOF
13739 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13740 _ACEOF
13742 CURSES_LIBS="-lncurses"
13744 elif test "$ac_cv_header_curses_h" = "yes"
13745 then
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13747 $as_echo_n "checking for -lcurses... " >&6; }
13748 if ${ac_cv_lib_soname_curses+:} false; then :
13749 $as_echo_n "(cached) " >&6
13750 else
13751 ac_check_soname_save_LIBS=$LIBS
13752 LIBS="-lcurses $LIBS"
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13759 #ifdef __cplusplus
13760 extern "C"
13761 #endif
13762 char waddch ();
13764 main ()
13766 return waddch ();
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"; then :
13772 case "$LIBEXT" in
13773 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13774 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'` ;;
13775 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13776 if ${ac_cv_lib_soname_curses:+false} :; then :
13777 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13778 fi ;;
13779 esac
13780 else
13781 ac_cv_lib_soname_curses=
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 LIBS=$ac_check_soname_save_LIBS
13787 if ${ac_cv_lib_soname_curses:+false} :; then :
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13789 $as_echo "not found" >&6; }
13791 else
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13793 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13795 cat >>confdefs.h <<_ACEOF
13796 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13797 _ACEOF
13799 CURSES_LIBS="-lcurses"
13802 ac_save_LIBS="$LIBS"
13803 LIBS="$LIBS $CURSES_LIBS"
13804 for ac_func in mousemask
13805 do :
13806 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13807 if test "x$ac_cv_func_mousemask" = xyes; then :
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_MOUSEMASK 1
13810 _ACEOF
13813 done
13815 LIBS="$ac_save_LIBS"
13816 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13817 case "x$with_curses" in
13818 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13819 xno) ;;
13820 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13821 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13822 esac
13826 if test "x$with_sane" != "xno"
13827 then
13828 if ${SANE_CFLAGS:+false} :; then :
13829 if ${PKG_CONFIG+:} false; then :
13830 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13833 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13834 if ${SANE_LIBS:+false} :; then :
13835 if ${PKG_CONFIG+:} false; then :
13836 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13839 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13841 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13842 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13843 ac_save_CPPFLAGS=$CPPFLAGS
13844 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13845 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13846 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13848 $as_echo_n "checking for -lsane... " >&6; }
13849 if ${ac_cv_lib_soname_sane+:} false; then :
13850 $as_echo_n "(cached) " >&6
13851 else
13852 ac_check_soname_save_LIBS=$LIBS
13853 LIBS="-lsane $SANE_LIBS $LIBS"
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 #ifdef __cplusplus
13861 extern "C"
13862 #endif
13863 char sane_init ();
13865 main ()
13867 return sane_init ();
13869 return 0;
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 case "$LIBEXT" in
13874 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13875 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'` ;;
13876 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13877 if ${ac_cv_lib_soname_sane:+false} :; then :
13878 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13879 fi ;;
13880 esac
13881 else
13882 ac_cv_lib_soname_sane=
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_soname_save_LIBS
13888 if ${ac_cv_lib_soname_sane:+false} :; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13890 $as_echo "not found" >&6; }
13891 SANE_CFLAGS=""
13892 else
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13894 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13896 cat >>confdefs.h <<_ACEOF
13897 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13898 _ACEOF
13902 else
13903 SANE_CFLAGS=""
13907 CPPFLAGS=$ac_save_CPPFLAGS
13908 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13909 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13912 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13913 case "x$with_sane" in
13914 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13915 xno) ;;
13916 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13917 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13918 esac
13922 if test "x$with_v4l2" != "xno"
13923 then
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13925 $as_echo_n "checking for -lv4l2... " >&6; }
13926 if ${ac_cv_lib_soname_v4l2+:} false; then :
13927 $as_echo_n "(cached) " >&6
13928 else
13929 ac_check_soname_save_LIBS=$LIBS
13930 LIBS="-lv4l2 $LIBS"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13934 /* Override any GCC internal prototype to avoid an error.
13935 Use char because int might match the return type of a GCC
13936 builtin and then its argument prototype would still apply. */
13937 #ifdef __cplusplus
13938 extern "C"
13939 #endif
13940 char v4l2_open ();
13942 main ()
13944 return v4l2_open ();
13946 return 0;
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 case "$LIBEXT" in
13951 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13952 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'` ;;
13953 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13954 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13955 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13956 fi ;;
13957 esac
13958 else
13959 ac_cv_lib_soname_v4l2=
13961 rm -f core conftest.err conftest.$ac_objext \
13962 conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_soname_save_LIBS
13965 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13967 $as_echo "not found" >&6; }
13969 else
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13971 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13973 cat >>confdefs.h <<_ACEOF
13974 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13975 _ACEOF
13980 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13981 case "x$with_v4l2" in
13982 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13983 xno) ;;
13984 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13985 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13986 esac
13990 if test "x$with_gphoto" != "xno"
13991 then
13992 if ${GPHOTO2_CFLAGS:+false} :; then :
13993 if ${PKG_CONFIG+:} false; then :
13994 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13997 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13998 if ${GPHOTO2_LIBS:+false} :; then :
13999 if ${PKG_CONFIG+:} false; then :
14000 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14003 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14004 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14005 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14006 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14007 ac_save_CPPFLAGS=$CPPFLAGS
14008 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14009 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14010 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14012 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14013 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 ac_check_lib_save_LIBS=$LIBS
14017 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 /* Override any GCC internal prototype to avoid an error.
14022 Use char because int might match the return type of a GCC
14023 builtin and then its argument prototype would still apply. */
14024 #ifdef __cplusplus
14025 extern "C"
14026 #endif
14027 char gp_camera_new ();
14029 main ()
14031 return gp_camera_new ();
14033 return 0;
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_lib_gphoto2_gp_camera_new=yes
14038 else
14039 ac_cv_lib_gphoto2_gp_camera_new=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 LIBS=$ac_check_lib_save_LIBS
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14046 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14047 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14049 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14051 else
14052 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14055 else
14056 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14060 CPPFLAGS=$ac_save_CPPFLAGS
14061 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14062 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14064 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14065 if ${PKG_CONFIG+:} false; then :
14066 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14069 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14070 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14071 if ${PKG_CONFIG+:} false; then :
14072 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14075 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14076 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14077 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14078 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14079 ac_save_CPPFLAGS=$CPPFLAGS
14080 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14081 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14082 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14084 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14085 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_check_lib_save_LIBS=$LIBS
14089 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14093 /* Override any GCC internal prototype to avoid an error.
14094 Use char because int might match the return type of a GCC
14095 builtin and then its argument prototype would still apply. */
14096 #ifdef __cplusplus
14097 extern "C"
14098 #endif
14099 char gp_port_info_list_new ();
14101 main ()
14103 return gp_port_info_list_new ();
14105 return 0;
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"; then :
14109 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14110 else
14111 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 LIBS=$ac_check_lib_save_LIBS
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14118 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14119 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14121 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14123 else
14124 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14127 else
14128 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14132 CPPFLAGS=$ac_save_CPPFLAGS
14133 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14134 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14137 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14138 case "x$with_gphoto" in
14139 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14140 xno) ;;
14141 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14142 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14143 esac
14146 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14147 case "x$with_gphoto" in
14148 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14149 xno) ;;
14150 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14151 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14152 esac
14157 if test "$ac_cv_header_resolv_h" = "yes"
14158 then
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14160 $as_echo_n "checking for resolver library... " >&6; }
14161 if ${ac_cv_have_resolv+:} false; then :
14162 $as_echo_n "(cached) " >&6
14163 else
14164 ac_save_LIBS="$LIBS"
14165 for lib in '' -lresolv
14167 LIBS="$lib $ac_save_LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 #ifdef HAVE_NETINET_IN_H
14171 #include <netinet/in.h>
14172 #endif
14173 #include <resolv.h>
14175 main ()
14177 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14179 return 0;
14181 _ACEOF
14182 if ac_fn_c_try_link "$LINENO"; then :
14183 ac_cv_have_resolv=${lib:-"none required"}
14184 else
14185 ac_cv_have_resolv="not found"
14187 rm -f core conftest.err conftest.$ac_objext \
14188 conftest$ac_exeext conftest.$ac_ext
14189 test "x$ac_cv_have_resolv" = "xnot found" || break
14190 done
14191 LIBS="$ac_save_LIBS"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14194 $as_echo "$ac_cv_have_resolv" >&6; }
14196 case "$ac_cv_have_resolv" in
14197 "not found") ;;
14198 "none required")
14200 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14203 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14205 RESOLV_LIBS=$ac_cv_have_resolv
14207 esac
14210 if test "x$with_cms" != "xno"
14211 then
14212 if ${LCMS2_CFLAGS:+false} :; then :
14213 if ${PKG_CONFIG+:} false; then :
14214 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14218 if ${LCMS2_LIBS:+false} :; then :
14219 if ${PKG_CONFIG+:} false; then :
14220 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14224 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14225 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14226 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14227 ac_save_CPPFLAGS=$CPPFLAGS
14228 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14229 for ac_header in lcms2.h
14230 do :
14231 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14232 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14233 cat >>confdefs.h <<_ACEOF
14234 #define HAVE_LCMS2_H 1
14235 _ACEOF
14239 done
14241 if test "$ac_cv_header_lcms2_h" = "yes"
14242 then
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14244 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14245 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 ac_check_lib_save_LIBS=$LIBS
14249 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14256 #ifdef __cplusplus
14257 extern "C"
14258 #endif
14259 char cmsOpenProfileFromFile ();
14261 main ()
14263 return cmsOpenProfileFromFile ();
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"; then :
14269 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14270 else
14271 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14273 rm -f core conftest.err conftest.$ac_objext \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_check_lib_save_LIBS
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14278 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14279 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14281 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14283 else
14284 LCMS2_LIBS=""
14287 else
14288 LCMS2_CFLAGS=""
14289 LCMS2_LIBS=""
14291 CPPFLAGS=$ac_save_CPPFLAGS
14292 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14293 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14296 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14297 case "x$with_cms" in
14298 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14299 xno) ;;
14300 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14301 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14302 esac
14306 if test "x$with_freetype" != "xno"
14307 then
14308 if ${FREETYPE_CFLAGS:+false} :; then :
14309 if ${PKG_CONFIG+:} false; then :
14310 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14313 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14314 if ${FREETYPE_LIBS:+false} :; then :
14315 if ${PKG_CONFIG+:} false; then :
14316 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14319 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14320 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14321 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14322 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14323 ac_save_CPPFLAGS=$CPPFLAGS
14324 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14325 for ac_header in ft2build.h
14326 do :
14327 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14328 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14329 cat >>confdefs.h <<_ACEOF
14330 #define HAVE_FT2BUILD_H 1
14331 _ACEOF
14335 done
14337 if test "$ac_cv_header_ft2build_h" = "yes"
14338 then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14340 $as_echo_n "checking for -lfreetype... " >&6; }
14341 if ${ac_cv_lib_soname_freetype+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_check_soname_save_LIBS=$LIBS
14345 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char FT_Init_FreeType ();
14357 main ()
14359 return FT_Init_FreeType ();
14361 return 0;
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 case "$LIBEXT" in
14366 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14367 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'` ;;
14368 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14369 if ${ac_cv_lib_soname_freetype:+false} :; then :
14370 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14371 fi ;;
14372 esac
14373 else
14374 ac_cv_lib_soname_freetype=
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 LIBS=$ac_check_soname_save_LIBS
14380 if ${ac_cv_lib_soname_freetype:+false} :; then :
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14382 $as_echo "not found" >&6; }
14383 FREETYPE_LIBS=""
14384 else
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14386 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14388 cat >>confdefs.h <<_ACEOF
14389 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14390 _ACEOF
14393 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14395 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14396 #include FT_MODULE_H
14398 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14400 cat >>confdefs.h <<_ACEOF
14401 #define HAVE_FT_TRUETYPEENGINETYPE 1
14402 _ACEOF
14408 else
14409 FREETYPE_CFLAGS=""
14410 FREETYPE_LIBS=""
14412 CPPFLAGS=$ac_save_CPPFLAGS
14413 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14414 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14417 if test "x$ac_cv_lib_soname_freetype" = x; then :
14418 case "x$with_freetype" in
14419 xno) ;;
14420 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14421 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14422 esac
14423 enable_fonts=${enable_fonts:-no}
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14427 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14428 if ${ac_cv_c_ppdev+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14433 #ifdef HAVE_SYS_IOCTL_H
14434 # include <sys/ioctl.h>
14435 #endif
14436 #include <linux/ppdev.h>
14438 main ()
14440 ioctl (1,PPCLAIM,0)
14442 return 0;
14444 _ACEOF
14445 if ac_fn_c_try_compile "$LINENO"; then :
14446 ac_cv_c_ppdev="yes"
14447 else
14448 ac_cv_c_ppdev="no"
14450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14453 $as_echo "$ac_cv_c_ppdev" >&6; }
14454 if test "$ac_cv_c_ppdev" = "yes"
14455 then
14457 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14461 ac_wine_check_funcs_save_LIBS="$LIBS"
14462 LIBS="$LIBS $PTHREAD_LIBS"
14463 for ac_func in \
14464 pthread_getthreadid_np
14465 do :
14466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14468 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14469 cat >>confdefs.h <<_ACEOF
14470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14471 _ACEOF
14474 done
14476 LIBS="$ac_wine_check_funcs_save_LIBS"
14478 if test "x$with_zlib" != "xno"
14479 then
14480 if ${Z_CFLAGS:+false} :; then :
14481 if ${PKG_CONFIG+:} false; then :
14482 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14486 if ${Z_LIBS:+false} :; then :
14487 if ${PKG_CONFIG+:} false; then :
14488 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14492 Z_LIBS=${Z_LIBS:-"-lz"}
14493 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14494 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14495 ac_save_CPPFLAGS=$CPPFLAGS
14496 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14497 for ac_header in zlib.h
14498 do :
14499 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14500 if test "x$ac_cv_header_zlib_h" = xyes; then :
14501 cat >>confdefs.h <<_ACEOF
14502 #define HAVE_ZLIB_H 1
14503 _ACEOF
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14505 $as_echo_n "checking for inflate in -lz... " >&6; }
14506 if ${ac_cv_lib_z_inflate+:} false; then :
14507 $as_echo_n "(cached) " >&6
14508 else
14509 ac_check_lib_save_LIBS=$LIBS
14510 LIBS="-lz $Z_LIBS $LIBS"
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14514 /* Override any GCC internal prototype to avoid an error.
14515 Use char because int might match the return type of a GCC
14516 builtin and then its argument prototype would still apply. */
14517 #ifdef __cplusplus
14518 extern "C"
14519 #endif
14520 char inflate ();
14522 main ()
14524 return inflate ();
14526 return 0;
14528 _ACEOF
14529 if ac_fn_c_try_link "$LINENO"; then :
14530 ac_cv_lib_z_inflate=yes
14531 else
14532 ac_cv_lib_z_inflate=no
14534 rm -f core conftest.err conftest.$ac_objext \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_check_lib_save_LIBS
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14539 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14540 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14542 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14544 else
14545 Z_LIBS=""
14548 else
14549 Z_LIBS=""
14552 done
14554 CPPFLAGS=$ac_save_CPPFLAGS
14555 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14556 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14559 if test "x$Z_LIBS" = "x"; then :
14560 case "x$with_zlib" in
14561 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14562 xno) ;;
14563 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14564 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14565 esac
14569 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14570 then
14571 if test "$ac_cv_header_gettext_po_h" = "yes"
14572 then
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14574 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14575 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14576 $as_echo_n "(cached) " >&6
14577 else
14578 ac_check_lib_save_LIBS=$LIBS
14579 LIBS="-lgettextpo $LIBS"
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14583 /* Override any GCC internal prototype to avoid an error.
14584 Use char because int might match the return type of a GCC
14585 builtin and then its argument prototype would still apply. */
14586 #ifdef __cplusplus
14587 extern "C"
14588 #endif
14589 char po_message_msgctxt ();
14591 main ()
14593 return po_message_msgctxt ();
14595 return 0;
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14600 else
14601 ac_cv_lib_gettextpo_po_message_msgctxt=no
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14605 LIBS=$ac_check_lib_save_LIBS
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14608 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14609 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14611 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14613 GETTEXTPO_LIBS="-lgettextpo"
14618 if test "x$GETTEXTPO_LIBS" = "x"; then :
14619 case "x$with_gettextpo" in
14620 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14621 xno) ;;
14622 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14623 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14624 esac
14627 if test "$srcdir" != .; then :
14628 case "x$with_gettextpo" in
14629 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14630 xno) ;;
14631 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14632 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14633 esac
14638 if test "x$with_pulse" != "xno";
14639 then
14640 if ${PULSE_CFLAGS:+false} :; then :
14641 if ${PKG_CONFIG+:} false; then :
14642 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14646 if ${PULSE_LIBS:+false} :; then :
14647 if ${PKG_CONFIG+:} false; then :
14648 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14653 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14654 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14655 ac_save_CPPFLAGS=$CPPFLAGS
14656 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14657 for ac_header in pulse/pulseaudio.h
14658 do :
14659 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14660 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14661 cat >>confdefs.h <<_ACEOF
14662 #define HAVE_PULSE_PULSEAUDIO_H 1
14663 _ACEOF
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14665 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14666 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 ac_check_lib_save_LIBS=$LIBS
14670 LIBS="-lpulse $PULSE_LIBS $LIBS"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14674 /* Override any GCC internal prototype to avoid an error.
14675 Use char because int might match the return type of a GCC
14676 builtin and then its argument prototype would still apply. */
14677 #ifdef __cplusplus
14678 extern "C"
14679 #endif
14680 char pa_stream_is_corked ();
14682 main ()
14684 return pa_stream_is_corked ();
14686 return 0;
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"; then :
14690 ac_cv_lib_pulse_pa_stream_is_corked=yes
14691 else
14692 ac_cv_lib_pulse_pa_stream_is_corked=no
14694 rm -f core conftest.err conftest.$ac_objext \
14695 conftest$ac_exeext conftest.$ac_ext
14696 LIBS=$ac_check_lib_save_LIBS
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14699 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14700 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14702 else
14703 PULSE_LIBS=""
14706 else
14707 PULSE_LIBS=""
14710 done
14712 CPPFLAGS=$ac_save_CPPFLAGS
14713 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14714 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14717 if test -z "$PULSE_LIBS"; then :
14718 case "x$with_pulse" in
14719 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14720 xno) ;;
14721 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14722 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14723 esac
14724 enable_winepulse_drv=${enable_winepulse_drv:-no}
14727 if test "x$with_gstreamer" != "xno"
14728 then
14729 if ${GSTREAMER_CFLAGS:+false} :; then :
14730 if ${PKG_CONFIG+:} false; then :
14731 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14735 if ${GSTREAMER_LIBS:+false} :; then :
14736 if ${PKG_CONFIG+:} false; then :
14737 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14742 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14743 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14744 ac_save_CPPFLAGS=$CPPFLAGS
14745 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14746 ac_gst_incl=""
14747 for i in $GSTREAMER_CFLAGS
14749 case "$i" in
14750 -I*) ac_gst_incl="$ac_gst_incl $i";;
14751 esac
14752 done
14753 GSTREAMER_CFLAGS=$ac_gst_incl
14754 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14755 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14756 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14758 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 #include <gst/gst.h>
14763 main ()
14765 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14767 return 0;
14769 _ACEOF
14770 if ac_fn_c_try_compile "$LINENO"; then :
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14772 $as_echo "yes" >&6; }
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14774 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14775 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14776 $as_echo_n "(cached) " >&6
14777 else
14778 ac_check_lib_save_LIBS=$LIBS
14779 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14783 /* Override any GCC internal prototype to avoid an error.
14784 Use char because int might match the return type of a GCC
14785 builtin and then its argument prototype would still apply. */
14786 #ifdef __cplusplus
14787 extern "C"
14788 #endif
14789 char gst_pad_new ();
14791 main ()
14793 return gst_pad_new ();
14795 return 0;
14797 _ACEOF
14798 if ac_fn_c_try_link "$LINENO"; then :
14799 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14800 else
14801 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14803 rm -f core conftest.err conftest.$ac_objext \
14804 conftest$ac_exeext conftest.$ac_ext
14805 LIBS=$ac_check_lib_save_LIBS
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14808 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14809 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14813 else
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14815 $as_echo "no" >&6; }
14816 ac_glib2_broken=yes
14817 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14823 CPPFLAGS=$ac_save_CPPFLAGS
14824 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14825 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14828 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 :
14829 case "x$with_gstreamer" in
14830 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14831 xno) ;;
14832 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14833 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14834 esac
14837 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14839 ALSA_LIBS=""
14841 if test "x$with_alsa" != "xno"
14842 then
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14844 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14845 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14846 $as_echo_n "(cached) " >&6
14847 else
14848 ac_check_lib_save_LIBS=$LIBS
14849 LIBS="-lasound $LIBS"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 #ifdef __cplusplus
14857 extern "C"
14858 #endif
14859 char snd_pcm_hw_params_get_access_mask ();
14861 main ()
14863 return snd_pcm_hw_params_get_access_mask ();
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14870 else
14871 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_lib_save_LIBS
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14878 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14879 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 #include <alsa/asoundlib.h>
14884 main ()
14886 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_compile "$LINENO"; then :
14892 ALSA_LIBS="-lasound"
14894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14898 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14900 if test "x$with_oss" != xno
14901 then
14902 ac_save_CPPFLAGS="$CPPFLAGS"
14903 if test -f /etc/oss.conf
14904 then
14905 . /etc/oss.conf
14907 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14908 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14909 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14910 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14911 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14913 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14915 cat >>confdefs.h <<_ACEOF
14916 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14917 _ACEOF
14919 OSS4_CFLAGS="$ac_oss_incl"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14922 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14923 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 ac_check_lib_save_LIBS=$LIBS
14927 LIBS="-lossaudio $LIBS"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 #ifdef __cplusplus
14935 extern "C"
14936 #endif
14937 char _oss_ioctl ();
14939 main ()
14941 return _oss_ioctl ();
14943 return 0;
14945 _ACEOF
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 ac_cv_lib_ossaudio__oss_ioctl=yes
14948 else
14949 ac_cv_lib_ossaudio__oss_ioctl=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14953 LIBS=$ac_check_lib_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14956 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14957 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14958 OSS4_LIBS="-lossaudio"
14967 CPPFLAGS="$ac_save_CPPFLAGS"
14969 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14970 case "x$with_oss" in
14971 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14972 xno) ;;
14973 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14974 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14975 esac
14976 enable_wineoss_drv=${enable_wineoss_drv:-no}
14979 if test "x$with_udev" != "xno"
14980 then
14981 if ${UDEV_CFLAGS:+false} :; then :
14982 if ${PKG_CONFIG+:} false; then :
14983 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14987 if ${UDEV_LIBS:+false} :; then :
14988 if ${PKG_CONFIG+:} false; then :
14989 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14993 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14994 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14995 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14996 ac_save_CPPFLAGS=$CPPFLAGS
14997 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14998 for ac_header in libudev.h
14999 do :
15000 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15001 if test "x$ac_cv_header_libudev_h" = xyes; then :
15002 cat >>confdefs.h <<_ACEOF
15003 #define HAVE_LIBUDEV_H 1
15004 _ACEOF
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15006 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15007 if ${ac_cv_lib_udev_udev_new+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 ac_check_lib_save_LIBS=$LIBS
15011 LIBS="-ludev $UDEV_LIBS $LIBS"
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 #ifdef __cplusplus
15019 extern "C"
15020 #endif
15021 char udev_new ();
15023 main ()
15025 return udev_new ();
15027 return 0;
15029 _ACEOF
15030 if ac_fn_c_try_link "$LINENO"; then :
15031 ac_cv_lib_udev_udev_new=yes
15032 else
15033 ac_cv_lib_udev_udev_new=no
15035 rm -f core conftest.err conftest.$ac_objext \
15036 conftest$ac_exeext conftest.$ac_ext
15037 LIBS=$ac_check_lib_save_LIBS
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15040 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15041 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15043 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15045 else
15046 UDEV_LIBS=""
15049 else
15050 UDEV_LIBS=""
15053 done
15055 CPPFLAGS=$ac_save_CPPFLAGS
15056 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15057 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15060 if test "x$UDEV_LIBS" = "x"; then :
15061 case "x$with_udev" in
15062 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15063 xno) ;;
15064 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15065 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15066 esac
15070 if test "x$with_unwind" != xno
15071 then
15072 if ${UNWIND_CFLAGS:+false} :; then :
15073 if ${PKG_CONFIG+:} false; then :
15074 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15078 if ${UNWIND_LIBS:+false} :; then :
15079 if ${PKG_CONFIG+:} false; then :
15080 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15084 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15085 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15086 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15087 ac_save_CPPFLAGS=$CPPFLAGS
15088 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15090 $as_echo_n "checking for unw_step... " >&6; }
15091 if ${wine_cv_have_unw_step+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 #define UNW_LOCAL_ONLY
15097 #include <libunwind.h>
15099 main ()
15101 unw_cursor_t cursor; unw_step( &cursor );
15103 return 0;
15105 _ACEOF
15106 if ac_fn_c_try_link "$LINENO"; then :
15107 wine_cv_have_unw_step="yes"
15108 else
15109 wine_cv_have_unw_step="no"
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15115 $as_echo "$wine_cv_have_unw_step" >&6; }
15116 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15117 then
15118 save_libs=$LIBS
15119 LIBS="$UNWIND_LIBS $LIBS"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15121 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15122 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #define UNW_LOCAL_ONLY
15128 #include <libunwind.h>
15130 main ()
15132 unw_cursor_t cursor; unw_step( &cursor );
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_link "$LINENO"; then :
15138 wine_cv_have_libunwind_unw_step="yes"
15139 else
15140 wine_cv_have_libunwind_unw_step="no"
15142 rm -f core conftest.err conftest.$ac_objext \
15143 conftest$ac_exeext conftest.$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15146 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15147 LIBS=$save_libs
15149 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15150 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15151 then
15153 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15156 CPPFLAGS=$ac_save_CPPFLAGS
15157 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15158 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15161 case $host in
15162 aarch64*|*-darwin*)
15163 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15164 case "x$with_unwind" in
15165 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15166 xno) ;;
15167 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15168 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15169 esac
15171 fi ;;
15172 esac
15174 if test "x$with_sdl" != "xno"
15175 then
15176 if ${SDL2_CFLAGS:+false} :; then :
15177 if ${PKG_CONFIG+:} false; then :
15178 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15182 if ${SDL2_LIBS:+false} :; then :
15183 if ${PKG_CONFIG+:} false; then :
15184 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15188 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15189 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15190 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15191 ac_save_CPPFLAGS=$CPPFLAGS
15192 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15193 for ac_header in SDL2/SDL.h
15194 do :
15195 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15196 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15197 cat >>confdefs.h <<_ACEOF
15198 #define HAVE_SDL2_SDL_H 1
15199 _ACEOF
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15201 $as_echo_n "checking for -lSDL2... " >&6; }
15202 if ${ac_cv_lib_soname_SDL2+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 ac_check_soname_save_LIBS=$LIBS
15206 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 /* Override any GCC internal prototype to avoid an error.
15211 Use char because int might match the return type of a GCC
15212 builtin and then its argument prototype would still apply. */
15213 #ifdef __cplusplus
15214 extern "C"
15215 #endif
15216 char SDL_Init ();
15218 main ()
15220 return SDL_Init ();
15222 return 0;
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 case "$LIBEXT" in
15227 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15228 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'` ;;
15229 *) 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'`
15230 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15231 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15232 fi ;;
15233 esac
15234 else
15235 ac_cv_lib_soname_SDL2=
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15239 LIBS=$ac_check_soname_save_LIBS
15241 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15243 $as_echo "not found" >&6; }
15245 else
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15247 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15249 cat >>confdefs.h <<_ACEOF
15250 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15251 _ACEOF
15257 done
15259 CPPFLAGS=$ac_save_CPPFLAGS
15260 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15261 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15264 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15265 case "x$with_sdl" in
15266 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15267 xno) ;;
15268 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15269 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15270 esac
15274 if test "x$with_faudio" != "xno"
15275 then
15276 if ${FAUDIO_CFLAGS:+false} :; then :
15277 if ${PKG_CONFIG+:} false; then :
15278 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15282 if ${FAUDIO_LIBS:+false} :; then :
15283 if ${PKG_CONFIG+:} false; then :
15284 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15288 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15289 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15290 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15291 ac_save_CPPFLAGS=$CPPFLAGS
15292 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15293 for ac_header in FAudio.h
15294 do :
15295 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15296 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15297 cat >>confdefs.h <<_ACEOF
15298 #define HAVE_FAUDIO_H 1
15299 _ACEOF
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15301 $as_echo_n "checking for -lFAudio... " >&6; }
15302 if ${ac_cv_lib_soname_FAudio+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 ac_check_soname_save_LIBS=$LIBS
15306 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char FAudioCreate ();
15318 main ()
15320 return FAudioCreate ();
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 case "$LIBEXT" in
15327 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15328 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'` ;;
15329 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15330 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15331 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15332 fi ;;
15333 esac
15334 else
15335 ac_cv_lib_soname_FAudio=
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_soname_save_LIBS
15341 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 $as_echo "not found" >&6; }
15345 else
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15347 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15349 cat >>confdefs.h <<_ACEOF
15350 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15351 _ACEOF
15357 done
15359 ac_wine_check_funcs_save_LIBS="$LIBS"
15360 LIBS="$LIBS $FAUDIO_LIBS"
15361 for ac_func in FAudio_CommitOperationSet \
15362 F3DAudioInitialize8
15363 do :
15364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15366 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15367 cat >>confdefs.h <<_ACEOF
15368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15369 _ACEOF
15372 done
15374 LIBS="$ac_wine_check_funcs_save_LIBS"
15376 CPPFLAGS=$ac_save_CPPFLAGS
15377 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15378 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15381 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15382 case "x$with_faudio" in
15383 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15384 xno) ;;
15385 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15386 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15387 esac
15391 if test "x$with_capi" != "xno"
15392 then
15393 if ${CAPI20_CFLAGS:+false} :; then :
15394 if ${PKG_CONFIG+:} false; then :
15395 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15399 if ${CAPI20_LIBS:+false} :; then :
15400 if ${PKG_CONFIG+:} false; then :
15401 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15406 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15407 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15408 ac_save_CPPFLAGS=$CPPFLAGS
15409 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15410 for ac_header in capi20.h linux/capi.h
15411 do :
15412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15418 _ACEOF
15422 done
15424 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15425 then
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15427 $as_echo_n "checking for -lcapi20... " >&6; }
15428 if ${ac_cv_lib_soname_capi20+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char capi20_register ();
15444 main ()
15446 return capi20_register ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_capi20:+false} :; then :
15457 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15458 fi ;;
15459 esac
15460 else
15461 ac_cv_lib_soname_capi20=
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_soname_save_LIBS
15467 if ${ac_cv_lib_soname_capi20:+false} :; then :
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 $as_echo "not found" >&6; }
15471 else
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15473 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15475 cat >>confdefs.h <<_ACEOF
15476 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15477 _ACEOF
15482 CPPFLAGS=$ac_save_CPPFLAGS
15483 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15484 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15487 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15488 case "x$with_capi" in
15489 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15490 xno) ;;
15491 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15492 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15493 esac
15497 if test "x$with_cups" != "xno"
15498 then
15499 if ${CUPS_CFLAGS:+false} :; then :
15500 if ${PKG_CONFIG+:} false; then :
15501 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15504 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15505 if ${CUPS_LIBS:+false} :; then :
15506 if ${PKG_CONFIG+:} false; then :
15507 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15510 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15511 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15512 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15513 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15514 ac_save_CPPFLAGS=$CPPFLAGS
15515 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15516 for ac_header in cups/cups.h cups/ppd.h
15517 do :
15518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15519 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15521 cat >>confdefs.h <<_ACEOF
15522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15523 _ACEOF
15527 done
15529 if test "$ac_cv_header_cups_cups_h" = "yes"
15530 then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15532 $as_echo_n "checking for -lcups... " >&6; }
15533 if ${ac_cv_lib_soname_cups+:} false; then :
15534 $as_echo_n "(cached) " >&6
15535 else
15536 ac_check_soname_save_LIBS=$LIBS
15537 LIBS="-lcups $CUPS_LIBS $LIBS"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15544 #ifdef __cplusplus
15545 extern "C"
15546 #endif
15547 char cupsGetDefault ();
15549 main ()
15551 return cupsGetDefault ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"; then :
15557 case "$LIBEXT" in
15558 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15559 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'` ;;
15560 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15561 if ${ac_cv_lib_soname_cups:+false} :; then :
15562 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15563 fi ;;
15564 esac
15565 else
15566 ac_cv_lib_soname_cups=
15568 rm -f core conftest.err conftest.$ac_objext \
15569 conftest$ac_exeext conftest.$ac_ext
15570 LIBS=$ac_check_soname_save_LIBS
15572 if ${ac_cv_lib_soname_cups:+false} :; then :
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15574 $as_echo "not found" >&6; }
15575 CUPS_LIBS=""
15576 else
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15578 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15580 cat >>confdefs.h <<_ACEOF
15581 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15582 _ACEOF
15586 else
15587 CUPS_CFLAGS=""
15588 CUPS_LIBS=""
15590 CPPFLAGS=$ac_save_CPPFLAGS
15591 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15592 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15595 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15596 case "x$with_cups" in
15597 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15598 xno) ;;
15599 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15600 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15601 esac
15605 if test "x$with_fontconfig" != "xno"
15606 then
15607 if ${FONTCONFIG_CFLAGS:+false} :; then :
15608 if ${PKG_CONFIG+:} false; then :
15609 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15612 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15613 if ${FONTCONFIG_LIBS:+false} :; then :
15614 if ${PKG_CONFIG+:} false; then :
15615 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15618 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15620 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15621 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15622 ac_save_CPPFLAGS=$CPPFLAGS
15623 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15624 for ac_header in fontconfig/fontconfig.h
15625 do :
15626 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15627 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15630 _ACEOF
15634 done
15636 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15637 then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15639 $as_echo_n "checking for -lfontconfig... " >&6; }
15640 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_check_soname_save_LIBS=$LIBS
15644 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 #ifdef __cplusplus
15652 extern "C"
15653 #endif
15654 char FcInit ();
15656 main ()
15658 return FcInit ();
15660 return 0;
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 case "$LIBEXT" in
15665 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15666 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'` ;;
15667 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15668 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15669 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15670 fi ;;
15671 esac
15672 else
15673 ac_cv_lib_soname_fontconfig=
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15677 LIBS=$ac_check_soname_save_LIBS
15679 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15681 $as_echo "not found" >&6; }
15682 FONTCONFIG_CFLAGS=""
15683 else
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15685 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15687 cat >>confdefs.h <<_ACEOF
15688 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15689 _ACEOF
15693 else
15694 FONTCONFIG_CFLAGS=""
15696 CPPFLAGS=$ac_save_CPPFLAGS
15697 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15698 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15701 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15702 case "x$with_fontconfig" in
15703 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15704 xno) ;;
15705 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15706 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15707 esac
15711 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15712 then
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15714 $as_echo_n "checking for -lgsm... " >&6; }
15715 if ${ac_cv_lib_soname_gsm+:} false; then :
15716 $as_echo_n "(cached) " >&6
15717 else
15718 ac_check_soname_save_LIBS=$LIBS
15719 LIBS="-lgsm $LIBS"
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char gsm_create ();
15731 main ()
15733 return gsm_create ();
15735 return 0;
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"; then :
15739 case "$LIBEXT" in
15740 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15741 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'` ;;
15742 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15743 if ${ac_cv_lib_soname_gsm:+false} :; then :
15744 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15745 fi ;;
15746 esac
15747 else
15748 ac_cv_lib_soname_gsm=
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_soname_save_LIBS
15754 if ${ac_cv_lib_soname_gsm:+false} :; then :
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15756 $as_echo "not found" >&6; }
15758 else
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15760 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15762 cat >>confdefs.h <<_ACEOF
15763 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15764 _ACEOF
15769 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15770 case "x$with_gsm" in
15771 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15772 xno) ;;
15773 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15774 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15775 esac
15779 if test "x$with_krb5" != "xno"
15780 then
15781 if ${KRB5_CFLAGS:+false} :; then :
15782 if ${PKG_CONFIG+:} false; then :
15783 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15786 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15787 if ${KRB5_LIBS:+false} :; then :
15788 if ${PKG_CONFIG+:} false; then :
15789 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15792 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15794 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15795 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15796 ac_save_CPPFLAGS=$CPPFLAGS
15797 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15798 for ac_header in krb5/krb5.h
15799 do :
15800 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15801 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_KRB5_KRB5_H 1
15804 _ACEOF
15808 done
15810 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15811 then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15813 $as_echo_n "checking for -lkrb5... " >&6; }
15814 if ${ac_cv_lib_soname_krb5+:} false; then :
15815 $as_echo_n "(cached) " >&6
15816 else
15817 ac_check_soname_save_LIBS=$LIBS
15818 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 #ifdef __cplusplus
15826 extern "C"
15827 #endif
15828 char krb5_is_config_principal ();
15830 main ()
15832 return krb5_is_config_principal ();
15834 return 0;
15836 _ACEOF
15837 if ac_fn_c_try_link "$LINENO"; then :
15838 case "$LIBEXT" in
15839 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15840 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'` ;;
15841 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15842 if ${ac_cv_lib_soname_krb5:+false} :; then :
15843 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15844 fi ;;
15845 esac
15846 else
15847 ac_cv_lib_soname_krb5=
15849 rm -f core conftest.err conftest.$ac_objext \
15850 conftest$ac_exeext conftest.$ac_ext
15851 LIBS=$ac_check_soname_save_LIBS
15853 if ${ac_cv_lib_soname_krb5:+false} :; then :
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15855 $as_echo "not found" >&6; }
15856 KRB5_CFLAGS=""
15857 else
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15859 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15861 cat >>confdefs.h <<_ACEOF
15862 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15863 _ACEOF
15867 else
15868 KRB5_CFLAGS=""
15870 CPPFLAGS=$ac_save_CPPFLAGS
15871 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15872 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15875 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15876 case "x$with_krb5" in
15877 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15878 xno) ;;
15879 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15880 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15881 esac
15884 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15886 if test "x$with_gssapi" != "xno"
15887 then
15888 if ${GSSAPI_CFLAGS:+false} :; then :
15889 if ${PKG_CONFIG+:} false; then :
15890 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15893 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15894 if ${GSSAPI_LIBS:+false} :; then :
15895 if ${PKG_CONFIG+:} false; then :
15896 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15899 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15901 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15902 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15903 ac_save_CPPFLAGS=$CPPFLAGS
15904 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15905 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15906 do :
15907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15908 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15912 _ACEOF
15916 done
15918 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15919 then
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15921 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15922 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15923 $as_echo_n "(cached) " >&6
15924 else
15925 ac_check_soname_save_LIBS=$LIBS
15926 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15930 /* Override any GCC internal prototype to avoid an error.
15931 Use char because int might match the return type of a GCC
15932 builtin and then its argument prototype would still apply. */
15933 #ifdef __cplusplus
15934 extern "C"
15935 #endif
15936 char gss_init_sec_context ();
15938 main ()
15940 return gss_init_sec_context ();
15942 return 0;
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 case "$LIBEXT" in
15947 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15948 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'` ;;
15949 *) 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'`
15950 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15951 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15952 fi ;;
15953 esac
15954 else
15955 ac_cv_lib_soname_gssapi_krb5=
15957 rm -f core conftest.err conftest.$ac_objext \
15958 conftest$ac_exeext conftest.$ac_ext
15959 LIBS=$ac_check_soname_save_LIBS
15961 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15963 $as_echo "not found" >&6; }
15964 GSSAPI_CFLAGS=""
15965 else
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15967 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15969 cat >>confdefs.h <<_ACEOF
15970 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15971 _ACEOF
15975 else
15976 GSSAPI_CFLAGS=""
15978 CPPFLAGS=$ac_save_CPPFLAGS
15979 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15980 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15983 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15984 case "x$with_gssapi" in
15985 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15986 xno) ;;
15987 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15988 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15989 esac
15993 if test "x$with_jpeg" != "xno"
15994 then
15995 if ${JPEG_CFLAGS:+false} :; then :
15996 if ${PKG_CONFIG+:} false; then :
15997 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16001 if ${JPEG_LIBS:+false} :; then :
16002 if ${PKG_CONFIG+:} false; then :
16003 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16008 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16009 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16010 ac_save_CPPFLAGS=$CPPFLAGS
16011 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16012 for ac_header in jpeglib.h
16013 do :
16014 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16015 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_JPEGLIB_H 1
16018 _ACEOF
16022 done
16024 if test "$ac_cv_header_jpeglib_h" = "yes"
16025 then
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16027 $as_echo_n "checking for -ljpeg... " >&6; }
16028 if ${ac_cv_lib_soname_jpeg+:} false; then :
16029 $as_echo_n "(cached) " >&6
16030 else
16031 ac_check_soname_save_LIBS=$LIBS
16032 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 #ifdef __cplusplus
16040 extern "C"
16041 #endif
16042 char jpeg_start_decompress ();
16044 main ()
16046 return jpeg_start_decompress ();
16048 return 0;
16050 _ACEOF
16051 if ac_fn_c_try_link "$LINENO"; then :
16052 case "$LIBEXT" in
16053 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16054 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'` ;;
16055 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16056 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16057 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16058 fi ;;
16059 esac
16060 else
16061 ac_cv_lib_soname_jpeg=
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext conftest.$ac_ext
16065 LIBS=$ac_check_soname_save_LIBS
16067 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16069 $as_echo "not found" >&6; }
16070 JPEG_CFLAGS=""
16071 else
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16073 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16075 cat >>confdefs.h <<_ACEOF
16076 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16077 _ACEOF
16081 else
16082 JPEG_CFLAGS=""
16084 CPPFLAGS=$ac_save_CPPFLAGS
16085 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16086 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16089 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16090 case "x$with_jpeg" in
16091 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16092 xno) ;;
16093 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16094 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16095 esac
16099 if test "x$with_png" != "xno"
16100 then
16101 if ${PNG_CFLAGS:+false} :; then :
16102 if ${PKG_CONFIG+:} false; then :
16103 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16106 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16107 if ${PNG_LIBS:+false} :; then :
16108 if ${PKG_CONFIG+:} false; then :
16109 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16112 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16114 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16115 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16116 ac_save_CPPFLAGS=$CPPFLAGS
16117 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16118 for ac_header in png.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_png_h" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_PNG_H 1
16124 _ACEOF
16128 done
16130 if test "$ac_cv_header_png_h" = "yes"
16131 then
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16133 $as_echo_n "checking for -lpng... " >&6; }
16134 if ${ac_cv_lib_soname_png+:} false; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_check_soname_save_LIBS=$LIBS
16138 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 #ifdef __cplusplus
16146 extern "C"
16147 #endif
16148 char png_create_read_struct ();
16150 main ()
16152 return png_create_read_struct ();
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 case "$LIBEXT" in
16159 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16160 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'` ;;
16161 *) 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'`
16162 if ${ac_cv_lib_soname_png:+false} :; then :
16163 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16164 fi ;;
16165 esac
16166 else
16167 ac_cv_lib_soname_png=
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext conftest.$ac_ext
16171 LIBS=$ac_check_soname_save_LIBS
16173 if ${ac_cv_lib_soname_png:+false} :; then :
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16175 $as_echo "not found" >&6; }
16176 PNG_CFLAGS=""
16177 else
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16179 $as_echo "$ac_cv_lib_soname_png" >&6; }
16181 cat >>confdefs.h <<_ACEOF
16182 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16183 _ACEOF
16187 else
16188 PNG_CFLAGS=""
16190 CPPFLAGS=$ac_save_CPPFLAGS
16191 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16192 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16195 if test "x$ac_cv_lib_soname_png" = "x"; then :
16196 case "x$with_png" in
16197 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16198 xno) ;;
16199 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16200 This is an error since --with-png was requested." "$LINENO" 5 ;;
16201 esac
16205 if test "x$with_tiff" != "xno"
16206 then
16207 if ${TIFF_CFLAGS:+false} :; then :
16208 if ${PKG_CONFIG+:} false; then :
16209 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16213 if ${TIFF_LIBS:+false} :; then :
16214 if ${PKG_CONFIG+:} false; then :
16215 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16221 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16222 ac_save_CPPFLAGS=$CPPFLAGS
16223 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16224 for ac_header in tiffio.h
16225 do :
16226 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16227 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_TIFFIO_H 1
16230 _ACEOF
16234 done
16236 if test "$ac_cv_header_tiffio_h" = "yes"
16237 then
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16239 $as_echo_n "checking for -ltiff... " >&6; }
16240 if ${ac_cv_lib_soname_tiff+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 ac_check_soname_save_LIBS=$LIBS
16244 LIBS="-ltiff $TIFF_LIBS $LIBS"
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16251 #ifdef __cplusplus
16252 extern "C"
16253 #endif
16254 char TIFFClientOpen ();
16256 main ()
16258 return TIFFClientOpen ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 case "$LIBEXT" in
16265 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16266 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'` ;;
16267 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16268 if ${ac_cv_lib_soname_tiff:+false} :; then :
16269 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16270 fi ;;
16271 esac
16272 else
16273 ac_cv_lib_soname_tiff=
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LIBS=$ac_check_soname_save_LIBS
16279 if ${ac_cv_lib_soname_tiff:+false} :; then :
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16281 $as_echo "not found" >&6; }
16283 else
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16285 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16287 cat >>confdefs.h <<_ACEOF
16288 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16289 _ACEOF
16294 CPPFLAGS=$ac_save_CPPFLAGS
16295 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16296 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16299 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16300 case "x$with_tiff" in
16301 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16302 xno) ;;
16303 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16304 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16305 esac
16309 if test "x$with_mpg123" != "xno"
16310 then
16311 if ${MPG123_CFLAGS:+false} :; then :
16312 if ${PKG_CONFIG+:} false; then :
16313 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16317 if ${MPG123_LIBS:+false} :; then :
16318 if ${PKG_CONFIG+:} false; then :
16319 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16323 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16324 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16325 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16326 ac_save_CPPFLAGS=$CPPFLAGS
16327 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16328 for ac_header in mpg123.h
16329 do :
16330 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16331 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_MPG123_H 1
16334 _ACEOF
16338 done
16340 if test "$ac_cv_header_mpg123_h" = "yes"
16341 then
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16343 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16344 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 ac_check_lib_save_LIBS=$LIBS
16348 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16352 /* Override any GCC internal prototype to avoid an error.
16353 Use char because int might match the return type of a GCC
16354 builtin and then its argument prototype would still apply. */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 char mpg123_feed ();
16360 main ()
16362 return mpg123_feed ();
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_link "$LINENO"; then :
16368 ac_cv_lib_mpg123_mpg123_feed=yes
16369 else
16370 ac_cv_lib_mpg123_mpg123_feed=no
16372 rm -f core conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16374 LIBS=$ac_check_lib_save_LIBS
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16377 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16378 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16380 else
16381 MPG123_LIBS=""
16384 else
16385 MPG123_CFLAGS=""
16386 MPG123_LIBS=""
16388 CPPFLAGS=$ac_save_CPPFLAGS
16389 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16390 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16393 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16394 case "x$with_mpg123" in
16395 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16396 xno) ;;
16397 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16398 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16399 esac
16400 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16402 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16404 if test "$ac_cv_header_AL_al_h" = "yes"
16405 then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16407 $as_echo_n "checking for -lopenal... " >&6; }
16408 if ${ac_cv_lib_soname_openal+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 ac_check_soname_save_LIBS=$LIBS
16412 LIBS="-lopenal $LIBS"
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16416 /* Override any GCC internal prototype to avoid an error.
16417 Use char because int might match the return type of a GCC
16418 builtin and then its argument prototype would still apply. */
16419 #ifdef __cplusplus
16420 extern "C"
16421 #endif
16422 char alGetSource3i ();
16424 main ()
16426 return alGetSource3i ();
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"; then :
16432 case "$LIBEXT" in
16433 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16434 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'` ;;
16435 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16436 if ${ac_cv_lib_soname_openal:+false} :; then :
16437 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16438 fi ;;
16439 esac
16440 else
16441 ac_cv_lib_soname_openal=
16443 rm -f core conftest.err conftest.$ac_objext \
16444 conftest$ac_exeext conftest.$ac_ext
16445 LIBS=$ac_check_soname_save_LIBS
16447 if ${ac_cv_lib_soname_openal:+false} :; then :
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16449 $as_echo "not found" >&6; }
16451 else
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16453 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16455 cat >>confdefs.h <<_ACEOF
16456 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16457 _ACEOF
16459 OPENAL_LIBS="-lopenal"
16461 ac_cv_lib_openal=yes
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_OPENAL 1
16465 _ACEOF
16469 if test "x$ac_cv_lib_openal" != xyes; then :
16470 case "x$with_openal" in
16471 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16472 xno) ;;
16473 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16474 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16475 esac
16476 enable_openal32=${enable_openal32:-no}
16479 if test "x$ac_cv_lib_soname_FAudio" = "x"
16480 then
16481 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16482 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16483 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16484 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16485 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16486 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16487 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16488 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16489 enable_xapofx1_1=${enable_xapofx1_1:-no}
16490 enable_xapofx1_2=${enable_xapofx1_2:-no}
16491 enable_xapofx1_3=${enable_xapofx1_3:-no}
16492 enable_xapofx1_4=${enable_xapofx1_4:-no}
16493 enable_xapofx1_5=${enable_xapofx1_5:-no}
16494 enable_xaudio2_0=${enable_xaudio2_0:-no}
16495 enable_xaudio2_1=${enable_xaudio2_1:-no}
16496 enable_xaudio2_2=${enable_xaudio2_2:-no}
16497 enable_xaudio2_3=${enable_xaudio2_3:-no}
16498 enable_xaudio2_4=${enable_xaudio2_4:-no}
16499 enable_xaudio2_5=${enable_xaudio2_5:-no}
16500 enable_xaudio2_6=${enable_xaudio2_6:-no}
16501 enable_xaudio2_7=${enable_xaudio2_7:-no}
16502 enable_xaudio2_8=${enable_xaudio2_8:-no}
16503 enable_xaudio2_9=${enable_xaudio2_9:-no}
16506 if test "$ac_cv_header_kstat_h" = "yes"
16507 then
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16509 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16510 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16511 $as_echo_n "(cached) " >&6
16512 else
16513 ac_check_lib_save_LIBS=$LIBS
16514 LIBS="-lkstat $LIBS"
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16518 /* Override any GCC internal prototype to avoid an error.
16519 Use char because int might match the return type of a GCC
16520 builtin and then its argument prototype would still apply. */
16521 #ifdef __cplusplus
16522 extern "C"
16523 #endif
16524 char kstat_open ();
16526 main ()
16528 return kstat_open ();
16530 return 0;
16532 _ACEOF
16533 if ac_fn_c_try_link "$LINENO"; then :
16534 ac_cv_lib_kstat_kstat_open=yes
16535 else
16536 ac_cv_lib_kstat_kstat_open=no
16538 rm -f core conftest.err conftest.$ac_objext \
16539 conftest$ac_exeext conftest.$ac_ext
16540 LIBS=$ac_check_lib_save_LIBS
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16543 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16544 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16546 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16548 KSTAT_LIBS="-lkstat"
16554 if test "$ac_cv_header_libprocstat_h" = "yes"
16555 then
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16557 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16558 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16559 $as_echo_n "(cached) " >&6
16560 else
16561 ac_check_lib_save_LIBS=$LIBS
16562 LIBS="-lprocstat $LIBS"
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16566 /* Override any GCC internal prototype to avoid an error.
16567 Use char because int might match the return type of a GCC
16568 builtin and then its argument prototype would still apply. */
16569 #ifdef __cplusplus
16570 extern "C"
16571 #endif
16572 char procstat_open_sysctl ();
16574 main ()
16576 return procstat_open_sysctl ();
16578 return 0;
16580 _ACEOF
16581 if ac_fn_c_try_link "$LINENO"; then :
16582 ac_cv_lib_procstat_procstat_open_sysctl=yes
16583 else
16584 ac_cv_lib_procstat_procstat_open_sysctl=no
16586 rm -f core conftest.err conftest.$ac_objext \
16587 conftest$ac_exeext conftest.$ac_ext
16588 LIBS=$ac_check_lib_save_LIBS
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16591 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16592 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16594 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16596 PROCSTAT_LIBS="-lprocstat"
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16603 $as_echo_n "checking for -lodbc... " >&6; }
16604 if ${ac_cv_lib_soname_odbc+:} false; then :
16605 $as_echo_n "(cached) " >&6
16606 else
16607 ac_check_soname_save_LIBS=$LIBS
16608 LIBS="-lodbc $LIBS"
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16612 /* Override any GCC internal prototype to avoid an error.
16613 Use char because int might match the return type of a GCC
16614 builtin and then its argument prototype would still apply. */
16615 #ifdef __cplusplus
16616 extern "C"
16617 #endif
16618 char SQLConnect ();
16620 main ()
16622 return SQLConnect ();
16624 return 0;
16626 _ACEOF
16627 if ac_fn_c_try_link "$LINENO"; then :
16628 case "$LIBEXT" in
16629 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16630 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'` ;;
16631 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16632 if ${ac_cv_lib_soname_odbc:+false} :; then :
16633 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16634 fi ;;
16635 esac
16636 else
16637 ac_cv_lib_soname_odbc=
16639 rm -f core conftest.err conftest.$ac_objext \
16640 conftest$ac_exeext conftest.$ac_ext
16641 LIBS=$ac_check_soname_save_LIBS
16643 if ${ac_cv_lib_soname_odbc:+false} :; then :
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16645 $as_echo "not found" >&6; }
16646 cat >>confdefs.h <<_ACEOF
16647 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16648 _ACEOF
16650 else
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16652 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16654 cat >>confdefs.h <<_ACEOF
16655 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16656 _ACEOF
16661 if test "x$with_netapi" != "xno"
16662 then
16663 if ${NETAPI_CFLAGS:+false} :; then :
16664 if ${PKG_CONFIG+:} false; then :
16665 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16669 if ${NETAPI_LIBS:+false} :; then :
16670 if ${PKG_CONFIG+:} false; then :
16671 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16676 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16677 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16678 ac_save_CPPFLAGS=$CPPFLAGS
16679 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16681 $as_echo_n "checking for -lnetapi... " >&6; }
16682 if ${ac_cv_lib_soname_netapi+:} false; then :
16683 $as_echo_n "(cached) " >&6
16684 else
16685 ac_check_soname_save_LIBS=$LIBS
16686 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16690 /* Override any GCC internal prototype to avoid an error.
16691 Use char because int might match the return type of a GCC
16692 builtin and then its argument prototype would still apply. */
16693 #ifdef __cplusplus
16694 extern "C"
16695 #endif
16696 char libnetapi_init ();
16698 main ()
16700 return libnetapi_init ();
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 case "$LIBEXT" in
16707 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16708 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'` ;;
16709 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16710 if ${ac_cv_lib_soname_netapi:+false} :; then :
16711 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16712 fi ;;
16713 esac
16714 else
16715 ac_cv_lib_soname_netapi=
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16719 LIBS=$ac_check_soname_save_LIBS
16721 if ${ac_cv_lib_soname_netapi:+false} :; then :
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16723 $as_echo "not found" >&6; }
16724 cat >>confdefs.h <<_ACEOF
16725 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16726 _ACEOF
16728 else
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16730 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16732 cat >>confdefs.h <<_ACEOF
16733 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16734 _ACEOF
16738 CPPFLAGS=$ac_save_CPPFLAGS
16739 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16740 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16744 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16745 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16746 then
16747 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16750 if test "x$with_vulkan" != "xno"
16751 then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16753 $as_echo_n "checking for -lvulkan... " >&6; }
16754 if ${ac_cv_lib_soname_vulkan+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_check_soname_save_LIBS=$LIBS
16758 LIBS="-lvulkan $LIBS"
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16765 #ifdef __cplusplus
16766 extern "C"
16767 #endif
16768 char vkGetInstanceProcAddr ();
16770 main ()
16772 return vkGetInstanceProcAddr ();
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 case "$LIBEXT" in
16779 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16780 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'` ;;
16781 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16782 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16783 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16784 fi ;;
16785 esac
16786 else
16787 ac_cv_lib_soname_vulkan=
16789 rm -f core conftest.err conftest.$ac_objext \
16790 conftest$ac_exeext conftest.$ac_ext
16791 LIBS=$ac_check_soname_save_LIBS
16793 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16795 $as_echo "not found" >&6; }
16797 else
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16799 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16801 cat >>confdefs.h <<_ACEOF
16802 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16803 _ACEOF
16807 if test "x$ac_cv_lib_soname_vulkan" = "x"
16808 then
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16810 $as_echo_n "checking for -lMoltenVK... " >&6; }
16811 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16812 $as_echo_n "(cached) " >&6
16813 else
16814 ac_check_soname_save_LIBS=$LIBS
16815 LIBS="-lMoltenVK $LIBS"
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16822 #ifdef __cplusplus
16823 extern "C"
16824 #endif
16825 char vkGetInstanceProcAddr ();
16827 main ()
16829 return vkGetInstanceProcAddr ();
16831 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 case "$LIBEXT" in
16836 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16837 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'` ;;
16838 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16839 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16840 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16841 fi ;;
16842 esac
16843 else
16844 ac_cv_lib_soname_MoltenVK=
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_soname_save_LIBS
16850 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16852 $as_echo "not found" >&6; }
16854 else
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16856 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16858 cat >>confdefs.h <<_ACEOF
16859 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16860 _ACEOF
16866 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16867 case "x$with_vulkan" in
16868 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16869 xno) ;;
16870 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16871 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16872 esac
16876 if test "x$with_vkd3d" != "xno"
16877 then
16878 if ${VKD3D_CFLAGS:+false} :; then :
16879 if ${PKG_CONFIG+:} false; then :
16880 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16884 if ${VKD3D_LIBS:+false} :; then :
16885 if ${PKG_CONFIG+:} false; then :
16886 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16891 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16892 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16893 ac_save_CPPFLAGS=$CPPFLAGS
16894 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16896 $as_echo_n "checking for -lvkd3d... " >&6; }
16897 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 ac_check_soname_save_LIBS=$LIBS
16901 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16908 #ifdef __cplusplus
16909 extern "C"
16910 #endif
16911 char vkd3d_get_dxgi_format ();
16913 main ()
16915 return vkd3d_get_dxgi_format ();
16917 return 0;
16919 _ACEOF
16920 if ac_fn_c_try_link "$LINENO"; then :
16921 case "$LIBEXT" in
16922 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16923 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'` ;;
16924 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16925 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16926 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16927 fi ;;
16928 esac
16929 else
16930 ac_cv_lib_soname_vkd3d=
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext conftest.$ac_ext
16934 LIBS=$ac_check_soname_save_LIBS
16936 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16938 $as_echo "not found" >&6; }
16940 else
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16942 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16944 cat >>confdefs.h <<_ACEOF
16945 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16946 _ACEOF
16950 CPPFLAGS=$ac_save_CPPFLAGS
16951 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16952 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16955 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16956 case "x$with_vkd3d" in
16957 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16958 xno) ;;
16959 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16960 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16961 esac
16964 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16967 EXTRACFLAGS=""
16969 if test "x${GCC}" = "xyes"
16970 then
16971 EXTRACFLAGS="-Wall -pipe"
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16974 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16975 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978 ac_wine_try_cflags_saved=$CFLAGS
16979 CFLAGS="$CFLAGS -fcf-protection=none"
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 int main(int argc, char **argv) { return 0; }
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 ac_cv_cflags__fcf_protection_none=yes
16986 else
16987 ac_cv_cflags__fcf_protection_none=no
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16991 CFLAGS=$ac_wine_try_cflags_saved
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16994 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16995 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16996 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16999 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17000 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 ac_wine_try_cflags_saved=$CFLAGS
17004 CFLAGS="$CFLAGS -fno-stack-protector"
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 int main(int argc, char **argv) { return 0; }
17008 _ACEOF
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 ac_cv_cflags__fno_stack_protector=yes
17011 else
17012 ac_cv_cflags__fno_stack_protector=no
17014 rm -f core conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17016 CFLAGS=$ac_wine_try_cflags_saved
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17019 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17020 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17021 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17024 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17025 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 ac_wine_try_cflags_saved=$CFLAGS
17029 CFLAGS="$CFLAGS -fno-strict-aliasing"
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 int main(int argc, char **argv) { return 0; }
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"; then :
17035 ac_cv_cflags__fno_strict_aliasing=yes
17036 else
17037 ac_cv_cflags__fno_strict_aliasing=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17041 CFLAGS=$ac_wine_try_cflags_saved
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17044 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17045 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17046 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17049 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17050 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17053 ac_wine_try_cflags_saved=$CFLAGS
17054 CFLAGS="$CFLAGS -fexcess-precision=standard"
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 int main(int argc, char **argv) { return 0; }
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_cflags__fexcess_precision_standard=yes
17061 else
17062 ac_cv_cflags__fexcess_precision_standard=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 CFLAGS=$ac_wine_try_cflags_saved
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17069 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17070 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17071 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17074 saved_CFLAGS=$CFLAGS
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17076 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17077 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__Werror_unknown_warning_option=yes
17088 else
17089 ac_cv_cflags__Werror_unknown_warning_option=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17096 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17097 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17098 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17101 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17102 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__Werror_unused_command_line_argument=yes
17113 else
17114 ac_cv_cflags__Werror_unused_command_line_argument=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17121 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17122 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17123 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17126 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17127 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__Wdeclaration_after_statement=yes
17138 else
17139 ac_cv_cflags__Wdeclaration_after_statement=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17146 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17147 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17151 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17152 if ${ac_cv_cflags__Wempty_body+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Wempty-body"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Wempty_body=yes
17163 else
17164 ac_cv_cflags__Wempty_body=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17171 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17172 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17176 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17177 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wignored-qualifiers"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wignored_qualifiers=yes
17188 else
17189 ac_cv_cflags__Wignored_qualifiers=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17196 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17197 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17201 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17202 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_wine_try_cflags_saved=$CFLAGS
17206 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 int main(int argc, char **argv) { return 0; }
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_cflags__Wpacked_not_aligned=yes
17213 else
17214 ac_cv_cflags__Wpacked_not_aligned=no
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 CFLAGS=$ac_wine_try_cflags_saved
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17221 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17222 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17223 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17226 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17227 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_wine_try_cflags_saved=$CFLAGS
17231 CFLAGS="$CFLAGS -Wpragma-pack"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int main(int argc, char **argv) { return 0; }
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_cflags__Wpragma_pack=yes
17238 else
17239 ac_cv_cflags__Wpragma_pack=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 CFLAGS=$ac_wine_try_cflags_saved
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17246 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17247 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17248 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17251 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17252 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Wshift-overflow=2"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Wshift_overflow_2=yes
17263 else
17264 ac_cv_cflags__Wshift_overflow_2=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17271 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17272 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17273 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17276 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17277 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wstrict-prototypes"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wstrict_prototypes=yes
17288 else
17289 ac_cv_cflags__Wstrict_prototypes=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17296 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17297 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17298 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17301 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17302 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wtype-limits"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wtype_limits=yes
17313 else
17314 ac_cv_cflags__Wtype_limits=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17321 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17322 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17323 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17326 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17327 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 ac_wine_try_cflags_saved=$CFLAGS
17331 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 int main(int argc, char **argv) { return 0; }
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 ac_cv_cflags__Wunused_but_set_parameter=yes
17338 else
17339 ac_cv_cflags__Wunused_but_set_parameter=no
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 CFLAGS=$ac_wine_try_cflags_saved
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17346 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17347 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17348 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17351 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17352 if ${ac_cv_cflags__Wvla+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 ac_wine_try_cflags_saved=$CFLAGS
17356 CFLAGS="$CFLAGS -Wvla"
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 int main(int argc, char **argv) { return 0; }
17360 _ACEOF
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 ac_cv_cflags__Wvla=yes
17363 else
17364 ac_cv_cflags__Wvla=no
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17368 CFLAGS=$ac_wine_try_cflags_saved
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17371 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17372 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17373 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17376 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17377 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 ac_wine_try_cflags_saved=$CFLAGS
17381 CFLAGS="$CFLAGS -Wwrite-strings"
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 int main(int argc, char **argv) { return 0; }
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387 ac_cv_cflags__Wwrite_strings=yes
17388 else
17389 ac_cv_cflags__Wwrite_strings=no
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17393 CFLAGS=$ac_wine_try_cflags_saved
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17396 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17397 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17398 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17402 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17403 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 ac_wine_try_cflags_saved=$CFLAGS
17407 CFLAGS="$CFLAGS -Wpointer-arith"
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 int main(int argc, char **argv) { return 0; }
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_cflags__Wpointer_arith=yes
17414 else
17415 ac_cv_cflags__Wpointer_arith=no
17417 rm -f core conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17419 CFLAGS=$ac_wine_try_cflags_saved
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17422 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17423 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17424 saved_string_h_CFLAGS=$CFLAGS
17425 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17427 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17428 if ${ac_cv_c_string_h_warnings+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #include <string.h>
17435 main ()
17439 return 0;
17441 _ACEOF
17442 if ac_fn_c_try_compile "$LINENO"; then :
17443 ac_cv_c_string_h_warnings=no
17444 else
17445 ac_cv_c_string_h_warnings=yes
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17450 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17451 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17452 CFLAGS=$saved_string_h_CFLAGS
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17456 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17457 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17460 ac_wine_try_cflags_saved=$CFLAGS
17461 CFLAGS="$CFLAGS -Wlogical-op"
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17464 int main(int argc, char **argv) { return 0; }
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"; then :
17467 ac_cv_cflags__Wlogical_op=yes
17468 else
17469 ac_cv_cflags__Wlogical_op=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17473 CFLAGS=$ac_wine_try_cflags_saved
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17476 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17477 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17478 saved_string_h_CFLAGS=$CFLAGS
17479 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17481 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17482 if ${ac_cv_c_logicalop_noisy+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 #include <string.h>
17488 char*f(const char *h,char n) {return strchr(h,n);}
17490 main ()
17494 return 0;
17496 _ACEOF
17497 if ac_fn_c_try_compile "$LINENO"; then :
17498 ac_cv_c_logicalop_noisy=no
17499 else
17500 ac_cv_c_logicalop_noisy=yes
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17505 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17506 CFLAGS=$saved_string_h_CFLAGS
17507 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17510 for ac_flag in $CFLAGS; do
17511 case $ac_flag in
17512 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17513 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17514 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 ac_wine_try_cflags_saved=$CFLAGS
17518 CFLAGS="$CFLAGS -gdwarf-2"
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521 int main(int argc, char **argv) { return 0; }
17522 _ACEOF
17523 if ac_fn_c_try_link "$LINENO"; then :
17524 ac_cv_cflags__gdwarf_2=yes
17525 else
17526 ac_cv_cflags__gdwarf_2=no
17528 rm -f core conftest.err conftest.$ac_objext \
17529 conftest$ac_exeext conftest.$ac_ext
17530 CFLAGS=$ac_wine_try_cflags_saved
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17533 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17534 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17535 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17538 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17539 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17540 $as_echo_n "(cached) " >&6
17541 else
17542 ac_wine_try_cflags_saved=$CFLAGS
17543 CFLAGS="$CFLAGS -gstrict-dwarf"
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17546 int main(int argc, char **argv) { return 0; }
17547 _ACEOF
17548 if ac_fn_c_try_link "$LINENO"; then :
17549 ac_cv_cflags__gstrict_dwarf=yes
17550 else
17551 ac_cv_cflags__gstrict_dwarf=no
17553 rm -f core conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17555 CFLAGS=$ac_wine_try_cflags_saved
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17558 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17559 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17560 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17561 fi ;;
17562 esac
17563 done
17565 MSVCRTFLAGS=""
17567 case $host_os in
17568 mingw32*) ;;
17569 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17570 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17571 if ${ac_cv_cflags__fno_builtin+:} false; then :
17572 $as_echo_n "(cached) " >&6
17573 else
17574 ac_wine_try_cflags_saved=$CFLAGS
17575 CFLAGS="$CFLAGS -fno-builtin"
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17578 int main(int argc, char **argv) { return 0; }
17579 _ACEOF
17580 if ac_fn_c_try_link "$LINENO"; then :
17581 ac_cv_cflags__fno_builtin=yes
17582 else
17583 ac_cv_cflags__fno_builtin=no
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17587 CFLAGS=$ac_wine_try_cflags_saved
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17590 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17591 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17592 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17595 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17596 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 ac_wine_try_cflags_saved=$CFLAGS
17600 CFLAGS="$CFLAGS -fshort-wchar"
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 int main(int argc, char **argv) { return 0; }
17604 _ACEOF
17605 if ac_fn_c_try_link "$LINENO"; then :
17606 ac_cv_cflags__fshort_wchar=yes
17607 else
17608 ac_cv_cflags__fshort_wchar=no
17610 rm -f core conftest.err conftest.$ac_objext \
17611 conftest$ac_exeext conftest.$ac_ext
17612 CFLAGS=$ac_wine_try_cflags_saved
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17615 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17616 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17617 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17618 fi ;;
17619 esac
17621 case $host_cpu in
17622 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17623 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17624 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 ac_wine_try_cflags_saved=$CFLAGS
17628 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17631 int main(int argc, char **argv) { return 0; }
17632 _ACEOF
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_cflags__fno_omit_frame_pointer=yes
17635 else
17636 ac_cv_cflags__fno_omit_frame_pointer=no
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17640 CFLAGS=$ac_wine_try_cflags_saved
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17643 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17644 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17645 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17646 fi ;;
17647 *x86_64*)
17648 case $host_os in
17649 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17650 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17651 if ${ac_cv_cflags__Wno_format+:} false; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17654 ac_wine_try_cflags_saved=$CFLAGS
17655 CFLAGS="$CFLAGS -Wno-format"
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 int main(int argc, char **argv) { return 0; }
17659 _ACEOF
17660 if ac_fn_c_try_link "$LINENO"; then :
17661 ac_cv_cflags__Wno_format=yes
17662 else
17663 ac_cv_cflags__Wno_format=no
17665 rm -f core conftest.err conftest.$ac_objext \
17666 conftest$ac_exeext conftest.$ac_ext
17667 CFLAGS=$ac_wine_try_cflags_saved
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17670 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17671 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17672 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17673 fi ;;
17674 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17675 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17676 if ${ac_cv_cflags__mabi_ms+:} false; then :
17677 $as_echo_n "(cached) " >&6
17678 else
17679 ac_wine_try_cflags_saved=$CFLAGS
17680 CFLAGS="$CFLAGS -mabi=ms"
17681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h. */
17683 int main(int argc, char **argv) { return 0; }
17684 _ACEOF
17685 if ac_fn_c_try_link "$LINENO"; then :
17686 ac_cv_cflags__mabi_ms=yes
17687 else
17688 ac_cv_cflags__mabi_ms=no
17690 rm -f core conftest.err conftest.$ac_objext \
17691 conftest$ac_exeext conftest.$ac_ext
17692 CFLAGS=$ac_wine_try_cflags_saved
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17695 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17696 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17697 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17698 fi ;;
17699 esac ;;
17700 esac
17702 CFLAGS=$saved_CFLAGS
17704 if test "x$enable_werror" = "xyes"
17705 then
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17707 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17708 if ${ac_cv_cflags__Werror+:} false; then :
17709 $as_echo_n "(cached) " >&6
17710 else
17711 ac_wine_try_cflags_saved=$CFLAGS
17712 CFLAGS="$CFLAGS -Werror"
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17715 int main(int argc, char **argv) { return 0; }
17716 _ACEOF
17717 if ac_fn_c_try_link "$LINENO"; then :
17718 ac_cv_cflags__Werror=yes
17719 else
17720 ac_cv_cflags__Werror=no
17722 rm -f core conftest.err conftest.$ac_objext \
17723 conftest$ac_exeext conftest.$ac_ext
17724 CFLAGS=$ac_wine_try_cflags_saved
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17727 $as_echo "$ac_cv_cflags__Werror" >&6; }
17728 if test "x$ac_cv_cflags__Werror" = xyes; then :
17729 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17736 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17737 if ${ac_cv_c_fortify_enabled+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 #include <string.h>
17744 main ()
17746 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17747 #error Fortify enabled
17748 #endif
17750 return 0;
17752 _ACEOF
17753 if ac_fn_c_try_compile "$LINENO"; then :
17754 ac_cv_c_fortify_enabled=no
17755 else
17756 ac_cv_c_fortify_enabled=yes
17758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17761 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17762 if test "$ac_cv_c_fortify_enabled" = yes
17763 then
17764 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17769 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17770 if ${ac_cv_c_cfi_support+:} false; then :
17771 $as_echo_n "(cached) " >&6
17772 else
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17777 main ()
17781 return 0;
17783 _ACEOF
17784 if ac_fn_c_try_compile "$LINENO"; then :
17785 ac_cv_c_cfi_support="yes"
17786 else
17787 ac_cv_c_cfi_support="no"
17789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17792 $as_echo "$ac_cv_c_cfi_support" >&6; }
17793 if test "$ac_cv_c_cfi_support" = "yes"
17794 then
17795 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17796 else
17797 if test "x$enable_win64" = "xyes"
17798 then
17799 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17804 case $build_os in
17805 cygwin*|mingw32*) TOOLSEXT=".exe"
17807 esac
17809 case $host_os in
17810 linux*)
17811 case $host_cpu in
17812 *i[3456789]86*|x86_64*|*aarch64*)
17813 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17814 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17816 esac
17818 esac
17821 ac_save_CFLAGS="$CFLAGS"
17822 CFLAGS="$CFLAGS $BUILTINFLAG"
17823 for ac_func in \
17824 __res_get_state \
17825 __res_getservers \
17826 _spawnvp \
17827 dlopen \
17828 epoll_create \
17829 ffs \
17830 finitef \
17831 fnmatch \
17832 fork \
17833 fpclass \
17834 fstatfs \
17835 fstatvfs \
17836 futimens \
17837 futimes \
17838 futimesat \
17839 getattrlist \
17840 getauxval \
17841 getifaddrs \
17842 getopt_long_only \
17843 kqueue \
17844 lstat \
17845 mach_continuous_time \
17846 pipe2 \
17847 poll \
17848 port_create \
17849 prctl \
17850 pread \
17851 proc_pidinfo \
17852 pwrite \
17853 readdir \
17854 readlink \
17855 sched_yield \
17856 select \
17857 setproctitle \
17858 setprogname \
17859 settimeofday \
17860 sigprocmask \
17861 statfs \
17862 statvfs \
17863 strnlen \
17864 strtold \
17865 symlink \
17866 sysinfo \
17867 tcdrain \
17868 thr_kill2 \
17869 timegm \
17870 usleep
17872 do :
17873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17875 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17876 cat >>confdefs.h <<_ACEOF
17877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17878 _ACEOF
17881 done
17883 CFLAGS="$ac_save_CFLAGS"
17885 if test "$ac_cv_func_dlopen" = no
17886 then
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17888 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17889 if ${ac_cv_lib_dl_dlopen+:} false; then :
17890 $as_echo_n "(cached) " >&6
17891 else
17892 ac_check_lib_save_LIBS=$LIBS
17893 LIBS="-ldl $LIBS"
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17897 /* Override any GCC internal prototype to avoid an error.
17898 Use char because int might match the return type of a GCC
17899 builtin and then its argument prototype would still apply. */
17900 #ifdef __cplusplus
17901 extern "C"
17902 #endif
17903 char dlopen ();
17905 main ()
17907 return dlopen ();
17909 return 0;
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"; then :
17913 ac_cv_lib_dl_dlopen=yes
17914 else
17915 ac_cv_lib_dl_dlopen=no
17917 rm -f core conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17919 LIBS=$ac_check_lib_save_LIBS
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17922 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17923 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17924 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17925 DL_LIBS="-ldl"
17930 ac_wine_check_funcs_save_LIBS="$LIBS"
17931 LIBS="$LIBS $DL_LIBS"
17932 for ac_func in dladdr
17933 do :
17934 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17935 if test "x$ac_cv_func_dladdr" = xyes; then :
17936 cat >>confdefs.h <<_ACEOF
17937 #define HAVE_DLADDR 1
17938 _ACEOF
17941 done
17943 LIBS="$ac_wine_check_funcs_save_LIBS"
17945 if test "$ac_cv_func_poll" = no
17946 then
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17948 $as_echo_n "checking for poll in -lpoll... " >&6; }
17949 if ${ac_cv_lib_poll_poll+:} false; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952 ac_check_lib_save_LIBS=$LIBS
17953 LIBS="-lpoll $LIBS"
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17960 #ifdef __cplusplus
17961 extern "C"
17962 #endif
17963 char poll ();
17965 main ()
17967 return poll ();
17969 return 0;
17971 _ACEOF
17972 if ac_fn_c_try_link "$LINENO"; then :
17973 ac_cv_lib_poll_poll=yes
17974 else
17975 ac_cv_lib_poll_poll=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17982 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17983 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17984 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17985 POLL_LIBS="-lpoll"
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17992 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17993 if ${ac_cv_search_gethostbyname+:} false; then :
17994 $as_echo_n "(cached) " >&6
17995 else
17996 ac_func_search_save_LIBS=$LIBS
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
18000 /* Override any GCC internal prototype to avoid an error.
18001 Use char because int might match the return type of a GCC
18002 builtin and then its argument prototype would still apply. */
18003 #ifdef __cplusplus
18004 extern "C"
18005 #endif
18006 char gethostbyname ();
18008 main ()
18010 return gethostbyname ();
18012 return 0;
18014 _ACEOF
18015 for ac_lib in '' nsl; do
18016 if test -z "$ac_lib"; then
18017 ac_res="none required"
18018 else
18019 ac_res=-l$ac_lib
18020 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18022 if ac_fn_c_try_link "$LINENO"; then :
18023 ac_cv_search_gethostbyname=$ac_res
18025 rm -f core conftest.err conftest.$ac_objext \
18026 conftest$ac_exeext
18027 if ${ac_cv_search_gethostbyname+:} false; then :
18028 break
18030 done
18031 if ${ac_cv_search_gethostbyname+:} false; then :
18033 else
18034 ac_cv_search_gethostbyname=no
18036 rm conftest.$ac_ext
18037 LIBS=$ac_func_search_save_LIBS
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18040 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18041 ac_res=$ac_cv_search_gethostbyname
18042 if test "$ac_res" != no; then :
18043 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18049 $as_echo_n "checking for library containing connect... " >&6; }
18050 if ${ac_cv_search_connect+:} false; then :
18051 $as_echo_n "(cached) " >&6
18052 else
18053 ac_func_search_save_LIBS=$LIBS
18054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18057 /* Override any GCC internal prototype to avoid an error.
18058 Use char because int might match the return type of a GCC
18059 builtin and then its argument prototype would still apply. */
18060 #ifdef __cplusplus
18061 extern "C"
18062 #endif
18063 char connect ();
18065 main ()
18067 return connect ();
18069 return 0;
18071 _ACEOF
18072 for ac_lib in '' socket; do
18073 if test -z "$ac_lib"; then
18074 ac_res="none required"
18075 else
18076 ac_res=-l$ac_lib
18077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18079 if ac_fn_c_try_link "$LINENO"; then :
18080 ac_cv_search_connect=$ac_res
18082 rm -f core conftest.err conftest.$ac_objext \
18083 conftest$ac_exeext
18084 if ${ac_cv_search_connect+:} false; then :
18085 break
18087 done
18088 if ${ac_cv_search_connect+:} false; then :
18090 else
18091 ac_cv_search_connect=no
18093 rm conftest.$ac_ext
18094 LIBS=$ac_func_search_save_LIBS
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18097 $as_echo "$ac_cv_search_connect" >&6; }
18098 ac_res=$ac_cv_search_connect
18099 if test "$ac_res" != no; then :
18100 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18106 $as_echo_n "checking for library containing inet_aton... " >&6; }
18107 if ${ac_cv_search_inet_aton+:} false; then :
18108 $as_echo_n "(cached) " >&6
18109 else
18110 ac_func_search_save_LIBS=$LIBS
18111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h. */
18114 /* Override any GCC internal prototype to avoid an error.
18115 Use char because int might match the return type of a GCC
18116 builtin and then its argument prototype would still apply. */
18117 #ifdef __cplusplus
18118 extern "C"
18119 #endif
18120 char inet_aton ();
18122 main ()
18124 return inet_aton ();
18126 return 0;
18128 _ACEOF
18129 for ac_lib in '' resolv; do
18130 if test -z "$ac_lib"; then
18131 ac_res="none required"
18132 else
18133 ac_res=-l$ac_lib
18134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18136 if ac_fn_c_try_link "$LINENO"; then :
18137 ac_cv_search_inet_aton=$ac_res
18139 rm -f core conftest.err conftest.$ac_objext \
18140 conftest$ac_exeext
18141 if ${ac_cv_search_inet_aton+:} false; then :
18142 break
18144 done
18145 if ${ac_cv_search_inet_aton+:} false; then :
18147 else
18148 ac_cv_search_inet_aton=no
18150 rm conftest.$ac_ext
18151 LIBS=$ac_func_search_save_LIBS
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18154 $as_echo "$ac_cv_search_inet_aton" >&6; }
18155 ac_res=$ac_cv_search_inet_aton
18156 if test "$ac_res" != no; then :
18157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18162 for ac_func in \
18163 getaddrinfo \
18164 getnameinfo \
18165 getnetbyname \
18166 getprotobyname \
18167 getprotobynumber \
18168 getservbyport \
18169 inet_addr \
18170 inet_network \
18171 inet_ntop \
18172 inet_pton \
18174 do :
18175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18177 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18178 cat >>confdefs.h <<_ACEOF
18179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18180 _ACEOF
18183 done
18186 case $host_os in
18187 darwin*|macosx*) ;;
18188 *) ac_save_LIBS=$LIBS
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18190 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18191 if ${ac_cv_search_clock_gettime+:} false; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18194 ac_func_search_save_LIBS=$LIBS
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 #ifdef __cplusplus
18202 extern "C"
18203 #endif
18204 char clock_gettime ();
18206 main ()
18208 return clock_gettime ();
18210 return 0;
18212 _ACEOF
18213 for ac_lib in '' rt; do
18214 if test -z "$ac_lib"; then
18215 ac_res="none required"
18216 else
18217 ac_res=-l$ac_lib
18218 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18220 if ac_fn_c_try_link "$LINENO"; then :
18221 ac_cv_search_clock_gettime=$ac_res
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext
18225 if ${ac_cv_search_clock_gettime+:} false; then :
18226 break
18228 done
18229 if ${ac_cv_search_clock_gettime+:} false; then :
18231 else
18232 ac_cv_search_clock_gettime=no
18234 rm conftest.$ac_ext
18235 LIBS=$ac_func_search_save_LIBS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18238 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18239 ac_res=$ac_cv_search_clock_gettime
18240 if test "$ac_res" != no; then :
18241 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18243 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18245 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18249 LIBS=$ac_save_LIBS
18251 esac
18253 if test "x$with_ldap" != "xno"
18254 then
18255 if ${LDAP_CFLAGS:+false} :; then :
18256 if ${PKG_CONFIG+:} false; then :
18257 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18261 if ${LDAP_LIBS:+false} :; then :
18262 if ${PKG_CONFIG+:} false; then :
18263 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18267 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18268 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18269 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18270 ac_save_CPPFLAGS=$CPPFLAGS
18271 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18272 for ac_header in ldap.h lber.h
18273 do :
18274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18275 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18276 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18277 cat >>confdefs.h <<_ACEOF
18278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18279 _ACEOF
18283 done
18285 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18286 then
18287 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18289 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18291 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18292 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18293 $as_echo_n "(cached) " >&6
18294 else
18295 ac_check_lib_save_LIBS=$LIBS
18296 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18298 /* end confdefs.h. */
18300 /* Override any GCC internal prototype to avoid an error.
18301 Use char because int might match the return type of a GCC
18302 builtin and then its argument prototype would still apply. */
18303 #ifdef __cplusplus
18304 extern "C"
18305 #endif
18306 char ldap_initialize ();
18308 main ()
18310 return ldap_initialize ();
18312 return 0;
18314 _ACEOF
18315 if ac_fn_c_try_link "$LINENO"; then :
18316 ac_cv_lib_ldap_r_ldap_initialize=yes
18317 else
18318 ac_cv_lib_ldap_r_ldap_initialize=no
18320 rm -f core conftest.err conftest.$ac_objext \
18321 conftest$ac_exeext conftest.$ac_ext
18322 LIBS=$ac_check_lib_save_LIBS
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18325 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18326 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18328 $as_echo_n "checking for ber_init in -llber... " >&6; }
18329 if ${ac_cv_lib_lber_ber_init+:} false; then :
18330 $as_echo_n "(cached) " >&6
18331 else
18332 ac_check_lib_save_LIBS=$LIBS
18333 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18337 /* Override any GCC internal prototype to avoid an error.
18338 Use char because int might match the return type of a GCC
18339 builtin and then its argument prototype would still apply. */
18340 #ifdef __cplusplus
18341 extern "C"
18342 #endif
18343 char ber_init ();
18345 main ()
18347 return ber_init ();
18349 return 0;
18351 _ACEOF
18352 if ac_fn_c_try_link "$LINENO"; then :
18353 ac_cv_lib_lber_ber_init=yes
18354 else
18355 ac_cv_lib_lber_ber_init=no
18357 rm -f core conftest.err conftest.$ac_objext \
18358 conftest$ac_exeext conftest.$ac_ext
18359 LIBS=$ac_check_lib_save_LIBS
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18362 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18363 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18365 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18367 else
18368 LDAP_LIBS=""
18371 else
18372 LDAP_LIBS=""
18375 else
18376 LDAP_LIBS=""
18379 ac_wine_check_funcs_save_LIBS="$LIBS"
18380 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18381 for ac_func in \
18382 ldap_count_references \
18383 ldap_first_reference \
18384 ldap_next_reference \
18385 ldap_parse_reference \
18386 ldap_parse_sort_control \
18387 ldap_parse_sortresponse_control \
18388 ldap_parse_vlv_control \
18389 ldap_parse_vlvresponse_control
18390 do :
18391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18394 cat >>confdefs.h <<_ACEOF
18395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18396 _ACEOF
18399 done
18401 LIBS="$ac_wine_check_funcs_save_LIBS"
18402 else
18403 LDAP_LIBS=""
18405 CPPFLAGS=$ac_save_CPPFLAGS
18406 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18407 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18410 if test "x$LDAP_LIBS" = "x"; then :
18411 case "x$with_ldap" in
18412 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18413 xno) ;;
18414 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18415 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18416 esac
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18421 $as_echo_n "checking for sched_setaffinity... " >&6; }
18422 if ${wine_cv_have_sched_setaffinity+:} false; then :
18423 $as_echo_n "(cached) " >&6
18424 else
18425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18427 #define _GNU_SOURCE
18428 #include <sched.h>
18430 main ()
18432 sched_setaffinity(0, 0, 0);
18434 return 0;
18436 _ACEOF
18437 if ac_fn_c_try_link "$LINENO"; then :
18438 wine_cv_have_sched_setaffinity=yes
18439 else
18440 wine_cv_have_sched_setaffinity=no
18442 rm -f core conftest.err conftest.$ac_objext \
18443 conftest$ac_exeext conftest.$ac_ext
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18446 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18447 if test "$wine_cv_have_sched_setaffinity" = "yes"
18448 then
18450 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18455 $as_echo_n "checking for fallocate... " >&6; }
18456 if ${wine_cv_have_fallocate+:} false; then :
18457 $as_echo_n "(cached) " >&6
18458 else
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18461 #define _GNU_SOURCE
18462 #include <fcntl.h>
18464 main ()
18466 fallocate(-1, 0, 0, 0);
18468 return 0;
18470 _ACEOF
18471 if ac_fn_c_try_link "$LINENO"; then :
18472 wine_cv_have_fallocate=yes
18473 else
18474 wine_cv_have_fallocate=no
18476 rm -f core conftest.err conftest.$ac_objext \
18477 conftest$ac_exeext conftest.$ac_ext
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18480 $as_echo "$wine_cv_have_fallocate" >&6; }
18481 if test "$wine_cv_have_fallocate" = "yes"
18482 then
18484 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18490 $as_echo_n "checking for inline... " >&6; }
18491 if ${ac_cv_c_inline+:} false; then :
18492 $as_echo_n "(cached) " >&6
18493 else
18494 ac_cv_c_inline=no
18495 for ac_kw in inline __inline__ __inline; do
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 #ifndef __cplusplus
18499 typedef int foo_t;
18500 static $ac_kw foo_t static_foo () {return 0; }
18501 $ac_kw foo_t foo () {return 0; }
18502 #endif
18504 _ACEOF
18505 if ac_fn_c_try_compile "$LINENO"; then :
18506 ac_cv_c_inline=$ac_kw
18508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509 test "$ac_cv_c_inline" != no && break
18510 done
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18514 $as_echo "$ac_cv_c_inline" >&6; }
18516 case $ac_cv_c_inline in
18517 inline | yes) ;;
18519 case $ac_cv_c_inline in
18520 no) ac_val=;;
18521 *) ac_val=$ac_cv_c_inline;;
18522 esac
18523 cat >>confdefs.h <<_ACEOF
18524 #ifndef __cplusplus
18525 #define inline $ac_val
18526 #endif
18527 _ACEOF
18529 esac
18531 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18532 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_FSBLKCNT_T 1
18536 _ACEOF
18540 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18541 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18543 cat >>confdefs.h <<_ACEOF
18544 #define HAVE_FSFILCNT_T 1
18545 _ACEOF
18550 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18551 #include <signal.h>
18553 if test "x$ac_cv_type_sigset_t" = xyes; then :
18555 cat >>confdefs.h <<_ACEOF
18556 #define HAVE_SIGSET_T 1
18557 _ACEOF
18562 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18564 if test "x$ac_cv_type_request_sense" = xyes; then :
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_REQUEST_SENSE 1
18568 _ACEOF
18574 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18575 #ifdef HAVE_SYS_SOCKET_H
18576 #include <sys/socket.h>
18577 #endif
18578 #ifdef HAVE_SYS_SOCKETVAR_H
18579 #include <sys/socketvar.h>
18580 #endif
18581 #ifdef HAVE_NET_ROUTE_H
18582 #include <net/route.h>
18583 #endif
18584 #ifdef HAVE_NETINET_IN_H
18585 #include <netinet/in.h>
18586 #endif
18587 #ifdef HAVE_NETINET_IN_SYSTM_H
18588 #include <netinet/in_systm.h>
18589 #endif
18590 #ifdef HAVE_NETINET_IP_H
18591 #include <netinet/ip.h>
18592 #endif
18593 #ifdef HAVE_NETINET_IN_PCB_H
18594 #include <netinet/in_pcb.h>
18595 #endif
18597 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_STRUCT_XINPGEN 1
18601 _ACEOF
18607 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18608 #include <link.h>
18609 #endif
18610 #ifdef HAVE_SYS_LINK_H
18611 #include <sys/link.h>
18612 #endif
18614 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18616 cat >>confdefs.h <<_ACEOF
18617 #define HAVE_STRUCT_R_DEBUG 1
18618 _ACEOF
18622 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18623 #include <link.h>
18624 #endif
18625 #ifdef HAVE_SYS_LINK_H
18626 #include <sys/link.h>
18627 #endif
18629 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18631 cat >>confdefs.h <<_ACEOF
18632 #define HAVE_STRUCT_LINK_MAP 1
18633 _ACEOF
18639 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18640 #include <linux/input.h>
18641 #endif
18643 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18647 _ACEOF
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18654 $as_echo_n "checking for if_nameindex... " >&6; }
18655 if ${wine_cv_have_if_nameindex+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 #ifdef HAVE_SYS_TYPES_H
18661 #include <sys/types.h>
18662 #endif
18663 #ifdef HAVE_SYS_SOCKET_H
18664 #include <sys/socket.h>
18665 #endif
18666 #ifdef HAVE_NET_IF_H
18667 # include <net/if.h>
18668 #endif
18670 main ()
18672 struct if_nameindex *p = if_nameindex(); return p->if_index;
18674 return 0;
18676 _ACEOF
18677 if ac_fn_c_try_link "$LINENO"; then :
18678 wine_cv_have_if_nameindex=yes
18679 else
18680 wine_cv_have_if_nameindex=no
18682 rm -f core conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18686 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18687 if test "$wine_cv_have_if_nameindex" = "yes"
18688 then
18690 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18695 $as_echo_n "checking for sigaddset... " >&6; }
18696 if ${wine_cv_have_sigaddset+:} false; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 #include <signal.h>
18703 main ()
18705 sigset_t set; sigaddset(&set,SIGTERM);
18707 return 0;
18709 _ACEOF
18710 if ac_fn_c_try_link "$LINENO"; then :
18711 wine_cv_have_sigaddset=yes
18712 else
18713 wine_cv_have_sigaddset=no
18715 rm -f core conftest.err conftest.$ac_objext \
18716 conftest$ac_exeext conftest.$ac_ext
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18719 $as_echo "$wine_cv_have_sigaddset" >&6; }
18720 if test "$wine_cv_have_sigaddset" = "yes"
18721 then
18723 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18729 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18730 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18731 $as_echo_n "(cached) " >&6
18732 else
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <netdb.h>
18737 main ()
18740 char *name=0;
18741 struct hostent he;
18742 struct hostent *result;
18743 char *buf=0;
18744 int bufsize=0;
18745 int errnr;
18746 char *addr=0;
18747 int addrlen=0;
18748 int addrtype=0;
18749 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18750 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18753 return 0;
18755 _ACEOF
18756 if ac_fn_c_try_link "$LINENO"; then :
18757 wine_cv_linux_gethostbyname_r_6=yes
18758 else
18759 wine_cv_linux_gethostbyname_r_6=no
18762 rm -f core conftest.err conftest.$ac_objext \
18763 conftest$ac_exeext conftest.$ac_ext
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18767 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18768 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18769 then
18771 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18775 if test "$ac_cv_header_linux_joystick_h" = "yes"
18776 then
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18778 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18779 if ${wine_cv_linux_joystick_22_api+:} false; then :
18780 $as_echo_n "(cached) " >&6
18781 else
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18785 #include <sys/ioctl.h>
18786 #include <sys/types.h>
18787 #include <linux/joystick.h>
18789 struct js_event blub;
18790 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18791 #error "no 2.2 header"
18792 #endif
18795 main ()
18797 /*empty*/
18799 return 0;
18801 _ACEOF
18802 if ac_fn_c_try_compile "$LINENO"; then :
18803 wine_cv_linux_joystick_22_api=yes
18804 else
18805 wine_cv_linux_joystick_22_api=no
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18811 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18812 if test "$wine_cv_linux_joystick_22_api" = "yes"
18813 then
18815 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18821 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18822 #ifdef HAVE_SYS_PARAM_H
18823 # include <sys/param.h>
18824 #endif
18825 #ifdef HAVE_SYS_MOUNT_H
18826 # include <sys/mount.h>
18827 #endif
18828 #ifdef HAVE_SYS_VFS_H
18829 # include <sys/vfs.h>
18830 #endif
18831 #ifdef HAVE_SYS_STATFS_H
18832 # include <sys/statfs.h>
18833 #endif
18835 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18837 cat >>confdefs.h <<_ACEOF
18838 #define HAVE_STRUCT_STATFS_F_BFREE 1
18839 _ACEOF
18843 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18844 #ifdef HAVE_SYS_PARAM_H
18845 # include <sys/param.h>
18846 #endif
18847 #ifdef HAVE_SYS_MOUNT_H
18848 # include <sys/mount.h>
18849 #endif
18850 #ifdef HAVE_SYS_VFS_H
18851 # include <sys/vfs.h>
18852 #endif
18853 #ifdef HAVE_SYS_STATFS_H
18854 # include <sys/statfs.h>
18855 #endif
18857 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18859 cat >>confdefs.h <<_ACEOF
18860 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18861 _ACEOF
18865 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18866 #ifdef HAVE_SYS_PARAM_H
18867 # include <sys/param.h>
18868 #endif
18869 #ifdef HAVE_SYS_MOUNT_H
18870 # include <sys/mount.h>
18871 #endif
18872 #ifdef HAVE_SYS_VFS_H
18873 # include <sys/vfs.h>
18874 #endif
18875 #ifdef HAVE_SYS_STATFS_H
18876 # include <sys/statfs.h>
18877 #endif
18879 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18881 cat >>confdefs.h <<_ACEOF
18882 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18883 _ACEOF
18887 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18888 #ifdef HAVE_SYS_PARAM_H
18889 # include <sys/param.h>
18890 #endif
18891 #ifdef HAVE_SYS_MOUNT_H
18892 # include <sys/mount.h>
18893 #endif
18894 #ifdef HAVE_SYS_VFS_H
18895 # include <sys/vfs.h>
18896 #endif
18897 #ifdef HAVE_SYS_STATFS_H
18898 # include <sys/statfs.h>
18899 #endif
18901 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_STATFS_F_FFREE 1
18905 _ACEOF
18909 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18910 #ifdef HAVE_SYS_PARAM_H
18911 # include <sys/param.h>
18912 #endif
18913 #ifdef HAVE_SYS_MOUNT_H
18914 # include <sys/mount.h>
18915 #endif
18916 #ifdef HAVE_SYS_VFS_H
18917 # include <sys/vfs.h>
18918 #endif
18919 #ifdef HAVE_SYS_STATFS_H
18920 # include <sys/statfs.h>
18921 #endif
18923 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18925 cat >>confdefs.h <<_ACEOF
18926 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18927 _ACEOF
18931 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18932 #ifdef HAVE_SYS_PARAM_H
18933 # include <sys/param.h>
18934 #endif
18935 #ifdef HAVE_SYS_MOUNT_H
18936 # include <sys/mount.h>
18937 #endif
18938 #ifdef HAVE_SYS_VFS_H
18939 # include <sys/vfs.h>
18940 #endif
18941 #ifdef HAVE_SYS_STATFS_H
18942 # include <sys/statfs.h>
18943 #endif
18945 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18947 cat >>confdefs.h <<_ACEOF
18948 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18949 _ACEOF
18955 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18956 #include <sys/statvfs.h>
18957 #endif
18959 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18961 cat >>confdefs.h <<_ACEOF
18962 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18963 _ACEOF
18969 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18970 #include <dirent.h>
18971 #endif
18973 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18977 _ACEOF
18983 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18984 #ifdef HAVE_SYS_SOCKET_H
18985 # include <sys/socket.h>
18986 #endif
18987 #ifdef HAVE_SYS_UN_H
18988 # include <sys/un.h>
18989 #endif
18991 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18995 _ACEOF
18999 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19000 #ifdef HAVE_SYS_SOCKET_H
19001 # include <sys/socket.h>
19002 #endif
19003 #ifdef HAVE_SYS_UN_H
19004 # include <sys/un.h>
19005 #endif
19007 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19011 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19016 #ifdef HAVE_SYS_SOCKET_H
19017 # include <sys/socket.h>
19018 #endif
19019 #ifdef HAVE_SYS_UN_H
19020 # include <sys/un.h>
19021 #endif
19023 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19027 _ACEOF
19033 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19034 #ifdef HAVE_SCSI_SG_H
19035 #include <scsi/sg.h>
19036 #endif
19038 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_SCSIREQ_T_CMD 1
19042 _ACEOF
19046 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>
19047 #ifdef HAVE_SCSI_SG_H
19048 #include <scsi/sg.h>
19049 #endif
19051 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19055 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19063 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_SIGINFO_T_SI_FD 1
19067 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19074 #ifdef HAVE_SYS_MTIO_H
19075 #include <sys/mtio.h>
19076 #endif
19078 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19082 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19087 #ifdef HAVE_SYS_MTIO_H
19088 #include <sys/mtio.h>
19089 #endif
19091 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19093 cat >>confdefs.h <<_ACEOF
19094 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19095 _ACEOF
19099 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19100 #ifdef HAVE_SYS_MTIO_H
19101 #include <sys/mtio.h>
19102 #endif
19104 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19108 _ACEOF
19114 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19115 #include <getopt.h>
19116 #endif
19118 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_OPTION_NAME 1
19122 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19129 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19133 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19138 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_STAT_ST_MTIM 1
19142 _ACEOF
19146 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19147 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19151 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19156 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT_STAT_ST_CTIM 1
19160 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19165 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19167 cat >>confdefs.h <<_ACEOF
19168 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19169 _ACEOF
19173 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19174 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19176 cat >>confdefs.h <<_ACEOF
19177 #define HAVE_STRUCT_STAT_ST_ATIM 1
19178 _ACEOF
19182 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19183 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19185 cat >>confdefs.h <<_ACEOF
19186 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19187 _ACEOF
19191 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19192 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19196 _ACEOF
19200 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19201 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19205 _ACEOF
19209 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19210 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19214 _ACEOF
19218 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19219 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19223 _ACEOF
19227 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19228 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19230 cat >>confdefs.h <<_ACEOF
19231 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19232 _ACEOF
19238 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
19239 #include <sys/types.h>
19240 #endif
19241 #ifdef HAVE_NETINET_IN_H
19242 #include <netinet/in.h>
19243 #endif
19245 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19249 _ACEOF
19255 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19256 #include <sys/types.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IN_H
19259 #include <netinet/in.h>
19260 #endif
19261 #ifdef HAVE_RESOLV_H
19262 #include <resolv.h>
19263 #endif
19265 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT___RES_STATE 1
19269 _ACEOF
19275 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
19276 #include <resolv.h>
19277 #endif
19279 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19283 _ACEOF
19289 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19290 #include <sys/types.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IN_H
19293 # include <netinet/in.h>
19294 #endif
19295 #ifdef HAVE_ARPA_NAMESER_H
19296 # include <arpa/nameser.h>
19297 #endif
19299 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_NS_MSG__MSG_PTR 1
19303 _ACEOF
19309 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19310 #include <sys/types.h>
19311 #endif
19312 #ifdef HAVE_NETINET_IN_H
19313 #include <netinet/in.h>
19314 #endif
19315 #ifdef HAVE_NETINET_IP_H
19316 #include <netinet/ip.h>
19317 #endif
19318 #ifdef HAVE_NETINET_IP_ICMP_H
19319 #include <netinet/ip_icmp.h>
19320 #endif
19321 #ifdef HAVE_NETINET_ICMP_VAR_H
19322 #include <netinet/icmp_var.h>
19323 #endif
19325 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19329 _ACEOF
19335 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19336 #include <sys/types.h>
19337 #endif
19338 #ifdef HAVE_ALIAS_H
19339 #include <alias.h>
19340 #endif
19341 #ifdef HAVE_SYS_SOCKET_H
19342 #include <sys/socket.h>
19343 #endif
19344 #ifdef HAVE_SYS_SOCKETVAR_H
19345 #include <sys/socketvar.h>
19346 #endif
19347 #ifdef HAVE_SYS_TIMEOUT_H
19348 #include <sys/timeout.h>
19349 #endif
19350 #ifdef HAVE_NETINET_IN_H
19351 #include <netinet/in.h>
19352 #endif
19353 #ifdef HAVE_NETINET_IN_SYSTM_H
19354 #include <netinet/in_systm.h>
19355 #endif
19356 #ifdef HAVE_NETINET_IP_H
19357 #include <netinet/ip.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IP_VAR_H
19360 #include <netinet/ip_var.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IP_ICMP_H
19363 #include <netinet/ip_icmp.h>
19364 #endif
19365 #ifdef HAVE_NETINET_ICMP_VAR_H
19366 #include <netinet/icmp_var.h>
19367 #endif
19369 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19371 cat >>confdefs.h <<_ACEOF
19372 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19373 _ACEOF
19379 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19380 #include <sys/types.h>
19381 #endif
19382 #ifdef HAVE_SYS_SOCKETVAR_H
19383 #include <sys/socketvar.h>
19384 #endif
19385 #ifdef HAVE_NETINET_IN_H
19386 #include <netinet/in.h>
19387 #endif
19388 #ifdef HAVE_NETINET_IP_VAR_H
19389 #include <netinet/ip_var.h>
19390 #endif
19392 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19394 cat >>confdefs.h <<_ACEOF
19395 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19396 _ACEOF
19402 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
19403 #include <netinet/ip_var.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19410 _ACEOF
19416 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19417 #include <sys/types.h>
19418 #endif
19419 #ifdef HAVE_SYS_SOCKETVAR_H
19420 #include <sys/socketvar.h>
19421 #endif
19422 #ifdef HAVE_NETINET_IN_H
19423 #include <netinet/in.h>
19424 #endif
19425 #ifdef HAVE_NETINET_TCP_H
19426 #include <netinet/tcp.h>
19427 #endif
19428 #ifdef HAVE_NETINET_TCP_VAR_H
19429 #include <netinet/tcp_var.h>
19430 #endif
19432 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19434 cat >>confdefs.h <<_ACEOF
19435 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19436 _ACEOF
19442 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
19443 #include <netinet/tcp_var.h>
19444 #endif
19446 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19450 _ACEOF
19456 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19457 #include <sys/types.h>
19458 #endif
19459 #ifdef HAVE_NETINET_IN_H
19460 #include <netinet/in.h>
19461 #endif
19462 #ifdef HAVE_NETINET_IP_VAR_H
19463 #include <netinet/ip_var.h>
19464 #endif
19465 #ifdef HAVE_NETINET_UDP_H
19466 #include <netinet/udp.h>
19467 #endif
19468 #ifdef HAVE_NETINET_UDP_VAR_H
19469 #include <netinet/udp_var.h>
19470 #endif
19472 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19474 cat >>confdefs.h <<_ACEOF
19475 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19476 _ACEOF
19482 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19483 #include <sys/types.h>
19484 #endif
19485 #ifdef HAVE_NET_IF_H
19486 # include <net/if.h>
19487 #endif
19489 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19493 _ACEOF
19499 ac_save_LIBS="$LIBS"
19500 LIBS="$LIBS -lm"
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19502 $as_echo_n "checking for isfinite... " >&6; }
19503 if ${ac_cv_have_isfinite+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #define _GNU_SOURCE
19509 #include <math.h>
19511 main ()
19513 float f = 0.0; return isfinite(f)
19515 return 0;
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519 ac_cv_have_isfinite="yes"
19520 else
19521 ac_cv_have_isfinite="no"
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19527 $as_echo "$ac_cv_have_isfinite" >&6; }
19528 if test "$ac_cv_have_isfinite" = "yes"
19529 then
19531 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19536 $as_echo_n "checking for isinf... " >&6; }
19537 if ${ac_cv_have_isinf+:} false; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <math.h>
19544 main ()
19546 float f = 0.0; return isinf(f)
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_link "$LINENO"; then :
19552 ac_cv_have_isinf="yes"
19553 else
19554 ac_cv_have_isinf="no"
19556 rm -f core conftest.err conftest.$ac_objext \
19557 conftest$ac_exeext conftest.$ac_ext
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19560 $as_echo "$ac_cv_have_isinf" >&6; }
19561 if test "$ac_cv_have_isinf" = "yes"
19562 then
19564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19569 $as_echo_n "checking for isnan... " >&6; }
19570 if ${ac_cv_have_isnan+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <math.h>
19577 main ()
19579 float f = 0.0; return isnan(f)
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_link "$LINENO"; then :
19585 ac_cv_have_isnan="yes"
19586 else
19587 ac_cv_have_isnan="no"
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext conftest.$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19593 $as_echo "$ac_cv_have_isnan" >&6; }
19594 if test "$ac_cv_have_isnan" = "yes"
19595 then
19597 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19601 for ac_func in \
19602 acosh \
19603 acoshf \
19604 asinh \
19605 asinhf \
19606 atanh \
19607 atanhf \
19608 cbrt \
19609 cbrtf \
19610 erf \
19611 erfc \
19612 erfcf \
19613 erff \
19614 exp2 \
19615 exp2f \
19616 expm1 \
19617 expm1f \
19618 fma \
19619 fmaf \
19620 ilogb \
19621 ilogbf \
19622 j0 \
19623 j1 \
19624 jn \
19625 lgamma \
19626 lgammaf \
19627 llrint \
19628 llrintf \
19629 llround \
19630 llroundf \
19631 log1p \
19632 log1pf \
19633 log2 \
19634 log2f \
19635 lrint \
19636 lrintf \
19637 lround \
19638 lroundf \
19639 nearbyint \
19640 nearbyintf \
19641 nexttoward \
19642 nexttowardf \
19643 remainder \
19644 remainderf \
19645 remquo \
19646 remquof \
19647 rint \
19648 rintf \
19649 round \
19650 roundf \
19651 tgamma \
19652 tgammaf \
19653 trunc \
19654 truncf \
19655 y0 \
19656 y1 \
19659 do :
19660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19663 cat >>confdefs.h <<_ACEOF
19664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19665 _ACEOF
19668 done
19670 LIBS="$ac_save_LIBS"
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19673 $as_echo_n "checking for __builtin_popcount... " >&6; }
19674 if ${ac_cv_have___builtin_popcount+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19681 main ()
19683 return __builtin_popcount(1)
19685 return 0;
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 ac_cv_have___builtin_popcount="yes"
19690 else
19691 ac_cv_have___builtin_popcount="no"
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19697 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19698 if test "$ac_cv_have___builtin_popcount" = "yes"
19699 then
19701 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19706 $as_echo_n "checking for __clear_cache... " >&6; }
19707 if ${ac_cv_have___clear_cache+:} false; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19714 main ()
19716 __clear_cache((void*)0, (void*)0); return 0;
19718 return 0;
19720 _ACEOF
19721 if ac_fn_c_try_link "$LINENO"; then :
19722 ac_cv_have___clear_cache="yes"
19723 else
19724 ac_cv_have___clear_cache="no"
19726 rm -f core conftest.err conftest.$ac_objext \
19727 conftest$ac_exeext conftest.$ac_ext
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19730 $as_echo "$ac_cv_have___clear_cache" >&6; }
19731 if test "$ac_cv_have___clear_cache" = "yes"
19732 then
19734 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19739 case $host_cpu in
19740 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19741 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19742 if ${ac_cv_cpp_def___i386__+:} false; then :
19743 $as_echo_n "(cached) " >&6
19744 else
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #ifndef __i386__
19749 #endif
19750 _ACEOF
19751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19752 $EGREP "yes" >/dev/null 2>&1; then :
19753 ac_cv_cpp_def___i386__=yes
19754 else
19755 ac_cv_cpp_def___i386__=no
19757 rm -f conftest*
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19761 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19762 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19763 CFLAGS="$CFLAGS -D__i386__"
19764 LINTFLAGS="$LINTFLAGS -D__i386__"
19765 fi ;;
19766 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19767 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19768 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19769 $as_echo_n "(cached) " >&6
19770 else
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19773 #ifndef __x86_64__
19775 #endif
19776 _ACEOF
19777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19778 $EGREP "yes" >/dev/null 2>&1; then :
19779 ac_cv_cpp_def___x86_64__=yes
19780 else
19781 ac_cv_cpp_def___x86_64__=no
19783 rm -f conftest*
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19787 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19788 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19789 CFLAGS="$CFLAGS -D__x86_64__"
19790 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19791 fi ;;
19792 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19793 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19794 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #ifndef __sparc64__
19801 #endif
19802 _ACEOF
19803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19804 $EGREP "yes" >/dev/null 2>&1; then :
19805 ac_cv_cpp_def___sparc64__=yes
19806 else
19807 ac_cv_cpp_def___sparc64__=no
19809 rm -f conftest*
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19813 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19814 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19815 CFLAGS="$CFLAGS -D__sparc64__"
19816 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19817 fi ;;
19818 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19819 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19820 if ${ac_cv_cpp_def___sparc__+:} false; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #ifndef __sparc__
19827 #endif
19828 _ACEOF
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then :
19831 ac_cv_cpp_def___sparc__=yes
19832 else
19833 ac_cv_cpp_def___sparc__=no
19835 rm -f conftest*
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19839 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19840 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19841 CFLAGS="$CFLAGS -D__sparc__"
19842 LINTFLAGS="$LINTFLAGS -D__sparc__"
19843 fi ;;
19844 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19845 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19846 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19851 #ifndef __powerpc64__
19853 #endif
19854 _ACEOF
19855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19856 $EGREP "yes" >/dev/null 2>&1; then :
19857 ac_cv_cpp_def___powerpc64__=yes
19858 else
19859 ac_cv_cpp_def___powerpc64__=no
19861 rm -f conftest*
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19865 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19866 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19867 CFLAGS="$CFLAGS -D__powerpc64__"
19868 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19869 fi ;;
19870 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19871 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19872 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #ifndef __powerpc__
19879 #endif
19880 _ACEOF
19881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19882 $EGREP "yes" >/dev/null 2>&1; then :
19883 ac_cv_cpp_def___powerpc__=yes
19884 else
19885 ac_cv_cpp_def___powerpc__=no
19887 rm -f conftest*
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19891 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19892 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19893 CFLAGS="$CFLAGS -D__powerpc__"
19894 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19895 fi ;;
19896 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19897 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19898 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19899 $as_echo_n "(cached) " >&6
19900 else
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #ifndef __aarch64__
19905 #endif
19906 _ACEOF
19907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19908 $EGREP "yes" >/dev/null 2>&1; then :
19909 ac_cv_cpp_def___aarch64__=yes
19910 else
19911 ac_cv_cpp_def___aarch64__=no
19913 rm -f conftest*
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19917 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19918 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19919 CFLAGS="$CFLAGS -D__aarch64__"
19920 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19921 fi ;;
19922 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19923 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19924 if ${ac_cv_cpp_def___arm__+:} false; then :
19925 $as_echo_n "(cached) " >&6
19926 else
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #ifndef __arm__
19931 #endif
19932 _ACEOF
19933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19934 $EGREP "yes" >/dev/null 2>&1; then :
19935 ac_cv_cpp_def___arm__=yes
19936 else
19937 ac_cv_cpp_def___arm__=no
19939 rm -f conftest*
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19943 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19944 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19945 CFLAGS="$CFLAGS -D__arm__"
19946 LINTFLAGS="$LINTFLAGS -D__arm__"
19947 fi ;;
19948 esac
19950 case $host_vendor in
19951 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19952 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19953 if ${ac_cv_cpp_def___sun__+:} false; then :
19954 $as_echo_n "(cached) " >&6
19955 else
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #ifndef __sun__
19960 #endif
19961 _ACEOF
19962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19963 $EGREP "yes" >/dev/null 2>&1; then :
19964 ac_cv_cpp_def___sun__=yes
19965 else
19966 ac_cv_cpp_def___sun__=no
19968 rm -f conftest*
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19972 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19973 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19974 CFLAGS="$CFLAGS -D__sun__"
19975 LINTFLAGS="$LINTFLAGS -D__sun__"
19976 fi ;;
19977 esac
19983 ac_config_commands="$ac_config_commands include/stamp-h"
19985 $as_echo_n "creating Makefile rules..." >&6
19987 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19988 OPENGL_LIBS = $OPENGL_LIBS
19989 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19990 IOKIT_LIBS = $IOKIT_LIBS
19991 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19992 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19993 CORESERVICES_LIBS = $CORESERVICES_LIBS
19994 APPKIT_LIBS = $APPKIT_LIBS
19995 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19996 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19997 SECURITY_LIBS = $SECURITY_LIBS
19998 COREAUDIO_LIBS = $COREAUDIO_LIBS
19999 OPENAL_LIBS = $OPENAL_LIBS
20000 OPENCL_LIBS = $OPENCL_LIBS
20001 QUICKTIME_LIBS = $QUICKTIME_LIBS
20002 CARBON_LIBS = $CARBON_LIBS
20003 METAL_LIBS = $METAL_LIBS
20004 PTHREAD_LIBS = $PTHREAD_LIBS
20005 X_CFLAGS = $X_CFLAGS
20006 X_PRE_LIBS = $X_PRE_LIBS
20007 X_LIBS = $X_LIBS
20008 X_EXTRA_LIBS = $X_EXTRA_LIBS
20009 PCAP_LIBS = $PCAP_LIBS
20010 XML2_CFLAGS = $XML2_CFLAGS
20011 XML2_LIBS = $XML2_LIBS
20012 XSLT_CFLAGS = $XSLT_CFLAGS
20013 XSLT_LIBS = $XSLT_LIBS
20014 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20015 INOTIFY_LIBS = $INOTIFY_LIBS
20016 DBUS_CFLAGS = $DBUS_CFLAGS
20017 DBUS_LIBS = $DBUS_LIBS
20018 HAL_CFLAGS = $HAL_CFLAGS
20019 HAL_LIBS = $HAL_LIBS
20020 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20021 GNUTLS_LIBS = $GNUTLS_LIBS
20022 SANE_CFLAGS = $SANE_CFLAGS
20023 SANE_LIBS = $SANE_LIBS
20024 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20025 GPHOTO2_LIBS = $GPHOTO2_LIBS
20026 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20027 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20028 RESOLV_LIBS = $RESOLV_LIBS
20029 LCMS2_CFLAGS = $LCMS2_CFLAGS
20030 LCMS2_LIBS = $LCMS2_LIBS
20031 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20032 FREETYPE_LIBS = $FREETYPE_LIBS
20033 Z_CFLAGS = $Z_CFLAGS
20034 Z_LIBS = $Z_LIBS
20035 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20036 PULSE_CFLAGS = $PULSE_CFLAGS
20037 PULSE_LIBS = $PULSE_LIBS
20038 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20039 GSTREAMER_LIBS = $GSTREAMER_LIBS
20040 ALSA_LIBS = $ALSA_LIBS
20041 OSS4_CFLAGS = $OSS4_CFLAGS
20042 OSS4_LIBS = $OSS4_LIBS
20043 UDEV_CFLAGS = $UDEV_CFLAGS
20044 UDEV_LIBS = $UDEV_LIBS
20045 UNWIND_CFLAGS = $UNWIND_CFLAGS
20046 UNWIND_LIBS = $UNWIND_LIBS
20047 SDL2_CFLAGS = $SDL2_CFLAGS
20048 SDL2_LIBS = $SDL2_LIBS
20049 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20050 FAUDIO_LIBS = $FAUDIO_LIBS
20051 CAPI20_CFLAGS = $CAPI20_CFLAGS
20052 CAPI20_LIBS = $CAPI20_LIBS
20053 CUPS_CFLAGS = $CUPS_CFLAGS
20054 CUPS_LIBS = $CUPS_LIBS
20055 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20056 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20057 KRB5_CFLAGS = $KRB5_CFLAGS
20058 KRB5_LIBS = $KRB5_LIBS
20059 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20060 GSSAPI_LIBS = $GSSAPI_LIBS
20061 JPEG_CFLAGS = $JPEG_CFLAGS
20062 JPEG_LIBS = $JPEG_LIBS
20063 PNG_CFLAGS = $PNG_CFLAGS
20064 PNG_LIBS = $PNG_LIBS
20065 TIFF_CFLAGS = $TIFF_CFLAGS
20066 TIFF_LIBS = $TIFF_LIBS
20067 MPG123_CFLAGS = $MPG123_CFLAGS
20068 MPG123_LIBS = $MPG123_LIBS
20069 KSTAT_LIBS = $KSTAT_LIBS
20070 PROCSTAT_LIBS = $PROCSTAT_LIBS
20071 NETAPI_CFLAGS = $NETAPI_CFLAGS
20072 NETAPI_LIBS = $NETAPI_LIBS
20073 VKD3D_CFLAGS = $VKD3D_CFLAGS
20074 VKD3D_LIBS = $VKD3D_LIBS
20075 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20076 DL_LIBS = $DL_LIBS
20077 POLL_LIBS = $POLL_LIBS
20078 RT_LIBS = $RT_LIBS
20079 LDAP_CFLAGS = $LDAP_CFLAGS
20080 LDAP_LIBS = $LDAP_LIBS
20085 wine_fn_append_rule "
20086 # Rules automatically generated by configure
20088 .INIT: Makefile
20089 .MAKEFILEDEPS:
20090 all: Makefile
20091 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20092 @./config.status Make.tmp Makefile
20093 depend: \$(MAKEDEP) dummy
20094 \$(MAKEDEP)"
20096 ac_config_links="$ac_config_links wine:tools/winewrapper"
20097 wine_fn_config_symlink wine
20098 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20099 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20100 wine_fn_config_symlink wine64
20103 wine_fn_config_makefile dlls/acledit enable_acledit
20104 wine_fn_config_makefile dlls/aclui enable_aclui
20105 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20106 wine_fn_config_makefile dlls/activeds enable_activeds
20107 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20108 wine_fn_config_makefile dlls/adsiid enable_adsiid
20109 wine_fn_config_makefile dlls/adsldp enable_adsldp
20110 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20111 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20112 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20113 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20114 wine_fn_config_makefile dlls/advpack enable_advpack
20115 wine_fn_config_makefile dlls/advpack/tests enable_tests
20116 wine_fn_config_makefile dlls/amsi enable_amsi
20117 wine_fn_config_makefile dlls/amstream enable_amstream
20118 wine_fn_config_makefile dlls/amstream/tests enable_tests
20119 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20122 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20144 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20145 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20151 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20154 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20171 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20174 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20186 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20198 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20199 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20226 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20229 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20245 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20302 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20306 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20308 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20310 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20311 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20316 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20318 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20324 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20327 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20329 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20335 wine_fn_config_makefile dlls/apphelp enable_apphelp
20336 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20337 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20338 wine_fn_config_makefile dlls/atl enable_atl
20339 wine_fn_config_makefile dlls/atl/tests enable_tests
20340 wine_fn_config_makefile dlls/atl100 enable_atl100
20341 wine_fn_config_makefile dlls/atl100/tests enable_tests
20342 wine_fn_config_makefile dlls/atl110 enable_atl110
20343 wine_fn_config_makefile dlls/atl80 enable_atl80
20344 wine_fn_config_makefile dlls/atl80/tests enable_tests
20345 wine_fn_config_makefile dlls/atl90 enable_atl90
20346 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20347 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20348 wine_fn_config_makefile dlls/atmlib enable_atmlib
20349 wine_fn_config_makefile dlls/authz enable_authz
20350 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20351 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20352 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20353 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20354 wine_fn_config_makefile dlls/avrt enable_avrt
20355 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20356 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20357 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20358 wine_fn_config_makefile dlls/browseui enable_browseui
20359 wine_fn_config_makefile dlls/browseui/tests enable_tests
20360 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20361 wine_fn_config_makefile dlls/cabinet enable_cabinet
20362 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20363 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20364 wine_fn_config_makefile dlls/cards enable_cards
20365 wine_fn_config_makefile dlls/cdosys enable_cdosys
20366 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20367 wine_fn_config_makefile dlls/clusapi enable_clusapi
20368 wine_fn_config_makefile dlls/combase enable_combase
20369 wine_fn_config_makefile dlls/combase/tests enable_tests
20370 wine_fn_config_makefile dlls/comcat enable_comcat
20371 wine_fn_config_makefile dlls/comcat/tests enable_tests
20372 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20373 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20374 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20375 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20376 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20377 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20378 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20379 wine_fn_config_makefile dlls/compstui enable_compstui
20380 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20381 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20382 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20383 wine_fn_config_makefile dlls/connect enable_connect
20384 wine_fn_config_makefile dlls/credui enable_credui
20385 wine_fn_config_makefile dlls/credui/tests enable_tests
20386 wine_fn_config_makefile dlls/crtdll enable_crtdll
20387 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20388 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20389 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20390 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20391 wine_fn_config_makefile dlls/cryptext enable_cryptext
20392 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20393 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20394 wine_fn_config_makefile dlls/cryptui enable_cryptui
20395 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20396 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20397 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20398 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20399 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20400 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20401 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20402 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20403 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20404 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20405 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20406 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20407 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20408 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20409 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20410 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20411 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20412 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20413 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20414 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20415 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20416 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20417 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20418 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20419 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20420 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20421 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20422 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20423 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20424 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20425 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20426 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20427 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20428 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20429 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20430 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20431 wine_fn_config_makefile dlls/d3dim enable_d3dim
20432 wine_fn_config_makefile dlls/d3drm enable_d3drm
20433 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20434 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20435 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20436 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20437 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20438 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20439 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20440 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20441 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20442 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20443 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20444 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20445 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20446 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20447 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20448 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20449 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20450 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20451 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20452 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20453 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20454 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20455 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20456 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20457 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20458 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20459 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20460 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20461 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20462 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20463 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20464 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20465 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20466 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20467 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20468 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20469 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20470 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20471 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20472 wine_fn_config_makefile dlls/davclnt enable_davclnt
20473 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20474 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20475 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20476 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20477 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20478 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20479 wine_fn_config_makefile dlls/ddraw enable_ddraw
20480 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20481 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20482 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20483 wine_fn_config_makefile dlls/devenum enable_devenum
20484 wine_fn_config_makefile dlls/devenum/tests enable_tests
20485 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20486 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20487 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20488 wine_fn_config_makefile dlls/difxapi enable_difxapi
20489 wine_fn_config_makefile dlls/dinput enable_dinput
20490 wine_fn_config_makefile dlls/dinput/tests enable_tests
20491 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20492 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20493 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20494 wine_fn_config_makefile dlls/dispex enable_dispex
20495 wine_fn_config_makefile dlls/dispex/tests enable_tests
20496 wine_fn_config_makefile dlls/display.drv16 enable_win16
20497 wine_fn_config_makefile dlls/dmband enable_dmband
20498 wine_fn_config_makefile dlls/dmband/tests enable_tests
20499 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20500 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20501 wine_fn_config_makefile dlls/dmime enable_dmime
20502 wine_fn_config_makefile dlls/dmime/tests enable_tests
20503 wine_fn_config_makefile dlls/dmloader enable_dmloader
20504 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20505 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20506 wine_fn_config_makefile dlls/dmscript enable_dmscript
20507 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20508 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20509 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20510 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20511 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20512 wine_fn_config_makefile dlls/dmusic enable_dmusic
20513 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20514 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20515 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20516 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20517 wine_fn_config_makefile dlls/dplay enable_dplay
20518 wine_fn_config_makefile dlls/dplayx enable_dplayx
20519 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20520 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20521 wine_fn_config_makefile dlls/dpnet enable_dpnet
20522 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20523 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20524 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20525 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20526 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20527 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20528 wine_fn_config_makefile dlls/drmclien enable_drmclien
20529 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20530 wine_fn_config_makefile dlls/dsound enable_dsound
20531 wine_fn_config_makefile dlls/dsound/tests enable_tests
20532 wine_fn_config_makefile dlls/dsquery enable_dsquery
20533 wine_fn_config_makefile dlls/dssenh enable_dssenh
20534 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20535 wine_fn_config_makefile dlls/dswave enable_dswave
20536 wine_fn_config_makefile dlls/dswave/tests enable_tests
20537 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20538 wine_fn_config_makefile dlls/dwrite enable_dwrite
20539 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20540 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20541 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20542 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20543 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20544 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20545 wine_fn_config_makefile dlls/dxgi enable_dxgi
20546 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20547 wine_fn_config_makefile dlls/dxguid enable_dxguid
20548 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20549 wine_fn_config_makefile dlls/esent enable_esent
20550 wine_fn_config_makefile dlls/evr enable_evr
20551 wine_fn_config_makefile dlls/evr/tests enable_tests
20552 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20553 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20554 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20559 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20560 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20563 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20565 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20585 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20588 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20594 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
20595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20597 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20605 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20606 wine_fn_config_makefile dlls/faultrep enable_faultrep
20607 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20608 wine_fn_config_makefile dlls/feclient enable_feclient
20609 wine_fn_config_makefile dlls/fltlib enable_fltlib
20610 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20611 wine_fn_config_makefile dlls/fntcache enable_fntcache
20612 wine_fn_config_makefile dlls/fontsub enable_fontsub
20613 wine_fn_config_makefile dlls/fusion enable_fusion
20614 wine_fn_config_makefile dlls/fusion/tests enable_tests
20615 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20616 wine_fn_config_makefile dlls/gameux enable_gameux
20617 wine_fn_config_makefile dlls/gameux/tests enable_tests
20618 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20619 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20620 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20621 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20622 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20623 wine_fn_config_makefile dlls/glu32 enable_glu32
20624 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20625 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20626 wine_fn_config_makefile dlls/hal enable_hal
20627 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20628 wine_fn_config_makefile dlls/hid enable_hid
20629 wine_fn_config_makefile dlls/hid/tests enable_tests
20630 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20631 wine_fn_config_makefile dlls/hlink enable_hlink
20632 wine_fn_config_makefile dlls/hlink/tests enable_tests
20633 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20634 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20635 wine_fn_config_makefile dlls/http.sys enable_http_sys
20636 wine_fn_config_makefile dlls/httpapi enable_httpapi
20637 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20638 wine_fn_config_makefile dlls/iccvid enable_iccvid
20639 wine_fn_config_makefile dlls/icmp enable_icmp
20640 wine_fn_config_makefile dlls/ieframe enable_ieframe
20641 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20642 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20643 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20644 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20645 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20646 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20647 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20648 wine_fn_config_makefile dlls/imm32 enable_imm32
20649 wine_fn_config_makefile dlls/imm32/tests enable_tests
20650 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20651 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20652 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20653 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20654 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20655 wine_fn_config_makefile dlls/infosoft enable_infosoft
20656 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20657 wine_fn_config_makefile dlls/initpki enable_initpki
20658 wine_fn_config_makefile dlls/inkobj enable_inkobj
20659 wine_fn_config_makefile dlls/inseng enable_inseng
20660 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20661 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20662 wine_fn_config_makefile dlls/iprop enable_iprop
20663 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20664 wine_fn_config_makefile dlls/itircl enable_itircl
20665 wine_fn_config_makefile dlls/itss enable_itss
20666 wine_fn_config_makefile dlls/itss/tests enable_tests
20667 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20668 wine_fn_config_makefile dlls/jscript enable_jscript
20669 wine_fn_config_makefile dlls/jscript/tests enable_tests
20670 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20671 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20672 wine_fn_config_makefile dlls/kerberos enable_kerberos
20673 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20674 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20675 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20676 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20677 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20678 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20679 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20680 wine_fn_config_makefile dlls/ksuser enable_ksuser
20681 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20682 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20683 wine_fn_config_makefile dlls/loadperf enable_loadperf
20684 wine_fn_config_makefile dlls/localspl enable_localspl
20685 wine_fn_config_makefile dlls/localspl/tests enable_tests
20686 wine_fn_config_makefile dlls/localui enable_localui
20687 wine_fn_config_makefile dlls/localui/tests enable_tests
20688 wine_fn_config_makefile dlls/lz32 enable_lz32
20689 wine_fn_config_makefile dlls/lz32/tests enable_tests
20690 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20691 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20692 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20693 wine_fn_config_makefile dlls/mapistub enable_mapistub
20694 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20695 wine_fn_config_makefile dlls/mcicda enable_mcicda
20696 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20697 wine_fn_config_makefile dlls/mciseq enable_mciseq
20698 wine_fn_config_makefile dlls/mciwave enable_mciwave
20699 wine_fn_config_makefile dlls/mf enable_mf
20700 wine_fn_config_makefile dlls/mf/tests enable_tests
20701 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20702 wine_fn_config_makefile dlls/mferror enable_mferror
20703 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20704 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20705 wine_fn_config_makefile dlls/mfplat enable_mfplat
20706 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20707 wine_fn_config_makefile dlls/mfplay enable_mfplay
20708 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20709 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20710 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20711 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20712 wine_fn_config_makefile dlls/midimap enable_midimap
20713 wine_fn_config_makefile dlls/mlang enable_mlang
20714 wine_fn_config_makefile dlls/mlang/tests enable_tests
20715 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20716 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20717 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20718 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20719 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20720 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20721 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20722 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20723 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20724 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20725 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20726 wine_fn_config_makefile dlls/mpr enable_mpr
20727 wine_fn_config_makefile dlls/mpr/tests enable_tests
20728 wine_fn_config_makefile dlls/mprapi enable_mprapi
20729 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20730 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20731 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20732 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20733 wine_fn_config_makefile dlls/msado15 enable_msado15
20734 wine_fn_config_makefile dlls/msado15/tests enable_tests
20735 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20736 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20737 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20738 wine_fn_config_makefile dlls/mscms enable_mscms
20739 wine_fn_config_makefile dlls/mscms/tests enable_tests
20740 wine_fn_config_makefile dlls/mscoree enable_mscoree
20741 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20742 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20743 wine_fn_config_makefile dlls/msctf enable_msctf
20744 wine_fn_config_makefile dlls/msctf/tests enable_tests
20745 wine_fn_config_makefile dlls/msctfp enable_msctfp
20746 wine_fn_config_makefile dlls/msdaps enable_msdaps
20747 wine_fn_config_makefile dlls/msdelta enable_msdelta
20748 wine_fn_config_makefile dlls/msdmo enable_msdmo
20749 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20750 wine_fn_config_makefile dlls/msdrm enable_msdrm
20751 wine_fn_config_makefile dlls/msftedit enable_msftedit
20752 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20753 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20754 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20755 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20756 wine_fn_config_makefile dlls/mshtml enable_mshtml
20757 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20758 wine_fn_config_makefile dlls/msi enable_msi
20759 wine_fn_config_makefile dlls/msi/tests enable_tests
20760 wine_fn_config_makefile dlls/msident enable_msident
20761 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20762 wine_fn_config_makefile dlls/msimsg enable_msimsg
20763 wine_fn_config_makefile dlls/msimtf enable_msimtf
20764 wine_fn_config_makefile dlls/msisip enable_msisip
20765 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20766 wine_fn_config_makefile dlls/msls31 enable_msls31
20767 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20768 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20769 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20770 wine_fn_config_makefile dlls/msports enable_msports
20771 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20772 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20773 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20774 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20775 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20776 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20777 wine_fn_config_makefile dlls/mstask enable_mstask
20778 wine_fn_config_makefile dlls/mstask/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20780 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20782 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20783 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20784 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20785 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20786 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20787 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20788 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20790 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20791 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20792 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20793 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20794 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20795 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20796 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20797 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20798 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20800 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20802 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20803 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20804 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20805 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20806 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20807 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20808 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20809 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20810 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20812 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20813 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20814 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20815 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20816 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20817 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20818 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20819 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20820 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20821 wine_fn_config_makefile dlls/mswsock enable_mswsock
20822 wine_fn_config_makefile dlls/msxml enable_msxml
20823 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20824 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20825 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20826 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20827 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20828 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20829 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20830 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20831 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20832 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20833 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20834 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20835 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20836 wine_fn_config_makefile dlls/netprofm enable_netprofm
20837 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20838 wine_fn_config_makefile dlls/newdev enable_newdev
20839 wine_fn_config_makefile dlls/ninput enable_ninput
20840 wine_fn_config_makefile dlls/ninput/tests enable_tests
20841 wine_fn_config_makefile dlls/normaliz enable_normaliz
20842 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20843 wine_fn_config_makefile dlls/npptools enable_npptools
20844 wine_fn_config_makefile dlls/ntdll enable_ntdll
20845 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20846 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20847 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20848 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20849 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20850 wine_fn_config_makefile dlls/ntprint enable_ntprint
20851 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20852 wine_fn_config_makefile dlls/objsel enable_objsel
20853 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20854 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20855 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20856 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20857 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20858 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20861 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20862 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20863 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20864 wine_fn_config_makefile dlls/ole32 enable_ole32
20865 wine_fn_config_makefile dlls/ole32/tests enable_tests
20866 wine_fn_config_makefile dlls/oleacc enable_oleacc
20867 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20868 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20869 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20870 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20871 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20872 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20873 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20874 wine_fn_config_makefile dlls/oledlg enable_oledlg
20875 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20876 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20877 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20878 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20879 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20880 wine_fn_config_makefile dlls/opcservices enable_opcservices
20881 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20882 wine_fn_config_makefile dlls/openal32 enable_openal32
20883 wine_fn_config_makefile dlls/opencl enable_opencl
20884 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20885 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20886 wine_fn_config_makefile dlls/packager enable_packager
20887 wine_fn_config_makefile dlls/packager/tests enable_tests
20888 wine_fn_config_makefile dlls/pdh enable_pdh
20889 wine_fn_config_makefile dlls/pdh/tests enable_tests
20890 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20891 wine_fn_config_makefile dlls/pidgen enable_pidgen
20892 wine_fn_config_makefile dlls/powrprof enable_powrprof
20893 wine_fn_config_makefile dlls/printui enable_printui
20894 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20895 wine_fn_config_makefile dlls/propsys enable_propsys
20896 wine_fn_config_makefile dlls/propsys/tests enable_tests
20897 wine_fn_config_makefile dlls/psapi enable_psapi
20898 wine_fn_config_makefile dlls/psapi/tests enable_tests
20899 wine_fn_config_makefile dlls/pstorec enable_pstorec
20900 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20901 wine_fn_config_makefile dlls/qasf enable_qasf
20902 wine_fn_config_makefile dlls/qasf/tests enable_tests
20903 wine_fn_config_makefile dlls/qcap enable_qcap
20904 wine_fn_config_makefile dlls/qcap/tests enable_tests
20905 wine_fn_config_makefile dlls/qedit enable_qedit
20906 wine_fn_config_makefile dlls/qedit/tests enable_tests
20907 wine_fn_config_makefile dlls/qmgr enable_qmgr
20908 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20909 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20910 wine_fn_config_makefile dlls/quartz enable_quartz
20911 wine_fn_config_makefile dlls/quartz/tests enable_tests
20912 wine_fn_config_makefile dlls/query enable_query
20913 wine_fn_config_makefile dlls/qwave enable_qwave
20914 wine_fn_config_makefile dlls/qwave/tests enable_tests
20915 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20916 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20917 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20918 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20919 wine_fn_config_makefile dlls/regapi enable_regapi
20920 wine_fn_config_makefile dlls/resutils enable_resutils
20921 wine_fn_config_makefile dlls/riched20 enable_riched20
20922 wine_fn_config_makefile dlls/riched20/tests enable_tests
20923 wine_fn_config_makefile dlls/riched32 enable_riched32
20924 wine_fn_config_makefile dlls/riched32/tests enable_tests
20925 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20926 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20927 wine_fn_config_makefile dlls/rsabase enable_rsabase
20928 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20929 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20930 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20931 wine_fn_config_makefile dlls/rtutils enable_rtutils
20932 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20933 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20934 wine_fn_config_makefile dlls/samlib enable_samlib
20935 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20936 wine_fn_config_makefile dlls/sapi enable_sapi
20937 wine_fn_config_makefile dlls/sapi/tests enable_tests
20938 wine_fn_config_makefile dlls/sas enable_sas
20939 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20940 wine_fn_config_makefile dlls/sccbase enable_sccbase
20941 wine_fn_config_makefile dlls/schannel enable_schannel
20942 wine_fn_config_makefile dlls/schannel/tests enable_tests
20943 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20944 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20945 wine_fn_config_makefile dlls/scrobj enable_scrobj
20946 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20947 wine_fn_config_makefile dlls/scrrun enable_scrrun
20948 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20949 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20950 wine_fn_config_makefile dlls/secur32 enable_secur32
20951 wine_fn_config_makefile dlls/secur32/tests enable_tests
20952 wine_fn_config_makefile dlls/security enable_security
20953 wine_fn_config_makefile dlls/sensapi enable_sensapi
20954 wine_fn_config_makefile dlls/serialui enable_serialui
20955 wine_fn_config_makefile dlls/serialui/tests enable_tests
20956 wine_fn_config_makefile dlls/setupapi enable_setupapi
20957 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20958 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20959 wine_fn_config_makefile dlls/sfc enable_sfc
20960 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20961 wine_fn_config_makefile dlls/shcore enable_shcore
20962 wine_fn_config_makefile dlls/shcore/tests enable_tests
20963 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20964 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20965 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20966 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20967 wine_fn_config_makefile dlls/shell32 enable_shell32
20968 wine_fn_config_makefile dlls/shell32/tests enable_tests
20969 wine_fn_config_makefile dlls/shfolder enable_shfolder
20970 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20971 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20972 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20973 wine_fn_config_makefile dlls/slc enable_slc
20974 wine_fn_config_makefile dlls/slc/tests enable_tests
20975 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20976 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20977 wine_fn_config_makefile dlls/softpub enable_softpub
20978 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20979 wine_fn_config_makefile dlls/spoolss enable_spoolss
20980 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20981 wine_fn_config_makefile dlls/srclient enable_srclient
20982 wine_fn_config_makefile dlls/sspicli enable_sspicli
20983 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20984 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20985 wine_fn_config_makefile dlls/sti enable_sti
20986 wine_fn_config_makefile dlls/sti/tests enable_tests
20987 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20988 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20989 wine_fn_config_makefile dlls/strmbase enable_strmbase
20990 wine_fn_config_makefile dlls/strmdll enable_strmdll
20991 wine_fn_config_makefile dlls/strmiids enable_strmiids
20992 wine_fn_config_makefile dlls/svrapi enable_svrapi
20993 wine_fn_config_makefile dlls/sxs enable_sxs
20994 wine_fn_config_makefile dlls/sxs/tests enable_tests
20995 wine_fn_config_makefile dlls/system.drv16 enable_win16
20996 wine_fn_config_makefile dlls/t2embed enable_t2embed
20997 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20998 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20999 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21000 wine_fn_config_makefile dlls/taskschd enable_taskschd
21001 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21002 wine_fn_config_makefile dlls/tdh enable_tdh
21003 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21004 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21005 wine_fn_config_makefile dlls/traffic enable_traffic
21006 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21007 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21008 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21009 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21010 wine_fn_config_makefile dlls/tzres enable_tzres
21011 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21012 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21013 wine_fn_config_makefile dlls/uianimation enable_uianimation
21014 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21015 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21016 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21017 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21018 wine_fn_config_makefile dlls/unicows enable_unicows
21019 wine_fn_config_makefile dlls/updspapi enable_updspapi
21020 wine_fn_config_makefile dlls/url enable_url
21021 wine_fn_config_makefile dlls/urlmon enable_urlmon
21022 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21023 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21024 wine_fn_config_makefile dlls/user.exe16 enable_win16
21025 wine_fn_config_makefile dlls/user32 enable_user32
21026 wine_fn_config_makefile dlls/user32/tests enable_tests
21027 wine_fn_config_makefile dlls/userenv enable_userenv
21028 wine_fn_config_makefile dlls/userenv/tests enable_tests
21029 wine_fn_config_makefile dlls/usp10 enable_usp10
21030 wine_fn_config_makefile dlls/usp10/tests enable_tests
21031 wine_fn_config_makefile dlls/utildll enable_utildll
21032 wine_fn_config_makefile dlls/uuid enable_uuid
21033 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21034 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21035 wine_fn_config_makefile dlls/vbscript enable_vbscript
21036 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21037 wine_fn_config_makefile dlls/vcomp enable_vcomp
21038 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21039 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21040 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21041 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21042 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21043 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21044 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21045 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21046 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21047 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21048 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21049 wine_fn_config_makefile dlls/version enable_version
21050 wine_fn_config_makefile dlls/version/tests enable_tests
21051 wine_fn_config_makefile dlls/vga enable_vga
21052 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21053 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21054 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21055 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21056 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21057 wine_fn_config_makefile dlls/vssapi enable_vssapi
21058 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21059 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21060 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21061 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21062 wine_fn_config_makefile dlls/w32skrnl enable_win16
21063 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21064 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21065 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21066 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21067 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21068 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21069 wine_fn_config_makefile dlls/wdscore enable_wdscore
21070 wine_fn_config_makefile dlls/webservices enable_webservices
21071 wine_fn_config_makefile dlls/webservices/tests enable_tests
21072 wine_fn_config_makefile dlls/wer enable_wer
21073 wine_fn_config_makefile dlls/wer/tests enable_tests
21074 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21075 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21076 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21077 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21078 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21079 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21080 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21081 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21082 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21083 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21084 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21085 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21086 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21087 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21088 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21089 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21090 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21091 wine_fn_config_makefile dlls/wined3d enable_wined3d
21092 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21093 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21094 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21095 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21096 wine_fn_config_makefile dlls/winemapi enable_winemapi
21097 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21098 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21099 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21100 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21101 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21102 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21103 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21104 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21105 wine_fn_config_makefile dlls/wing32 enable_wing32
21106 wine_fn_config_makefile dlls/winhttp enable_winhttp
21107 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21108 wine_fn_config_makefile dlls/wininet enable_wininet
21109 wine_fn_config_makefile dlls/wininet/tests enable_tests
21110 wine_fn_config_makefile dlls/winmm enable_winmm
21111 wine_fn_config_makefile dlls/winmm/tests enable_tests
21112 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21113 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21114 wine_fn_config_makefile dlls/winscard enable_winscard
21115 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21116 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21117 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21118 wine_fn_config_makefile dlls/winsta enable_winsta
21119 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21120 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21121 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21122 wine_fn_config_makefile dlls/wintrust enable_wintrust
21123 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21124 wine_fn_config_makefile dlls/winusb enable_winusb
21125 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21126 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21127 wine_fn_config_makefile dlls/wlanui enable_wlanui
21128 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21129 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21130 wine_fn_config_makefile dlls/wmasf enable_wmasf
21131 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21132 wine_fn_config_makefile dlls/wmi enable_wmi
21133 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21134 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21135 wine_fn_config_makefile dlls/wmp enable_wmp
21136 wine_fn_config_makefile dlls/wmp/tests enable_tests
21137 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21138 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21139 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21140 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21141 wine_fn_config_makefile dlls/wow32 enable_win16
21142 wine_fn_config_makefile dlls/wpc enable_wpc
21143 wine_fn_config_makefile dlls/wpc/tests enable_tests
21144 wine_fn_config_makefile dlls/wpcap enable_wpcap
21145 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21146 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21147 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21148 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21149 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21150 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21151 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21152 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21153 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21154 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21155 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21156 wine_fn_config_makefile dlls/wuapi enable_wuapi
21157 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21158 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21159 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21160 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21161 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21162 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21163 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21164 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21165 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21166 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21167 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21168 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21169 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21170 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21171 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21172 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21173 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21174 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21175 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21176 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21177 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21178 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21179 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21180 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21181 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21182 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21183 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21184 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21185 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21186 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21187 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21188 wine_fn_config_makefile dlls/xmllite enable_xmllite
21189 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21190 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21191 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21192 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21193 wine_fn_config_makefile fonts enable_fonts
21194 wine_fn_config_makefile include enable_include
21195 wine_fn_config_makefile libs/port enable_port
21196 wine_fn_config_makefile libs/wine enable_wine
21197 wine_fn_config_makefile libs/wpp enable_wpp
21198 wine_fn_config_makefile loader enable_loader
21199 wine_fn_config_makefile nls enable_nls
21200 wine_fn_config_makefile po enable_po
21201 wine_fn_config_makefile programs/arp enable_arp
21202 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21203 wine_fn_config_makefile programs/attrib enable_attrib
21204 wine_fn_config_makefile programs/cabarc enable_cabarc
21205 wine_fn_config_makefile programs/cacls enable_cacls
21206 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21207 wine_fn_config_makefile programs/clock enable_clock
21208 wine_fn_config_makefile programs/cmd enable_cmd
21209 wine_fn_config_makefile programs/cmd/tests enable_tests
21210 wine_fn_config_makefile programs/conhost enable_conhost
21211 wine_fn_config_makefile programs/control enable_control
21212 wine_fn_config_makefile programs/cscript enable_cscript
21213 wine_fn_config_makefile programs/dism enable_dism
21214 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21215 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21216 wine_fn_config_makefile programs/eject enable_eject
21217 wine_fn_config_makefile programs/expand enable_expand
21218 wine_fn_config_makefile programs/explorer enable_explorer
21219 wine_fn_config_makefile programs/extrac32 enable_extrac32
21220 wine_fn_config_makefile programs/fc enable_fc
21221 wine_fn_config_makefile programs/find enable_find
21222 wine_fn_config_makefile programs/find/tests enable_tests
21223 wine_fn_config_makefile programs/findstr enable_findstr
21224 wine_fn_config_makefile programs/fsutil enable_fsutil
21225 wine_fn_config_makefile programs/hh enable_hh
21226 wine_fn_config_makefile programs/hostname enable_hostname
21227 wine_fn_config_makefile programs/icacls enable_icacls
21228 wine_fn_config_makefile programs/icinfo enable_icinfo
21229 wine_fn_config_makefile programs/iexplore enable_iexplore
21230 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21231 wine_fn_config_makefile programs/lodctr enable_lodctr
21232 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21233 wine_fn_config_makefile programs/mshta enable_mshta
21234 wine_fn_config_makefile programs/msidb enable_msidb
21235 wine_fn_config_makefile programs/msiexec enable_msiexec
21236 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21237 wine_fn_config_makefile programs/net enable_net
21238 wine_fn_config_makefile programs/netsh enable_netsh
21239 wine_fn_config_makefile programs/netstat enable_netstat
21240 wine_fn_config_makefile programs/ngen enable_ngen
21241 wine_fn_config_makefile programs/notepad enable_notepad
21242 wine_fn_config_makefile programs/oleview enable_oleview
21243 wine_fn_config_makefile programs/ping enable_ping
21244 wine_fn_config_makefile programs/plugplay enable_plugplay
21245 wine_fn_config_makefile programs/powershell enable_powershell
21246 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21247 wine_fn_config_makefile programs/progman enable_progman
21248 wine_fn_config_makefile programs/reg enable_reg
21249 wine_fn_config_makefile programs/reg/tests enable_tests
21250 wine_fn_config_makefile programs/regasm enable_regasm
21251 wine_fn_config_makefile programs/regedit enable_regedit
21252 wine_fn_config_makefile programs/regedit/tests enable_tests
21253 wine_fn_config_makefile programs/regini enable_regini
21254 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21255 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21256 wine_fn_config_makefile programs/rpcss enable_rpcss
21257 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21258 wine_fn_config_makefile programs/rundll32 enable_rundll32
21259 wine_fn_config_makefile programs/sc enable_sc
21260 wine_fn_config_makefile programs/schtasks enable_schtasks
21261 wine_fn_config_makefile programs/schtasks/tests enable_tests
21262 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21263 wine_fn_config_makefile programs/secedit enable_secedit
21264 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21265 wine_fn_config_makefile programs/services enable_services
21266 wine_fn_config_makefile programs/services/tests enable_tests
21267 wine_fn_config_makefile programs/shutdown enable_shutdown
21268 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21269 wine_fn_config_makefile programs/start enable_start
21270 wine_fn_config_makefile programs/subst enable_subst
21271 wine_fn_config_makefile programs/svchost enable_svchost
21272 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21273 wine_fn_config_makefile programs/taskkill enable_taskkill
21274 wine_fn_config_makefile programs/tasklist enable_tasklist
21275 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21276 wine_fn_config_makefile programs/termsv enable_termsv
21277 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21278 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21279 wine_fn_config_makefile programs/view enable_view
21280 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21281 wine_fn_config_makefile programs/whoami enable_whoami
21282 wine_fn_config_makefile programs/wineboot enable_wineboot
21283 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21284 wine_fn_config_makefile programs/winecfg enable_winecfg
21285 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21286 wine_fn_config_makefile programs/winedbg enable_winedbg
21287 wine_fn_config_makefile programs/winedevice enable_winedevice
21288 wine_fn_config_makefile programs/winefile enable_winefile
21289 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21290 wine_fn_config_makefile programs/winemine enable_winemine
21291 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21292 wine_fn_config_makefile programs/winepath enable_winepath
21293 wine_fn_config_makefile programs/winetest enable_winetest
21294 wine_fn_config_makefile programs/winevdm enable_win16
21295 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21296 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21297 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21298 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21299 wine_fn_config_makefile programs/winver enable_winver
21300 wine_fn_config_makefile programs/wmic enable_wmic
21301 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21302 wine_fn_config_makefile programs/wordpad enable_wordpad
21303 wine_fn_config_makefile programs/write enable_write
21304 wine_fn_config_makefile programs/wscript enable_wscript
21305 wine_fn_config_makefile programs/wscript/tests enable_tests
21306 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21307 wine_fn_config_makefile programs/wusa enable_wusa
21308 wine_fn_config_makefile programs/xcopy enable_xcopy
21309 wine_fn_config_makefile programs/xcopy/tests enable_tests
21310 wine_fn_config_makefile server enable_server
21311 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21322 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21323 wine_fn_append_file CONFIGURE_TARGETS "tags"
21324 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21325 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21326 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21327 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21328 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21329 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21331 if test "x$enable_tools" != xno
21332 then
21333 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21334 ac_config_commands="$ac_config_commands tools/makedep"
21338 ac_config_commands="$ac_config_commands Makefile"
21341 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21345 if test "x$enable_maintainer_mode" = xyes
21346 then
21347 wine_fn_append_rule "configure: configure.ac aclocal.m4
21348 autoconf --warnings=all
21349 include/config.h.in: include/stamp-h.in
21350 include/stamp-h.in: configure.ac aclocal.m4
21351 autoheader --warnings=all
21352 @echo timestamp > \$@"
21355 if test "x$enable_tools" != xno
21356 then
21357 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21358 @./config.status tools/makedep
21359 Makefile: tools/makedep$ac_exeext
21360 fonts: tools/sfnt2fon
21361 include: tools tools/widl"
21362 else
21363 wine_fn_append_rule "\$(MAKEDEP):
21364 @echo \"You need to run make in $TOOLSDIR first\" && false"
21367 if test -n "$with_wine64"
21368 then
21369 case "$with_wine64" in
21370 /*) reldir="" ;;
21371 *) reldir="../" ;;
21372 esac
21373 rm -f fonts server 2>/dev/null
21374 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21375 loader/wine64 loader/wine64-preloader:
21376 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21377 $with_wine64/loader/wine:
21378 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21379 $with_wine64/loader/wine-preloader:
21380 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21381 clean::
21382 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21383 else
21384 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21385 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21386 fonts \
21387 loader/wine.inf \
21388 loader/winebus.inf \
21389 loader/winehid.inf \
21390 nls \
21391 programs/msidb/msidb \
21392 programs/msiexec/msiexec \
21393 programs/notepad/notepad \
21394 programs/regedit/regedit \
21395 programs/regsvr32/regsvr32 \
21396 programs/wineboot/wineboot \
21397 programs/winecfg/winecfg \
21398 programs/wineconsole/wineconsole \
21399 programs/winedbg/winedbg \
21400 programs/winefile/winefile \
21401 programs/winemine/winemine \
21402 programs/winepath/winepath \
21403 server/wineserver"
21405 case $host_os in
21406 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21407 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21408 esac
21411 $as_echo " done" >&6
21412 cat >confcache <<\_ACEOF
21413 # This file is a shell script that caches the results of configure
21414 # tests run on this system so they can be shared between configure
21415 # scripts and configure runs, see configure's option --config-cache.
21416 # It is not useful on other systems. If it contains results you don't
21417 # want to keep, you may remove or edit it.
21419 # config.status only pays attention to the cache file if you give it
21420 # the --recheck option to rerun configure.
21422 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21423 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21424 # following values.
21426 _ACEOF
21428 # The following way of writing the cache mishandles newlines in values,
21429 # but we know of no workaround that is simple, portable, and efficient.
21430 # So, we kill variables containing newlines.
21431 # Ultrix sh set writes to stderr and can't be redirected directly,
21432 # and sets the high bit in the cache file unless we assign to the vars.
21434 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21435 eval ac_val=\$$ac_var
21436 case $ac_val in #(
21437 *${as_nl}*)
21438 case $ac_var in #(
21439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21441 esac
21442 case $ac_var in #(
21443 _ | IFS | as_nl) ;; #(
21444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21445 *) { eval $ac_var=; unset $ac_var;} ;;
21446 esac ;;
21447 esac
21448 done
21450 (set) 2>&1 |
21451 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21452 *${as_nl}ac_space=\ *)
21453 # `set' does not quote correctly, so add quotes: double-quote
21454 # substitution turns \\\\ into \\, and sed turns \\ into \.
21455 sed -n \
21456 "s/'/'\\\\''/g;
21457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21458 ;; #(
21460 # `set' quotes correctly as required by POSIX, so do not add quotes.
21461 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21463 esac |
21464 sort
21466 sed '
21467 /^ac_cv_env_/b end
21468 t clear
21469 :clear
21470 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21471 t end
21472 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21473 :end' >>confcache
21474 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21475 if test -w "$cache_file"; then
21476 if test "x$cache_file" != "x/dev/null"; then
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21478 $as_echo "$as_me: updating cache $cache_file" >&6;}
21479 if test ! -f "$cache_file" || test -h "$cache_file"; then
21480 cat confcache >"$cache_file"
21481 else
21482 case $cache_file in #(
21483 */* | ?:*)
21484 mv -f confcache "$cache_file"$$ &&
21485 mv -f "$cache_file"$$ "$cache_file" ;; #(
21487 mv -f confcache "$cache_file" ;;
21488 esac
21491 else
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21493 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21496 rm -f confcache
21498 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21499 # Let make expand exec_prefix.
21500 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21502 DEFS=-DHAVE_CONFIG_H
21504 ac_libobjs=
21505 ac_ltlibobjs=
21507 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21508 # 1. Remove the extension, and $U if already installed.
21509 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21510 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21511 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21512 # will be set to the directory where LIBOBJS objects are built.
21513 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21514 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21515 done
21516 LIBOBJS=$ac_libobjs
21518 LTLIBOBJS=$ac_ltlibobjs
21522 : "${CONFIG_STATUS=./config.status}"
21523 ac_write_fail=0
21524 ac_clean_files_save=$ac_clean_files
21525 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21527 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21528 as_write_fail=0
21529 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21530 #! $SHELL
21531 # Generated by $as_me.
21532 # Run this file to recreate the current configuration.
21533 # Compiler output produced by configure, useful for debugging
21534 # configure, is in config.log if it exists.
21536 debug=false
21537 ac_cs_recheck=false
21538 ac_cs_silent=false
21540 SHELL=\${CONFIG_SHELL-$SHELL}
21541 export SHELL
21542 _ASEOF
21543 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21544 ## -------------------- ##
21545 ## M4sh Initialization. ##
21546 ## -------------------- ##
21548 # Be more Bourne compatible
21549 DUALCASE=1; export DUALCASE # for MKS sh
21550 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21551 emulate sh
21552 NULLCMD=:
21553 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21554 # is contrary to our usage. Disable this feature.
21555 alias -g '${1+"$@"}'='"$@"'
21556 setopt NO_GLOB_SUBST
21557 else
21558 case `(set -o) 2>/dev/null` in #(
21559 *posix*) :
21560 set -o posix ;; #(
21561 *) :
21563 esac
21567 as_nl='
21569 export as_nl
21570 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21571 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21573 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21574 # Prefer a ksh shell builtin over an external printf program on Solaris,
21575 # but without wasting forks for bash or zsh.
21576 if test -z "$BASH_VERSION$ZSH_VERSION" \
21577 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21578 as_echo='print -r --'
21579 as_echo_n='print -rn --'
21580 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21581 as_echo='printf %s\n'
21582 as_echo_n='printf %s'
21583 else
21584 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21585 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21586 as_echo_n='/usr/ucb/echo -n'
21587 else
21588 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21589 as_echo_n_body='eval
21590 arg=$1;
21591 case $arg in #(
21592 *"$as_nl"*)
21593 expr "X$arg" : "X\\(.*\\)$as_nl";
21594 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21595 esac;
21596 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21598 export as_echo_n_body
21599 as_echo_n='sh -c $as_echo_n_body as_echo'
21601 export as_echo_body
21602 as_echo='sh -c $as_echo_body as_echo'
21605 # The user is always right.
21606 if test "${PATH_SEPARATOR+set}" != set; then
21607 PATH_SEPARATOR=:
21608 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21609 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21610 PATH_SEPARATOR=';'
21615 # IFS
21616 # We need space, tab and new line, in precisely that order. Quoting is
21617 # there to prevent editors from complaining about space-tab.
21618 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21619 # splitting by setting IFS to empty value.)
21620 IFS=" "" $as_nl"
21622 # Find who we are. Look in the path if we contain no directory separator.
21623 as_myself=
21624 case $0 in #((
21625 *[\\/]* ) as_myself=$0 ;;
21626 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21627 for as_dir in $PATH
21629 IFS=$as_save_IFS
21630 test -z "$as_dir" && as_dir=.
21631 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21632 done
21633 IFS=$as_save_IFS
21636 esac
21637 # We did not find ourselves, most probably we were run as `sh COMMAND'
21638 # in which case we are not to be found in the path.
21639 if test "x$as_myself" = x; then
21640 as_myself=$0
21642 if test ! -f "$as_myself"; then
21643 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21644 exit 1
21647 # Unset variables that we do not need and which cause bugs (e.g. in
21648 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21649 # suppresses any "Segmentation fault" message there. '((' could
21650 # trigger a bug in pdksh 5.2.14.
21651 for as_var in BASH_ENV ENV MAIL MAILPATH
21652 do eval test x\${$as_var+set} = xset \
21653 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21654 done
21655 PS1='$ '
21656 PS2='> '
21657 PS4='+ '
21659 # NLS nuisances.
21660 LC_ALL=C
21661 export LC_ALL
21662 LANGUAGE=C
21663 export LANGUAGE
21665 # CDPATH.
21666 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21669 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21670 # ----------------------------------------
21671 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21672 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21673 # script with STATUS, using 1 if that was 0.
21674 as_fn_error ()
21676 as_status=$1; test $as_status -eq 0 && as_status=1
21677 if test "$4"; then
21678 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21679 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21681 $as_echo "$as_me: error: $2" >&2
21682 as_fn_exit $as_status
21683 } # as_fn_error
21686 # as_fn_set_status STATUS
21687 # -----------------------
21688 # Set $? to STATUS, without forking.
21689 as_fn_set_status ()
21691 return $1
21692 } # as_fn_set_status
21694 # as_fn_exit STATUS
21695 # -----------------
21696 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21697 as_fn_exit ()
21699 set +e
21700 as_fn_set_status $1
21701 exit $1
21702 } # as_fn_exit
21704 # as_fn_unset VAR
21705 # ---------------
21706 # Portably unset VAR.
21707 as_fn_unset ()
21709 { eval $1=; unset $1;}
21711 as_unset=as_fn_unset
21712 # as_fn_append VAR VALUE
21713 # ----------------------
21714 # Append the text in VALUE to the end of the definition contained in VAR. Take
21715 # advantage of any shell optimizations that allow amortized linear growth over
21716 # repeated appends, instead of the typical quadratic growth present in naive
21717 # implementations.
21718 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21719 eval 'as_fn_append ()
21721 eval $1+=\$2
21723 else
21724 as_fn_append ()
21726 eval $1=\$$1\$2
21728 fi # as_fn_append
21730 # as_fn_arith ARG...
21731 # ------------------
21732 # Perform arithmetic evaluation on the ARGs, and store the result in the
21733 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21734 # must be portable across $(()) and expr.
21735 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21736 eval 'as_fn_arith ()
21738 as_val=$(( $* ))
21740 else
21741 as_fn_arith ()
21743 as_val=`expr "$@" || test $? -eq 1`
21745 fi # as_fn_arith
21748 if expr a : '\(a\)' >/dev/null 2>&1 &&
21749 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21750 as_expr=expr
21751 else
21752 as_expr=false
21755 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21756 as_basename=basename
21757 else
21758 as_basename=false
21761 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21762 as_dirname=dirname
21763 else
21764 as_dirname=false
21767 as_me=`$as_basename -- "$0" ||
21768 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21769 X"$0" : 'X\(//\)$' \| \
21770 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21771 $as_echo X/"$0" |
21772 sed '/^.*\/\([^/][^/]*\)\/*$/{
21773 s//\1/
21776 /^X\/\(\/\/\)$/{
21777 s//\1/
21780 /^X\/\(\/\).*/{
21781 s//\1/
21784 s/.*/./; q'`
21786 # Avoid depending upon Character Ranges.
21787 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21788 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21789 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21790 as_cr_digits='0123456789'
21791 as_cr_alnum=$as_cr_Letters$as_cr_digits
21793 ECHO_C= ECHO_N= ECHO_T=
21794 case `echo -n x` in #(((((
21795 -n*)
21796 case `echo 'xy\c'` in
21797 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21798 xy) ECHO_C='\c';;
21799 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21800 ECHO_T=' ';;
21801 esac;;
21803 ECHO_N='-n';;
21804 esac
21806 rm -f conf$$ conf$$.exe conf$$.file
21807 if test -d conf$$.dir; then
21808 rm -f conf$$.dir/conf$$.file
21809 else
21810 rm -f conf$$.dir
21811 mkdir conf$$.dir 2>/dev/null
21813 if (echo >conf$$.file) 2>/dev/null; then
21814 if ln -s conf$$.file conf$$ 2>/dev/null; then
21815 as_ln_s='ln -s'
21816 # ... but there are two gotchas:
21817 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21818 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21819 # In both cases, we have to default to `cp -pR'.
21820 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21821 as_ln_s='cp -pR'
21822 elif ln conf$$.file conf$$ 2>/dev/null; then
21823 as_ln_s=ln
21824 else
21825 as_ln_s='cp -pR'
21827 else
21828 as_ln_s='cp -pR'
21830 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21831 rmdir conf$$.dir 2>/dev/null
21834 # as_fn_mkdir_p
21835 # -------------
21836 # Create "$as_dir" as a directory, including parents if necessary.
21837 as_fn_mkdir_p ()
21840 case $as_dir in #(
21841 -*) as_dir=./$as_dir;;
21842 esac
21843 test -d "$as_dir" || eval $as_mkdir_p || {
21844 as_dirs=
21845 while :; do
21846 case $as_dir in #(
21847 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21848 *) as_qdir=$as_dir;;
21849 esac
21850 as_dirs="'$as_qdir' $as_dirs"
21851 as_dir=`$as_dirname -- "$as_dir" ||
21852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21853 X"$as_dir" : 'X\(//\)[^/]' \| \
21854 X"$as_dir" : 'X\(//\)$' \| \
21855 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21856 $as_echo X"$as_dir" |
21857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21858 s//\1/
21861 /^X\(\/\/\)[^/].*/{
21862 s//\1/
21865 /^X\(\/\/\)$/{
21866 s//\1/
21869 /^X\(\/\).*/{
21870 s//\1/
21873 s/.*/./; q'`
21874 test -d "$as_dir" && break
21875 done
21876 test -z "$as_dirs" || eval "mkdir $as_dirs"
21877 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21880 } # as_fn_mkdir_p
21881 if mkdir -p . 2>/dev/null; then
21882 as_mkdir_p='mkdir -p "$as_dir"'
21883 else
21884 test -d ./-p && rmdir ./-p
21885 as_mkdir_p=false
21889 # as_fn_executable_p FILE
21890 # -----------------------
21891 # Test if FILE is an executable regular file.
21892 as_fn_executable_p ()
21894 test -f "$1" && test -x "$1"
21895 } # as_fn_executable_p
21896 as_test_x='test -x'
21897 as_executable_p=as_fn_executable_p
21899 # Sed expression to map a string onto a valid CPP name.
21900 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21902 # Sed expression to map a string onto a valid variable name.
21903 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21906 exec 6>&1
21907 ## ----------------------------------- ##
21908 ## Main body of $CONFIG_STATUS script. ##
21909 ## ----------------------------------- ##
21910 _ASEOF
21911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21914 # Save the log message, to keep $0 and so on meaningful, and to
21915 # report actual input values of CONFIG_FILES etc. instead of their
21916 # values after options handling.
21917 ac_log="
21918 This file was extended by Wine $as_me 5.4, which was
21919 generated by GNU Autoconf 2.69. Invocation command line was
21921 CONFIG_FILES = $CONFIG_FILES
21922 CONFIG_HEADERS = $CONFIG_HEADERS
21923 CONFIG_LINKS = $CONFIG_LINKS
21924 CONFIG_COMMANDS = $CONFIG_COMMANDS
21925 $ $0 $@
21927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21930 _ACEOF
21932 case $ac_config_files in *"
21933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21934 esac
21936 case $ac_config_headers in *"
21937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21938 esac
21941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21942 # Files that config.status was made for.
21943 config_files="$ac_config_files"
21944 config_headers="$ac_config_headers"
21945 config_links="$ac_config_links"
21946 config_commands="$ac_config_commands"
21948 _ACEOF
21950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21951 ac_cs_usage="\
21952 \`$as_me' instantiates files and other configuration actions
21953 from templates according to the current configuration. Unless the files
21954 and actions are specified as TAGs, all are instantiated by default.
21956 Usage: $0 [OPTION]... [TAG]...
21958 -h, --help print this help, then exit
21959 -V, --version print version number and configuration settings, then exit
21960 --config print configuration, then exit
21961 -q, --quiet, --silent
21962 do not print progress messages
21963 -d, --debug don't remove temporary files
21964 --recheck update $as_me by reconfiguring in the same conditions
21965 --file=FILE[:TEMPLATE]
21966 instantiate the configuration file FILE
21967 --header=FILE[:TEMPLATE]
21968 instantiate the configuration header FILE
21970 Configuration files:
21971 $config_files
21973 Configuration headers:
21974 $config_headers
21976 Configuration links:
21977 $config_links
21979 Configuration commands:
21980 $config_commands
21982 Report bugs to <wine-devel@winehq.org>.
21983 Wine home page: <https://www.winehq.org>."
21985 _ACEOF
21986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21987 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21988 ac_cs_version="\\
21989 Wine config.status 5.4
21990 configured by $0, generated by GNU Autoconf 2.69,
21991 with options \\"\$ac_cs_config\\"
21993 Copyright (C) 2012 Free Software Foundation, Inc.
21994 This config.status script is free software; the Free Software Foundation
21995 gives unlimited permission to copy, distribute and modify it."
21997 ac_pwd='$ac_pwd'
21998 srcdir='$srcdir'
21999 test -n "\$AWK" || AWK=awk
22000 _ACEOF
22002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22003 # The default lists apply if the user does not specify any file.
22004 ac_need_defaults=:
22005 while test $# != 0
22007 case $1 in
22008 --*=?*)
22009 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22010 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22011 ac_shift=:
22013 --*=)
22014 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22015 ac_optarg=
22016 ac_shift=:
22019 ac_option=$1
22020 ac_optarg=$2
22021 ac_shift=shift
22023 esac
22025 case $ac_option in
22026 # Handling of the options.
22027 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22028 ac_cs_recheck=: ;;
22029 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22030 $as_echo "$ac_cs_version"; exit ;;
22031 --config | --confi | --conf | --con | --co | --c )
22032 $as_echo "$ac_cs_config"; exit ;;
22033 --debug | --debu | --deb | --de | --d | -d )
22034 debug=: ;;
22035 --file | --fil | --fi | --f )
22036 $ac_shift
22037 case $ac_optarg in
22038 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22039 '') as_fn_error $? "missing file argument" ;;
22040 esac
22041 as_fn_append CONFIG_FILES " '$ac_optarg'"
22042 ac_need_defaults=false;;
22043 --header | --heade | --head | --hea )
22044 $ac_shift
22045 case $ac_optarg in
22046 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22047 esac
22048 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22049 ac_need_defaults=false;;
22050 --he | --h)
22051 # Conflict between --help and --header
22052 as_fn_error $? "ambiguous option: \`$1'
22053 Try \`$0 --help' for more information.";;
22054 --help | --hel | -h )
22055 $as_echo "$ac_cs_usage"; exit ;;
22056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22057 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22058 ac_cs_silent=: ;;
22060 # This is an error.
22061 -*) as_fn_error $? "unrecognized option: \`$1'
22062 Try \`$0 --help' for more information." ;;
22064 *) as_fn_append ac_config_targets " $1"
22065 ac_need_defaults=false ;;
22067 esac
22068 shift
22069 done
22071 ac_configure_extra_args=
22073 if $ac_cs_silent; then
22074 exec 6>/dev/null
22075 ac_configure_extra_args="$ac_configure_extra_args --silent"
22078 _ACEOF
22079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22080 if \$ac_cs_recheck; then
22081 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22082 shift
22083 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22084 CONFIG_SHELL='$SHELL'
22085 export CONFIG_SHELL
22086 exec "\$@"
22089 _ACEOF
22090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22091 exec 5>>config.log
22093 echo
22094 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22095 ## Running $as_me. ##
22096 _ASBOX
22097 $as_echo "$ac_log"
22098 } >&5
22100 _ACEOF
22101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22103 # INIT-COMMANDS
22105 wine_fn_output_makedep ()
22107 as_dir=tools; as_fn_mkdir_p
22108 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22110 wine_fn_output_makefile ()
22112 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22113 `cat $wine_rules_file`
22114 _WINE_EOF
22115 as_fn_error $? "could not create Makefile" "$LINENO" 5
22118 _ACEOF
22120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22122 # Handling of arguments.
22123 for ac_config_target in $ac_config_targets
22125 case $ac_config_target in
22126 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22127 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22128 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22129 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22130 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22131 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22132 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22134 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22135 esac
22136 done
22139 # If the user did not use the arguments to specify the items to instantiate,
22140 # then the envvar interface is used. Set only those that are not.
22141 # We use the long form for the default assignment because of an extremely
22142 # bizarre bug on SunOS 4.1.3.
22143 if $ac_need_defaults; then
22144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22145 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22146 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22147 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22150 # Have a temporary directory for convenience. Make it in the build tree
22151 # simply because there is no reason against having it here, and in addition,
22152 # creating and moving files from /tmp can sometimes cause problems.
22153 # Hook for its removal unless debugging.
22154 # Note that there is a small window in which the directory will not be cleaned:
22155 # after its creation but before its name has been assigned to `$tmp'.
22156 $debug ||
22158 tmp= ac_tmp=
22159 trap 'exit_status=$?
22160 : "${ac_tmp:=$tmp}"
22161 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22163 trap 'as_fn_exit 1' 1 2 13 15
22165 # Create a (secure) tmp directory for tmp files.
22168 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22169 test -d "$tmp"
22170 } ||
22172 tmp=./conf$$-$RANDOM
22173 (umask 077 && mkdir "$tmp")
22174 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22175 ac_tmp=$tmp
22177 # Set up the scripts for CONFIG_FILES section.
22178 # No need to generate them if there are no CONFIG_FILES.
22179 # This happens for instance with `./config.status config.h'.
22180 if test -n "$CONFIG_FILES"; then
22183 ac_cr=`echo X | tr X '\015'`
22184 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22185 # But we know of no other shell where ac_cr would be empty at this
22186 # point, so we can use a bashism as a fallback.
22187 if test "x$ac_cr" = x; then
22188 eval ac_cr=\$\'\\r\'
22190 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22191 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22192 ac_cs_awk_cr='\\r'
22193 else
22194 ac_cs_awk_cr=$ac_cr
22197 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22198 _ACEOF
22202 echo "cat >conf$$subs.awk <<_ACEOF" &&
22203 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22204 echo "_ACEOF"
22205 } >conf$$subs.sh ||
22206 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22207 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22208 ac_delim='%!_!# '
22209 for ac_last_try in false false false false false :; do
22210 . ./conf$$subs.sh ||
22211 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22213 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22214 if test $ac_delim_n = $ac_delim_num; then
22215 break
22216 elif $ac_last_try; then
22217 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22218 else
22219 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22221 done
22222 rm -f conf$$subs.sh
22224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22225 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22226 _ACEOF
22227 sed -n '
22229 s/^/S["/; s/!.*/"]=/
22232 s/^[^!]*!//
22233 :repl
22234 t repl
22235 s/'"$ac_delim"'$//
22236 t delim
22239 s/\(.\{148\}\)..*/\1/
22240 t more1
22241 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22244 b repl
22245 :more1
22246 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22249 s/.\{148\}//
22250 t nl
22251 :delim
22253 s/\(.\{148\}\)..*/\1/
22254 t more2
22255 s/["\\]/\\&/g; s/^/"/; s/$/"/
22258 :more2
22259 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22262 s/.\{148\}//
22263 t delim
22264 ' <conf$$subs.awk | sed '
22265 /^[^""]/{
22267 s/\n//
22269 ' >>$CONFIG_STATUS || ac_write_fail=1
22270 rm -f conf$$subs.awk
22271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22272 _ACAWK
22273 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22274 for (key in S) S_is_set[key] = 1
22275 FS = "\a"
22279 line = $ 0
22280 nfields = split(line, field, "@")
22281 substed = 0
22282 len = length(field[1])
22283 for (i = 2; i < nfields; i++) {
22284 key = field[i]
22285 keylen = length(key)
22286 if (S_is_set[key]) {
22287 value = S[key]
22288 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22289 len += length(value) + length(field[++i])
22290 substed = 1
22291 } else
22292 len += 1 + keylen
22295 print line
22298 _ACAWK
22299 _ACEOF
22300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22301 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22302 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22303 else
22305 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22306 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22307 _ACEOF
22309 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22310 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22311 # trailing colons and then remove the whole line if VPATH becomes empty
22312 # (actually we leave an empty line to preserve line numbers).
22313 if test "x$srcdir" = x.; then
22314 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22316 s///
22317 s/^/:/
22318 s/[ ]*$/:/
22319 s/:\$(srcdir):/:/g
22320 s/:\${srcdir}:/:/g
22321 s/:@srcdir@:/:/g
22322 s/^:*//
22323 s/:*$//
22325 s/\(=[ ]*\).*/\1/
22327 s/\n//
22328 s/^[^=]*=[ ]*$//
22332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22333 fi # test -n "$CONFIG_FILES"
22335 # Set up the scripts for CONFIG_HEADERS section.
22336 # No need to generate them if there are no CONFIG_HEADERS.
22337 # This happens for instance with `./config.status Makefile'.
22338 if test -n "$CONFIG_HEADERS"; then
22339 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22340 BEGIN {
22341 _ACEOF
22343 # Transform confdefs.h into an awk script `defines.awk', embedded as
22344 # here-document in config.status, that substitutes the proper values into
22345 # config.h.in to produce config.h.
22347 # Create a delimiter string that does not exist in confdefs.h, to ease
22348 # handling of long lines.
22349 ac_delim='%!_!# '
22350 for ac_last_try in false false :; do
22351 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22352 if test -z "$ac_tt"; then
22353 break
22354 elif $ac_last_try; then
22355 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22356 else
22357 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22359 done
22361 # For the awk script, D is an array of macro values keyed by name,
22362 # likewise P contains macro parameters if any. Preserve backslash
22363 # newline sequences.
22365 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22366 sed -n '
22367 s/.\{148\}/&'"$ac_delim"'/g
22368 t rset
22369 :rset
22370 s/^[ ]*#[ ]*define[ ][ ]*/ /
22371 t def
22373 :def
22374 s/\\$//
22375 t bsnl
22376 s/["\\]/\\&/g
22377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22378 D["\1"]=" \3"/p
22379 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22381 :bsnl
22382 s/["\\]/\\&/g
22383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22384 D["\1"]=" \3\\\\\\n"\\/p
22385 t cont
22386 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22387 t cont
22389 :cont
22391 s/.\{148\}/&'"$ac_delim"'/g
22392 t clear
22393 :clear
22394 s/\\$//
22395 t bsnlc
22396 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22398 :bsnlc
22399 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22400 b cont
22401 ' <confdefs.h | sed '
22402 s/'"$ac_delim"'/"\\\
22403 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22406 for (key in D) D_is_set[key] = 1
22407 FS = "\a"
22409 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22410 line = \$ 0
22411 split(line, arg, " ")
22412 if (arg[1] == "#") {
22413 defundef = arg[2]
22414 mac1 = arg[3]
22415 } else {
22416 defundef = substr(arg[1], 2)
22417 mac1 = arg[2]
22419 split(mac1, mac2, "(") #)
22420 macro = mac2[1]
22421 prefix = substr(line, 1, index(line, defundef) - 1)
22422 if (D_is_set[macro]) {
22423 # Preserve the white space surrounding the "#".
22424 print prefix "define", macro P[macro] D[macro]
22425 next
22426 } else {
22427 # Replace #undef with comments. This is necessary, for example,
22428 # in the case of _POSIX_SOURCE, which is predefined and required
22429 # on some systems where configure will not decide to define it.
22430 if (defundef == "undef") {
22431 print "/*", prefix defundef, macro, "*/"
22432 next
22436 { print }
22437 _ACAWK
22438 _ACEOF
22439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22440 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22441 fi # test -n "$CONFIG_HEADERS"
22444 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22445 shift
22446 for ac_tag
22448 case $ac_tag in
22449 :[FHLC]) ac_mode=$ac_tag; continue;;
22450 esac
22451 case $ac_mode$ac_tag in
22452 :[FHL]*:*);;
22453 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22454 :[FH]-) ac_tag=-:-;;
22455 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22456 esac
22457 ac_save_IFS=$IFS
22458 IFS=:
22459 set x $ac_tag
22460 IFS=$ac_save_IFS
22461 shift
22462 ac_file=$1
22463 shift
22465 case $ac_mode in
22466 :L) ac_source=$1;;
22467 :[FH])
22468 ac_file_inputs=
22469 for ac_f
22471 case $ac_f in
22472 -) ac_f="$ac_tmp/stdin";;
22473 *) # Look for the file first in the build tree, then in the source tree
22474 # (if the path is not absolute). The absolute path cannot be DOS-style,
22475 # because $ac_f cannot contain `:'.
22476 test -f "$ac_f" ||
22477 case $ac_f in
22478 [\\/$]*) false;;
22479 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22480 esac ||
22481 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22482 esac
22483 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22484 as_fn_append ac_file_inputs " '$ac_f'"
22485 done
22487 # Let's still pretend it is `configure' which instantiates (i.e., don't
22488 # use $as_me), people would be surprised to read:
22489 # /* config.h. Generated by config.status. */
22490 configure_input='Generated from '`
22491 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22492 `' by configure.'
22493 if test x"$ac_file" != x-; then
22494 configure_input="$ac_file. $configure_input"
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22496 $as_echo "$as_me: creating $ac_file" >&6;}
22498 # Neutralize special characters interpreted by sed in replacement strings.
22499 case $configure_input in #(
22500 *\&* | *\|* | *\\* )
22501 ac_sed_conf_input=`$as_echo "$configure_input" |
22502 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22503 *) ac_sed_conf_input=$configure_input;;
22504 esac
22506 case $ac_tag in
22507 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22509 esac
22511 esac
22513 ac_dir=`$as_dirname -- "$ac_file" ||
22514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22515 X"$ac_file" : 'X\(//\)[^/]' \| \
22516 X"$ac_file" : 'X\(//\)$' \| \
22517 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22518 $as_echo X"$ac_file" |
22519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22520 s//\1/
22523 /^X\(\/\/\)[^/].*/{
22524 s//\1/
22527 /^X\(\/\/\)$/{
22528 s//\1/
22531 /^X\(\/\).*/{
22532 s//\1/
22535 s/.*/./; q'`
22536 as_dir="$ac_dir"; as_fn_mkdir_p
22537 ac_builddir=.
22539 case "$ac_dir" in
22540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22543 # A ".." for each directory in $ac_dir_suffix.
22544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22545 case $ac_top_builddir_sub in
22546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22548 esac ;;
22549 esac
22550 ac_abs_top_builddir=$ac_pwd
22551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22552 # for backward compatibility:
22553 ac_top_builddir=$ac_top_build_prefix
22555 case $srcdir in
22556 .) # We are building in place.
22557 ac_srcdir=.
22558 ac_top_srcdir=$ac_top_builddir_sub
22559 ac_abs_top_srcdir=$ac_pwd ;;
22560 [\\/]* | ?:[\\/]* ) # Absolute name.
22561 ac_srcdir=$srcdir$ac_dir_suffix;
22562 ac_top_srcdir=$srcdir
22563 ac_abs_top_srcdir=$srcdir ;;
22564 *) # Relative name.
22565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22566 ac_top_srcdir=$ac_top_build_prefix$srcdir
22567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22568 esac
22569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22572 case $ac_mode in
22575 # CONFIG_FILE
22578 _ACEOF
22580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22581 # If the template does not know about datarootdir, expand it.
22582 # FIXME: This hack should be removed a few years after 2.60.
22583 ac_datarootdir_hack=; ac_datarootdir_seen=
22584 ac_sed_dataroot='
22585 /datarootdir/ {
22589 /@datadir@/p
22590 /@docdir@/p
22591 /@infodir@/p
22592 /@localedir@/p
22593 /@mandir@/p'
22594 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22595 *datarootdir*) ac_datarootdir_seen=yes;;
22596 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22598 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22599 _ACEOF
22600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22601 ac_datarootdir_hack='
22602 s&@datadir@&$datadir&g
22603 s&@docdir@&$docdir&g
22604 s&@infodir@&$infodir&g
22605 s&@localedir@&$localedir&g
22606 s&@mandir@&$mandir&g
22607 s&\\\${datarootdir}&$datarootdir&g' ;;
22608 esac
22609 _ACEOF
22611 # Neutralize VPATH when `$srcdir' = `.'.
22612 # Shell code in configure.ac might set extrasub.
22613 # FIXME: do we really want to maintain this feature?
22614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22615 ac_sed_extra="$ac_vpsub
22616 $extrasub
22617 _ACEOF
22618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22621 s|@configure_input@|$ac_sed_conf_input|;t t
22622 s&@top_builddir@&$ac_top_builddir_sub&;t t
22623 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22624 s&@srcdir@&$ac_srcdir&;t t
22625 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22626 s&@top_srcdir@&$ac_top_srcdir&;t t
22627 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22628 s&@builddir@&$ac_builddir&;t t
22629 s&@abs_builddir@&$ac_abs_builddir&;t t
22630 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22631 $ac_datarootdir_hack
22633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22634 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22637 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22638 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22639 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22641 which seems to be undefined. Please make sure it is defined" >&5
22642 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22643 which seems to be undefined. Please make sure it is defined" >&2;}
22645 rm -f "$ac_tmp/stdin"
22646 case $ac_file in
22647 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22648 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22649 esac \
22650 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22654 # CONFIG_HEADER
22656 if test x"$ac_file" != x-; then
22658 $as_echo "/* $configure_input */" \
22659 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22660 } >"$ac_tmp/config.h" \
22661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22662 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22664 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22665 else
22666 rm -f "$ac_file"
22667 mv "$ac_tmp/config.h" "$ac_file" \
22668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22670 else
22671 $as_echo "/* $configure_input */" \
22672 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22673 || as_fn_error $? "could not create -" "$LINENO" 5
22678 # CONFIG_LINK
22681 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22683 else
22684 # Prefer the file from the source tree if names are identical.
22685 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22686 ac_source=$srcdir/$ac_source
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22690 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22692 if test ! -r "$ac_source"; then
22693 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22695 rm -f "$ac_file"
22697 # Try a relative symlink, then a hard link, then a copy.
22698 case $ac_source in
22699 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22700 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22701 esac
22702 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22703 ln "$ac_source" "$ac_file" 2>/dev/null ||
22704 cp -p "$ac_source" "$ac_file" ||
22705 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22708 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22709 $as_echo "$as_me: executing $ac_file commands" >&6;}
22711 esac
22714 case $ac_file$ac_mode in
22715 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22716 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22717 "Makefile":C) wine_fn_output_makefile Makefile ;;
22719 esac
22720 done # for ac_tag
22723 as_fn_exit 0
22724 _ACEOF
22725 ac_clean_files=$ac_clean_files_save
22727 test $ac_write_fail = 0 ||
22728 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22731 # configure is writing to config.log, and then calls config.status.
22732 # config.status does its own redirection, appending to config.log.
22733 # Unfortunately, on DOS this fails, as config.log is still kept open
22734 # by configure, so config.status won't be able to write to it; its
22735 # output is simply discarded. So we exec the FD to /dev/null,
22736 # effectively closing config.log, so it can be properly (re)opened and
22737 # appended to by config.status. When coming back to configure, we
22738 # need to make the FD available again.
22739 if test "$no_create" != yes; then
22740 ac_cs_success=:
22741 ac_config_status_args=
22742 test "$silent" = yes &&
22743 ac_config_status_args="$ac_config_status_args --quiet"
22744 exec 5>/dev/null
22745 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22746 exec 5>>config.log
22747 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22748 # would make configure fail if this is the last instruction.
22749 $ac_cs_success || as_fn_exit 1
22751 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22753 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22757 if test "$no_create" = "yes"
22758 then
22759 exit 0
22762 ac_save_IFS="$IFS"
22763 if test "x$wine_notices" != x; then
22764 echo >&6
22765 IFS="|"
22766 for msg in $wine_notices; do
22767 IFS="$ac_save_IFS"
22768 if ${msg:+false} :; then :
22770 else
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22772 $as_echo "$as_me: $msg" >&6;}
22774 done
22776 IFS="|"
22777 for msg in $wine_warnings; do
22778 IFS="$ac_save_IFS"
22779 if ${msg:+false} :; then :
22781 else
22782 echo >&2
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22784 $as_echo "$as_me: WARNING: $msg" >&2;}
22786 done
22787 IFS="$ac_save_IFS"
22789 $as_echo "
22790 $as_me: Finished. Do '${ac_make}' to compile Wine.
22791 " >&6