winebus.sys: Fix reporting axis values for joysticks.
[wine.git] / configure
blobd536aa28b98af2e5a9fd1c9c5aec84d1a87659ae
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.3.
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.3'
584 PACKAGE_STRING='Wine 5.3'
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 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_l1_1_0
947 enable_api_ms_win_core_file_l1_2_0
948 enable_api_ms_win_core_file_l1_2_1
949 enable_api_ms_win_core_file_l1_2_2
950 enable_api_ms_win_core_file_l2_1_0
951 enable_api_ms_win_core_file_l2_1_1
952 enable_api_ms_win_core_file_l2_1_2
953 enable_api_ms_win_core_handle_l1_1_0
954 enable_api_ms_win_core_heap_l1_1_0
955 enable_api_ms_win_core_heap_l1_2_0
956 enable_api_ms_win_core_heap_l2_1_0
957 enable_api_ms_win_core_heap_obsolete_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_2_0
960 enable_api_ms_win_core_io_l1_1_0
961 enable_api_ms_win_core_io_l1_1_1
962 enable_api_ms_win_core_job_l1_1_0
963 enable_api_ms_win_core_job_l2_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_1
966 enable_api_ms_win_core_kernel32_private_l1_1_1
967 enable_api_ms_win_core_largeinteger_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_1
970 enable_api_ms_win_core_libraryloader_l1_2_0
971 enable_api_ms_win_core_libraryloader_l1_2_1
972 enable_api_ms_win_core_libraryloader_l1_2_2
973 enable_api_ms_win_core_localization_l1_1_0
974 enable_api_ms_win_core_localization_l1_2_0
975 enable_api_ms_win_core_localization_l1_2_1
976 enable_api_ms_win_core_localization_l2_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_2_0
979 enable_api_ms_win_core_localization_obsolete_l1_3_0
980 enable_api_ms_win_core_localization_private_l1_1_0
981 enable_api_ms_win_core_localregistry_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_1
984 enable_api_ms_win_core_memory_l1_1_2
985 enable_api_ms_win_core_misc_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_2_0
988 enable_api_ms_win_core_namespace_l1_1_0
989 enable_api_ms_win_core_normalization_l1_1_0
990 enable_api_ms_win_core_path_l1_1_0
991 enable_api_ms_win_core_privateprofile_l1_1_1
992 enable_api_ms_win_core_processenvironment_l1_1_0
993 enable_api_ms_win_core_processenvironment_l1_2_0
994 enable_api_ms_win_core_processthreads_l1_1_0
995 enable_api_ms_win_core_processthreads_l1_1_1
996 enable_api_ms_win_core_processthreads_l1_1_2
997 enable_api_ms_win_core_processthreads_l1_1_3
998 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
999 enable_api_ms_win_core_profile_l1_1_0
1000 enable_api_ms_win_core_psapi_ansi_l1_1_0
1001 enable_api_ms_win_core_psapi_l1_1_0
1002 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_quirks_l1_1_0
1004 enable_api_ms_win_core_realtime_l1_1_0
1005 enable_api_ms_win_core_registry_l1_1_0
1006 enable_api_ms_win_core_registry_l2_1_0
1007 enable_api_ms_win_core_registryuserspecific_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_1_0
1009 enable_api_ms_win_core_rtlsupport_l1_2_0
1010 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1012 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1013 enable_api_ms_win_core_shutdown_l1_1_0
1014 enable_api_ms_win_core_sidebyside_l1_1_0
1015 enable_api_ms_win_core_string_l1_1_0
1016 enable_api_ms_win_core_string_l2_1_0
1017 enable_api_ms_win_core_string_obsolete_l1_1_0
1018 enable_api_ms_win_core_stringansi_l1_1_0
1019 enable_api_ms_win_core_stringloader_l1_1_1
1020 enable_api_ms_win_core_synch_ansi_l1_1_0
1021 enable_api_ms_win_core_synch_l1_1_0
1022 enable_api_ms_win_core_synch_l1_2_0
1023 enable_api_ms_win_core_synch_l1_2_1
1024 enable_api_ms_win_core_sysinfo_l1_1_0
1025 enable_api_ms_win_core_sysinfo_l1_2_0
1026 enable_api_ms_win_core_sysinfo_l1_2_1
1027 enable_api_ms_win_core_threadpool_l1_1_0
1028 enable_api_ms_win_core_threadpool_l1_2_0
1029 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1030 enable_api_ms_win_core_threadpool_private_l1_1_0
1031 enable_api_ms_win_core_timezone_l1_1_0
1032 enable_api_ms_win_core_toolhelp_l1_1_0
1033 enable_api_ms_win_core_url_l1_1_0
1034 enable_api_ms_win_core_util_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_0
1036 enable_api_ms_win_core_version_l1_1_1
1037 enable_api_ms_win_core_version_private_l1_1_0
1038 enable_api_ms_win_core_versionansi_l1_1_0
1039 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_0
1041 enable_api_ms_win_core_winrt_error_l1_1_1
1042 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1043 enable_api_ms_win_core_winrt_l1_1_0
1044 enable_api_ms_win_core_winrt_registration_l1_1_0
1045 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_0
1047 enable_api_ms_win_core_winrt_string_l1_1_1
1048 enable_api_ms_win_core_wow64_l1_1_0
1049 enable_api_ms_win_core_wow64_l1_1_1
1050 enable_api_ms_win_core_xstate_l1_1_0
1051 enable_api_ms_win_core_xstate_l2_1_0
1052 enable_api_ms_win_crt_conio_l1_1_0
1053 enable_api_ms_win_crt_convert_l1_1_0
1054 enable_api_ms_win_crt_environment_l1_1_0
1055 enable_api_ms_win_crt_filesystem_l1_1_0
1056 enable_api_ms_win_crt_heap_l1_1_0
1057 enable_api_ms_win_crt_locale_l1_1_0
1058 enable_api_ms_win_crt_math_l1_1_0
1059 enable_api_ms_win_crt_multibyte_l1_1_0
1060 enable_api_ms_win_crt_private_l1_1_0
1061 enable_api_ms_win_crt_process_l1_1_0
1062 enable_api_ms_win_crt_runtime_l1_1_0
1063 enable_api_ms_win_crt_stdio_l1_1_0
1064 enable_api_ms_win_crt_string_l1_1_0
1065 enable_api_ms_win_crt_time_l1_1_0
1066 enable_api_ms_win_crt_utility_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_0
1068 enable_api_ms_win_devices_config_l1_1_1
1069 enable_api_ms_win_devices_query_l1_1_1
1070 enable_api_ms_win_downlevel_advapi32_l1_1_0
1071 enable_api_ms_win_downlevel_advapi32_l2_1_0
1072 enable_api_ms_win_downlevel_normaliz_l1_1_0
1073 enable_api_ms_win_downlevel_ole32_l1_1_0
1074 enable_api_ms_win_downlevel_shell32_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1076 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1077 enable_api_ms_win_downlevel_user32_l1_1_0
1078 enable_api_ms_win_downlevel_version_l1_1_0
1079 enable_api_ms_win_dx_d3dkmt_l1_1_0
1080 enable_api_ms_win_eventing_classicprovider_l1_1_0
1081 enable_api_ms_win_eventing_consumer_l1_1_0
1082 enable_api_ms_win_eventing_controller_l1_1_0
1083 enable_api_ms_win_eventing_legacy_l1_1_0
1084 enable_api_ms_win_eventing_provider_l1_1_0
1085 enable_api_ms_win_eventlog_legacy_l1_1_0
1086 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1087 enable_api_ms_win_mm_joystick_l1_1_0
1088 enable_api_ms_win_mm_misc_l1_1_1
1089 enable_api_ms_win_mm_mme_l1_1_0
1090 enable_api_ms_win_mm_time_l1_1_0
1091 enable_api_ms_win_ntuser_dc_access_l1_1_0
1092 enable_api_ms_win_ntuser_rectangle_l1_1_0
1093 enable_api_ms_win_ntuser_sysparams_l1_1_0
1094 enable_api_ms_win_perf_legacy_l1_1_0
1095 enable_api_ms_win_power_base_l1_1_0
1096 enable_api_ms_win_power_setting_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1100 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1104 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1105 enable_api_ms_win_security_audit_l1_1_1
1106 enable_api_ms_win_security_base_l1_1_0
1107 enable_api_ms_win_security_base_l1_2_0
1108 enable_api_ms_win_security_base_private_l1_1_1
1109 enable_api_ms_win_security_credentials_l1_1_0
1110 enable_api_ms_win_security_cryptoapi_l1_1_0
1111 enable_api_ms_win_security_grouppolicy_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_0
1113 enable_api_ms_win_security_lsalookup_l1_1_1
1114 enable_api_ms_win_security_lsalookup_l2_1_0
1115 enable_api_ms_win_security_lsalookup_l2_1_1
1116 enable_api_ms_win_security_lsapolicy_l1_1_0
1117 enable_api_ms_win_security_provider_l1_1_0
1118 enable_api_ms_win_security_sddl_l1_1_0
1119 enable_api_ms_win_security_systemfunctions_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_0
1121 enable_api_ms_win_service_core_l1_1_1
1122 enable_api_ms_win_service_management_l1_1_0
1123 enable_api_ms_win_service_management_l2_1_0
1124 enable_api_ms_win_service_private_l1_1_1
1125 enable_api_ms_win_service_winsvc_l1_1_0
1126 enable_api_ms_win_service_winsvc_l1_2_0
1127 enable_api_ms_win_shcore_obsolete_l1_1_0
1128 enable_api_ms_win_shcore_scaling_l1_1_1
1129 enable_api_ms_win_shcore_stream_l1_1_0
1130 enable_api_ms_win_shcore_thread_l1_1_0
1131 enable_api_ms_win_shell_shellcom_l1_1_0
1132 enable_api_ms_win_shell_shellfolders_l1_1_0
1133 enable_apphelp
1134 enable_appwiz_cpl
1135 enable_atl
1136 enable_atl100
1137 enable_atl110
1138 enable_atl80
1139 enable_atl90
1140 enable_atlthunk
1141 enable_atmlib
1142 enable_authz
1143 enable_avicap32
1144 enable_avifil32
1145 enable_avrt
1146 enable_bcrypt
1147 enable_bluetoothapis
1148 enable_browseui
1149 enable_bthprops_cpl
1150 enable_cabinet
1151 enable_capi2032
1152 enable_cards
1153 enable_cdosys
1154 enable_cfgmgr32
1155 enable_clusapi
1156 enable_combase
1157 enable_comcat
1158 enable_comctl32
1159 enable_comdlg32
1160 enable_compstui
1161 enable_comsvcs
1162 enable_concrt140
1163 enable_connect
1164 enable_credui
1165 enable_crtdll
1166 enable_crypt32
1167 enable_cryptdlg
1168 enable_cryptdll
1169 enable_cryptext
1170 enable_cryptnet
1171 enable_cryptui
1172 enable_ctapi32
1173 enable_ctl3d32
1174 enable_d2d1
1175 enable_d3d10
1176 enable_d3d10_1
1177 enable_d3d10core
1178 enable_d3d11
1179 enable_d3d12
1180 enable_d3d8
1181 enable_d3d9
1182 enable_d3dcompiler_33
1183 enable_d3dcompiler_34
1184 enable_d3dcompiler_35
1185 enable_d3dcompiler_36
1186 enable_d3dcompiler_37
1187 enable_d3dcompiler_38
1188 enable_d3dcompiler_39
1189 enable_d3dcompiler_40
1190 enable_d3dcompiler_41
1191 enable_d3dcompiler_42
1192 enable_d3dcompiler_43
1193 enable_d3dcompiler_46
1194 enable_d3dcompiler_47
1195 enable_d3dim
1196 enable_d3drm
1197 enable_d3dx10_33
1198 enable_d3dx10_34
1199 enable_d3dx10_35
1200 enable_d3dx10_36
1201 enable_d3dx10_37
1202 enable_d3dx10_38
1203 enable_d3dx10_39
1204 enable_d3dx10_40
1205 enable_d3dx10_41
1206 enable_d3dx10_42
1207 enable_d3dx10_43
1208 enable_d3dx11_42
1209 enable_d3dx11_43
1210 enable_d3dx9_24
1211 enable_d3dx9_25
1212 enable_d3dx9_26
1213 enable_d3dx9_27
1214 enable_d3dx9_28
1215 enable_d3dx9_29
1216 enable_d3dx9_30
1217 enable_d3dx9_31
1218 enable_d3dx9_32
1219 enable_d3dx9_33
1220 enable_d3dx9_34
1221 enable_d3dx9_35
1222 enable_d3dx9_36
1223 enable_d3dx9_37
1224 enable_d3dx9_38
1225 enable_d3dx9_39
1226 enable_d3dx9_40
1227 enable_d3dx9_41
1228 enable_d3dx9_42
1229 enable_d3dx9_43
1230 enable_d3dxof
1231 enable_davclnt
1232 enable_dbgeng
1233 enable_dbghelp
1234 enable_dciman32
1235 enable_ddraw
1236 enable_ddrawex
1237 enable_devenum
1238 enable_dhcpcsvc
1239 enable_dhtmled_ocx
1240 enable_difxapi
1241 enable_dinput
1242 enable_dinput8
1243 enable_dispex
1244 enable_dmband
1245 enable_dmcompos
1246 enable_dmime
1247 enable_dmloader
1248 enable_dmoguids
1249 enable_dmscript
1250 enable_dmstyle
1251 enable_dmsynth
1252 enable_dmusic
1253 enable_dmusic32
1254 enable_dnsapi
1255 enable_dplay
1256 enable_dplayx
1257 enable_dpnaddr
1258 enable_dpnet
1259 enable_dpnhpast
1260 enable_dpnlobby
1261 enable_dpvoice
1262 enable_dpwsockx
1263 enable_drmclien
1264 enable_dsdmo
1265 enable_dsound
1266 enable_dsquery
1267 enable_dssenh
1268 enable_dswave
1269 enable_dwmapi
1270 enable_dwrite
1271 enable_dx8vb
1272 enable_dxdiagn
1273 enable_dxerr8
1274 enable_dxerr9
1275 enable_dxgi
1276 enable_dxguid
1277 enable_dxva2
1278 enable_esent
1279 enable_evr
1280 enable_explorerframe
1281 enable_ext_ms_win_authz_context_l1_1_0
1282 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1283 enable_ext_ms_win_dwmapi_ext_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_0
1285 enable_ext_ms_win_gdi_dc_create_l1_1_1
1286 enable_ext_ms_win_gdi_dc_l1_2_0
1287 enable_ext_ms_win_gdi_devcaps_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_0
1289 enable_ext_ms_win_gdi_draw_l1_1_1
1290 enable_ext_ms_win_gdi_font_l1_1_0
1291 enable_ext_ms_win_gdi_font_l1_1_1
1292 enable_ext_ms_win_gdi_render_l1_1_0
1293 enable_ext_ms_win_kernel32_package_current_l1_1_0
1294 enable_ext_ms_win_kernel32_package_l1_1_1
1295 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1296 enable_ext_ms_win_ntuser_draw_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_1_0
1298 enable_ext_ms_win_ntuser_gui_l1_3_0
1299 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1300 enable_ext_ms_win_ntuser_message_l1_1_0
1301 enable_ext_ms_win_ntuser_message_l1_1_1
1302 enable_ext_ms_win_ntuser_misc_l1_1_0
1303 enable_ext_ms_win_ntuser_misc_l1_2_0
1304 enable_ext_ms_win_ntuser_misc_l1_5_1
1305 enable_ext_ms_win_ntuser_mouse_l1_1_0
1306 enable_ext_ms_win_ntuser_private_l1_1_1
1307 enable_ext_ms_win_ntuser_private_l1_3_1
1308 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_0
1311 enable_ext_ms_win_ntuser_window_l1_1_1
1312 enable_ext_ms_win_ntuser_window_l1_1_4
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1314 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1315 enable_ext_ms_win_oleacc_l1_1_0
1316 enable_ext_ms_win_ras_rasapi32_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1324 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1327 enable_ext_ms_win_security_credui_l1_1_0
1328 enable_ext_ms_win_security_cryptui_l1_1_0
1329 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1330 enable_ext_ms_win_shell_comdlg32_l1_1_0
1331 enable_ext_ms_win_shell_shell32_l1_2_0
1332 enable_ext_ms_win_uxtheme_themes_l1_1_0
1333 enable_faultrep
1334 enable_feclient
1335 enable_fltlib
1336 enable_fltmgr_sys
1337 enable_fntcache
1338 enable_fontsub
1339 enable_fusion
1340 enable_fwpuclnt
1341 enable_gameux
1342 enable_gdi32
1343 enable_gdiplus
1344 enable_glu32
1345 enable_gphoto2_ds
1346 enable_gpkcsp
1347 enable_hal
1348 enable_hhctrl_ocx
1349 enable_hid
1350 enable_hidclass_sys
1351 enable_hlink
1352 enable_hnetcfg
1353 enable_http_sys
1354 enable_httpapi
1355 enable_iccvid
1356 enable_icmp
1357 enable_ieframe
1358 enable_ieproxy
1359 enable_imaadp32_acm
1360 enable_imagehlp
1361 enable_imm32
1362 enable_inetcomm
1363 enable_inetcpl_cpl
1364 enable_inetmib1
1365 enable_infosoft
1366 enable_initpki
1367 enable_inkobj
1368 enable_inseng
1369 enable_iphlpapi
1370 enable_iprop
1371 enable_irprops_cpl
1372 enable_itircl
1373 enable_itss
1374 enable_joy_cpl
1375 enable_jscript
1376 enable_jsproxy
1377 enable_kerberos
1378 enable_kernel32
1379 enable_kernelbase
1380 enable_ksecdd_sys
1381 enable_ksuser
1382 enable_ktmw32
1383 enable_l3codeca_acm
1384 enable_loadperf
1385 enable_localspl
1386 enable_localui
1387 enable_lz32
1388 enable_mapi32
1389 enable_mapistub
1390 enable_mciavi32
1391 enable_mcicda
1392 enable_mciqtz32
1393 enable_mciseq
1394 enable_mciwave
1395 enable_mf
1396 enable_mf3216
1397 enable_mferror
1398 enable_mfmediaengine
1399 enable_mfplat
1400 enable_mfplay
1401 enable_mfreadwrite
1402 enable_mfuuid
1403 enable_mgmtapi
1404 enable_midimap
1405 enable_mlang
1406 enable_mmcndmgr
1407 enable_mmdevapi
1408 enable_mountmgr_sys
1409 enable_mp3dmod
1410 enable_mpr
1411 enable_mprapi
1412 enable_msacm32_drv
1413 enable_msacm32
1414 enable_msado15
1415 enable_msadp32_acm
1416 enable_msasn1
1417 enable_mscat32
1418 enable_mscms
1419 enable_mscoree
1420 enable_mscorwks
1421 enable_msctf
1422 enable_msctfp
1423 enable_msdaps
1424 enable_msdelta
1425 enable_msdmo
1426 enable_msdrm
1427 enable_msftedit
1428 enable_msg711_acm
1429 enable_msgsm32_acm
1430 enable_mshtml_tlb
1431 enable_mshtml
1432 enable_msi
1433 enable_msident
1434 enable_msimg32
1435 enable_msimsg
1436 enable_msimtf
1437 enable_msisip
1438 enable_msisys_ocx
1439 enable_msls31
1440 enable_msnet32
1441 enable_mspatcha
1442 enable_msports
1443 enable_msrle32
1444 enable_msscript_ocx
1445 enable_mssign32
1446 enable_mssip32
1447 enable_mstask
1448 enable_msvcirt
1449 enable_msvcm80
1450 enable_msvcm90
1451 enable_msvcp100
1452 enable_msvcp110
1453 enable_msvcp120
1454 enable_msvcp120_app
1455 enable_msvcp140
1456 enable_msvcp60
1457 enable_msvcp70
1458 enable_msvcp71
1459 enable_msvcp80
1460 enable_msvcp90
1461 enable_msvcr100
1462 enable_msvcr110
1463 enable_msvcr120
1464 enable_msvcr120_app
1465 enable_msvcr70
1466 enable_msvcr71
1467 enable_msvcr80
1468 enable_msvcr90
1469 enable_msvcrt
1470 enable_msvcrt20
1471 enable_msvcrt40
1472 enable_msvcrtd
1473 enable_msvfw32
1474 enable_msvidc32
1475 enable_mswsock
1476 enable_msxml
1477 enable_msxml2
1478 enable_msxml3
1479 enable_msxml4
1480 enable_msxml6
1481 enable_mtxdm
1482 enable_ncrypt
1483 enable_nddeapi
1484 enable_ndis_sys
1485 enable_netapi32
1486 enable_netcfgx
1487 enable_netprofm
1488 enable_newdev
1489 enable_ninput
1490 enable_normaliz
1491 enable_npmshtml
1492 enable_npptools
1493 enable_ntdll
1494 enable_ntdsapi
1495 enable_ntoskrnl_exe
1496 enable_ntprint
1497 enable_objsel
1498 enable_odbc32
1499 enable_odbcbcp
1500 enable_odbccp32
1501 enable_odbccu32
1502 enable_ole32
1503 enable_oleacc
1504 enable_oleaut32
1505 enable_olecli32
1506 enable_oledb32
1507 enable_oledlg
1508 enable_olepro32
1509 enable_olesvr32
1510 enable_olethk32
1511 enable_opcservices
1512 enable_openal32
1513 enable_opencl
1514 enable_opengl32
1515 enable_packager
1516 enable_pdh
1517 enable_photometadatahandler
1518 enable_pidgen
1519 enable_powrprof
1520 enable_printui
1521 enable_prntvpt
1522 enable_propsys
1523 enable_psapi
1524 enable_pstorec
1525 enable_qasf
1526 enable_qcap
1527 enable_qedit
1528 enable_qmgr
1529 enable_qmgrprxy
1530 enable_quartz
1531 enable_query
1532 enable_qwave
1533 enable_rasapi32
1534 enable_rasdlg
1535 enable_regapi
1536 enable_resutils
1537 enable_riched20
1538 enable_riched32
1539 enable_rpcrt4
1540 enable_rsabase
1541 enable_rsaenh
1542 enable_rstrtmgr
1543 enable_rtutils
1544 enable_rtworkq
1545 enable_samlib
1546 enable_sane_ds
1547 enable_sapi
1548 enable_sas
1549 enable_scarddlg
1550 enable_sccbase
1551 enable_schannel
1552 enable_schedsvc
1553 enable_scrobj
1554 enable_scrrun
1555 enable_scsiport_sys
1556 enable_secur32
1557 enable_security
1558 enable_sensapi
1559 enable_serialui
1560 enable_setupapi
1561 enable_sfc
1562 enable_sfc_os
1563 enable_shcore
1564 enable_shdoclc
1565 enable_shdocvw
1566 enable_shell32
1567 enable_shfolder
1568 enable_shlwapi
1569 enable_slbcsp
1570 enable_slc
1571 enable_snmpapi
1572 enable_softpub
1573 enable_spoolss
1574 enable_srclient
1575 enable_sspicli
1576 enable_stdole2_tlb
1577 enable_stdole32_tlb
1578 enable_sti
1579 enable_strmbase
1580 enable_strmdll
1581 enable_strmiids
1582 enable_svrapi
1583 enable_sxs
1584 enable_t2embed
1585 enable_tapi32
1586 enable_taskschd
1587 enable_tdh
1588 enable_tdi_sys
1589 enable_traffic
1590 enable_twain_32
1591 enable_tzres
1592 enable_ucrtbase
1593 enable_uianimation
1594 enable_uiautomationcore
1595 enable_uiribbon
1596 enable_unicows
1597 enable_updspapi
1598 enable_url
1599 enable_urlmon
1600 enable_usbd_sys
1601 enable_user32
1602 enable_userenv
1603 enable_usp10
1604 enable_utildll
1605 enable_uuid
1606 enable_uxtheme
1607 enable_vbscript
1608 enable_vcomp
1609 enable_vcomp100
1610 enable_vcomp110
1611 enable_vcomp120
1612 enable_vcomp140
1613 enable_vcomp90
1614 enable_vcruntime140
1615 enable_vcruntime140_1
1616 enable_vdmdbg
1617 enable_version
1618 enable_vga
1619 enable_virtdisk
1620 enable_vssapi
1621 enable_vulkan_1
1622 enable_wbemdisp
1623 enable_wbemprox
1624 enable_wbemuuid
1625 enable_wdscore
1626 enable_webservices
1627 enable_wer
1628 enable_wevtapi
1629 enable_wiaservc
1630 enable_wimgapi
1631 enable_windowscodecs
1632 enable_windowscodecsext
1633 enable_winealsa_drv
1634 enable_wineandroid_drv
1635 enable_winebus_sys
1636 enable_winecoreaudio_drv
1637 enable_winecrt0
1638 enable_wined3d
1639 enable_winegstreamer
1640 enable_winehid_sys
1641 enable_winejoystick_drv
1642 enable_winemac_drv
1643 enable_winemapi
1644 enable_wineoss_drv
1645 enable_wineps_drv
1646 enable_winepulse_drv
1647 enable_wineqtdecoder
1648 enable_winevulkan
1649 enable_winex11_drv
1650 enable_wing32
1651 enable_winhttp
1652 enable_wininet
1653 enable_winmm
1654 enable_winnls32
1655 enable_winscard
1656 enable_winspool_drv
1657 enable_winsta
1658 enable_wintab32
1659 enable_wintrust
1660 enable_winusb
1661 enable_wlanapi
1662 enable_wlanui
1663 enable_wldap32
1664 enable_wmasf
1665 enable_wmcodecdspuuid
1666 enable_wmi
1667 enable_wmiutils
1668 enable_wmp
1669 enable_wmphoto
1670 enable_wmvcore
1671 enable_wnaspi32
1672 enable_wpc
1673 enable_wpcap
1674 enable_ws2_32
1675 enable_wsdapi
1676 enable_wshom_ocx
1677 enable_wsnmp32
1678 enable_wsock32
1679 enable_wtsapi32
1680 enable_wuapi
1681 enable_wuaueng
1682 enable_x3daudio1_0
1683 enable_x3daudio1_1
1684 enable_x3daudio1_2
1685 enable_x3daudio1_3
1686 enable_x3daudio1_4
1687 enable_x3daudio1_5
1688 enable_x3daudio1_6
1689 enable_x3daudio1_7
1690 enable_xapofx1_1
1691 enable_xapofx1_2
1692 enable_xapofx1_3
1693 enable_xapofx1_4
1694 enable_xapofx1_5
1695 enable_xaudio2_0
1696 enable_xaudio2_1
1697 enable_xaudio2_2
1698 enable_xaudio2_3
1699 enable_xaudio2_4
1700 enable_xaudio2_5
1701 enable_xaudio2_6
1702 enable_xaudio2_7
1703 enable_xaudio2_8
1704 enable_xaudio2_9
1705 enable_xinput1_1
1706 enable_xinput1_2
1707 enable_xinput1_3
1708 enable_xinput1_4
1709 enable_xinput9_1_0
1710 enable_xmllite
1711 enable_xolehlp
1712 enable_xpsprint
1713 enable_xpssvcs
1714 enable_fonts
1715 enable_include
1716 enable_port
1717 enable_wine
1718 enable_wpp
1719 enable_loader
1720 enable_nls
1721 enable_po
1722 enable_arp
1723 enable_aspnet_regiis
1724 enable_attrib
1725 enable_cabarc
1726 enable_cacls
1727 enable_chcp_com
1728 enable_clock
1729 enable_cmd
1730 enable_conhost
1731 enable_control
1732 enable_cscript
1733 enable_dism
1734 enable_dpnsvr
1735 enable_dxdiag
1736 enable_eject
1737 enable_expand
1738 enable_explorer
1739 enable_extrac32
1740 enable_fc
1741 enable_find
1742 enable_findstr
1743 enable_fsutil
1744 enable_hh
1745 enable_hostname
1746 enable_icacls
1747 enable_icinfo
1748 enable_iexplore
1749 enable_ipconfig
1750 enable_lodctr
1751 enable_mofcomp
1752 enable_mshta
1753 enable_msidb
1754 enable_msiexec
1755 enable_msinfo32
1756 enable_net
1757 enable_netsh
1758 enable_netstat
1759 enable_ngen
1760 enable_notepad
1761 enable_oleview
1762 enable_ping
1763 enable_plugplay
1764 enable_powershell
1765 enable_presentationfontcache
1766 enable_progman
1767 enable_reg
1768 enable_regasm
1769 enable_regedit
1770 enable_regini
1771 enable_regsvcs
1772 enable_regsvr32
1773 enable_rpcss
1774 enable_rundll32
1775 enable_sc
1776 enable_schtasks
1777 enable_sdbinst
1778 enable_secedit
1779 enable_servicemodelreg
1780 enable_services
1781 enable_shutdown
1782 enable_spoolsv
1783 enable_start
1784 enable_subst
1785 enable_svchost
1786 enable_systeminfo
1787 enable_taskkill
1788 enable_tasklist
1789 enable_taskmgr
1790 enable_termsv
1791 enable_uninstaller
1792 enable_unlodctr
1793 enable_view
1794 enable_wevtutil
1795 enable_wineboot
1796 enable_winebrowser
1797 enable_winecfg
1798 enable_wineconsole
1799 enable_winedbg
1800 enable_winedevice
1801 enable_winefile
1802 enable_winemenubuilder
1803 enable_winemine
1804 enable_winemsibuilder
1805 enable_winepath
1806 enable_winetest
1807 enable_winhlp32
1808 enable_winmgmt
1809 enable_winver
1810 enable_wmic
1811 enable_wmplayer
1812 enable_wordpad
1813 enable_write
1814 enable_wscript
1815 enable_wuauserv
1816 enable_wusa
1817 enable_xcopy
1818 enable_server
1819 enable_tools
1820 enable_sfnt2fon
1821 enable_widl
1822 enable_winebuild
1823 enable_winedump
1824 enable_winegcc
1825 enable_winemaker
1826 enable_wmc
1827 enable_wrc
1829 ac_precious_vars='build_alias
1830 host_alias
1831 target_alias
1833 CFLAGS
1834 LDFLAGS
1835 LIBS
1836 CPPFLAGS
1838 CXXFLAGS
1841 OBJC
1842 OBJCFLAGS
1843 OBJCPP
1844 XMKMF
1845 XML2_CFLAGS
1846 XML2_LIBS
1847 XSLT_CFLAGS
1848 XSLT_LIBS
1849 INOTIFY_CFLAGS
1850 INOTIFY_LIBS
1851 DBUS_CFLAGS
1852 DBUS_LIBS
1853 HAL_CFLAGS
1854 HAL_LIBS
1855 GNUTLS_CFLAGS
1856 GNUTLS_LIBS
1857 SANE_CFLAGS
1858 SANE_LIBS
1859 GPHOTO2_CFLAGS
1860 GPHOTO2_LIBS
1861 GPHOTO2_PORT_CFLAGS
1862 GPHOTO2_PORT_LIBS
1863 LCMS2_CFLAGS
1864 LCMS2_LIBS
1865 FREETYPE_CFLAGS
1866 FREETYPE_LIBS
1867 Z_CFLAGS
1868 Z_LIBS
1869 PULSE_CFLAGS
1870 PULSE_LIBS
1871 GSTREAMER_CFLAGS
1872 GSTREAMER_LIBS
1873 UDEV_CFLAGS
1874 UDEV_LIBS
1875 UNWIND_CFLAGS
1876 UNWIND_LIBS
1877 SDL2_CFLAGS
1878 SDL2_LIBS
1879 FAUDIO_CFLAGS
1880 FAUDIO_LIBS
1881 CAPI20_CFLAGS
1882 CAPI20_LIBS
1883 CUPS_CFLAGS
1884 CUPS_LIBS
1885 FONTCONFIG_CFLAGS
1886 FONTCONFIG_LIBS
1887 KRB5_CFLAGS
1888 KRB5_LIBS
1889 GSSAPI_CFLAGS
1890 GSSAPI_LIBS
1891 JPEG_CFLAGS
1892 JPEG_LIBS
1893 PNG_CFLAGS
1894 PNG_LIBS
1895 TIFF_CFLAGS
1896 TIFF_LIBS
1897 MPG123_CFLAGS
1898 MPG123_LIBS
1899 NETAPI_CFLAGS
1900 NETAPI_LIBS
1901 VKD3D_CFLAGS
1902 VKD3D_LIBS
1903 LDAP_CFLAGS
1904 LDAP_LIBS'
1907 # Initialize some variables set by options.
1908 ac_init_help=
1909 ac_init_version=false
1910 ac_unrecognized_opts=
1911 ac_unrecognized_sep=
1912 # The variables have the same names as the options, with
1913 # dashes changed to underlines.
1914 cache_file=/dev/null
1915 exec_prefix=NONE
1916 no_create=
1917 no_recursion=
1918 prefix=NONE
1919 program_prefix=NONE
1920 program_suffix=NONE
1921 program_transform_name=s,x,x,
1922 silent=
1923 site=
1924 srcdir=
1925 verbose=
1926 x_includes=NONE
1927 x_libraries=NONE
1929 # Installation directory options.
1930 # These are left unexpanded so users can "make install exec_prefix=/foo"
1931 # and all the variables that are supposed to be based on exec_prefix
1932 # by default will actually change.
1933 # Use braces instead of parens because sh, perl, etc. also accept them.
1934 # (The list follows the same order as the GNU Coding Standards.)
1935 bindir='${exec_prefix}/bin'
1936 sbindir='${exec_prefix}/sbin'
1937 libexecdir='${exec_prefix}/libexec'
1938 datarootdir='${prefix}/share'
1939 datadir='${datarootdir}'
1940 sysconfdir='${prefix}/etc'
1941 sharedstatedir='${prefix}/com'
1942 localstatedir='${prefix}/var'
1943 runstatedir='${localstatedir}/run'
1944 includedir='${prefix}/include'
1945 oldincludedir='/usr/include'
1946 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1947 infodir='${datarootdir}/info'
1948 htmldir='${docdir}'
1949 dvidir='${docdir}'
1950 pdfdir='${docdir}'
1951 psdir='${docdir}'
1952 libdir='${exec_prefix}/lib'
1953 localedir='${datarootdir}/locale'
1954 mandir='${datarootdir}/man'
1956 ac_prev=
1957 ac_dashdash=
1958 for ac_option
1960 # If the previous option needs an argument, assign it.
1961 if test -n "$ac_prev"; then
1962 eval $ac_prev=\$ac_option
1963 ac_prev=
1964 continue
1967 case $ac_option in
1968 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1969 *=) ac_optarg= ;;
1970 *) ac_optarg=yes ;;
1971 esac
1973 # Accept the important Cygnus configure options, so we can diagnose typos.
1975 case $ac_dashdash$ac_option in
1977 ac_dashdash=yes ;;
1979 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1980 ac_prev=bindir ;;
1981 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1982 bindir=$ac_optarg ;;
1984 -build | --build | --buil | --bui | --bu)
1985 ac_prev=build_alias ;;
1986 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1987 build_alias=$ac_optarg ;;
1989 -cache-file | --cache-file | --cache-fil | --cache-fi \
1990 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1991 ac_prev=cache_file ;;
1992 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1993 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1994 cache_file=$ac_optarg ;;
1996 --config-cache | -C)
1997 cache_file=config.cache ;;
1999 -datadir | --datadir | --datadi | --datad)
2000 ac_prev=datadir ;;
2001 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2002 datadir=$ac_optarg ;;
2004 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2005 | --dataroo | --dataro | --datar)
2006 ac_prev=datarootdir ;;
2007 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2008 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2009 datarootdir=$ac_optarg ;;
2011 -disable-* | --disable-*)
2012 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2013 # Reject names that are not valid shell variable names.
2014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2015 as_fn_error $? "invalid feature name: $ac_useropt"
2016 ac_useropt_orig=$ac_useropt
2017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2018 case $ac_user_opts in
2020 "enable_$ac_useropt"
2021 "*) ;;
2022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2023 ac_unrecognized_sep=', ';;
2024 esac
2025 eval enable_$ac_useropt=no ;;
2027 -docdir | --docdir | --docdi | --doc | --do)
2028 ac_prev=docdir ;;
2029 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2030 docdir=$ac_optarg ;;
2032 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2033 ac_prev=dvidir ;;
2034 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2035 dvidir=$ac_optarg ;;
2037 -enable-* | --enable-*)
2038 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2039 # Reject names that are not valid shell variable names.
2040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2041 as_fn_error $? "invalid feature name: $ac_useropt"
2042 ac_useropt_orig=$ac_useropt
2043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2044 case $ac_user_opts in
2046 "enable_$ac_useropt"
2047 "*) ;;
2048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2049 ac_unrecognized_sep=', ';;
2050 esac
2051 eval enable_$ac_useropt=\$ac_optarg ;;
2053 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2054 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2055 | --exec | --exe | --ex)
2056 ac_prev=exec_prefix ;;
2057 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2058 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2059 | --exec=* | --exe=* | --ex=*)
2060 exec_prefix=$ac_optarg ;;
2062 -gas | --gas | --ga | --g)
2063 # Obsolete; use --with-gas.
2064 with_gas=yes ;;
2066 -help | --help | --hel | --he | -h)
2067 ac_init_help=long ;;
2068 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2069 ac_init_help=recursive ;;
2070 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2071 ac_init_help=short ;;
2073 -host | --host | --hos | --ho)
2074 ac_prev=host_alias ;;
2075 -host=* | --host=* | --hos=* | --ho=*)
2076 host_alias=$ac_optarg ;;
2078 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2079 ac_prev=htmldir ;;
2080 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2081 | --ht=*)
2082 htmldir=$ac_optarg ;;
2084 -includedir | --includedir | --includedi | --included | --include \
2085 | --includ | --inclu | --incl | --inc)
2086 ac_prev=includedir ;;
2087 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2088 | --includ=* | --inclu=* | --incl=* | --inc=*)
2089 includedir=$ac_optarg ;;
2091 -infodir | --infodir | --infodi | --infod | --info | --inf)
2092 ac_prev=infodir ;;
2093 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2094 infodir=$ac_optarg ;;
2096 -libdir | --libdir | --libdi | --libd)
2097 ac_prev=libdir ;;
2098 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2099 libdir=$ac_optarg ;;
2101 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2102 | --libexe | --libex | --libe)
2103 ac_prev=libexecdir ;;
2104 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2105 | --libexe=* | --libex=* | --libe=*)
2106 libexecdir=$ac_optarg ;;
2108 -localedir | --localedir | --localedi | --localed | --locale)
2109 ac_prev=localedir ;;
2110 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2111 localedir=$ac_optarg ;;
2113 -localstatedir | --localstatedir | --localstatedi | --localstated \
2114 | --localstate | --localstat | --localsta | --localst | --locals)
2115 ac_prev=localstatedir ;;
2116 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2117 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2118 localstatedir=$ac_optarg ;;
2120 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2121 ac_prev=mandir ;;
2122 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2123 mandir=$ac_optarg ;;
2125 -nfp | --nfp | --nf)
2126 # Obsolete; use --without-fp.
2127 with_fp=no ;;
2129 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2130 | --no-cr | --no-c | -n)
2131 no_create=yes ;;
2133 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2134 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2135 no_recursion=yes ;;
2137 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2138 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2139 | --oldin | --oldi | --old | --ol | --o)
2140 ac_prev=oldincludedir ;;
2141 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2142 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2143 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2144 oldincludedir=$ac_optarg ;;
2146 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2147 ac_prev=prefix ;;
2148 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2149 prefix=$ac_optarg ;;
2151 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2152 | --program-pre | --program-pr | --program-p)
2153 ac_prev=program_prefix ;;
2154 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2155 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2156 program_prefix=$ac_optarg ;;
2158 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2159 | --program-suf | --program-su | --program-s)
2160 ac_prev=program_suffix ;;
2161 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2162 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2163 program_suffix=$ac_optarg ;;
2165 -program-transform-name | --program-transform-name \
2166 | --program-transform-nam | --program-transform-na \
2167 | --program-transform-n | --program-transform- \
2168 | --program-transform | --program-transfor \
2169 | --program-transfo | --program-transf \
2170 | --program-trans | --program-tran \
2171 | --progr-tra | --program-tr | --program-t)
2172 ac_prev=program_transform_name ;;
2173 -program-transform-name=* | --program-transform-name=* \
2174 | --program-transform-nam=* | --program-transform-na=* \
2175 | --program-transform-n=* | --program-transform-=* \
2176 | --program-transform=* | --program-transfor=* \
2177 | --program-transfo=* | --program-transf=* \
2178 | --program-trans=* | --program-tran=* \
2179 | --progr-tra=* | --program-tr=* | --program-t=*)
2180 program_transform_name=$ac_optarg ;;
2182 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2183 ac_prev=pdfdir ;;
2184 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2185 pdfdir=$ac_optarg ;;
2187 -psdir | --psdir | --psdi | --psd | --ps)
2188 ac_prev=psdir ;;
2189 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2190 psdir=$ac_optarg ;;
2192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2193 | -silent | --silent | --silen | --sile | --sil)
2194 silent=yes ;;
2196 -runstatedir | --runstatedir | --runstatedi | --runstated \
2197 | --runstate | --runstat | --runsta | --runst | --runs \
2198 | --run | --ru | --r)
2199 ac_prev=runstatedir ;;
2200 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2201 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2202 | --run=* | --ru=* | --r=*)
2203 runstatedir=$ac_optarg ;;
2205 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2206 ac_prev=sbindir ;;
2207 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2208 | --sbi=* | --sb=*)
2209 sbindir=$ac_optarg ;;
2211 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2212 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2213 | --sharedst | --shareds | --shared | --share | --shar \
2214 | --sha | --sh)
2215 ac_prev=sharedstatedir ;;
2216 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2217 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2218 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2219 | --sha=* | --sh=*)
2220 sharedstatedir=$ac_optarg ;;
2222 -site | --site | --sit)
2223 ac_prev=site ;;
2224 -site=* | --site=* | --sit=*)
2225 site=$ac_optarg ;;
2227 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2228 ac_prev=srcdir ;;
2229 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2230 srcdir=$ac_optarg ;;
2232 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2233 | --syscon | --sysco | --sysc | --sys | --sy)
2234 ac_prev=sysconfdir ;;
2235 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2236 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2237 sysconfdir=$ac_optarg ;;
2239 -target | --target | --targe | --targ | --tar | --ta | --t)
2240 ac_prev=target_alias ;;
2241 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2242 target_alias=$ac_optarg ;;
2244 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2245 verbose=yes ;;
2247 -version | --version | --versio | --versi | --vers | -V)
2248 ac_init_version=: ;;
2250 -with-* | --with-*)
2251 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2252 # Reject names that are not valid shell variable names.
2253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2254 as_fn_error $? "invalid package name: $ac_useropt"
2255 ac_useropt_orig=$ac_useropt
2256 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2257 case $ac_user_opts in
2259 "with_$ac_useropt"
2260 "*) ;;
2261 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2262 ac_unrecognized_sep=', ';;
2263 esac
2264 eval with_$ac_useropt=\$ac_optarg ;;
2266 -without-* | --without-*)
2267 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2268 # Reject names that are not valid shell variable names.
2269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2270 as_fn_error $? "invalid package name: $ac_useropt"
2271 ac_useropt_orig=$ac_useropt
2272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2273 case $ac_user_opts in
2275 "with_$ac_useropt"
2276 "*) ;;
2277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2278 ac_unrecognized_sep=', ';;
2279 esac
2280 eval with_$ac_useropt=no ;;
2282 --x)
2283 # Obsolete; use --with-x.
2284 with_x=yes ;;
2286 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2287 | --x-incl | --x-inc | --x-in | --x-i)
2288 ac_prev=x_includes ;;
2289 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2290 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2291 x_includes=$ac_optarg ;;
2293 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2294 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2295 ac_prev=x_libraries ;;
2296 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2297 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2298 x_libraries=$ac_optarg ;;
2300 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2301 Try \`$0 --help' for more information"
2304 *=*)
2305 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2306 # Reject names that are not valid shell variable names.
2307 case $ac_envvar in #(
2308 '' | [0-9]* | *[!_$as_cr_alnum]* )
2309 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2310 esac
2311 eval $ac_envvar=\$ac_optarg
2312 export $ac_envvar ;;
2315 # FIXME: should be removed in autoconf 3.0.
2316 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2317 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2318 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2319 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2322 esac
2323 done
2325 if test -n "$ac_prev"; then
2326 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2327 as_fn_error $? "missing argument to $ac_option"
2330 if test -n "$ac_unrecognized_opts"; then
2331 case $enable_option_checking in
2332 no) ;;
2333 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2334 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2335 esac
2338 # Check all directory arguments for consistency.
2339 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2340 datadir sysconfdir sharedstatedir localstatedir includedir \
2341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2342 libdir localedir mandir runstatedir
2344 eval ac_val=\$$ac_var
2345 # Remove trailing slashes.
2346 case $ac_val in
2347 */ )
2348 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2349 eval $ac_var=\$ac_val;;
2350 esac
2351 # Be sure to have absolute directory names.
2352 case $ac_val in
2353 [\\/$]* | ?:[\\/]* ) continue;;
2354 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2355 esac
2356 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2357 done
2359 # There might be people who depend on the old broken behavior: `$host'
2360 # used to hold the argument of --host etc.
2361 # FIXME: To remove some day.
2362 build=$build_alias
2363 host=$host_alias
2364 target=$target_alias
2366 # FIXME: To remove some day.
2367 if test "x$host_alias" != x; then
2368 if test "x$build_alias" = x; then
2369 cross_compiling=maybe
2370 elif test "x$build_alias" != "x$host_alias"; then
2371 cross_compiling=yes
2375 ac_tool_prefix=
2376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2378 test "$silent" = yes && exec 6>/dev/null
2381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2382 ac_ls_di=`ls -di .` &&
2383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2384 as_fn_error $? "working directory cannot be determined"
2385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2386 as_fn_error $? "pwd does not report name of working directory"
2389 # Find the source files, if location was not specified.
2390 if test -z "$srcdir"; then
2391 ac_srcdir_defaulted=yes
2392 # Try the directory containing this script, then the parent directory.
2393 ac_confdir=`$as_dirname -- "$as_myself" ||
2394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2395 X"$as_myself" : 'X\(//\)[^/]' \| \
2396 X"$as_myself" : 'X\(//\)$' \| \
2397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2398 $as_echo X"$as_myself" |
2399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2400 s//\1/
2403 /^X\(\/\/\)[^/].*/{
2404 s//\1/
2407 /^X\(\/\/\)$/{
2408 s//\1/
2411 /^X\(\/\).*/{
2412 s//\1/
2415 s/.*/./; q'`
2416 srcdir=$ac_confdir
2417 if test ! -r "$srcdir/$ac_unique_file"; then
2418 srcdir=..
2420 else
2421 ac_srcdir_defaulted=no
2423 if test ! -r "$srcdir/$ac_unique_file"; then
2424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2425 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2428 ac_abs_confdir=`(
2429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2430 pwd)`
2431 # When building in place, set srcdir=.
2432 if test "$ac_abs_confdir" = "$ac_pwd"; then
2433 srcdir=.
2435 # Remove unnecessary trailing slashes from srcdir.
2436 # Double slashes in file names in object file debugging info
2437 # mess up M-x gdb in Emacs.
2438 case $srcdir in
2439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2440 esac
2441 for ac_var in $ac_precious_vars; do
2442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2443 eval ac_env_${ac_var}_value=\$${ac_var}
2444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2446 done
2449 # Report the --help message.
2451 if test "$ac_init_help" = "long"; then
2452 # Omit some internal or obsolete options to make the list less imposing.
2453 # This message is too long to be a string in the A/UX 3.1 sh.
2454 cat <<_ACEOF
2455 \`configure' configures Wine 5.3 to adapt to many kinds of systems.
2457 Usage: $0 [OPTION]... [VAR=VALUE]...
2459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2460 VAR=VALUE. See below for descriptions of some of the useful variables.
2462 Defaults for the options are specified in brackets.
2464 Configuration:
2465 -h, --help display this help and exit
2466 --help=short display options specific to this package
2467 --help=recursive display the short help of all the included packages
2468 -V, --version display version information and exit
2469 -q, --quiet, --silent do not print \`checking ...' messages
2470 --cache-file=FILE cache test results in FILE [disabled]
2471 -C, --config-cache alias for \`--cache-file=config.cache'
2472 -n, --no-create do not create output files
2473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2475 Installation directories:
2476 --prefix=PREFIX install architecture-independent files in PREFIX
2477 [$ac_default_prefix]
2478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2479 [PREFIX]
2481 By default, \`make install' will install all the files in
2482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2484 for instance \`--prefix=\$HOME'.
2486 For better control, use the options below.
2488 Fine tuning of the installation directories:
2489 --bindir=DIR user executables [EPREFIX/bin]
2490 --sbindir=DIR system admin executables [EPREFIX/sbin]
2491 --libexecdir=DIR program executables [EPREFIX/libexec]
2492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2495 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2496 --libdir=DIR object code libraries [EPREFIX/lib]
2497 --includedir=DIR C header files [PREFIX/include]
2498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2501 --infodir=DIR info documentation [DATAROOTDIR/info]
2502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2503 --mandir=DIR man documentation [DATAROOTDIR/man]
2504 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2505 --htmldir=DIR html documentation [DOCDIR]
2506 --dvidir=DIR dvi documentation [DOCDIR]
2507 --pdfdir=DIR pdf documentation [DOCDIR]
2508 --psdir=DIR ps documentation [DOCDIR]
2509 _ACEOF
2511 cat <<\_ACEOF
2513 X features:
2514 --x-includes=DIR X include files are in DIR
2515 --x-libraries=DIR X library files are in DIR
2517 System types:
2518 --build=BUILD configure for building on BUILD [guessed]
2519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2520 _ACEOF
2523 if test -n "$ac_init_help"; then
2524 case $ac_init_help in
2525 short | recursive ) echo "Configuration of Wine 5.3:";;
2526 esac
2527 cat <<\_ACEOF
2529 Optional Features:
2530 --disable-option-checking ignore unrecognized --enable/--with options
2531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2533 --disable-win16 do not include Win16 support
2534 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2535 binaries)
2536 --disable-tests do not build the regression tests
2537 --enable-maintainer-mode
2538 enable maintainer-specific build rules
2539 --disable-largefile omit support for large files
2541 Optional Packages:
2542 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2543 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2544 --without-alsa do not use the Alsa sound support
2545 --without-capi do not use CAPI (ISDN support)
2546 --without-cms do not use CMS (color management support)
2547 --without-coreaudio do not use the CoreAudio sound support
2548 --without-cups do not use CUPS
2549 --without-curses do not use (n)curses
2550 --without-dbus do not use DBus (dynamic device support)
2551 --without-faudio do not use FAudio (XAudio2 support)
2552 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2553 --without-fontconfig do not use fontconfig
2554 --without-freetype do not use the FreeType library
2555 --without-gettext do not use gettext
2556 --with-gettextpo use the GetTextPO library to rebuild po files
2557 --without-gphoto do not use gphoto (Digital Camera support)
2558 --without-glu do not use the GLU library
2559 --without-gnutls do not use GnuTLS (schannel support)
2560 --without-gsm do not use libgsm (GSM 06.10 codec support)
2561 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2562 --without-gstreamer do not use GStreamer (codecs support)
2563 --without-hal do not use HAL (dynamic device support)
2564 --without-inotify do not use inotify (filesystem change notifications)
2565 --without-jpeg do not use JPEG
2566 --without-krb5 do not use krb5 (Kerberos)
2567 --without-ldap do not use LDAP
2568 --without-mingw do not use the MinGW cross-compiler
2569 --without-mpg123 do not use the mpg123 library
2570 --without-netapi do not use the Samba NetAPI library
2571 --without-openal do not use OpenAL
2572 --without-opencl do not use OpenCL
2573 --without-opengl do not use OpenGL
2574 --without-osmesa do not use the OSMesa library
2575 --without-oss do not use the OSS sound support
2576 --without-pcap do not use the Packet Capture library
2577 --without-png do not use PNG
2578 --without-pthread do not use the pthread library
2579 --without-pulse do not use PulseAudio sound support
2580 --without-sane do not use SANE (scanner support)
2581 --without-sdl do not use SDL
2582 --without-tiff do not use TIFF
2583 --without-udev do not use udev (plug and play support)
2584 --without-unwind do not use the libunwind library (exception
2585 handling)
2586 --without-v4l2 do not use v4l2 (video capture)
2587 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2588 --without-vulkan do not use Vulkan
2589 --without-xcomposite do not use the Xcomposite extension
2590 --without-xcursor do not use the Xcursor extension
2591 --without-xfixes do not use Xfixes for clipboard change notifications
2592 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2593 --without-xinput do not use the Xinput extension
2594 --without-xinput2 do not use the Xinput 2 extension
2595 --without-xml do not use XML
2596 --without-xrandr do not use Xrandr (multi-monitor support)
2597 --without-xrender do not use the Xrender extension
2598 --without-xshape do not use the Xshape extension
2599 --without-xshm do not use XShm (shared memory extension)
2600 --without-xslt do not use XSLT
2601 --without-xxf86vm do not use XFree video mode extension
2602 --without-zlib do not use Zlib (data compression)
2603 --with-wine-tools=DIR use Wine tools from directory DIR
2604 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2605 --with-x use the X Window System
2607 Some influential environment variables:
2608 CC C compiler command
2609 CFLAGS C compiler flags
2610 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2611 nonstandard directory <lib dir>
2612 LIBS libraries to pass to the linker, e.g. -l<library>
2613 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2614 you have headers in a nonstandard directory <include dir>
2615 CXX C++ compiler command
2616 CXXFLAGS C++ compiler flags
2617 CPP C preprocessor
2618 OBJC Objective C compiler command
2619 OBJCFLAGS Objective C compiler flags
2620 OBJCPP Objective C preprocessor
2621 XMKMF Path to xmkmf, Makefile generator for X Window System
2622 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2623 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2624 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2625 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2626 INOTIFY_CFLAGS
2627 C compiler flags for libinotify, overriding pkg-config
2628 INOTIFY_LIBS
2629 Linker flags for libinotify, overriding pkg-config
2630 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2631 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2632 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2633 HAL_LIBS Linker flags for hal, overriding pkg-config
2634 GNUTLS_CFLAGS
2635 C compiler flags for gnutls, overriding pkg-config
2636 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2637 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2638 SANE_LIBS Linker flags for libsane, overriding pkg-config
2639 GPHOTO2_CFLAGS
2640 C compiler flags for libgphoto2, overriding pkg-config
2641 GPHOTO2_LIBS
2642 Linker flags for libgphoto2, overriding pkg-config
2643 GPHOTO2_PORT_CFLAGS
2644 C compiler flags for libgphoto2_port, overriding pkg-config
2645 GPHOTO2_PORT_LIBS
2646 Linker flags for libgphoto2_port, overriding pkg-config
2647 LCMS2_CFLAGS
2648 C compiler flags for lcms2, overriding pkg-config
2649 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2650 FREETYPE_CFLAGS
2651 C compiler flags for freetype2, overriding pkg-config
2652 FREETYPE_LIBS
2653 Linker flags for freetype2, overriding pkg-config
2654 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2655 Z_LIBS Linker flags for libz, overriding pkg-config
2656 PULSE_CFLAGS
2657 C compiler flags for libpulse, overriding pkg-config
2658 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2659 GSTREAMER_CFLAGS
2660 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2661 gstreamer-audio-1.0, overriding pkg-config
2662 GSTREAMER_LIBS
2663 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2664 gstreamer-audio-1.0, overriding pkg-config
2665 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2666 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2667 UNWIND_CFLAGS
2668 C compiler flags for libunwind, overriding pkg-config
2669 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2670 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2671 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2672 FAUDIO_CFLAGS
2673 C compiler flags for faudio, overriding pkg-config
2674 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2675 CAPI20_CFLAGS
2676 C compiler flags for capi20, overriding pkg-config
2677 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2678 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2679 CUPS_LIBS Linker flags for cups, overriding pkg-config
2680 FONTCONFIG_CFLAGS
2681 C compiler flags for fontconfig, overriding pkg-config
2682 FONTCONFIG_LIBS
2683 Linker flags for fontconfig, overriding pkg-config
2684 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2685 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2686 GSSAPI_CFLAGS
2687 C compiler flags for krb5-gssapi, overriding pkg-config
2688 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2689 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2690 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2691 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2692 PNG_LIBS Linker flags for libpng, overriding pkg-config
2693 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2694 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2695 MPG123_CFLAGS
2696 C compiler flags for libmpg123, overriding pkg-config
2697 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2698 NETAPI_CFLAGS
2699 C compiler flags for netapi, overriding pkg-config
2700 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2701 VKD3D_CFLAGS
2702 C compiler flags for libvkd3d, overriding pkg-config
2703 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2704 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2705 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2707 Use these variables to override the choices made by `configure' or to help
2708 it to find libraries and programs with nonstandard names/locations.
2710 Report bugs to <wine-devel@winehq.org>.
2711 Wine home page: <https://www.winehq.org>.
2712 _ACEOF
2713 ac_status=$?
2716 if test "$ac_init_help" = "recursive"; then
2717 # If there are subdirs, report their specific --help.
2718 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2719 test -d "$ac_dir" ||
2720 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2721 continue
2722 ac_builddir=.
2724 case "$ac_dir" in
2725 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2727 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2728 # A ".." for each directory in $ac_dir_suffix.
2729 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2730 case $ac_top_builddir_sub in
2731 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2732 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2733 esac ;;
2734 esac
2735 ac_abs_top_builddir=$ac_pwd
2736 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2737 # for backward compatibility:
2738 ac_top_builddir=$ac_top_build_prefix
2740 case $srcdir in
2741 .) # We are building in place.
2742 ac_srcdir=.
2743 ac_top_srcdir=$ac_top_builddir_sub
2744 ac_abs_top_srcdir=$ac_pwd ;;
2745 [\\/]* | ?:[\\/]* ) # Absolute name.
2746 ac_srcdir=$srcdir$ac_dir_suffix;
2747 ac_top_srcdir=$srcdir
2748 ac_abs_top_srcdir=$srcdir ;;
2749 *) # Relative name.
2750 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2751 ac_top_srcdir=$ac_top_build_prefix$srcdir
2752 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2753 esac
2754 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2756 cd "$ac_dir" || { ac_status=$?; continue; }
2757 # Check for guested configure.
2758 if test -f "$ac_srcdir/configure.gnu"; then
2759 echo &&
2760 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2761 elif test -f "$ac_srcdir/configure"; then
2762 echo &&
2763 $SHELL "$ac_srcdir/configure" --help=recursive
2764 else
2765 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2766 fi || ac_status=$?
2767 cd "$ac_pwd" || { ac_status=$?; break; }
2768 done
2771 test -n "$ac_init_help" && exit $ac_status
2772 if $ac_init_version; then
2773 cat <<\_ACEOF
2774 Wine configure 5.3
2775 generated by GNU Autoconf 2.69
2777 Copyright (C) 2012 Free Software Foundation, Inc.
2778 This configure script is free software; the Free Software Foundation
2779 gives unlimited permission to copy, distribute and modify it.
2780 _ACEOF
2781 exit
2784 ## ------------------------ ##
2785 ## Autoconf initialization. ##
2786 ## ------------------------ ##
2788 # ac_fn_c_try_compile LINENO
2789 # --------------------------
2790 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2791 ac_fn_c_try_compile ()
2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2794 rm -f conftest.$ac_objext
2795 if { { ac_try="$ac_compile"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>conftest.err
2803 ac_status=$?
2804 if test -s conftest.err; then
2805 grep -v '^ *+' conftest.err >conftest.er1
2806 cat conftest.er1 >&5
2807 mv -f conftest.er1 conftest.err
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; } && {
2811 test -z "$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.$ac_objext; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_compile
2826 # ac_fn_cxx_try_compile LINENO
2827 # ----------------------------
2828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_cxx_try_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext
2833 if { { ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_compile") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_cxx_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 ac_retval=1
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2860 as_fn_set_status $ac_retval
2862 } # ac_fn_cxx_try_compile
2864 # ac_fn_c_try_link LINENO
2865 # -----------------------
2866 # Try to link conftest.$ac_ext, and return whether this succeeded.
2867 ac_fn_c_try_link ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 rm -f conftest.$ac_objext conftest$ac_exeext
2871 if { { ac_try="$ac_link"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_link") 2>conftest.err
2879 ac_status=$?
2880 if test -s conftest.err; then
2881 grep -v '^ *+' conftest.err >conftest.er1
2882 cat conftest.er1 >&5
2883 mv -f conftest.er1 conftest.err
2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2886 test $ac_status = 0; } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest$ac_exeext && {
2890 test "$cross_compiling" = yes ||
2891 test -x conftest$ac_exeext
2892 }; then :
2893 ac_retval=0
2894 else
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 ac_retval=1
2900 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2901 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2902 # interfere with the next link command; also delete a directory that is
2903 # left behind by Apple's compiler. We do this before executing the actions.
2904 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2906 as_fn_set_status $ac_retval
2908 } # ac_fn_c_try_link
2910 # ac_fn_c_try_cpp LINENO
2911 # ----------------------
2912 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2913 ac_fn_c_try_cpp ()
2915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2916 if { { ac_try="$ac_cpp conftest.$ac_ext"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2924 ac_status=$?
2925 if test -s conftest.err; then
2926 grep -v '^ *+' conftest.err >conftest.er1
2927 cat conftest.er1 >&5
2928 mv -f conftest.er1 conftest.err
2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931 test $ac_status = 0; } > conftest.i && {
2932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2934 }; then :
2935 ac_retval=0
2936 else
2937 $as_echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 ac_retval=1
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 as_fn_set_status $ac_retval
2945 } # ac_fn_c_try_cpp
2947 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2948 # -------------------------------------------------------
2949 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2950 # the include files in INCLUDES and setting the cache variable VAR
2951 # accordingly.
2952 ac_fn_c_check_header_mongrel ()
2954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2955 if eval \${$3+:} false; then :
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2957 $as_echo_n "checking for $2... " >&6; }
2958 if eval \${$3+:} false; then :
2959 $as_echo_n "(cached) " >&6
2961 eval ac_res=\$$3
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2963 $as_echo "$ac_res" >&6; }
2964 else
2965 # Is the header compilable?
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2967 $as_echo_n "checking $2 usability... " >&6; }
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2971 #include <$2>
2972 _ACEOF
2973 if ac_fn_c_try_compile "$LINENO"; then :
2974 ac_header_compiler=yes
2975 else
2976 ac_header_compiler=no
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2980 $as_echo "$ac_header_compiler" >&6; }
2982 # Is the header present?
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2984 $as_echo_n "checking $2 presence... " >&6; }
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2987 #include <$2>
2988 _ACEOF
2989 if ac_fn_c_try_cpp "$LINENO"; then :
2990 ac_header_preproc=yes
2991 else
2992 ac_header_preproc=no
2994 rm -f conftest.err conftest.i conftest.$ac_ext
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2996 $as_echo "$ac_header_preproc" >&6; }
2998 # So? What about this header?
2999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3000 yes:no: )
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3002 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3006 no:yes:* )
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3008 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3010 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3012 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3014 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3016 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3017 ( $as_echo "## ------------------------------------ ##
3018 ## Report this to wine-devel@winehq.org ##
3019 ## ------------------------------------ ##"
3020 ) | sed "s/^/$as_me: WARNING: /" >&2
3022 esac
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3024 $as_echo_n "checking for $2... " >&6; }
3025 if eval \${$3+:} false; then :
3026 $as_echo_n "(cached) " >&6
3027 else
3028 eval "$3=\$ac_header_compiler"
3030 eval ac_res=\$$3
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3032 $as_echo "$ac_res" >&6; }
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 } # ac_fn_c_check_header_mongrel
3038 # ac_fn_c_try_run LINENO
3039 # ----------------------
3040 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3041 # that executables *can* be run.
3042 ac_fn_c_try_run ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 if { { ac_try="$ac_link"
3046 case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3049 esac
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_link") 2>&5
3053 ac_status=$?
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3056 { { case "(($ac_try" in
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3059 esac
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_try") 2>&5
3063 ac_status=$?
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; }; then :
3066 ac_retval=0
3067 else
3068 $as_echo "$as_me: program exited with status $ac_status" >&5
3069 $as_echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.$ac_ext >&5
3072 ac_retval=$ac_status
3074 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3076 as_fn_set_status $ac_retval
3078 } # ac_fn_c_try_run
3080 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3081 # -------------------------------------------------------
3082 # Tests whether HEADER exists and can be compiled using the include files in
3083 # INCLUDES, setting the cache variable VAR accordingly.
3084 ac_fn_c_check_header_compile ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3088 $as_echo_n "checking for $2... " >&6; }
3089 if eval \${$3+:} false; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3095 #include <$2>
3096 _ACEOF
3097 if ac_fn_c_try_compile "$LINENO"; then :
3098 eval "$3=yes"
3099 else
3100 eval "$3=no"
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 eval ac_res=\$$3
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3106 $as_echo "$ac_res" >&6; }
3107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3109 } # ac_fn_c_check_header_compile
3111 # ac_fn_objc_try_compile LINENO
3112 # -----------------------------
3113 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3114 ac_fn_objc_try_compile ()
3116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3117 rm -f conftest.$ac_objext
3118 if { { ac_try="$ac_compile"
3119 case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_compile") 2>conftest.err
3126 ac_status=$?
3127 if test -s conftest.err; then
3128 grep -v '^ *+' conftest.err >conftest.er1
3129 cat conftest.er1 >&5
3130 mv -f conftest.er1 conftest.err
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; } && {
3134 test -z "$ac_objc_werror_flag" ||
3135 test ! -s conftest.err
3136 } && test -s conftest.$ac_objext; then :
3137 ac_retval=0
3138 else
3139 $as_echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3142 ac_retval=1
3144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3145 as_fn_set_status $ac_retval
3147 } # ac_fn_objc_try_compile
3149 # ac_fn_objc_try_cpp LINENO
3150 # -------------------------
3151 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3152 ac_fn_objc_try_cpp ()
3154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3155 if { { ac_try="$ac_cpp conftest.$ac_ext"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3163 ac_status=$?
3164 if test -s conftest.err; then
3165 grep -v '^ *+' conftest.err >conftest.er1
3166 cat conftest.er1 >&5
3167 mv -f conftest.er1 conftest.err
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; } > conftest.i && {
3171 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3172 test ! -s conftest.err
3173 }; then :
3174 ac_retval=0
3175 else
3176 $as_echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3179 ac_retval=1
3181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3182 as_fn_set_status $ac_retval
3184 } # ac_fn_objc_try_cpp
3186 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3187 # ----------------------------------------------------------
3188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3189 # the include files in INCLUDES and setting the cache variable VAR
3190 # accordingly.
3191 ac_fn_objc_check_header_mongrel ()
3193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3194 if eval \${$3+:} false; then :
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3196 $as_echo_n "checking for $2... " >&6; }
3197 if eval \${$3+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 eval ac_res=\$$3
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202 $as_echo "$ac_res" >&6; }
3203 else
3204 # Is the header compilable?
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3206 $as_echo_n "checking $2 usability... " >&6; }
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3210 #include <$2>
3211 _ACEOF
3212 if ac_fn_objc_try_compile "$LINENO"; then :
3213 ac_header_compiler=yes
3214 else
3215 ac_header_compiler=no
3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3219 $as_echo "$ac_header_compiler" >&6; }
3221 # Is the header present?
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3223 $as_echo_n "checking $2 presence... " >&6; }
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3226 #include <$2>
3227 _ACEOF
3228 if ac_fn_objc_try_cpp "$LINENO"; then :
3229 ac_header_preproc=yes
3230 else
3231 ac_header_preproc=no
3233 rm -f conftest.err conftest.i conftest.$ac_ext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3235 $as_echo "$ac_header_preproc" >&6; }
3237 # So? What about this header?
3238 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3239 yes:no: )
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3245 no:yes:* )
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3256 ( $as_echo "## ------------------------------------ ##
3257 ## Report this to wine-devel@winehq.org ##
3258 ## ------------------------------------ ##"
3259 ) | sed "s/^/$as_me: WARNING: /" >&2
3261 esac
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3263 $as_echo_n "checking for $2... " >&6; }
3264 if eval \${$3+:} false; then :
3265 $as_echo_n "(cached) " >&6
3266 else
3267 eval "$3=\$ac_header_compiler"
3269 eval ac_res=\$$3
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3271 $as_echo "$ac_res" >&6; }
3273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3275 } # ac_fn_objc_check_header_mongrel
3277 # ac_fn_c_check_func LINENO FUNC VAR
3278 # ----------------------------------
3279 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3280 ac_fn_c_check_func ()
3282 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3284 $as_echo_n "checking for $2... " >&6; }
3285 if eval \${$3+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3290 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3292 #define $2 innocuous_$2
3294 /* System header to define __stub macros and hopefully few prototypes,
3295 which can conflict with char $2 (); below.
3296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3297 <limits.h> exists even on freestanding compilers. */
3299 #ifdef __STDC__
3300 # include <limits.h>
3301 #else
3302 # include <assert.h>
3303 #endif
3305 #undef $2
3307 /* Override any GCC internal prototype to avoid an error.
3308 Use char because int might match the return type of a GCC
3309 builtin and then its argument prototype would still apply. */
3310 #ifdef __cplusplus
3311 extern "C"
3312 #endif
3313 char $2 ();
3314 /* The GNU C library defines this for functions which it implements
3315 to always fail with ENOSYS. Some functions are actually named
3316 something starting with __ and the normal name is an alias. */
3317 #if defined __stub_$2 || defined __stub___$2
3318 choke me
3319 #endif
3322 main ()
3324 return $2 ();
3326 return 0;
3328 _ACEOF
3329 if ac_fn_c_try_link "$LINENO"; then :
3330 eval "$3=yes"
3331 else
3332 eval "$3=no"
3334 rm -f core conftest.err conftest.$ac_objext \
3335 conftest$ac_exeext conftest.$ac_ext
3337 eval ac_res=\$$3
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3339 $as_echo "$ac_res" >&6; }
3340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3342 } # ac_fn_c_check_func
3344 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3345 # ----------------------------------------------------
3346 # Tries to find if the field MEMBER exists in type AGGR, after including
3347 # INCLUDES, setting cache variable VAR accordingly.
3348 ac_fn_c_check_member ()
3350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3352 $as_echo_n "checking for $2.$3... " >&6; }
3353 if eval \${$4+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3360 main ()
3362 static $2 ac_aggr;
3363 if (ac_aggr.$3)
3364 return 0;
3366 return 0;
3368 _ACEOF
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 eval "$4=yes"
3371 else
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3376 main ()
3378 static $2 ac_aggr;
3379 if (sizeof ac_aggr.$3)
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 eval "$4=yes"
3387 else
3388 eval "$4=no"
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 eval ac_res=\$$4
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3396 $as_echo "$ac_res" >&6; }
3397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3399 } # ac_fn_c_check_member
3401 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3402 # -------------------------------------------
3403 # Tests whether TYPE exists after having included INCLUDES, setting cache
3404 # variable VAR accordingly.
3405 ac_fn_c_check_type ()
3407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3409 $as_echo_n "checking for $2... " >&6; }
3410 if eval \${$3+:} false; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 eval "$3=no"
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 if (sizeof ($2))
3421 return 0;
3423 return 0;
3425 _ACEOF
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3431 main ()
3433 if (sizeof (($2)))
3434 return 0;
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3441 else
3442 eval "$3=yes"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 eval ac_res=\$$3
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3450 $as_echo "$ac_res" >&6; }
3451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3453 } # ac_fn_c_check_type
3454 cat >config.log <<_ACEOF
3455 This file contains any messages produced by compilers while
3456 running configure, to aid debugging if configure makes a mistake.
3458 It was created by Wine $as_me 5.3, which was
3459 generated by GNU Autoconf 2.69. Invocation command line was
3461 $ $0 $@
3463 _ACEOF
3464 exec 5>>config.log
3466 cat <<_ASUNAME
3467 ## --------- ##
3468 ## Platform. ##
3469 ## --------- ##
3471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3488 _ASUNAME
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 for as_dir in $PATH
3493 IFS=$as_save_IFS
3494 test -z "$as_dir" && as_dir=.
3495 $as_echo "PATH: $as_dir"
3496 done
3497 IFS=$as_save_IFS
3499 } >&5
3501 cat >&5 <<_ACEOF
3504 ## ----------- ##
3505 ## Core tests. ##
3506 ## ----------- ##
3508 _ACEOF
3511 # Keep a trace of the command line.
3512 # Strip out --no-create and --no-recursion so they do not pile up.
3513 # Strip out --silent because we don't want to record it for future runs.
3514 # Also quote any args containing shell meta-characters.
3515 # Make two passes to allow for proper duplicate-argument suppression.
3516 ac_configure_args=
3517 ac_configure_args0=
3518 ac_configure_args1=
3519 ac_must_keep_next=false
3520 for ac_pass in 1 2
3522 for ac_arg
3524 case $ac_arg in
3525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3527 | -silent | --silent | --silen | --sile | --sil)
3528 continue ;;
3529 *\'*)
3530 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3531 esac
3532 case $ac_pass in
3533 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3535 as_fn_append ac_configure_args1 " '$ac_arg'"
3536 if test $ac_must_keep_next = true; then
3537 ac_must_keep_next=false # Got value, back to normal.
3538 else
3539 case $ac_arg in
3540 *=* | --config-cache | -C | -disable-* | --disable-* \
3541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3543 | -with-* | --with-* | -without-* | --without-* | --x)
3544 case "$ac_configure_args0 " in
3545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3546 esac
3548 -* ) ac_must_keep_next=true ;;
3549 esac
3551 as_fn_append ac_configure_args " '$ac_arg'"
3553 esac
3554 done
3555 done
3556 { ac_configure_args0=; unset ac_configure_args0;}
3557 { ac_configure_args1=; unset ac_configure_args1;}
3559 # When interrupted or exit'd, cleanup temporary files, and complete
3560 # config.log. We remove comments because anyway the quotes in there
3561 # would cause problems or look ugly.
3562 # WARNING: Use '\'' to represent an apostrophe within the trap.
3563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3564 trap 'exit_status=$?
3565 # Save into config.log some information that might help in debugging.
3567 echo
3569 $as_echo "## ---------------- ##
3570 ## Cache variables. ##
3571 ## ---------------- ##"
3572 echo
3573 # The following way of writing the cache mishandles newlines in values,
3575 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3576 eval ac_val=\$$ac_var
3577 case $ac_val in #(
3578 *${as_nl}*)
3579 case $ac_var in #(
3580 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3582 esac
3583 case $ac_var in #(
3584 _ | IFS | as_nl) ;; #(
3585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3586 *) { eval $ac_var=; unset $ac_var;} ;;
3587 esac ;;
3588 esac
3589 done
3590 (set) 2>&1 |
3591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3592 *${as_nl}ac_space=\ *)
3593 sed -n \
3594 "s/'\''/'\''\\\\'\'''\''/g;
3595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3596 ;; #(
3598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3600 esac |
3601 sort
3603 echo
3605 $as_echo "## ----------------- ##
3606 ## Output variables. ##
3607 ## ----------------- ##"
3608 echo
3609 for ac_var in $ac_subst_vars
3611 eval ac_val=\$$ac_var
3612 case $ac_val in
3613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3614 esac
3615 $as_echo "$ac_var='\''$ac_val'\''"
3616 done | sort
3617 echo
3619 if test -n "$ac_subst_files"; then
3620 $as_echo "## ------------------- ##
3621 ## File substitutions. ##
3622 ## ------------------- ##"
3623 echo
3624 for ac_var in $ac_subst_files
3626 eval ac_val=\$$ac_var
3627 case $ac_val in
3628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3629 esac
3630 $as_echo "$ac_var='\''$ac_val'\''"
3631 done | sort
3632 echo
3635 if test -s confdefs.h; then
3636 $as_echo "## ----------- ##
3637 ## confdefs.h. ##
3638 ## ----------- ##"
3639 echo
3640 cat confdefs.h
3641 echo
3643 test "$ac_signal" != 0 &&
3644 $as_echo "$as_me: caught signal $ac_signal"
3645 $as_echo "$as_me: exit $exit_status"
3646 } >&5
3647 rm -f core *.core core.conftest.* &&
3648 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3649 exit $exit_status
3651 for ac_signal in 1 2 13 15; do
3652 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3653 done
3654 ac_signal=0
3656 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3657 rm -f -r conftest* confdefs.h
3659 $as_echo "/* confdefs.h */" > confdefs.h
3661 # Predefined preprocessor variables.
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_NAME "$PACKAGE_NAME"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_STRING "$PACKAGE_STRING"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_URL "$PACKAGE_URL"
3685 _ACEOF
3688 # Let the site file select an alternate cache file if it wants to.
3689 # Prefer an explicitly selected file to automatically selected ones.
3690 ac_site_file1=NONE
3691 ac_site_file2=NONE
3692 if test -n "$CONFIG_SITE"; then
3693 # We do not want a PATH search for config.site.
3694 case $CONFIG_SITE in #((
3695 -*) ac_site_file1=./$CONFIG_SITE;;
3696 */*) ac_site_file1=$CONFIG_SITE;;
3697 *) ac_site_file1=./$CONFIG_SITE;;
3698 esac
3699 elif test "x$prefix" != xNONE; then
3700 ac_site_file1=$prefix/share/config.site
3701 ac_site_file2=$prefix/etc/config.site
3702 else
3703 ac_site_file1=$ac_default_prefix/share/config.site
3704 ac_site_file2=$ac_default_prefix/etc/config.site
3706 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3708 test "x$ac_site_file" = xNONE && continue
3709 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3711 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3712 sed 's/^/| /' "$ac_site_file" >&5
3713 . "$ac_site_file" \
3714 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "failed to load site script $ac_site_file
3717 See \`config.log' for more details" "$LINENO" 5; }
3719 done
3721 if test -r "$cache_file"; then
3722 # Some versions of bash will fail to source /dev/null (special files
3723 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3724 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3726 $as_echo "$as_me: loading cache $cache_file" >&6;}
3727 case $cache_file in
3728 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3729 *) . "./$cache_file";;
3730 esac
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3734 $as_echo "$as_me: creating cache $cache_file" >&6;}
3735 >$cache_file
3738 # Check that the precious variables saved in the cache have kept the same
3739 # value.
3740 ac_cache_corrupted=false
3741 for ac_var in $ac_precious_vars; do
3742 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3743 eval ac_new_set=\$ac_env_${ac_var}_set
3744 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3745 eval ac_new_val=\$ac_env_${ac_var}_value
3746 case $ac_old_set,$ac_new_set in
3747 set,)
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3749 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3750 ac_cache_corrupted=: ;;
3751 ,set)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3753 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3754 ac_cache_corrupted=: ;;
3755 ,);;
3757 if test "x$ac_old_val" != "x$ac_new_val"; then
3758 # differences in whitespace do not lead to failure.
3759 ac_old_val_w=`echo x $ac_old_val`
3760 ac_new_val_w=`echo x $ac_new_val`
3761 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3763 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3764 ac_cache_corrupted=:
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3767 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3768 eval $ac_var=\$ac_old_val
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3771 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3773 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3774 fi;;
3775 esac
3776 # Pass precious variables to config.status.
3777 if test "$ac_new_set" = set; then
3778 case $ac_new_val in
3779 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3780 *) ac_arg=$ac_var=$ac_new_val ;;
3781 esac
3782 case " $ac_configure_args " in
3783 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3784 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3785 esac
3787 done
3788 if $ac_cache_corrupted; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3792 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3793 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3795 ## -------------------- ##
3796 ## Main body of script. ##
3797 ## -------------------- ##
3799 ac_ext=c
3800 ac_cpp='$CPP $CPPFLAGS'
3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 ac_config_headers="$ac_config_headers include/config.h"
3809 ac_aux_dir=
3810 for ac_dir in tools "$srcdir"/tools; do
3811 if test -f "$ac_dir/install-sh"; then
3812 ac_aux_dir=$ac_dir
3813 ac_install_sh="$ac_aux_dir/install-sh -c"
3814 break
3815 elif 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/shtool"; then
3820 ac_aux_dir=$ac_dir
3821 ac_install_sh="$ac_aux_dir/shtool install -c"
3822 break
3824 done
3825 if test -z "$ac_aux_dir"; then
3826 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3829 # These three variables are undocumented and unsupported,
3830 # and are intended to be withdrawn in a future Autoconf release.
3831 # They can cause serious problems if a builder's source tree is in a directory
3832 # whose full name contains unusual characters.
3833 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3834 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3835 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3839 libwine_version="1.0"
3843 # Check whether --enable-win16 was given.
3844 if test "${enable_win16+set}" = set; then :
3845 enableval=$enable_win16;
3848 # Check whether --enable-win64 was given.
3849 if test "${enable_win64+set}" = set; then :
3850 enableval=$enable_win64;
3853 # Check whether --enable-tests was given.
3854 if test "${enable_tests+set}" = set; then :
3855 enableval=$enable_tests;
3858 # Check whether --enable-maintainer-mode was given.
3859 if test "${enable_maintainer_mode+set}" = set; then :
3860 enableval=$enable_maintainer_mode;
3865 # Check whether --with-alsa was given.
3866 if test "${with_alsa+set}" = set; then :
3867 withval=$with_alsa;
3871 # Check whether --with-capi was given.
3872 if test "${with_capi+set}" = set; then :
3873 withval=$with_capi;
3877 # Check whether --with-cms was given.
3878 if test "${with_cms+set}" = set; then :
3879 withval=$with_cms;
3883 # Check whether --with-coreaudio was given.
3884 if test "${with_coreaudio+set}" = set; then :
3885 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3889 # Check whether --with-cups was given.
3890 if test "${with_cups+set}" = set; then :
3891 withval=$with_cups;
3895 # Check whether --with-curses was given.
3896 if test "${with_curses+set}" = set; then :
3897 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3901 # Check whether --with-dbus was given.
3902 if test "${with_dbus+set}" = set; then :
3903 withval=$with_dbus;
3907 # Check whether --with-faudio was given.
3908 if test "${with_faudio+set}" = set; then :
3909 withval=$with_faudio;
3913 # Check whether --with-float-abi was given.
3914 if test "${with_float_abi+set}" = set; then :
3915 withval=$with_float_abi;
3919 # Check whether --with-fontconfig was given.
3920 if test "${with_fontconfig+set}" = set; then :
3921 withval=$with_fontconfig;
3925 # Check whether --with-freetype was given.
3926 if test "${with_freetype+set}" = set; then :
3927 withval=$with_freetype;
3931 # Check whether --with-gettext was given.
3932 if test "${with_gettext+set}" = set; then :
3933 withval=$with_gettext;
3937 # Check whether --with-gettextpo was given.
3938 if test "${with_gettextpo+set}" = set; then :
3939 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3943 # Check whether --with-gphoto was given.
3944 if test "${with_gphoto+set}" = set; then :
3945 withval=$with_gphoto;
3949 # Check whether --with-glu was given.
3950 if test "${with_glu+set}" = set; then :
3951 withval=$with_glu;
3955 # Check whether --with-gnutls was given.
3956 if test "${with_gnutls+set}" = set; then :
3957 withval=$with_gnutls;
3961 # Check whether --with-gsm was given.
3962 if test "${with_gsm+set}" = set; then :
3963 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3967 # Check whether --with-gssapi was given.
3968 if test "${with_gssapi+set}" = set; then :
3969 withval=$with_gssapi;
3973 # Check whether --with-gstreamer was given.
3974 if test "${with_gstreamer+set}" = set; then :
3975 withval=$with_gstreamer;
3979 # Check whether --with-hal was given.
3980 if test "${with_hal+set}" = set; then :
3981 withval=$with_hal;
3985 # Check whether --with-inotify was given.
3986 if test "${with_inotify+set}" = set; then :
3987 withval=$with_inotify;
3991 # Check whether --with-jpeg was given.
3992 if test "${with_jpeg+set}" = set; then :
3993 withval=$with_jpeg;
3997 # Check whether --with-krb5 was given.
3998 if test "${with_krb5+set}" = set; then :
3999 withval=$with_krb5;
4003 # Check whether --with-ldap was given.
4004 if test "${with_ldap+set}" = set; then :
4005 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4009 # Check whether --with-mingw was given.
4010 if test "${with_mingw+set}" = set; then :
4011 withval=$with_mingw;
4015 # Check whether --with-mpg123 was given.
4016 if test "${with_mpg123+set}" = set; then :
4017 withval=$with_mpg123;
4021 # Check whether --with-netapi was given.
4022 if test "${with_netapi+set}" = set; then :
4023 withval=$with_netapi;
4027 # Check whether --with-openal was given.
4028 if test "${with_openal+set}" = set; then :
4029 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4033 # Check whether --with-opencl was given.
4034 if test "${with_opencl+set}" = set; then :
4035 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4039 # Check whether --with-opengl was given.
4040 if test "${with_opengl+set}" = set; then :
4041 withval=$with_opengl;
4045 # Check whether --with-osmesa was given.
4046 if test "${with_osmesa+set}" = set; then :
4047 withval=$with_osmesa;
4051 # Check whether --with-oss was given.
4052 if test "${with_oss+set}" = set; then :
4053 withval=$with_oss;
4057 # Check whether --with-pcap was given.
4058 if test "${with_pcap+set}" = set; then :
4059 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4063 # Check whether --with-png was given.
4064 if test "${with_png+set}" = set; then :
4065 withval=$with_png;
4069 # Check whether --with-pthread was given.
4070 if test "${with_pthread+set}" = set; then :
4071 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4075 # Check whether --with-pulse was given.
4076 if test "${with_pulse+set}" = set; then :
4077 withval=$with_pulse;
4081 # Check whether --with-sane was given.
4082 if test "${with_sane+set}" = set; then :
4083 withval=$with_sane;
4087 # Check whether --with-sdl was given.
4088 if test "${with_sdl+set}" = set; then :
4089 withval=$with_sdl;
4093 # Check whether --with-tiff was given.
4094 if test "${with_tiff+set}" = set; then :
4095 withval=$with_tiff;
4099 # Check whether --with-udev was given.
4100 if test "${with_udev+set}" = set; then :
4101 withval=$with_udev;
4105 # Check whether --with-unwind was given.
4106 if test "${with_unwind+set}" = set; then :
4107 withval=$with_unwind;
4111 # Check whether --with-v4l2 was given.
4112 if test "${with_v4l2+set}" = set; then :
4113 withval=$with_v4l2;
4117 # Check whether --with-vkd3d was given.
4118 if test "${with_vkd3d+set}" = set; then :
4119 withval=$with_vkd3d;
4123 # Check whether --with-vulkan was given.
4124 if test "${with_vulkan+set}" = set; then :
4125 withval=$with_vulkan;
4129 # Check whether --with-xcomposite was given.
4130 if test "${with_xcomposite+set}" = set; then :
4131 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4135 # Check whether --with-xcursor was given.
4136 if test "${with_xcursor+set}" = set; then :
4137 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4141 # Check whether --with-xfixes was given.
4142 if test "${with_xfixes+set}" = set; then :
4143 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4147 # Check whether --with-xinerama was given.
4148 if test "${with_xinerama+set}" = set; then :
4149 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4153 # Check whether --with-xinput was given.
4154 if test "${with_xinput+set}" = set; then :
4155 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4159 # Check whether --with-xinput2 was given.
4160 if test "${with_xinput2+set}" = set; then :
4161 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4165 # Check whether --with-xml was given.
4166 if test "${with_xml+set}" = set; then :
4167 withval=$with_xml;
4171 # Check whether --with-xrandr was given.
4172 if test "${with_xrandr+set}" = set; then :
4173 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4177 # Check whether --with-xrender was given.
4178 if test "${with_xrender+set}" = set; then :
4179 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4183 # Check whether --with-xshape was given.
4184 if test "${with_xshape+set}" = set; then :
4185 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4189 # Check whether --with-xshm was given.
4190 if test "${with_xshm+set}" = set; then :
4191 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4195 # Check whether --with-xslt was given.
4196 if test "${with_xslt+set}" = set; then :
4197 withval=$with_xslt;
4201 # Check whether --with-xxf86vm was given.
4202 if test "${with_xxf86vm+set}" = set; then :
4203 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
4207 # Check whether --with-zlib was given.
4208 if test "${with_zlib+set}" = set; then :
4209 withval=$with_zlib;
4214 # Check whether --with-wine-tools was given.
4215 if test "${with_wine_tools+set}" = set; then :
4216 withval=$with_wine_tools;
4220 # Check whether --with-wine64 was given.
4221 if test "${with_wine64+set}" = set; then :
4222 withval=$with_wine64;
4226 # Make sure we can run config.sub.
4227 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4228 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4231 $as_echo_n "checking build system type... " >&6; }
4232 if ${ac_cv_build+:} false; then :
4233 $as_echo_n "(cached) " >&6
4234 else
4235 ac_build_alias=$build_alias
4236 test "x$ac_build_alias" = x &&
4237 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4238 test "x$ac_build_alias" = x &&
4239 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4241 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4245 $as_echo "$ac_cv_build" >&6; }
4246 case $ac_cv_build in
4247 *-*-*) ;;
4248 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4249 esac
4250 build=$ac_cv_build
4251 ac_save_IFS=$IFS; IFS='-'
4252 set x $ac_cv_build
4253 shift
4254 build_cpu=$1
4255 build_vendor=$2
4256 shift; shift
4257 # Remember, the first character of IFS is used to create $*,
4258 # except with old shells:
4259 build_os=$*
4260 IFS=$ac_save_IFS
4261 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4265 $as_echo_n "checking host system type... " >&6; }
4266 if ${ac_cv_host+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 if test "x$host_alias" = x; then
4270 ac_cv_host=$ac_cv_build
4271 else
4272 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4273 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4278 $as_echo "$ac_cv_host" >&6; }
4279 case $ac_cv_host in
4280 *-*-*) ;;
4281 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4282 esac
4283 host=$ac_cv_host
4284 ac_save_IFS=$IFS; IFS='-'
4285 set x $ac_cv_host
4286 shift
4287 host_cpu=$1
4288 host_vendor=$2
4289 shift; shift
4290 # Remember, the first character of IFS is used to create $*,
4291 # except with old shells:
4292 host_os=$*
4293 IFS=$ac_save_IFS
4294 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4301 set x ${MAKE-make}
4302 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4303 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 cat >conftest.make <<\_ACEOF
4307 SHELL = /bin/sh
4308 all:
4309 @echo '@@@%%%=$(MAKE)=@@@%%%'
4310 _ACEOF
4311 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4312 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4313 *@@@%%%=?*=@@@%%%*)
4314 eval ac_cv_prog_make_${ac_make}_set=yes;;
4316 eval ac_cv_prog_make_${ac_make}_set=no;;
4317 esac
4318 rm -f conftest.make
4320 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4322 $as_echo "yes" >&6; }
4323 SET_MAKE=
4324 else
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4327 SET_MAKE="MAKE=${MAKE-make}"
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 if test -n "$ac_tool_prefix"; then
4336 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4337 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_CC+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test -n "$CC"; then
4344 ac_cv_prog_CC="$CC" # Let the user override the test.
4345 else
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH
4349 IFS=$as_save_IFS
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 break 2
4357 done
4358 done
4359 IFS=$as_save_IFS
4363 CC=$ac_cv_prog_CC
4364 if test -n "$CC"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4366 $as_echo "$CC" >&6; }
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4374 if test -z "$ac_cv_prog_CC"; then
4375 ac_ct_CC=$CC
4376 # Extract the first word of "gcc", so it can be a program name with args.
4377 set dummy gcc; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 if test -n "$ac_ct_CC"; then
4384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4385 else
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH
4389 IFS=$as_save_IFS
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4393 ac_cv_prog_ac_ct_CC="gcc"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 break 2
4397 done
4398 done
4399 IFS=$as_save_IFS
4403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4404 if test -n "$ac_ct_CC"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4406 $as_echo "$ac_ct_CC" >&6; }
4407 else
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4412 if test "x$ac_ct_CC" = x; then
4413 CC=""
4414 else
4415 case $cross_compiling:$ac_tool_warned in
4416 yes:)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4419 ac_tool_warned=yes ;;
4420 esac
4421 CC=$ac_ct_CC
4423 else
4424 CC="$ac_cv_prog_CC"
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4430 set dummy ${ac_tool_prefix}cc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC="$CC" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC="${ac_tool_prefix}cc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4468 if test -z "$CC"; then
4469 # Extract the first word of "cc", so it can be a program name with args.
4470 set dummy cc; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$CC"; then
4477 ac_cv_prog_CC="$CC" # Let the user override the test.
4478 else
4479 ac_prog_rejected=no
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4488 ac_prog_rejected=yes
4489 continue
4491 ac_cv_prog_CC="cc"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4499 if test $ac_prog_rejected = yes; then
4500 # We found a bogon in the path, so make sure we never use it.
4501 set dummy $ac_cv_prog_CC
4502 shift
4503 if test $# != 0; then
4504 # We chose a different compiler from the bogus one.
4505 # However, it has the same basename, so the bogon will be chosen
4506 # first if we set CC to just the basename; use the full file name.
4507 shift
4508 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4513 CC=$ac_cv_prog_CC
4514 if test -n "$CC"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4516 $as_echo "$CC" >&6; }
4517 else
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 $as_echo "no" >&6; }
4524 if test -z "$CC"; then
4525 if test -n "$ac_tool_prefix"; then
4526 for ac_prog in cl.exe
4528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if ${ac_cv_prog_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if test -n "$CC"; then
4536 ac_cv_prog_CC="$CC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4549 done
4550 done
4551 IFS=$as_save_IFS
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4565 test -n "$CC" && break
4566 done
4568 if test -z "$CC"; then
4569 ac_ct_CC=$CC
4570 for ac_prog in cl.exe
4572 # Extract the first word of "$ac_prog", so it can be a program name with args.
4573 set dummy $ac_prog; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 if test -n "$ac_ct_CC"; then
4580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4581 else
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4585 IFS=$as_save_IFS
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_ac_ct_CC="$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 break 2
4593 done
4594 done
4595 IFS=$as_save_IFS
4599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4600 if test -n "$ac_ct_CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4602 $as_echo "$ac_ct_CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$ac_ct_CC" && break
4610 done
4612 if test "x$ac_ct_CC" = x; then
4613 CC=""
4614 else
4615 case $cross_compiling:$ac_tool_warned in
4616 yes:)
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4619 ac_tool_warned=yes ;;
4620 esac
4621 CC=$ac_ct_CC
4628 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4630 as_fn_error $? "no acceptable C compiler found in \$PATH
4631 See \`config.log' for more details" "$LINENO" 5; }
4633 # Provide some information about the compiler.
4634 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4635 set X $ac_compile
4636 ac_compiler=$2
4637 for ac_option in --version -v -V -qversion; do
4638 { { ac_try="$ac_compiler $ac_option >&5"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4644 $as_echo "$ac_try_echo"; } >&5
4645 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4646 ac_status=$?
4647 if test -s conftest.err; then
4648 sed '10a\
4649 ... rest of stderr output deleted ...
4650 10q' conftest.err >conftest.er1
4651 cat conftest.er1 >&5
4653 rm -f conftest.er1 conftest.err
4654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4655 test $ac_status = 0; }
4656 done
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 ac_clean_files_save=$ac_clean_files
4670 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4671 # Try to create an executable without -o first, disregard a.out.
4672 # It will help us diagnose broken compilers, and finding out an intuition
4673 # of exeext.
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4675 $as_echo_n "checking whether the C compiler works... " >&6; }
4676 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4678 # The possible output files:
4679 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4681 ac_rmfiles=
4682 for ac_file in $ac_files
4684 case $ac_file in
4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4686 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4687 esac
4688 done
4689 rm -f $ac_rmfiles
4691 if { { ac_try="$ac_link_default"
4692 case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4695 esac
4696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697 $as_echo "$ac_try_echo"; } >&5
4698 (eval "$ac_link_default") 2>&5
4699 ac_status=$?
4700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4701 test $ac_status = 0; }; then :
4702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4705 # so that the user can short-circuit this test for compilers unknown to
4706 # Autoconf.
4707 for ac_file in $ac_files ''
4709 test -f "$ac_file" || continue
4710 case $ac_file in
4711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4713 [ab].out )
4714 # We found the default executable, but exeext='' is most
4715 # certainly right.
4716 break;;
4717 *.* )
4718 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4719 then :; else
4720 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4722 # We set ac_cv_exeext here because the later test for it is not
4723 # safe: cross compilers may not add the suffix if given an `-o'
4724 # argument, so we may need to know it at that point already.
4725 # Even if this section looks crufty: it has the advantage of
4726 # actually working.
4727 break;;
4729 break;;
4730 esac
4731 done
4732 test "$ac_cv_exeext" = no && ac_cv_exeext=
4734 else
4735 ac_file=''
4737 if test -z "$ac_file"; then :
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 $as_echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.$ac_ext >&5
4743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4745 as_fn_error 77 "C compiler cannot create executables
4746 See \`config.log' for more details" "$LINENO" 5; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4752 $as_echo_n "checking for C compiler default output file name... " >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4754 $as_echo "$ac_file" >&6; }
4755 ac_exeext=$ac_cv_exeext
4757 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4758 ac_clean_files=$ac_clean_files_save
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4760 $as_echo_n "checking for suffix of executables... " >&6; }
4761 if { { ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4767 $as_echo "$ac_try_echo"; } >&5
4768 (eval "$ac_link") 2>&5
4769 ac_status=$?
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }; then :
4772 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4773 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4774 # work properly (i.e., refer to `conftest.exe'), while it won't with
4775 # `rm'.
4776 for ac_file in conftest.exe conftest conftest.*; do
4777 test -f "$ac_file" || continue
4778 case $ac_file in
4779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4780 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4781 break;;
4782 * ) break;;
4783 esac
4784 done
4785 else
4786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4789 See \`config.log' for more details" "$LINENO" 5; }
4791 rm -f conftest conftest$ac_cv_exeext
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4793 $as_echo "$ac_cv_exeext" >&6; }
4795 rm -f conftest.$ac_ext
4796 EXEEXT=$ac_cv_exeext
4797 ac_exeext=$EXEEXT
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <stdio.h>
4802 main ()
4804 FILE *f = fopen ("conftest.out", "w");
4805 return ferror (f) || fclose (f) != 0;
4808 return 0;
4810 _ACEOF
4811 ac_clean_files="$ac_clean_files conftest.out"
4812 # Check that the compiler produces executables we can run. If not, either
4813 # the compiler is broken, or we cross compile.
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4815 $as_echo_n "checking whether we are cross compiling... " >&6; }
4816 if test "$cross_compiling" != yes; then
4817 { { ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4823 $as_echo "$ac_try_echo"; } >&5
4824 (eval "$ac_link") 2>&5
4825 ac_status=$?
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }
4828 if { ac_try='./conftest$ac_cv_exeext'
4829 { { case "(($ac_try" in
4830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831 *) ac_try_echo=$ac_try;;
4832 esac
4833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4834 $as_echo "$ac_try_echo"; } >&5
4835 (eval "$ac_try") 2>&5
4836 ac_status=$?
4837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838 test $ac_status = 0; }; }; then
4839 cross_compiling=no
4840 else
4841 if test "$cross_compiling" = maybe; then
4842 cross_compiling=yes
4843 else
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4846 as_fn_error $? "cannot run C compiled programs.
4847 If you meant to cross compile, use \`--host'.
4848 See \`config.log' for more details" "$LINENO" 5; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4853 $as_echo "$cross_compiling" >&6; }
4855 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4856 ac_clean_files=$ac_clean_files_save
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4858 $as_echo_n "checking for suffix of object files... " >&6; }
4859 if ${ac_cv_objext+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.o conftest.obj
4874 if { { ac_try="$ac_compile"
4875 case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878 esac
4879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4880 $as_echo "$ac_try_echo"; } >&5
4881 (eval "$ac_compile") 2>&5
4882 ac_status=$?
4883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4884 test $ac_status = 0; }; then :
4885 for ac_file in conftest.o conftest.obj conftest.*; do
4886 test -f "$ac_file" || continue;
4887 case $ac_file in
4888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4889 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4890 break;;
4891 esac
4892 done
4893 else
4894 $as_echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.$ac_ext >&5
4897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4899 as_fn_error $? "cannot compute suffix of object files: cannot compile
4900 See \`config.log' for more details" "$LINENO" 5; }
4902 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4905 $as_echo "$ac_cv_objext" >&6; }
4906 OBJEXT=$ac_cv_objext
4907 ac_objext=$OBJEXT
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4910 if ${ac_cv_c_compiler_gnu+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4917 main ()
4919 #ifndef __GNUC__
4920 choke me
4921 #endif
4924 return 0;
4926 _ACEOF
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_compiler_gnu=yes
4929 else
4930 ac_compiler_gnu=no
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4938 if test $ac_compiler_gnu = yes; then
4939 GCC=yes
4940 else
4941 GCC=
4943 ac_test_CFLAGS=${CFLAGS+set}
4944 ac_save_CFLAGS=$CFLAGS
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4947 if ${ac_cv_prog_cc_g+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 ac_save_c_werror_flag=$ac_c_werror_flag
4951 ac_c_werror_flag=yes
4952 ac_cv_prog_cc_g=no
4953 CFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_compile "$LINENO"; then :
4966 ac_cv_prog_cc_g=yes
4967 else
4968 CFLAGS=""
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_compile "$LINENO"; then :
4982 else
4983 ac_c_werror_flag=$ac_save_c_werror_flag
4984 CFLAGS="-g"
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 ac_cv_prog_cc_g=yes
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 ac_c_werror_flag=$ac_save_c_werror_flag
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5007 $as_echo "$ac_cv_prog_cc_g" >&6; }
5008 if test "$ac_test_CFLAGS" = set; then
5009 CFLAGS=$ac_save_CFLAGS
5010 elif test $ac_cv_prog_cc_g = yes; then
5011 if test "$GCC" = yes; then
5012 CFLAGS="-g -O2"
5013 else
5014 CFLAGS="-g"
5016 else
5017 if test "$GCC" = yes; then
5018 CFLAGS="-O2"
5019 else
5020 CFLAGS=
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5025 if ${ac_cv_prog_cc_c89+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 ac_cv_prog_cc_c89=no
5029 ac_save_CC=$CC
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <stdarg.h>
5033 #include <stdio.h>
5034 struct stat;
5035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5036 struct buf { int x; };
5037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5038 static char *e (p, i)
5039 char **p;
5040 int i;
5042 return p[i];
5044 static char *f (char * (*g) (char **, int), char **p, ...)
5046 char *s;
5047 va_list v;
5048 va_start (v,p);
5049 s = g (p, va_arg (v,int));
5050 va_end (v);
5051 return s;
5054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5055 function prototypes and stuff, but not '\xHH' hex character constants.
5056 These don't provoke an error unfortunately, instead are silently treated
5057 as 'x'. The following induces an error, until -std is added to get
5058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5059 array size at least. It's necessary to write '\x00'==0 to get something
5060 that's true only with -std. */
5061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5064 inside strings and character constants. */
5065 #define FOO(x) 'x'
5066 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5068 int test (int i, double x);
5069 struct s1 {int (*f) (int a);};
5070 struct s2 {int (*f) (double a);};
5071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5072 int argc;
5073 char **argv;
5075 main ()
5077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5079 return 0;
5081 _ACEOF
5082 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5083 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5085 CC="$ac_save_CC $ac_arg"
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 ac_cv_prog_cc_c89=$ac_arg
5089 rm -f core conftest.err conftest.$ac_objext
5090 test "x$ac_cv_prog_cc_c89" != "xno" && break
5091 done
5092 rm -f conftest.$ac_ext
5093 CC=$ac_save_CC
5096 # AC_CACHE_VAL
5097 case "x$ac_cv_prog_cc_c89" in
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5100 $as_echo "none needed" >&6; } ;;
5101 xno)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5103 $as_echo "unsupported" >&6; } ;;
5105 CC="$CC $ac_cv_prog_cc_c89"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5107 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5108 esac
5109 if test "x$ac_cv_prog_cc_c89" != xno; then :
5113 ac_ext=c
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 ac_ext=cpp
5120 ac_cpp='$CXXCPP $CPPFLAGS'
5121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5124 if test -z "$CXX"; then
5125 if test -n "$CCC"; then
5126 CXX=$CCC
5127 else
5128 if test -n "$ac_tool_prefix"; then
5129 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_CXX+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$CXX"; then
5139 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 CXX=$ac_cv_prog_CXX
5159 if test -n "$CXX"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5161 $as_echo "$CXX" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$CXX" && break
5169 done
5171 if test -z "$CXX"; then
5172 ac_ct_CXX=$CXX
5173 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$ac_ct_CXX"; then
5183 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5203 if test -n "$ac_ct_CXX"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5205 $as_echo "$ac_ct_CXX" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$ac_ct_CXX" && break
5213 done
5215 if test "x$ac_ct_CXX" = x; then
5216 CXX="g++"
5217 else
5218 case $cross_compiling:$ac_tool_warned in
5219 yes:)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned=yes ;;
5223 esac
5224 CXX=$ac_ct_CXX
5230 # Provide some information about the compiler.
5231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5232 set X $ac_compile
5233 ac_compiler=$2
5234 for ac_option in --version -v -V -qversion; do
5235 { { ac_try="$ac_compiler $ac_option >&5"
5236 case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 $as_echo "$ac_try_echo"; } >&5
5242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5243 ac_status=$?
5244 if test -s conftest.err; then
5245 sed '10a\
5246 ... rest of stderr output deleted ...
5247 10q' conftest.err >conftest.er1
5248 cat conftest.er1 >&5
5250 rm -f conftest.er1 conftest.err
5251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252 test $ac_status = 0; }
5253 done
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5256 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5257 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5264 main ()
5266 #ifndef __GNUC__
5267 choke me
5268 #endif
5271 return 0;
5273 _ACEOF
5274 if ac_fn_cxx_try_compile "$LINENO"; then :
5275 ac_compiler_gnu=yes
5276 else
5277 ac_compiler_gnu=no
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5284 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5285 if test $ac_compiler_gnu = yes; then
5286 GXX=yes
5287 else
5288 GXX=
5290 ac_test_CXXFLAGS=${CXXFLAGS+set}
5291 ac_save_CXXFLAGS=$CXXFLAGS
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5293 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5294 if ${ac_cv_prog_cxx_g+:} false; then :
5295 $as_echo_n "(cached) " >&6
5296 else
5297 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5298 ac_cxx_werror_flag=yes
5299 ac_cv_prog_cxx_g=no
5300 CXXFLAGS="-g"
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5309 return 0;
5311 _ACEOF
5312 if ac_fn_cxx_try_compile "$LINENO"; then :
5313 ac_cv_prog_cxx_g=yes
5314 else
5315 CXXFLAGS=""
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main ()
5324 return 0;
5326 _ACEOF
5327 if ac_fn_cxx_try_compile "$LINENO"; then :
5329 else
5330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5331 CXXFLAGS="-g"
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5340 return 0;
5342 _ACEOF
5343 if ac_fn_cxx_try_compile "$LINENO"; then :
5344 ac_cv_prog_cxx_g=yes
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5354 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5355 if test "$ac_test_CXXFLAGS" = set; then
5356 CXXFLAGS=$ac_save_CXXFLAGS
5357 elif test $ac_cv_prog_cxx_g = yes; then
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-g -O2"
5360 else
5361 CXXFLAGS="-g"
5363 else
5364 if test "$GXX" = yes; then
5365 CXXFLAGS="-O2"
5366 else
5367 CXXFLAGS=
5370 ac_ext=c
5371 ac_cpp='$CPP $CPPFLAGS'
5372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_CPPBIN+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$CPPBIN"; then
5385 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 CPPBIN=$ac_cv_prog_CPPBIN
5405 if test -n "$CPPBIN"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5407 $as_echo "$CPPBIN" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_CPPBIN"; then
5416 ac_ct_CPPBIN=$CPPBIN
5417 # Extract the first word of "cpp", so it can be a program name with args.
5418 set dummy cpp; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_CPPBIN"; then
5425 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_CPPBIN="cpp"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5445 if test -n "$ac_ct_CPPBIN"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5447 $as_echo "$ac_ct_CPPBIN" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_CPPBIN" = x; then
5454 CPPBIN="cpp"
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 CPPBIN=$ac_ct_CPPBIN
5464 else
5465 CPPBIN="$ac_cv_prog_CPPBIN"
5469 cat >>confdefs.h <<_ACEOF
5470 #define EXEEXT "$ac_exeext"
5471 _ACEOF
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}ld; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_LD+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$LD"; then
5482 ac_cv_prog_LD="$LD" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_LD="${ac_tool_prefix}ld"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 LD=$ac_cv_prog_LD
5502 if test -n "$LD"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5504 $as_echo "$LD" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_LD"; then
5513 ac_ct_LD=$LD
5514 # Extract the first word of "ld", so it can be a program name with args.
5515 set dummy ld; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$ac_ct_LD"; then
5522 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_LD="ld"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5542 if test -n "$ac_ct_LD"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5544 $as_echo "$ac_ct_LD" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_LD" = x; then
5551 LD=""
5552 else
5553 case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559 LD=$ac_ct_LD
5561 else
5562 LD="$ac_cv_prog_LD"
5566 case $host in
5567 *-darwin*)
5568 with_fontconfig=${with_fontconfig:-no}
5570 *-mingw32*|*-cygwin*)
5571 enable_win16=${enable_win16:-no}
5572 with_mingw=${with_mingw:-no}
5573 CFLAGS="$CFLAGS -D_WIN32"
5575 esac
5577 case $host in
5578 x86_64*|amd64*)
5579 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5580 then
5581 CC="$CC -m32"
5582 CXX="$CXX -m32"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5585 $as_echo_n "checking whether $CC works... " >&6; }
5586 if ${wine_cv_cc_m32+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5597 return 0;
5599 _ACEOF
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 wine_cv_cc_m32=yes
5602 else
5603 wine_cv_cc_m32=no
5605 rm -f core conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5609 $as_echo "$wine_cv_cc_m32" >&6; }
5610 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
5611 host_cpu="i386"
5612 notice_platform="32-bit "
5613 TARGETFLAGS="-m32"
5615 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5616 export PKG_CONFIG_PATH
5617 enable_win16=${enable_win16:-yes}
5618 with_unwind=${with_unwind:-no}
5619 else
5620 if test "x${GCC}" = "xyes"
5621 then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5623 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5624 if ${wine_cv_builtin_ms_va_list+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5629 #include <stdarg.h>
5631 main ()
5633 void func(__builtin_ms_va_list *args);
5635 return 0;
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 wine_cv_builtin_ms_va_list=yes
5640 else
5641 wine_cv_builtin_ms_va_list=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5646 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5647 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
5649 CC="$CC -m64"
5650 CXX="$CXX -m64"
5651 host_cpu="x86_64"
5652 notice_platform="64-bit "
5653 TARGETFLAGS="-m64"
5657 arm*)
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5659 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5660 if ${wine_cv_thumb+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 int ac_test(int i) { return i; }
5667 main ()
5669 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_link "$LINENO"; then :
5675 wine_cv_thumb=yes
5676 else
5677 wine_cv_thumb=no
5679 rm -f core conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5683 $as_echo "$wine_cv_thumb" >&6; }
5684 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5685 case $with_float_abi in
5686 soft|softfp|hard)
5687 float_abi=$with_float_abi ;;
5689 case $host_os in
5690 *eabihf)
5691 float_abi=hard ;;
5693 float_abi=softfp
5694 saved_CFLAGS=$CFLAGS
5695 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5697 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5698 if ${wine_cv_float_abi+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5705 main ()
5707 asm("vmrs r2,fpscr");
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_link "$LINENO"; then :
5713 wine_cv_float_abi=yes
5714 else
5715 wine_cv_float_abi=no
5717 rm -f core conftest.err conftest.$ac_objext \
5718 conftest$ac_exeext conftest.$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5721 $as_echo "$wine_cv_float_abi" >&6; }
5722 if test $wine_cv_float_abi = no
5723 then
5724 float_abi=soft
5725 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5727 CFLAGS=$saved_CFLAGS
5728 esac
5730 esac
5731 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5732 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5735 aarch64*)
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5737 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5738 if ${wine_cv_builtin_ms_va_list+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5743 #include <stdarg.h>
5745 main ()
5747 void func(__builtin_ms_va_list *args);
5749 return 0;
5751 _ACEOF
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 wine_cv_builtin_ms_va_list=yes
5754 else
5755 wine_cv_builtin_ms_va_list=no
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5760 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5761 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5763 i[3456789]86*)
5764 enable_win16=${enable_win16:-yes}
5765 with_unwind=${with_unwind:-no}
5767 esac
5769 enable_win16=${enable_win16:-no}
5770 enable_win64=${enable_win64:-no}
5772 enable_winetest=${enable_winetest:-$enable_tests}
5774 if test "x$enable_win64" = "xyes"
5775 then
5776 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5777 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5783 if ${wine_cv_toolsdir+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 wine_cv_toolsdir="$with_wine_tools"
5787 if test -z "$with_wine_tools"; then
5788 if test "$cross_compiling" = "yes"; then
5789 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5790 elif test -n "$with_wine64"; then
5791 wine_cv_toolsdir="$with_wine64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5796 $as_echo "$wine_cv_toolsdir" >&6; }
5797 if test -z "$wine_cv_toolsdir"; then
5798 wine_makedep=tools/makedep
5799 TOOLSDIR="\$(top_builddir)"
5801 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5802 wine_makedep=$wine_cv_toolsdir/tools/makedep
5803 case "$wine_cv_toolsdir" in
5804 /*) TOOLSDIR=$wine_cv_toolsdir
5806 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5808 esac
5809 enable_tools=${enable_tools:-no}
5810 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5811 else
5812 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5814 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5815 then
5816 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5820 for ac_prog in flex
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy $ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_FLEX+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$FLEX"; then
5830 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_FLEX="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 FLEX=$ac_cv_prog_FLEX
5850 if test -n "$FLEX"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5852 $as_echo "$FLEX" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$FLEX" && break
5860 done
5861 test -n "$FLEX" || FLEX="none"
5863 if test "$FLEX" = "none"
5864 then
5865 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5868 $as_echo_n "checking whether flex is recent enough... " >&6; }
5869 if ${wine_cv_recent_flex+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 cat >conftest.l <<EOF
5873 %top{
5874 #include "prediluvian.h"
5878 if $FLEX -t conftest.l >/dev/null 2>&5
5879 then
5880 wine_cv_recent_flex=yes
5881 else
5882 wine_cv_recent_flex=no
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5886 $as_echo "$wine_cv_recent_flex" >&6; }
5887 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
5889 for ac_prog in bison
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_BISON+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$BISON"; then
5899 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_BISON="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 BISON=$ac_cv_prog_BISON
5919 if test -n "$BISON"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5921 $as_echo "$BISON" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$BISON" && break
5929 done
5930 test -n "$BISON" || BISON="none"
5932 if test "$BISON" = "none"
5933 then
5934 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5937 $as_echo_n "checking whether bison is recent enough... " >&6; }
5938 if ${wine_cv_recent_bison+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 cat >conftest.y <<EOF
5942 %define parse.error verbose
5944 empty: ;
5946 if $BISON conftest.y >/dev/null 2>&5
5947 then
5948 wine_cv_recent_bison=yes
5949 else
5950 wine_cv_recent_bison=no
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5954 $as_echo "$wine_cv_recent_bison" >&6; }
5955 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
5957 if test -n "$ac_tool_prefix"; then
5958 for ac_prog in ar gar
5960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_AR+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 if test -n "$AR"; then
5968 ac_cv_prog_AR="$AR" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 AR=$ac_cv_prog_AR
5988 if test -n "$AR"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5990 $as_echo "$AR" >&6; }
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997 test -n "$AR" && break
5998 done
6000 if test -z "$AR"; then
6001 ac_ct_AR=$AR
6002 for ac_prog in ar gar
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$ac_ct_AR"; then
6012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_ac_ct_AR="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6032 if test -n "$ac_ct_AR"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6034 $as_echo "$ac_ct_AR" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$ac_ct_AR" && break
6042 done
6044 if test "x$ac_ct_AR" = x; then
6045 AR="ar"
6046 else
6047 case $cross_compiling:$ac_tool_warned in
6048 yes:)
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6052 esac
6053 AR=$ac_ct_AR
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_STRIP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$STRIP"; then
6066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 STRIP=$ac_cv_prog_STRIP
6086 if test -n "$STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6088 $as_echo "$STRIP" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6096 if test -z "$ac_cv_prog_STRIP"; then
6097 ac_ct_STRIP=$STRIP
6098 # Extract the first word of "strip", so it can be a program name with args.
6099 set dummy strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ac_ct_STRIP"; then
6106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_STRIP="strip"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6126 if test -n "$ac_ct_STRIP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6128 $as_echo "$ac_ct_STRIP" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 if test "x$ac_ct_STRIP" = x; then
6135 STRIP="strip"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143 STRIP=$ac_ct_STRIP
6145 else
6146 STRIP="$ac_cv_prog_STRIP"
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_RANLIB+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$RANLIB"; then
6158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 RANLIB=$ac_cv_prog_RANLIB
6178 if test -n "$RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6180 $as_echo "$RANLIB" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6195 $as_echo_n "(cached) " >&6
6196 else
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB="ranlib"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6213 IFS=$as_save_IFS
6217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6220 $as_echo "$ac_ct_RANLIB" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_RANLIB" = x; then
6227 RANLIB=":"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 RANLIB=$ac_ct_RANLIB
6237 else
6238 RANLIB="$ac_cv_prog_RANLIB"
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6242 $as_echo_n "checking whether ln -s works... " >&6; }
6243 LN_S=$as_ln_s
6244 if test "$LN_S" = "ln -s"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6246 $as_echo "yes" >&6; }
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6249 $as_echo "no, using $LN_S" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6254 if ${ac_cv_path_GREP+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$GREP"; then
6258 ac_path_GREP_found=false
6259 # Loop through the user's path and test for each of PROGNAME-LIST
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_prog in grep ggrep; do
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6268 as_fn_executable_p "$ac_path_GREP" || continue
6269 # Check for GNU ac_path_GREP and select it if it is found.
6270 # Check for GNU $ac_path_GREP
6271 case `"$ac_path_GREP" --version 2>&1` in
6272 *GNU*)
6273 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6275 ac_count=0
6276 $as_echo_n 0123456789 >"conftest.in"
6277 while :
6279 cat "conftest.in" "conftest.in" >"conftest.tmp"
6280 mv "conftest.tmp" "conftest.in"
6281 cp "conftest.in" "conftest.nl"
6282 $as_echo 'GREP' >> "conftest.nl"
6283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6285 as_fn_arith $ac_count + 1 && ac_count=$as_val
6286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6287 # Best one so far, save it but keep looking for a better one
6288 ac_cv_path_GREP="$ac_path_GREP"
6289 ac_path_GREP_max=$ac_count
6291 # 10*(2^10) chars as input seems more than enough
6292 test $ac_count -gt 10 && break
6293 done
6294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6295 esac
6297 $ac_path_GREP_found && break 3
6298 done
6299 done
6300 done
6301 IFS=$as_save_IFS
6302 if test -z "$ac_cv_path_GREP"; then
6303 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6305 else
6306 ac_cv_path_GREP=$GREP
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6311 $as_echo "$ac_cv_path_GREP" >&6; }
6312 GREP="$ac_cv_path_GREP"
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6316 $as_echo_n "checking for egrep... " >&6; }
6317 if ${ac_cv_path_EGREP+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6321 then ac_cv_path_EGREP="$GREP -E"
6322 else
6323 if test -z "$EGREP"; then
6324 ac_path_EGREP_found=false
6325 # Loop through the user's path and test for each of PROGNAME-LIST
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_prog in egrep; do
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6334 as_fn_executable_p "$ac_path_EGREP" || continue
6335 # Check for GNU ac_path_EGREP and select it if it is found.
6336 # Check for GNU $ac_path_EGREP
6337 case `"$ac_path_EGREP" --version 2>&1` in
6338 *GNU*)
6339 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6341 ac_count=0
6342 $as_echo_n 0123456789 >"conftest.in"
6343 while :
6345 cat "conftest.in" "conftest.in" >"conftest.tmp"
6346 mv "conftest.tmp" "conftest.in"
6347 cp "conftest.in" "conftest.nl"
6348 $as_echo 'EGREP' >> "conftest.nl"
6349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6351 as_fn_arith $ac_count + 1 && ac_count=$as_val
6352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6353 # Best one so far, save it but keep looking for a better one
6354 ac_cv_path_EGREP="$ac_path_EGREP"
6355 ac_path_EGREP_max=$ac_count
6357 # 10*(2^10) chars as input seems more than enough
6358 test $ac_count -gt 10 && break
6359 done
6360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6361 esac
6363 $ac_path_EGREP_found && break 3
6364 done
6365 done
6366 done
6367 IFS=$as_save_IFS
6368 if test -z "$ac_cv_path_EGREP"; then
6369 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6371 else
6372 ac_cv_path_EGREP=$EGREP
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6378 $as_echo "$ac_cv_path_EGREP" >&6; }
6379 EGREP="$ac_cv_path_EGREP"
6382 # Extract the first word of "ldconfig", so it can be a program name with args.
6383 set dummy ldconfig; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_path_LDCONFIG+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 case $LDCONFIG in
6390 [\\/]* | ?:[\\/]*)
6391 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in /sbin /usr/sbin $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6409 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6411 esac
6413 LDCONFIG=$ac_cv_path_LDCONFIG
6414 if test -n "$LDCONFIG"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6416 $as_echo "$LDCONFIG" >&6; }
6417 else
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6423 for ac_prog in msgfmt
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_MSGFMT+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$MSGFMT"; then
6433 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_MSGFMT="$ac_prog"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 MSGFMT=$ac_cv_prog_MSGFMT
6453 if test -n "$MSGFMT"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6455 $as_echo "$MSGFMT" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6462 test -n "$MSGFMT" && break
6463 done
6464 test -n "$MSGFMT" || MSGFMT="false"
6466 if ${ac_tool_prefix+:} false; then :
6467 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$PKG_CONFIG"; then
6475 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6495 if test -n "$PKG_CONFIG"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6497 $as_echo "$PKG_CONFIG" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6506 if test "x$cross_compiling" = xyes; then :
6508 else
6509 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6510 # Extract the first word of "pkg-config", so it can be a program name with args.
6511 set dummy pkg-config; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$PKG_CONFIG"; then
6518 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_PKG_CONFIG="pkg-config"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6538 if test -n "$PKG_CONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6540 $as_echo "$PKG_CONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 else
6549 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test "x$enable_maintainer_mode" != "xyes"
6553 then
6554 FONTFORGE=""
6555 RSVG=""
6556 CONVERT=""
6557 ICOTOOL=""
6558 else
6559 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6560 for ac_prog in fontforge
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy $ac_prog; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_FONTFORGE+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$FONTFORGE"; then
6570 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_FONTFORGE="$ac_prog"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 FONTFORGE=$ac_cv_prog_FONTFORGE
6590 if test -n "$FONTFORGE"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6592 $as_echo "$FONTFORGE" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6599 test -n "$FONTFORGE" && break
6600 done
6601 test -n "$FONTFORGE" || FONTFORGE="false"
6603 for ac_prog in rsvg-convert rsvg
6605 # Extract the first word of "$ac_prog", so it can be a program name with args.
6606 set dummy $ac_prog; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_RSVG+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$RSVG"; then
6613 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622 ac_cv_prog_RSVG="$ac_prog"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 RSVG=$ac_cv_prog_RSVG
6633 if test -n "$RSVG"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6635 $as_echo "$RSVG" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6642 test -n "$RSVG" && break
6643 done
6644 test -n "$RSVG" || RSVG="false"
6646 for ac_prog in convert
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if ${ac_cv_prog_CONVERT+:} false; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$CONVERT"; then
6656 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6665 ac_cv_prog_CONVERT="$ac_prog"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 CONVERT=$ac_cv_prog_CONVERT
6676 if test -n "$CONVERT"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6678 $as_echo "$CONVERT" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6685 test -n "$CONVERT" && break
6686 done
6687 test -n "$CONVERT" || CONVERT="false"
6689 for ac_prog in icotool
6691 # Extract the first word of "$ac_prog", so it can be a program name with args.
6692 set dummy $ac_prog; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ICOTOOL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 if test -n "$ICOTOOL"; then
6699 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6704 IFS=$as_save_IFS
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ICOTOOL="$ac_prog"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 ICOTOOL=$ac_cv_prog_ICOTOOL
6719 if test -n "$ICOTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6721 $as_echo "$ICOTOOL" >&6; }
6722 else
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6728 test -n "$ICOTOOL" && break
6729 done
6730 test -n "$ICOTOOL" || ICOTOOL="false"
6732 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6733 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6735 if test "$CONVERT" = false
6736 then
6737 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6740 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6741 convert_version=`convert --version | head -n1`
6742 if test "x$convert_version" != "x"
6743 then
6744 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6745 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6746 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6747 then
6748 CONVERT=false
6751 if test "$CONVERT" = false
6752 then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6754 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6755 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6756 else
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6758 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6762 if test "$ICOTOOL" = false
6763 then
6764 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6767 $as_echo_n "checking for recent enough icotool... " >&6; }
6768 icotool_version=`icotool --version | head -n1`
6769 if test "x$icotool_version" != "x"
6770 then
6771 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6772 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6773 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6774 then
6775 ICOTOOL=false
6776 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6779 if test "$ICOTOOL" = false
6780 then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6782 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6783 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6786 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6790 with_gettext=yes
6791 with_gettextpo=yes
6794 test "x$with_gettext" != xno || MSGFMT=false
6795 if test "$MSGFMT" != "false"
6796 then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6798 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6799 if ${wine_cv_msgfmt_contexts+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 cat >conftest.po <<EOF
6803 # comment
6804 msgctxt "ctxt"
6805 msgid "id"
6806 msgstr "str"
6808 if $MSGFMT -o /dev/null conftest.po 2>&5
6809 then
6810 wine_cv_msgfmt_contexts=yes
6811 else
6812 wine_cv_msgfmt_contexts=no
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6816 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6817 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6819 if test "$MSGFMT" = false; then :
6820 case "x$with_gettext" in
6821 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6822 xno) ;;
6823 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6824 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6825 esac
6826 enable_po=${enable_po:-no}
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6831 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6832 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6833 $as_echo_n "(cached) " >&6
6834 else
6835 ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-li386 $LIBS"
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6840 /* Override any GCC internal prototype to avoid an error.
6841 Use char because int might match the return type of a GCC
6842 builtin and then its argument prototype would still apply. */
6843 #ifdef __cplusplus
6844 extern "C"
6845 #endif
6846 char i386_set_ldt ();
6848 main ()
6850 return i386_set_ldt ();
6852 return 0;
6854 _ACEOF
6855 if ac_fn_c_try_link "$LINENO"; then :
6856 ac_cv_lib_i386_i386_set_ldt=yes
6857 else
6858 ac_cv_lib_i386_i386_set_ldt=no
6860 rm -f core conftest.err conftest.$ac_objext \
6861 conftest$ac_exeext conftest.$ac_ext
6862 LIBS=$ac_check_lib_save_LIBS
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6865 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6866 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6867 I386_LIBS="-li386"
6872 OPENGL_LIBS=""
6876 # Check whether --enable-largefile was given.
6877 if test "${enable_largefile+set}" = set; then :
6878 enableval=$enable_largefile;
6881 if test "$enable_largefile" != no; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6884 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6885 if ${ac_cv_sys_largefile_CC+:} false; then :
6886 $as_echo_n "(cached) " >&6
6887 else
6888 ac_cv_sys_largefile_CC=no
6889 if test "$GCC" != yes; then
6890 ac_save_CC=$CC
6891 while :; do
6892 # IRIX 6.2 and later do not support large files by default,
6893 # so use the C compiler's -n32 option if that helps.
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6897 /* Check that off_t can represent 2**63 - 1 correctly.
6898 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6899 since some C++ compilers masquerading as C compilers
6900 incorrectly reject 9223372036854775807. */
6901 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6902 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6903 && LARGE_OFF_T % 2147483647 == 1)
6904 ? 1 : -1];
6906 main ()
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 break
6916 rm -f core conftest.err conftest.$ac_objext
6917 CC="$CC -n32"
6918 if ac_fn_c_try_compile "$LINENO"; then :
6919 ac_cv_sys_largefile_CC=' -n32'; break
6921 rm -f core conftest.err conftest.$ac_objext
6922 break
6923 done
6924 CC=$ac_save_CC
6925 rm -f conftest.$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6929 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6930 if test "$ac_cv_sys_largefile_CC" != no; then
6931 CC=$CC$ac_cv_sys_largefile_CC
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6935 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6936 if ${ac_cv_sys_file_offset_bits+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 while :; do
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_file_offset_bits=no; break
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #define _FILE_OFFSET_BITS 64
6966 #include <sys/types.h>
6967 /* Check that off_t can represent 2**63 - 1 correctly.
6968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6969 since some C++ compilers masquerading as C compilers
6970 incorrectly reject 9223372036854775807. */
6971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6973 && LARGE_OFF_T % 2147483647 == 1)
6974 ? 1 : -1];
6976 main ()
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_sys_file_offset_bits=64; break
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 ac_cv_sys_file_offset_bits=unknown
6988 break
6989 done
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6992 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6993 case $ac_cv_sys_file_offset_bits in #(
6994 no | unknown) ;;
6996 cat >>confdefs.h <<_ACEOF
6997 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6998 _ACEOF
7000 esac
7001 rm -rf conftest*
7002 if test $ac_cv_sys_file_offset_bits = unknown; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7004 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7005 if ${ac_cv_sys_large_files+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 while :; do
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 /* Check that off_t can represent 2**63 - 1 correctly.
7013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7014 since some C++ compilers masquerading as C compilers
7015 incorrectly reject 9223372036854775807. */
7016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7018 && LARGE_OFF_T % 2147483647 == 1)
7019 ? 1 : -1];
7021 main ()
7025 return 0;
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_large_files=no; break
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #define _LARGE_FILES 1
7035 #include <sys/types.h>
7036 /* Check that off_t can represent 2**63 - 1 correctly.
7037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7038 since some C++ compilers masquerading as C compilers
7039 incorrectly reject 9223372036854775807. */
7040 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7042 && LARGE_OFF_T % 2147483647 == 1)
7043 ? 1 : -1];
7045 main ()
7049 return 0;
7051 _ACEOF
7052 if ac_fn_c_try_compile "$LINENO"; then :
7053 ac_cv_sys_large_files=1; break
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 ac_cv_sys_large_files=unknown
7057 break
7058 done
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7061 $as_echo "$ac_cv_sys_large_files" >&6; }
7062 case $ac_cv_sys_large_files in #(
7063 no | unknown) ;;
7065 cat >>confdefs.h <<_ACEOF
7066 #define _LARGE_FILES $ac_cv_sys_large_files
7067 _ACEOF
7069 esac
7070 rm -rf conftest*
7077 ac_ext=c
7078 ac_cpp='$CPP $CPPFLAGS'
7079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7084 # On Suns, sometimes $CPP names a directory.
7085 if test -n "$CPP" && test -d "$CPP"; then
7086 CPP=
7088 if test -z "$CPP"; then
7089 if ${ac_cv_prog_CPP+:} false; then :
7090 $as_echo_n "(cached) " >&6
7091 else
7092 # Double quotes because CPP needs to be expanded
7093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7095 ac_preproc_ok=false
7096 for ac_c_preproc_warn_flag in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 #ifdef __STDC__
7107 # include <limits.h>
7108 #else
7109 # include <assert.h>
7110 #endif
7111 Syntax error
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7115 else
7116 # Broken: fails on valid input.
7117 continue
7119 rm -f conftest.err conftest.i conftest.$ac_ext
7121 # OK, works on sane cases. Now check whether nonexistent headers
7122 # can be detected and how.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <ac_nonexistent.h>
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7128 # Broken: success on invalid input.
7129 continue
7130 else
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.i conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then :
7141 break
7144 done
7145 ac_cv_prog_CPP=$CPP
7148 CPP=$ac_cv_prog_CPP
7149 else
7150 ac_cv_prog_CPP=$CPP
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7153 $as_echo "$CPP" >&6; }
7154 ac_preproc_ok=false
7155 for ac_c_preproc_warn_flag in '' yes
7157 # Use a header file that comes with gcc, so configuring glibc
7158 # with a fresh cross-compiler works.
7159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7160 # <limits.h> exists even on freestanding compilers.
7161 # On the NeXT, cc -E runs the code through the compiler's parser,
7162 # not just through cpp. "Syntax error" is here to catch this case.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #ifdef __STDC__
7166 # include <limits.h>
7167 #else
7168 # include <assert.h>
7169 #endif
7170 Syntax error
7171 _ACEOF
7172 if ac_fn_c_try_cpp "$LINENO"; then :
7174 else
7175 # Broken: fails on valid input.
7176 continue
7178 rm -f conftest.err conftest.i conftest.$ac_ext
7180 # OK, works on sane cases. Now check whether nonexistent headers
7181 # can be detected and how.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <ac_nonexistent.h>
7185 _ACEOF
7186 if ac_fn_c_try_cpp "$LINENO"; then :
7187 # Broken: success on invalid input.
7188 continue
7189 else
7190 # Passes both tests.
7191 ac_preproc_ok=:
7192 break
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 done
7197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7198 rm -f conftest.i conftest.err conftest.$ac_ext
7199 if $ac_preproc_ok; then :
7201 else
7202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7204 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7205 See \`config.log' for more details" "$LINENO" 5; }
7208 ac_ext=c
7209 ac_cpp='$CPP $CPPFLAGS'
7210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7216 $as_echo_n "checking for ANSI C header files... " >&6; }
7217 if ${ac_cv_header_stdc+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 #include <stdlib.h>
7223 #include <stdarg.h>
7224 #include <string.h>
7225 #include <float.h>
7228 main ()
7232 return 0;
7234 _ACEOF
7235 if ac_fn_c_try_compile "$LINENO"; then :
7236 ac_cv_header_stdc=yes
7237 else
7238 ac_cv_header_stdc=no
7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 if test $ac_cv_header_stdc = yes; then
7243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <string.h>
7248 _ACEOF
7249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7250 $EGREP "memchr" >/dev/null 2>&1; then :
7252 else
7253 ac_cv_header_stdc=no
7255 rm -f conftest*
7259 if test $ac_cv_header_stdc = yes; then
7260 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <stdlib.h>
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "free" >/dev/null 2>&1; then :
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f conftest*
7276 if test $ac_cv_header_stdc = yes; then
7277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7278 if test "$cross_compiling" = yes; then :
7280 else
7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282 /* end confdefs.h. */
7283 #include <ctype.h>
7284 #include <stdlib.h>
7285 #if ((' ' & 0x0FF) == 0x020)
7286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7288 #else
7289 # define ISLOWER(c) \
7290 (('a' <= (c) && (c) <= 'i') \
7291 || ('j' <= (c) && (c) <= 'r') \
7292 || ('s' <= (c) && (c) <= 'z'))
7293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7294 #endif
7296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7298 main ()
7300 int i;
7301 for (i = 0; i < 256; i++)
7302 if (XOR (islower (i), ISLOWER (i))
7303 || toupper (i) != TOUPPER (i))
7304 return 2;
7305 return 0;
7307 _ACEOF
7308 if ac_fn_c_try_run "$LINENO"; then :
7310 else
7311 ac_cv_header_stdc=no
7313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7314 conftest.$ac_objext conftest.beam conftest.$ac_ext
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7320 $as_echo "$ac_cv_header_stdc" >&6; }
7321 if test $ac_cv_header_stdc = yes; then
7323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7329 inttypes.h stdint.h unistd.h
7330 do :
7331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7335 cat >>confdefs.h <<_ACEOF
7336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7344 for ac_header in \
7345 AL/al.h \
7346 ApplicationServices/ApplicationServices.h \
7347 AudioToolbox/AudioConverter.h \
7348 AudioUnit/AudioUnit.h \
7349 AudioUnit/AudioComponent.h \
7350 CL/cl.h \
7351 Carbon/Carbon.h \
7352 CommonCrypto/CommonCryptor.h \
7353 CoreAudio/CoreAudio.h \
7354 CoreServices/CoreServices.h \
7355 DiskArbitration/DiskArbitration.h \
7356 EGL/egl.h \
7357 IOKit/IOKitLib.h \
7358 IOKit/hid/IOHIDLib.h \
7359 OpenAL/al.h \
7360 OpenCL/opencl.h \
7361 QuickTime/ImageCompression.h \
7362 Security/Security.h \
7363 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7364 SystemConfiguration/SCNetworkConfiguration.h \
7365 alias.h \
7366 arpa/inet.h \
7367 arpa/nameser.h \
7368 asm/types.h \
7369 asm/user.h \
7370 curses.h \
7371 dirent.h \
7372 dlfcn.h \
7373 elf.h \
7374 float.h \
7375 fnmatch.h \
7376 getopt.h \
7377 gettext-po.h \
7378 grp.h \
7379 gsm.h \
7380 gsm/gsm.h \
7381 ieeefp.h \
7382 inet/mib2.h \
7383 kstat.h \
7384 libproc.h \
7385 link.h \
7386 linux/cdrom.h \
7387 linux/compiler.h \
7388 linux/filter.h \
7389 linux/hdreg.h \
7390 linux/hidraw.h \
7391 linux/input.h \
7392 linux/ioctl.h \
7393 linux/joystick.h \
7394 linux/major.h \
7395 linux/param.h \
7396 linux/serial.h \
7397 linux/types.h \
7398 linux/ucdrom.h \
7399 lwp.h \
7400 mach-o/nlist.h \
7401 mach-o/loader.h \
7402 mach/mach.h \
7403 mach/machine.h \
7404 machine/cpu.h \
7405 machine/limits.h \
7406 machine/sysarch.h \
7407 mntent.h \
7408 ncurses.h \
7409 netdb.h \
7410 netinet/in.h \
7411 netinet/in_systm.h \
7412 netinet/tcp.h \
7413 netinet/tcp_fsm.h \
7414 pcap/pcap.h \
7415 poll.h \
7416 port.h \
7417 pthread.h \
7418 pwd.h \
7419 sched.h \
7420 scsi/scsi.h \
7421 scsi/scsi_ioctl.h \
7422 scsi/sg.h \
7423 stdbool.h \
7424 stdint.h \
7425 stropts.h \
7426 sys/attr.h \
7427 sys/auxv.h \
7428 sys/cdio.h \
7429 sys/elf32.h \
7430 sys/epoll.h \
7431 sys/event.h \
7432 sys/exec_elf.h \
7433 sys/filio.h \
7434 sys/ioctl.h \
7435 sys/ipc.h \
7436 sys/limits.h \
7437 sys/link.h \
7438 sys/mman.h \
7439 sys/modem.h \
7440 sys/msg.h \
7441 sys/mtio.h \
7442 sys/param.h \
7443 sys/poll.h \
7444 sys/prctl.h \
7445 sys/protosw.h \
7446 sys/ptrace.h \
7447 sys/queue.h \
7448 sys/resource.h \
7449 sys/scsiio.h \
7450 sys/shm.h \
7451 sys/signal.h \
7452 sys/socket.h \
7453 sys/socketvar.h \
7454 sys/sockio.h \
7455 sys/statvfs.h \
7456 sys/strtio.h \
7457 sys/syscall.h \
7458 sys/sysinfo.h \
7459 sys/tihdr.h \
7460 sys/time.h \
7461 sys/timeout.h \
7462 sys/times.h \
7463 sys/uio.h \
7464 sys/user.h \
7465 sys/utsname.h \
7466 sys/vnode.h \
7467 sys/wait.h \
7468 syscall.h \
7469 termios.h \
7470 unistd.h \
7471 utime.h \
7472 valgrind/memcheck.h \
7473 valgrind/valgrind.h
7475 do :
7476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7478 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7479 cat >>confdefs.h <<_ACEOF
7480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7481 _ACEOF
7485 done
7487 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7488 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7490 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7495 if test $ac_cv_header_sys_mkdev_h = no; then
7496 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7497 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7499 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7506 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7507 if ${ac_cv_header_stat_broken+:} false; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7512 #include <sys/types.h>
7513 #include <sys/stat.h>
7515 #if defined S_ISBLK && defined S_IFDIR
7516 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7517 #endif
7519 #if defined S_ISBLK && defined S_IFCHR
7520 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7521 #endif
7523 #if defined S_ISLNK && defined S_IFREG
7524 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7525 #endif
7527 #if defined S_ISSOCK && defined S_IFREG
7528 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7529 #endif
7531 _ACEOF
7532 if ac_fn_c_try_compile "$LINENO"; then :
7533 ac_cv_header_stat_broken=no
7534 else
7535 ac_cv_header_stat_broken=yes
7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7540 $as_echo "$ac_cv_header_stat_broken" >&6; }
7541 if test $ac_cv_header_stat_broken = yes; then
7543 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7549 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7550 do :
7551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7553 #ifdef HAVE_SYS_PARAM_H
7554 # include <sys/param.h>
7555 #endif
7557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7558 cat >>confdefs.h <<_ACEOF
7559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 _ACEOF
7564 done
7567 for ac_header in \
7568 netinet/ip.h \
7569 net/if.h \
7570 net/if_arp.h \
7571 net/if_dl.h \
7572 net/if_types.h \
7573 net/route.h \
7574 netinet/if_ether.h \
7575 netinet/if_inarp.h \
7576 netinet/in_pcb.h \
7577 netinet/ip_icmp.h \
7578 netinet/ip_var.h \
7579 netinet/udp.h \
7580 netipx/ipx.h \
7581 sys/un.h \
7583 do :
7584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7586 #ifdef HAVE_SYS_SOCKET_H
7587 # include <sys/socket.h>
7588 #endif
7589 #ifdef HAVE_SYS_SOCKETVAR_H
7590 # include <sys/socketvar.h>
7591 #endif
7592 #ifdef HAVE_NET_ROUTE_H
7593 # include <net/route.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_H
7596 # include <netinet/in.h>
7597 #endif
7598 #ifdef HAVE_NETINET_IN_SYSTM_H
7599 # include <netinet/in_systm.h>
7600 #endif
7601 #ifdef HAVE_NET_IF_H
7602 # include <net/if.h>
7603 #endif
7604 #ifdef HAVE_NETINET_IP_H
7605 # include <netinet/ip.h>
7606 #endif
7608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7609 cat >>confdefs.h <<_ACEOF
7610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 _ACEOF
7615 done
7618 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7619 do :
7620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7622 #ifdef HAVE_ALIAS_H
7623 # include <alias.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKET_H
7626 # include <sys/socket.h>
7627 #endif
7628 #ifdef HAVE_SYS_SOCKETVAR_H
7629 # include <sys/socketvar.h>
7630 #endif
7631 #ifdef HAVE_SYS_TIMEOUT_H
7632 # include <sys/timeout.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_H
7635 # include <netinet/in.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IN_SYSTM_H
7638 # include <netinet/in_systm.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_H
7641 # include <netinet/ip.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_VAR_H
7644 # include <netinet/ip_var.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IP_ICMP_H
7647 # include <netinet/ip_icmp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_UDP_H
7650 # include <netinet/udp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_H
7653 # include <netinet/tcp.h>
7654 #endif
7655 #ifdef HAVE_NETINET_TCP_TIMER_H
7656 #include <netinet/tcp_timer.h>
7657 #endif
7659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7660 cat >>confdefs.h <<_ACEOF
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7669 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7670 do :
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7673 #ifdef HAVE_ASM_TYPES_H
7674 # include <asm/types.h>
7675 #endif
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_LINUX_TYPES_H
7680 # include <linux/types.h>
7681 #endif
7683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7686 _ACEOF
7690 done
7693 for ac_header in resolv.h
7694 do :
7695 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7696 #ifdef HAVE_SYS_SOCKET_H
7697 # include <sys/socket.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IN_H
7700 # include <netinet/in.h>
7701 #endif
7702 #ifdef HAVE_ARPA_NAMESER_H
7703 # include <arpa/nameser.h>
7704 #endif
7706 if test "x$ac_cv_header_resolv_h" = xyes; then :
7707 cat >>confdefs.h <<_ACEOF
7708 #define HAVE_RESOLV_H 1
7709 _ACEOF
7713 done
7716 for ac_header in ifaddrs.h
7717 do :
7718 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7720 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7721 cat >>confdefs.h <<_ACEOF
7722 #define HAVE_IFADDRS_H 1
7723 _ACEOF
7727 done
7730 for ac_header in sys/ucontext.h
7731 do :
7732 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7734 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF
7736 #define HAVE_SYS_UCONTEXT_H 1
7737 _ACEOF
7741 done
7744 for ac_header in sys/thr.h
7745 do :
7746 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7747 #ifdef HAVE_SYS_UCONTEXT_H
7748 #include <sys/ucontext.h>
7749 #endif
7751 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7752 cat >>confdefs.h <<_ACEOF
7753 #define HAVE_SYS_THR_H 1
7754 _ACEOF
7758 done
7761 for ac_header in pthread_np.h
7762 do :
7763 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7764 #include <pthread.h>
7765 #endif
7767 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_PTHREAD_NP_H 1
7770 _ACEOF
7774 done
7777 for ac_header in linux/videodev2.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7780 #include <sys/time.h>
7781 #endif
7782 #include <sys/types.h>
7783 #ifdef HAVE_ASM_TYPES_H
7784 #include <asm/types.h>
7785 #endif
7787 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_LINUX_VIDEODEV2_H 1
7790 _ACEOF
7794 done
7797 for ac_header in libprocstat.h
7798 do :
7799 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7800 #include <sys/param.h>
7801 #endif
7802 #ifdef HAVE_SYS_QUEUE_H
7803 #include <sys/queue.h>
7804 #endif
7805 #ifdef HAVE_SYS_SOCKET_H
7806 #include <sys/socket.h>
7807 #endif
7809 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_LIBPROCSTAT_H 1
7812 _ACEOF
7816 done
7820 DLLFLAGS="-D_REENTRANT"
7822 LDRPATH_INSTALL=""
7824 LDRPATH_LOCAL=""
7826 LDDLLFLAGS=""
7828 LDEXECFLAGS=""
7830 TOP_INSTALL_LIB=""
7832 TOP_INSTALL_DEV=""
7834 WINELOADER_LDFLAGS=""
7836 WINEPRELOADER_LDFLAGS=""
7838 LIBEXT="so"
7839 DLLEXT=".so"
7840 # Extract the first word of "ldd", so it can be a program name with args.
7841 set dummy ldd; ac_word=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_path_LDD+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 case $LDD in
7848 [\\/]* | ?:[\\/]*)
7849 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 as_dummy="/sbin:/usr/sbin:$PATH"
7854 for as_dir in $as_dummy
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7864 done
7865 done
7866 IFS=$as_save_IFS
7868 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7870 esac
7872 LDD=$ac_cv_path_LDD
7873 if test -n "$LDD"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7875 $as_echo "$LDD" >&6; }
7876 else
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}otool; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_OTOOL+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$OTOOL"; then
7891 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 OTOOL=$ac_cv_prog_OTOOL
7911 if test -n "$OTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7913 $as_echo "$OTOOL" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7921 if test -z "$ac_cv_prog_OTOOL"; then
7922 ac_ct_OTOOL=$OTOOL
7923 # Extract the first word of "otool", so it can be a program name with args.
7924 set dummy otool; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7928 $as_echo_n "(cached) " >&6
7929 else
7930 if test -n "$ac_ct_OTOOL"; then
7931 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7932 else
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 for as_dir in $PATH
7936 IFS=$as_save_IFS
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_OTOOL="otool"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7944 done
7945 done
7946 IFS=$as_save_IFS
7950 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7951 if test -n "$ac_ct_OTOOL"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7953 $as_echo "$ac_ct_OTOOL" >&6; }
7954 else
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7959 if test "x$ac_ct_OTOOL" = x; then
7960 OTOOL="otool"
7961 else
7962 case $cross_compiling:$ac_tool_warned in
7963 yes:)
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7966 ac_tool_warned=yes ;;
7967 esac
7968 OTOOL=$ac_ct_OTOOL
7970 else
7971 OTOOL="$ac_cv_prog_OTOOL"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_READELF+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$READELF"; then
7983 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 READELF=$ac_cv_prog_READELF
8003 if test -n "$READELF"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8005 $as_echo "$READELF" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_READELF"; then
8014 ac_ct_READELF=$READELF
8015 # Extract the first word of "readelf", so it can be a program name with args.
8016 set dummy readelf; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_READELF"; then
8023 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_READELF="readelf"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8043 if test -n "$ac_ct_READELF"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8045 $as_echo "$ac_ct_READELF" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_READELF" = x; then
8052 READELF="true"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 READELF=$ac_ct_READELF
8062 else
8063 READELF="$ac_cv_prog_READELF"
8066 wine_rules_file=conf$$rules.make
8067 rm -f $wine_rules_file
8068 SUBDIRS=""
8070 DISABLED_SUBDIRS=""
8072 CONFIGURE_TARGETS=""
8075 wine_fn_append_file ()
8077 as_fn_append $1 " \\$as_nl $2"
8080 wine_fn_append_rule ()
8082 $as_echo "$1" >>$wine_rules_file
8085 wine_fn_config_makefile ()
8087 wine_fn_append_file SUBDIRS $1
8088 if eval test \"x\$"$2"\" = x"no"; then :
8089 wine_fn_append_file DISABLED_SUBDIRS $1
8093 wine_fn_config_symlink ()
8095 ac_links=$@
8096 wine_fn_append_rule \
8097 "$ac_links:
8098 @./config.status \$@"
8099 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8102 wine_binary="wine"
8103 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8104 WINELOADER_PROGRAMS="$wine_binary"
8106 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8108 case $host_os in
8109 cygwin*|mingw32*)
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_DLLTOOL+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 if test -n "$DLLTOOL"; then
8119 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8124 IFS=$as_save_IFS
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 break 2
8132 done
8133 done
8134 IFS=$as_save_IFS
8138 DLLTOOL=$ac_cv_prog_DLLTOOL
8139 if test -n "$DLLTOOL"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8141 $as_echo "$DLLTOOL" >&6; }
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8149 if test -z "$ac_cv_prog_DLLTOOL"; then
8150 ac_ct_DLLTOOL=$DLLTOOL
8151 # Extract the first word of "dlltool", so it can be a program name with args.
8152 set dummy dlltool; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 if test -n "$ac_ct_DLLTOOL"; then
8159 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8164 IFS=$as_save_IFS
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8168 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 break 2
8172 done
8173 done
8174 IFS=$as_save_IFS
8178 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8181 $as_echo "$ac_ct_DLLTOOL" >&6; }
8182 else
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8187 if test "x$ac_ct_DLLTOOL" = x; then
8188 DLLTOOL="false"
8189 else
8190 case $cross_compiling:$ac_tool_warned in
8191 yes:)
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8194 ac_tool_warned=yes ;;
8195 esac
8196 DLLTOOL=$ac_ct_DLLTOOL
8198 else
8199 DLLTOOL="$ac_cv_prog_DLLTOOL"
8202 LIBEXT="dll"
8203 DLLEXT=""
8204 case $host_cpu in
8205 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8206 esac
8207 enable_iphlpapi=${enable_iphlpapi:-no}
8208 enable_kernel32=${enable_kernel32:-no}
8209 enable_ntdll=${enable_ntdll:-no}
8210 enable_ws2_32=${enable_ws2_32:-no}
8211 enable_loader=${enable_loader:-no}
8212 enable_server=${enable_server:-no}
8213 with_x=${with_x:-no}
8214 with_pthread=${with_pthread:-no}
8217 darwin*|macosx*)
8218 ac_ext=m
8219 ac_cpp='$OBJCPP $CPPFLAGS'
8220 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8221 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8222 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8224 ac_ext=m
8225 ac_cpp='$OBJCPP $CPPFLAGS'
8226 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8229 if test -n "$ac_tool_prefix"; then
8230 for ac_prog in gcc objcc objc cc CC
8232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235 $as_echo_n "checking for $ac_word... " >&6; }
8236 if ${ac_cv_prog_OBJC+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 if test -n "$OBJC"; then
8240 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8241 else
8242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 for as_dir in $PATH
8245 IFS=$as_save_IFS
8246 test -z "$as_dir" && as_dir=.
8247 for ac_exec_ext in '' $ac_executable_extensions; do
8248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8249 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 break 2
8253 done
8254 done
8255 IFS=$as_save_IFS
8259 OBJC=$ac_cv_prog_OBJC
8260 if test -n "$OBJC"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8262 $as_echo "$OBJC" >&6; }
8263 else
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 $as_echo "no" >&6; }
8269 test -n "$OBJC" && break
8270 done
8272 if test -z "$OBJC"; then
8273 ac_ct_OBJC=$OBJC
8274 for ac_prog in gcc objcc objc cc CC
8276 # Extract the first word of "$ac_prog", so it can be a program name with args.
8277 set dummy $ac_prog; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 if test -n "$ac_ct_OBJC"; then
8284 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8297 done
8298 done
8299 IFS=$as_save_IFS
8303 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8304 if test -n "$ac_ct_OBJC"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8306 $as_echo "$ac_ct_OBJC" >&6; }
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8313 test -n "$ac_ct_OBJC" && break
8314 done
8316 if test "x$ac_ct_OBJC" = x; then
8317 OBJC="gcc"
8318 else
8319 case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 OBJC=$ac_ct_OBJC
8329 # Provide some information about the compiler.
8330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8331 set X $ac_compile
8332 ac_compiler=$2
8333 for ac_option in --version -v -V -qversion; do
8334 { { ac_try="$ac_compiler $ac_option >&5"
8335 case "(($ac_try" in
8336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8337 *) ac_try_echo=$ac_try;;
8338 esac
8339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8340 $as_echo "$ac_try_echo"; } >&5
8341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8342 ac_status=$?
8343 if test -s conftest.err; then
8344 sed '10a\
8345 ... rest of stderr output deleted ...
8346 10q' conftest.err >conftest.er1
8347 cat conftest.er1 >&5
8349 rm -f conftest.er1 conftest.err
8350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8351 test $ac_status = 0; }
8352 done
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8355 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8356 if ${ac_cv_objc_compiler_gnu+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8363 main ()
8365 #ifndef __GNUC__
8366 choke me
8367 #endif
8370 return 0;
8372 _ACEOF
8373 if ac_fn_objc_try_compile "$LINENO"; then :
8374 ac_compiler_gnu=yes
8375 else
8376 ac_compiler_gnu=no
8378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8379 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8383 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8384 if test $ac_compiler_gnu = yes; then
8385 GOBJC=yes
8386 else
8387 GOBJC=
8389 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8390 ac_save_OBJCFLAGS=$OBJCFLAGS
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8392 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8393 if ${ac_cv_prog_objc_g+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_save_objc_werror_flag=$ac_objc_werror_flag
8397 ac_objc_werror_flag=yes
8398 ac_cv_prog_objc_g=no
8399 OBJCFLAGS="-g"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8404 main ()
8408 return 0;
8410 _ACEOF
8411 if ac_fn_objc_try_compile "$LINENO"; then :
8412 ac_cv_prog_objc_g=yes
8413 else
8414 OBJCFLAGS=""
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8419 main ()
8423 return 0;
8425 _ACEOF
8426 if ac_fn_objc_try_compile "$LINENO"; then :
8428 else
8429 ac_objc_werror_flag=$ac_save_objc_werror_flag
8430 OBJCFLAGS="-g"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8435 main ()
8439 return 0;
8441 _ACEOF
8442 if ac_fn_objc_try_compile "$LINENO"; then :
8443 ac_cv_prog_objc_g=yes
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8450 ac_objc_werror_flag=$ac_save_objc_werror_flag
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8453 $as_echo "$ac_cv_prog_objc_g" >&6; }
8454 if test "$ac_test_OBJCFLAGS" = set; then
8455 OBJCFLAGS=$ac_save_OBJCFLAGS
8456 elif test $ac_cv_prog_objc_g = yes; then
8457 if test "$GOBJC" = yes; then
8458 OBJCFLAGS="-g -O2"
8459 else
8460 OBJCFLAGS="-g"
8462 else
8463 if test "$GOBJC" = yes; then
8464 OBJCFLAGS="-O2"
8465 else
8466 OBJCFLAGS=
8469 ac_ext=m
8470 ac_cpp='$OBJCPP $CPPFLAGS'
8471 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8472 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8473 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8476 ac_ext=m
8477 ac_cpp='$OBJCPP $CPPFLAGS'
8478 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8479 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8480 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8482 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8483 if test -z "$OBJCPP"; then
8484 if ${ac_cv_prog_OBJCPP+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 # Double quotes because OBJCPP needs to be expanded
8488 for OBJCPP in "$OBJC -E" "/lib/cpp"
8490 ac_preproc_ok=false
8491 for ac_objc_preproc_warn_flag in '' yes
8493 # Use a header file that comes with gcc, so configuring glibc
8494 # with a fresh cross-compiler works.
8495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8496 # <limits.h> exists even on freestanding compilers.
8497 # On the NeXT, cc -E runs the code through the compiler's parser,
8498 # not just through cpp. "Syntax error" is here to catch this case.
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 #ifdef __STDC__
8502 # include <limits.h>
8503 #else
8504 # include <assert.h>
8505 #endif
8506 Syntax error
8507 _ACEOF
8508 if ac_fn_objc_try_cpp "$LINENO"; then :
8510 else
8511 # Broken: fails on valid input.
8512 continue
8514 rm -f conftest.err conftest.i conftest.$ac_ext
8516 # OK, works on sane cases. Now check whether nonexistent headers
8517 # can be detected and how.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 #include <ac_nonexistent.h>
8521 _ACEOF
8522 if ac_fn_objc_try_cpp "$LINENO"; then :
8523 # Broken: success on invalid input.
8524 continue
8525 else
8526 # Passes both tests.
8527 ac_preproc_ok=:
8528 break
8530 rm -f conftest.err conftest.i conftest.$ac_ext
8532 done
8533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8534 rm -f conftest.i conftest.err conftest.$ac_ext
8535 if $ac_preproc_ok; then :
8536 break
8539 done
8540 ac_cv_prog_OBJCPP=$OBJCPP
8543 OBJCPP=$ac_cv_prog_OBJCPP
8544 else
8545 ac_cv_prog_OBJCPP=$OBJCPP
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8548 $as_echo "$OBJCPP" >&6; }
8549 ac_preproc_ok=false
8550 for ac_objc_preproc_warn_flag in '' yes
8552 # Use a header file that comes with gcc, so configuring glibc
8553 # with a fresh cross-compiler works.
8554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8555 # <limits.h> exists even on freestanding compilers.
8556 # On the NeXT, cc -E runs the code through the compiler's parser,
8557 # not just through cpp. "Syntax error" is here to catch this case.
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #ifdef __STDC__
8561 # include <limits.h>
8562 #else
8563 # include <assert.h>
8564 #endif
8565 Syntax error
8566 _ACEOF
8567 if ac_fn_objc_try_cpp "$LINENO"; then :
8569 else
8570 # Broken: fails on valid input.
8571 continue
8573 rm -f conftest.err conftest.i conftest.$ac_ext
8575 # OK, works on sane cases. Now check whether nonexistent headers
8576 # can be detected and how.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #include <ac_nonexistent.h>
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 # Broken: success on invalid input.
8583 continue
8584 else
8585 # Passes both tests.
8586 ac_preproc_ok=:
8587 break
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 done
8592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8593 rm -f conftest.i conftest.err conftest.$ac_ext
8594 if $ac_preproc_ok; then :
8596 else
8597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8599 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8600 See \`config.log' for more details" "$LINENO" 5; }
8603 ac_ext=m
8604 ac_cpp='$OBJCPP $CPPFLAGS'
8605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8610 for ac_header in Metal/Metal.h
8611 do :
8612 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8613 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8614 cat >>confdefs.h <<_ACEOF
8615 #define HAVE_METAL_METAL_H 1
8616 _ACEOF
8620 done
8622 ac_ext=c
8623 ac_cpp='$CPP $CPPFLAGS'
8624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8628 LIBEXT="dylib"
8629 DLLFLAGS="$DLLFLAGS -fPIC"
8630 LDDLLFLAGS="-fPIC"
8631 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8632 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8633 COREFOUNDATION_LIBS="-framework CoreFoundation"
8635 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8637 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8639 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8641 CORESERVICES_LIBS="-framework CoreServices"
8643 APPKIT_LIBS="-framework AppKit"
8645 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8648 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8650 wine_can_build_preloader=yes
8651 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8653 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8654 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8655 $as_echo_n "(cached) " >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 int main(int argc, char **argv) { return 0; }
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_cflags__Wl__no_new_main__e__main=yes
8665 else
8666 ac_cv_cflags__Wl__no_new_main__e__main=no
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8673 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8674 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8675 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8678 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8689 else
8690 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8697 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8698 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8699 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8700 else
8701 { $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
8702 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8703 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 ac_wine_try_cflags_saved=$CFLAGS
8707 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 int main(int argc, char **argv) { return 0; }
8711 _ACEOF
8712 if ac_fn_c_try_link "$LINENO"; then :
8713 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8714 else
8715 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8717 rm -f core conftest.err conftest.$ac_objext \
8718 conftest$ac_exeext conftest.$ac_ext
8719 CFLAGS=$ac_wine_try_cflags_saved
8721 { $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
8722 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8723 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8724 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8725 else
8726 wine_can_build_preloader=no
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8731 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8732 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8743 else
8744 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8751 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8752 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8753 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8754 else
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8756 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8757 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8768 else
8769 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8776 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8777 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8778 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8779 else
8780 wine_can_build_preloader=no
8784 if test "$wine_can_build_preloader" = "yes"
8785 then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8788 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-no_pie"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__no_pie=yes
8799 else
8800 ac_cv_cflags__Wl__no_pie=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8807 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8808 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8809 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8811 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8812 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8813 else
8814 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8817 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8818 then
8819 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8822 if test "$ac_cv_header_Security_Security_h" = "yes"
8823 then
8824 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8826 ac_save_LIBS="$LIBS"
8827 LIBS="$LIBS $SECURITY_LIBS"
8828 for ac_func in SSLCopyPeerCertificates
8829 do :
8830 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8831 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8832 cat >>confdefs.h <<_ACEOF
8833 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8834 _ACEOF
8837 done
8839 LIBS="$ac_save_LIBS"
8841 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8842 then
8843 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8844 then
8845 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8847 else
8848 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8851 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8852 ac_save_LIBS="$LIBS"
8853 LIBS="$LIBS $COREAUDIO_LIBS"
8854 for ac_func in AUGraphAddNode
8855 do :
8856 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8857 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8858 cat >>confdefs.h <<_ACEOF
8859 #define HAVE_AUGRAPHADDNODE 1
8860 _ACEOF
8863 done
8865 LIBS="$ac_save_LIBS"
8867 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8868 then
8869 OPENAL_LIBS="-framework OpenAL"
8872 cat >>confdefs.h <<_ACEOF
8873 #define HAVE_OPENAL 1
8874 _ACEOF
8876 ac_cv_lib_openal=yes
8878 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8879 then
8880 OPENCL_LIBS="-framework OpenCL"
8882 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8884 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8885 then
8886 ac_save_LIBS="$LIBS"
8887 LIBS="$LIBS $IOKIT_LIBS"
8888 for ac_func in IOHIDManagerCreate
8889 do :
8890 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8891 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8892 cat >>confdefs.h <<_ACEOF
8893 #define HAVE_IOHIDMANAGERCREATE 1
8894 _ACEOF
8897 done
8899 LIBS="$ac_save_LIBS"
8901 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8902 then
8903 ac_save_LIBS="$LIBS"
8904 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8906 $as_echo_n "checking for the QuickTime framework... " >&6; }
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8909 #include <QuickTime/ImageCompression.h>
8911 main ()
8913 CodecManagerVersion(NULL);
8915 return 0;
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8920 $as_echo "yes" >&6; }
8921 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8923 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8924 else
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 $as_echo "no" >&6; }
8927 ac_cv_header_QuickTime_ImageCompression_h=no
8929 rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 LIBS="$ac_save_LIBS"
8933 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8934 then
8935 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8937 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8938 then
8939 CARBON_LIBS="-framework Carbon"
8942 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8943 then
8944 METAL_LIBS="-framework Metal -framework QuartzCore"
8948 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8949 then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8951 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8952 ac_ext=m
8953 ac_cpp='$OBJCPP $CPPFLAGS'
8954 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8955 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8956 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8960 #include <Metal/Metal.h>
8962 main ()
8964 id<MTLDevice> device; device.registryID;
8966 return 0;
8968 _ACEOF
8969 if ac_fn_objc_try_compile "$LINENO"; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8971 $as_echo "yes" >&6; }
8973 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977 $as_echo "no" >&6; }
8979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8980 ac_ext=c
8981 ac_cpp='$CPP $CPPFLAGS'
8982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8988 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8989 then
8990 ac_save_LIBS="$LIBS"
8991 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8992 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8993 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8994 enable_winemac_drv=${enable_winemac_drv:-yes}
8997 LIBS="$ac_save_LIBS"
9000 if test "x$enable_win16" = "xyes"
9001 then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9003 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9004 if test "$cross_compiling" = yes; then :
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9006 $as_echo "cross-compiling, assuming yes" >&6; }
9007 else
9008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h. */
9010 asm(".text\n"
9011 "bad:\tnop;nop\n"
9012 "good:\tnop;nop\n\t"
9013 ".globl _testfunc\n"
9014 "_testfunc:\tcallw good");
9015 extern void testfunc();
9017 main ()
9019 unsigned short *p = (unsigned short *)testfunc;
9020 return p[0] != 0xe866 || p[1] != 0xfffa
9022 return 0;
9024 _ACEOF
9025 if ac_fn_c_try_run "$LINENO"; then :
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9027 $as_echo "yes" >&6; }
9028 else
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9030 $as_echo "no" >&6; }
9031 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
9033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9034 conftest.$ac_objext conftest.beam conftest.$ac_ext
9039 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9041 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9043 WINELOADER_DEPENDS="wine_info.plist"
9045 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9046 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9049 linux-android*)
9050 DLLFLAGS="$DLLFLAGS -fPIC"
9051 LDDLLFLAGS="-fPIC"
9052 LDEXECFLAGS="-Wl,-pie"
9053 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9055 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9056 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9057 $as_echo_n "(cached) " >&6
9058 else
9059 ac_wine_try_cflags_saved=$CFLAGS
9060 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 int main(int argc, char **argv) { return 0; }
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9067 else
9068 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 CFLAGS=$ac_wine_try_cflags_saved
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9075 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9076 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9077 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9079 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9080 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9082 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9083 if eval \${$as_ac_var+:} false; then :
9084 $as_echo_n "(cached) " >&6
9085 else
9086 ac_wine_try_cflags_saved=$CFLAGS
9087 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 int main(int argc, char **argv) { return 0; }
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 eval "$as_ac_var=yes"
9094 else
9095 eval "$as_ac_var=no"
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 CFLAGS=$ac_wine_try_cflags_saved
9101 eval ac_res=\$$as_ac_var
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9103 $as_echo "$ac_res" >&6; }
9104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9105 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9106 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9107 else
9108 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9110 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9111 if eval \${$as_ac_var+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_wine_try_cflags_saved=$CFLAGS
9115 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9118 int main(int argc, char **argv) { return 0; }
9119 _ACEOF
9120 if ac_fn_c_try_link "$LINENO"; then :
9121 eval "$as_ac_var=yes"
9122 else
9123 eval "$as_ac_var=no"
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 CFLAGS=$ac_wine_try_cflags_saved
9129 eval ac_res=\$$as_ac_var
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9131 $as_echo "$ac_res" >&6; }
9132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9133 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9134 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9138 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9139 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__Wl___enable_new_dtags=yes
9150 else
9151 ac_cv_cflags__Wl___enable_new_dtags=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9158 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9159 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9160 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9163 LIBWINE_SHAREDLIB="libwine.so"
9165 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9167 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9170 $as_echo_n "checking for -lEGL... " >&6; }
9171 if ${ac_cv_lib_soname_EGL+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_soname_save_LIBS=$LIBS
9175 LIBS="-lEGL $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char eglGetProcAddress ();
9187 main ()
9189 return eglGetProcAddress ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 case "$LIBEXT" in
9196 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9197 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'` ;;
9198 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9199 if ${ac_cv_lib_soname_EGL:+false} :; then :
9200 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9201 fi ;;
9202 esac
9203 else
9204 ac_cv_lib_soname_EGL=
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 LIBS=$ac_check_soname_save_LIBS
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9212 $as_echo "not found" >&6; }
9214 else
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9216 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9218 cat >>confdefs.h <<_ACEOF
9219 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9220 _ACEOF
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9225 $as_echo_n "checking for -lGLESv2... " >&6; }
9226 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_soname_save_LIBS=$LIBS
9230 LIBS="-lGLESv2 $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char glFlush ();
9242 main ()
9244 return glFlush ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 case "$LIBEXT" in
9251 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9252 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'` ;;
9253 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9254 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9255 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9256 fi ;;
9257 esac
9258 else
9259 ac_cv_lib_soname_GLESv2=
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_soname_save_LIBS
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9267 $as_echo "not found" >&6; }
9269 else
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9271 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9273 cat >>confdefs.h <<_ACEOF
9274 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9275 _ACEOF
9280 if test "x$exec_prefix" = xNONE
9281 then
9282 case $host_cpu in
9283 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9284 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9285 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9286 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9287 esac
9292 case $host_cpu in
9293 *i[3456789]86*)
9294 DLLFLAGS="$DLLFLAGS -fno-PIC"
9295 LDDLLFLAGS="-fno-PIC" ;;
9297 DLLFLAGS="$DLLFLAGS -fPIC"
9298 LDDLLFLAGS="-fPIC" ;;
9299 esac
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9301 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9302 if ${ac_cv_c_dll_gnuelf+:} false; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 ac_wine_try_cflags_saved=$CFLAGS
9306 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9309 void myfunc() {}
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9313 else
9314 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 CFLAGS=$ac_wine_try_cflags_saved
9319 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9320 ac_cv_c_dll_gnuelf="yes"
9321 else
9322 ac_cv_c_dll_gnuelf="no"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9326 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9327 if test "$ac_cv_c_dll_gnuelf" = "yes"
9328 then
9329 LIBWINE_LDFLAGS="-shared"
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9331 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9332 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_wine_try_cflags_saved=$CFLAGS
9336 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 int main(int argc, char **argv) { return 0; }
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9343 else
9344 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 CFLAGS=$ac_wine_try_cflags_saved
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9351 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9352 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9353 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9354 else
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9356 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9357 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_wine_try_cflags_saved=$CFLAGS
9361 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9364 int main(int argc, char **argv) { return 0; }
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9368 else
9369 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 CFLAGS=$ac_wine_try_cflags_saved
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9376 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9377 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9378 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9382 echo '{ global: *; };' >conftest.map
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9384 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9385 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_wine_try_cflags_saved=$CFLAGS
9389 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392 int main(int argc, char **argv) { return 0; }
9393 _ACEOF
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9396 else
9397 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 CFLAGS=$ac_wine_try_cflags_saved
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9404 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9405 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9406 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9408 rm -f conftest.map
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9411 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9412 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9413 $as_echo_n "(cached) " >&6
9414 else
9415 ac_wine_try_cflags_saved=$CFLAGS
9416 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9419 int main(int argc, char **argv) { return 0; }
9420 _ACEOF
9421 if ac_fn_c_try_link "$LINENO"; then :
9422 ac_cv_cflags__Wl___export_dynamic=yes
9423 else
9424 ac_cv_cflags__Wl___export_dynamic=no
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 CFLAGS=$ac_wine_try_cflags_saved
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9431 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9432 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9433 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9435 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9437 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9439 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9440 if eval \${$as_ac_var+:} false; then :
9441 $as_echo_n "(cached) " >&6
9442 else
9443 ac_wine_try_cflags_saved=$CFLAGS
9444 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9447 int main(int argc, char **argv) { return 0; }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450 eval "$as_ac_var=yes"
9451 else
9452 eval "$as_ac_var=no"
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 CFLAGS=$ac_wine_try_cflags_saved
9458 eval ac_res=\$$as_ac_var
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9460 $as_echo "$ac_res" >&6; }
9461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9462 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9463 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9464 else
9465 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9467 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9468 if eval \${$as_ac_var+:} false; then :
9469 $as_echo_n "(cached) " >&6
9470 else
9471 ac_wine_try_cflags_saved=$CFLAGS
9472 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9475 int main(int argc, char **argv) { return 0; }
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 eval "$as_ac_var=yes"
9479 else
9480 eval "$as_ac_var=no"
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 CFLAGS=$ac_wine_try_cflags_saved
9486 eval ac_res=\$$as_ac_var
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9488 $as_echo "$ac_res" >&6; }
9489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9490 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9491 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9496 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9497 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_wine_try_cflags_saved=$CFLAGS
9501 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9504 int main(int argc, char **argv) { return 0; }
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_cflags__Wl___enable_new_dtags=yes
9508 else
9509 ac_cv_cflags__Wl___enable_new_dtags=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 CFLAGS=$ac_wine_try_cflags_saved
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9516 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9517 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9518 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9521 case $host_cpu in
9522 *i[3456789]86* | x86_64 | *aarch64*)
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9524 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9525 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_wine_try_cflags_saved=$CFLAGS
9529 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9536 else
9537 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 CFLAGS=$ac_wine_try_cflags_saved
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9544 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9545 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9546 case $host_os in
9547 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9548 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9549 esac
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9552 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9553 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9554 $as_echo_n "(cached) " >&6
9555 else
9556 ac_wine_try_cflags_saved=$CFLAGS
9557 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9560 int main(int argc, char **argv) { return 0; }
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9564 else
9565 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 CFLAGS=$ac_wine_try_cflags_saved
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9572 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9573 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9574 case $host_os in
9575 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9576 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9577 esac
9579 # Extract the first word of "prelink", so it can be a program name with args.
9580 set dummy prelink; ac_word=$2
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 $as_echo_n "checking for $ac_word... " >&6; }
9583 if ${ac_cv_path_PRELINK+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 case $PRELINK in
9587 [\\/]* | ?:[\\/]*)
9588 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 for as_dir in /sbin /usr/sbin $PATH
9594 IFS=$as_save_IFS
9595 test -z "$as_dir" && as_dir=.
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9598 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9600 break 2
9602 done
9603 done
9604 IFS=$as_save_IFS
9606 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9608 esac
9610 PRELINK=$ac_cv_path_PRELINK
9611 if test -n "$PRELINK"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9613 $as_echo "$PRELINK" >&6; }
9614 else
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 $as_echo "no" >&6; }
9620 if test "x$PRELINK" = xfalse
9621 then
9622 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9626 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9627 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_wine_try_cflags_saved=$CFLAGS
9631 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 int main(int argc, char **argv) { return 0; }
9635 _ACEOF
9636 if ac_fn_c_try_link "$LINENO"; then :
9637 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9638 else
9639 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 CFLAGS=$ac_wine_try_cflags_saved
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9646 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9647 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9648 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9651 esac
9653 else
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9655 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9656 if ${ac_cv_c_dll_unixware+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_wine_try_cflags_saved=$CFLAGS
9660 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9663 void myfunc() {}
9664 _ACEOF
9665 if ac_fn_c_try_link "$LINENO"; then :
9666 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9667 else
9668 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 CFLAGS=$ac_wine_try_cflags_saved
9673 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9674 ac_cv_c_dll_unixware="yes"
9675 else
9676 ac_cv_c_dll_unixware="no"
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9680 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9681 if test "$ac_cv_c_dll_unixware" = "yes"
9682 then
9683 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9686 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9688 LIBWINE_DEPENDS="wine.map"
9690 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9691 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9693 esac
9695 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9696 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9697 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9698 enable_winemac_drv=${enable_winemac_drv:-no}
9699 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9701 CROSSTARGET=""
9703 if test "x$with_mingw" != xno
9704 then
9705 case "x$with_mingw" in
9706 x|xyes) case "$host_cpu" in
9707 aarch64*)
9708 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9709 arm*)
9710 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9711 i[3456789]86*)
9712 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
9713 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9714 mingw32-gcc" ;;
9715 x86_64)
9716 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
9717 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9719 ac_prefix_list="" ;;
9720 esac
9721 for ac_prog in $ac_prefix_list
9723 # Extract the first word of "$ac_prog", so it can be a program name with args.
9724 set dummy $ac_prog; ac_word=$2
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9726 $as_echo_n "checking for $ac_word... " >&6; }
9727 if ${ac_cv_prog_CROSSCC+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 if test -n "$CROSSCC"; then
9731 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9732 else
9733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 for as_dir in $PATH
9736 IFS=$as_save_IFS
9737 test -z "$as_dir" && as_dir=.
9738 for ac_exec_ext in '' $ac_executable_extensions; do
9739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9740 ac_cv_prog_CROSSCC="$ac_prog"
9741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 break 2
9744 done
9745 done
9746 IFS=$as_save_IFS
9750 CROSSCC=$ac_cv_prog_CROSSCC
9751 if test -n "$CROSSCC"; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9753 $as_echo "$CROSSCC" >&6; }
9754 else
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9756 $as_echo "no" >&6; }
9760 test -n "$CROSSCC" && break
9761 done
9762 test -n "$CROSSCC" || CROSSCC="false"
9764 *) CROSSCC=$with_mingw ;;
9765 esac
9766 if test "$CROSSCC" != "false"
9767 then
9768 ac_save_CC="$CC"
9769 saved_CFLAGS=$CFLAGS
9770 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9772 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9776 CC="$CROSSCC"
9777 CFLAGS=$CROSSCFLAGS
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9779 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9780 if ${wine_cv_crosscc+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9787 main ()
9791 return 0;
9793 _ACEOF
9794 if ac_fn_c_try_compile "$LINENO"; then :
9795 wine_cv_crosscc=yes
9796 else
9797 wine_cv_crosscc=no
9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9802 $as_echo "$wine_cv_crosscc" >&6; }
9803 if test $wine_cv_crosscc = yes
9804 then
9805 set x $CROSSCC
9806 shift
9807 while test $# -ge 1
9809 case "$1" in
9810 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9811 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9812 esac
9813 shift
9814 done
9816 llvm_target=$CROSSTARGET
9817 if test -z "$llvm_target"
9818 then
9819 case $host_cpu in
9820 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9821 *) llvm_target=$host_cpu-windows-gnu ;;
9822 esac
9824 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9826 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9827 if eval \${$as_ac_var+:} false; then :
9828 $as_echo_n "(cached) " >&6
9829 else
9830 ac_wine_try_cflags_saved=$CFLAGS
9831 ac_wine_try_cflags_saved_cc=$CC
9832 ac_wine_try_cflags_saved_exeext=$ac_exeext
9833 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9834 CC="$CROSSCC"
9835 ac_exeext=".exe"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841 eval "$as_ac_var=yes"
9842 else
9843 eval "$as_ac_var=no"
9845 rm -f core conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9847 CFLAGS=$ac_wine_try_cflags_saved
9848 CC=$ac_wine_try_cflags_saved_cc
9849 ac_exeext=$ac_wine_try_cflags_saved_exeext
9851 eval ac_res=\$$as_ac_var
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9853 $as_echo "$ac_res" >&6; }
9854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9855 CROSSTARGET=$llvm_target
9856 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9857 CFLAGS="$CFLAGS -fuse-ld=lld"
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9861 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9862 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_wine_try_cflags_saved=$CFLAGS
9866 ac_wine_try_cflags_saved_cc=$CC
9867 ac_wine_try_cflags_saved_exeext=$ac_exeext
9868 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9869 CC="$CROSSCC"
9870 ac_exeext=".exe"
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9873 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 ac_cv_crosscflags__fno_strict_aliasing=yes
9877 else
9878 ac_cv_crosscflags__fno_strict_aliasing=no
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 CFLAGS=$ac_wine_try_cflags_saved
9883 CC=$ac_wine_try_cflags_saved_cc
9884 ac_exeext=$ac_wine_try_cflags_saved_exeext
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9887 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9888 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9889 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9892 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9893 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_wine_try_cflags_saved=$CFLAGS
9897 ac_wine_try_cflags_saved_cc=$CC
9898 ac_wine_try_cflags_saved_exeext=$ac_exeext
9899 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9900 CC="$CROSSCC"
9901 ac_exeext=".exe"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9908 else
9909 ac_cv_crosscflags__Werror_unknown_warning_option=no
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 CFLAGS=$ac_wine_try_cflags_saved
9914 CC=$ac_wine_try_cflags_saved_cc
9915 ac_exeext=$ac_wine_try_cflags_saved_exeext
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9918 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9919 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9920 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9923 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9924 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 ac_wine_try_cflags_saved_cc=$CC
9929 ac_wine_try_cflags_saved_exeext=$ac_exeext
9930 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9931 CC="$CROSSCC"
9932 ac_exeext=".exe"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9939 else
9940 ac_cv_crosscflags__Wdeclaration_after_statement=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9945 CC=$ac_wine_try_cflags_saved_cc
9946 ac_exeext=$ac_wine_try_cflags_saved_exeext
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9949 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9950 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9951 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9954 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9955 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 ac_wine_try_cflags_saved_cc=$CC
9960 ac_wine_try_cflags_saved_exeext=$ac_exeext
9961 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9962 CC="$CROSSCC"
9963 ac_exeext=".exe"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9966 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_crosscflags__Wempty_body=yes
9970 else
9971 ac_cv_crosscflags__Wempty_body=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 CFLAGS=$ac_wine_try_cflags_saved
9976 CC=$ac_wine_try_cflags_saved_cc
9977 ac_exeext=$ac_wine_try_cflags_saved_exeext
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9980 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9981 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9985 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9986 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_wine_try_cflags_saved=$CFLAGS
9990 ac_wine_try_cflags_saved_cc=$CC
9991 ac_wine_try_cflags_saved_exeext=$ac_exeext
9992 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9993 CC="$CROSSCC"
9994 ac_exeext=".exe"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 ac_cv_crosscflags__Wignored_qualifiers=yes
10001 else
10002 ac_cv_crosscflags__Wignored_qualifiers=no
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 CFLAGS=$ac_wine_try_cflags_saved
10007 CC=$ac_wine_try_cflags_saved_cc
10008 ac_exeext=$ac_wine_try_cflags_saved_exeext
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10011 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10012 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10013 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10016 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10017 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10018 $as_echo_n "(cached) " >&6
10019 else
10020 ac_wine_try_cflags_saved=$CFLAGS
10021 ac_wine_try_cflags_saved_cc=$CC
10022 ac_wine_try_cflags_saved_exeext=$ac_exeext
10023 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10024 CC="$CROSSCC"
10025 ac_exeext=".exe"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 ac_cv_crosscflags__Wpacked_not_aligned=yes
10032 else
10033 ac_cv_crosscflags__Wpacked_not_aligned=no
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 CFLAGS=$ac_wine_try_cflags_saved
10038 CC=$ac_wine_try_cflags_saved_cc
10039 ac_exeext=$ac_wine_try_cflags_saved_exeext
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10042 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10043 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10044 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10047 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10048 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_wine_try_cflags_saved=$CFLAGS
10052 ac_wine_try_cflags_saved_cc=$CC
10053 ac_wine_try_cflags_saved_exeext=$ac_exeext
10054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10055 CC="$CROSSCC"
10056 ac_exeext=".exe"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 ac_cv_crosscflags__Wpragma_pack=yes
10063 else
10064 ac_cv_crosscflags__Wpragma_pack=no
10066 rm -f core conftest.err conftest.$ac_objext \
10067 conftest$ac_exeext conftest.$ac_ext
10068 CFLAGS=$ac_wine_try_cflags_saved
10069 CC=$ac_wine_try_cflags_saved_cc
10070 ac_exeext=$ac_wine_try_cflags_saved_exeext
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10073 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10074 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10078 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10079 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_wine_try_cflags_saved=$CFLAGS
10083 ac_wine_try_cflags_saved_cc=$CC
10084 ac_wine_try_cflags_saved_exeext=$ac_exeext
10085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10086 CC="$CROSSCC"
10087 ac_exeext=".exe"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_crosscflags__Wshift_overflow_2=yes
10094 else
10095 ac_cv_crosscflags__Wshift_overflow_2=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 CFLAGS=$ac_wine_try_cflags_saved
10100 CC=$ac_wine_try_cflags_saved_cc
10101 ac_exeext=$ac_wine_try_cflags_saved_exeext
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10104 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10105 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10109 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10110 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_wine_try_cflags_saved=$CFLAGS
10114 ac_wine_try_cflags_saved_cc=$CC
10115 ac_wine_try_cflags_saved_exeext=$ac_exeext
10116 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10117 CC="$CROSSCC"
10118 ac_exeext=".exe"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"; then :
10124 ac_cv_crosscflags__Wstrict_prototypes=yes
10125 else
10126 ac_cv_crosscflags__Wstrict_prototypes=no
10128 rm -f core conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10131 CC=$ac_wine_try_cflags_saved_cc
10132 ac_exeext=$ac_wine_try_cflags_saved_exeext
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10135 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10136 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10137 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10140 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10141 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_wine_try_cflags_saved=$CFLAGS
10145 ac_wine_try_cflags_saved_cc=$CC
10146 ac_wine_try_cflags_saved_exeext=$ac_exeext
10147 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10148 CC="$CROSSCC"
10149 ac_exeext=".exe"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_crosscflags__Wtype_limits=yes
10156 else
10157 ac_cv_crosscflags__Wtype_limits=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 CFLAGS=$ac_wine_try_cflags_saved
10162 CC=$ac_wine_try_cflags_saved_cc
10163 ac_exeext=$ac_wine_try_cflags_saved_exeext
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10166 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10167 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10168 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10171 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10172 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 ac_wine_try_cflags_saved_cc=$CC
10177 ac_wine_try_cflags_saved_exeext=$ac_exeext
10178 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10179 CC="$CROSSCC"
10180 ac_exeext=".exe"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10187 else
10188 ac_cv_crosscflags__Wunused_but_set_parameter=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10193 CC=$ac_wine_try_cflags_saved_cc
10194 ac_exeext=$ac_wine_try_cflags_saved_exeext
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10197 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10198 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10199 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10202 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10203 if ${ac_cv_crosscflags__Wvla+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 ac_wine_try_cflags_saved_cc=$CC
10208 ac_wine_try_cflags_saved_exeext=$ac_exeext
10209 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10210 CC="$CROSSCC"
10211 ac_exeext=".exe"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_crosscflags__Wvla=yes
10218 else
10219 ac_cv_crosscflags__Wvla=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10224 CC=$ac_wine_try_cflags_saved_cc
10225 ac_exeext=$ac_wine_try_cflags_saved_exeext
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10228 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10229 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10230 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10233 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10234 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 ac_wine_try_cflags_saved_cc=$CC
10239 ac_wine_try_cflags_saved_exeext=$ac_exeext
10240 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10241 CC="$CROSSCC"
10242 ac_exeext=".exe"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 ac_cv_crosscflags__Wwrite_strings=yes
10249 else
10250 ac_cv_crosscflags__Wwrite_strings=no
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10255 CC=$ac_wine_try_cflags_saved_cc
10256 ac_exeext=$ac_wine_try_cflags_saved_exeext
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10259 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10260 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10261 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10264 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10265 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_wine_try_cflags_saved=$CFLAGS
10269 ac_wine_try_cflags_saved_cc=$CC
10270 ac_wine_try_cflags_saved_exeext=$ac_exeext
10271 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10272 CC="$CROSSCC"
10273 ac_exeext=".exe"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 ac_cv_crosscflags__Wpointer_arith=yes
10280 else
10281 ac_cv_crosscflags__Wpointer_arith=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 CFLAGS=$ac_wine_try_cflags_saved
10286 CC=$ac_wine_try_cflags_saved_cc
10287 ac_exeext=$ac_wine_try_cflags_saved_exeext
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10290 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10291 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10292 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10295 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10296 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10297 $as_echo_n "(cached) " >&6
10298 else
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 ac_wine_try_cflags_saved_cc=$CC
10301 ac_wine_try_cflags_saved_exeext=$ac_exeext
10302 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10303 CC="$CROSSCC"
10304 ac_exeext=".exe"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10308 _ACEOF
10309 if ac_fn_c_try_link "$LINENO"; then :
10310 ac_cv_crosscflags__Wlogical_op=yes
10311 else
10312 ac_cv_crosscflags__Wlogical_op=no
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 CFLAGS=$ac_wine_try_cflags_saved
10317 CC=$ac_wine_try_cflags_saved_cc
10318 ac_exeext=$ac_wine_try_cflags_saved_exeext
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10321 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10322 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10323 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10326 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10327 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10328 $as_echo_n "(cached) " >&6
10329 else
10330 ac_wine_try_cflags_saved=$CFLAGS
10331 ac_wine_try_cflags_saved_cc=$CC
10332 ac_wine_try_cflags_saved_exeext=$ac_exeext
10333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10334 CC="$CROSSCC"
10335 ac_exeext=".exe"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10338 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10339 _ACEOF
10340 if ac_fn_c_try_link "$LINENO"; then :
10341 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10342 else
10343 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10348 CC=$ac_wine_try_cflags_saved_cc
10349 ac_exeext=$ac_wine_try_cflags_saved_exeext
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10352 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10353 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10354 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10357 case $host_cpu in
10358 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10360 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10375 else
10376 ac_cv_crosscflags__fno_omit_frame_pointer=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10385 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10386 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10388 fi ;;
10389 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10391 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__Wno_format=yes
10406 else
10407 ac_cv_crosscflags__Wno_format=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10416 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10417 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10421 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10422 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10423 $as_echo_n "(cached) " >&6
10424 else
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 ac_wine_try_cflags_saved_cc=$CC
10427 ac_wine_try_cflags_saved_exeext=$ac_exeext
10428 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10429 CC="$CROSSCC"
10430 ac_exeext=".exe"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 ac_cv_crosscflags__Wformat_overflow=yes
10437 else
10438 ac_cv_crosscflags__Wformat_overflow=no
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 CFLAGS=$ac_wine_try_cflags_saved
10443 CC=$ac_wine_try_cflags_saved_cc
10444 ac_exeext=$ac_wine_try_cflags_saved_exeext
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10447 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10448 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10449 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10452 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10453 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_wine_try_cflags_saved=$CFLAGS
10457 ac_wine_try_cflags_saved_cc=$CC
10458 ac_wine_try_cflags_saved_exeext=$ac_exeext
10459 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10460 CC="$CROSSCC"
10461 ac_exeext=".exe"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10464 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 ac_cv_crosscflags__Wnonnull=yes
10468 else
10469 ac_cv_crosscflags__Wnonnull=no
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 CFLAGS=$ac_wine_try_cflags_saved
10474 CC=$ac_wine_try_cflags_saved_cc
10475 ac_exeext=$ac_wine_try_cflags_saved_exeext
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10478 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10479 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10480 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10481 fi ;;
10482 esac
10484 for ac_flag in $CROSSCFLAGS; do
10485 case $ac_flag in
10486 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10487 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10488 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_wine_try_cflags_saved=$CFLAGS
10492 ac_wine_try_cflags_saved_cc=$CC
10493 ac_wine_try_cflags_saved_exeext=$ac_exeext
10494 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10495 CC="$CROSSCC"
10496 ac_exeext=".exe"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10499 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 ac_cv_crosscflags__gdwarf_2=yes
10503 else
10504 ac_cv_crosscflags__gdwarf_2=no
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 CFLAGS=$ac_wine_try_cflags_saved
10509 CC=$ac_wine_try_cflags_saved_cc
10510 ac_exeext=$ac_wine_try_cflags_saved_exeext
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10513 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10514 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10515 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10518 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10519 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_wine_try_cflags_saved=$CFLAGS
10523 ac_wine_try_cflags_saved_cc=$CC
10524 ac_wine_try_cflags_saved_exeext=$ac_exeext
10525 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10526 CC="$CROSSCC"
10527 ac_exeext=".exe"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_crosscflags__gstrict_dwarf=yes
10534 else
10535 ac_cv_crosscflags__gstrict_dwarf=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 CFLAGS=$ac_wine_try_cflags_saved
10540 CC=$ac_wine_try_cflags_saved_cc
10541 ac_exeext=$ac_wine_try_cflags_saved_exeext
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10544 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10545 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10546 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10547 fi ;;
10548 esac
10549 done
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10552 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10553 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_wine_try_cflags_saved=$CFLAGS
10557 ac_wine_try_cflags_saved_cc=$CC
10558 ac_wine_try_cflags_saved_exeext=$ac_exeext
10559 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10560 CC="$CROSSCC"
10561 ac_exeext=".exe"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10564 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10568 else
10569 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 CFLAGS=$ac_wine_try_cflags_saved
10574 CC=$ac_wine_try_cflags_saved_cc
10575 ac_exeext=$ac_wine_try_cflags_saved_exeext
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10578 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10579 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10580 DELAYLOADFLAG="-Wl,-delayload,"
10584 if test "x$enable_maintainer_mode" = xyes
10585 then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10587 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10588 if ${ac_cv_crosscflags__Werror+:} false; then :
10589 $as_echo_n "(cached) " >&6
10590 else
10591 ac_wine_try_cflags_saved=$CFLAGS
10592 ac_wine_try_cflags_saved_cc=$CC
10593 ac_wine_try_cflags_saved_exeext=$ac_exeext
10594 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10595 CC="$CROSSCC"
10596 ac_exeext=".exe"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 ac_cv_crosscflags__Werror=yes
10603 else
10604 ac_cv_crosscflags__Werror=no
10606 rm -f core conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10608 CFLAGS=$ac_wine_try_cflags_saved
10609 CC=$ac_wine_try_cflags_saved_cc
10610 ac_exeext=$ac_wine_try_cflags_saved_exeext
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10613 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10614 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10615 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10619 CFLAGS=$saved_CFLAGS
10620 CC="$ac_save_CC"
10623 if test "x$CROSSTARGET" = "x"; then :
10624 case "x$with_mingw" in
10625 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10626 xno) ;;
10627 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10628 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10629 esac
10634 if test "$ac_cv_header_pthread_h" = "yes"
10635 then
10636 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10637 if test "x$ac_cv_func_pthread_create" = xyes; then :
10639 else
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10641 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10642 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_check_lib_save_LIBS=$LIBS
10646 LIBS="-lpthread $LIBS"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 char pthread_create ();
10658 main ()
10660 return pthread_create ();
10662 return 0;
10664 _ACEOF
10665 if ac_fn_c_try_link "$LINENO"; then :
10666 ac_cv_lib_pthread_pthread_create=yes
10667 else
10668 ac_cv_lib_pthread_pthread_create=no
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10675 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10676 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10677 PTHREAD_LIBS="-lpthread"
10684 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10685 case "x$with_pthread" in
10686 xno) ;;
10687 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10688 Wine cannot support threads without libpthread.
10689 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10690 esac
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10696 $as_echo_n "checking for X... " >&6; }
10699 # Check whether --with-x was given.
10700 if test "${with_x+set}" = set; then :
10701 withval=$with_x;
10704 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10705 if test "x$with_x" = xno; then
10706 # The user explicitly disabled X.
10707 have_x=disabled
10708 else
10709 case $x_includes,$x_libraries in #(
10710 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10711 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 # One or both of the vars are not set, and there is no cached value.
10715 ac_x_includes=no ac_x_libraries=no
10716 rm -f -r conftest.dir
10717 if mkdir conftest.dir; then
10718 cd conftest.dir
10719 cat >Imakefile <<'_ACEOF'
10720 incroot:
10721 @echo incroot='${INCROOT}'
10722 usrlibdir:
10723 @echo usrlibdir='${USRLIBDIR}'
10724 libdir:
10725 @echo libdir='${LIBDIR}'
10726 _ACEOF
10727 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10728 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10729 for ac_var in incroot usrlibdir libdir; do
10730 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10731 done
10732 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10733 for ac_extension in a so sl dylib la dll; do
10734 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10735 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10736 ac_im_usrlibdir=$ac_im_libdir; break
10738 done
10739 # Screen out bogus values from the imake configuration. They are
10740 # bogus both because they are the default anyway, and because
10741 # using them would break gcc on systems where it needs fixed includes.
10742 case $ac_im_incroot in
10743 /usr/include) ac_x_includes= ;;
10744 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10745 esac
10746 case $ac_im_usrlibdir in
10747 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10748 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10749 esac
10751 cd ..
10752 rm -f -r conftest.dir
10755 # Standard set of common directories for X headers.
10756 # Check X11 before X11Rn because it is often a symlink to the current release.
10757 ac_x_header_dirs='
10758 /usr/X11/include
10759 /usr/X11R7/include
10760 /usr/X11R6/include
10761 /usr/X11R5/include
10762 /usr/X11R4/include
10764 /usr/include/X11
10765 /usr/include/X11R7
10766 /usr/include/X11R6
10767 /usr/include/X11R5
10768 /usr/include/X11R4
10770 /usr/local/X11/include
10771 /usr/local/X11R7/include
10772 /usr/local/X11R6/include
10773 /usr/local/X11R5/include
10774 /usr/local/X11R4/include
10776 /usr/local/include/X11
10777 /usr/local/include/X11R7
10778 /usr/local/include/X11R6
10779 /usr/local/include/X11R5
10780 /usr/local/include/X11R4
10782 /usr/X386/include
10783 /usr/x386/include
10784 /usr/XFree86/include/X11
10786 /usr/include
10787 /usr/local/include
10788 /usr/unsupported/include
10789 /usr/athena/include
10790 /usr/local/x11r5/include
10791 /usr/lpp/Xamples/include
10793 /usr/openwin/include
10794 /usr/openwin/share/include'
10796 if test "$ac_x_includes" = no; then
10797 # Guess where to find include files, by looking for Xlib.h.
10798 # First, try using that file with no special directory specified.
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10801 #include <X11/Xlib.h>
10802 _ACEOF
10803 if ac_fn_c_try_cpp "$LINENO"; then :
10804 # We can compile using X headers with no special include directory.
10805 ac_x_includes=
10806 else
10807 for ac_dir in $ac_x_header_dirs; do
10808 if test -r "$ac_dir/X11/Xlib.h"; then
10809 ac_x_includes=$ac_dir
10810 break
10812 done
10814 rm -f conftest.err conftest.i conftest.$ac_ext
10815 fi # $ac_x_includes = no
10817 if test "$ac_x_libraries" = no; then
10818 # Check for the libraries.
10819 # See if we find them without any special options.
10820 # Don't add to $LIBS permanently.
10821 ac_save_LIBS=$LIBS
10822 LIBS="-lX11 $LIBS"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10825 #include <X11/Xlib.h>
10827 main ()
10829 XrmInitialize ()
10831 return 0;
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"; then :
10835 LIBS=$ac_save_LIBS
10836 # We can link X programs with no special library path.
10837 ac_x_libraries=
10838 else
10839 LIBS=$ac_save_LIBS
10840 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10842 # Don't even attempt the hair of trying to link an X program!
10843 for ac_extension in a so sl dylib la dll; do
10844 if test -r "$ac_dir/libX11.$ac_extension"; then
10845 ac_x_libraries=$ac_dir
10846 break 2
10848 done
10849 done
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 fi # $ac_x_libraries = no
10855 case $ac_x_includes,$ac_x_libraries in #(
10856 no,* | *,no | *\'*)
10857 # Didn't find X, or a directory has "'" in its name.
10858 ac_cv_have_x="have_x=no";; #(
10860 # Record where we found X for the cache.
10861 ac_cv_have_x="have_x=yes\
10862 ac_x_includes='$ac_x_includes'\
10863 ac_x_libraries='$ac_x_libraries'"
10864 esac
10866 ;; #(
10867 *) have_x=yes;;
10868 esac
10869 eval "$ac_cv_have_x"
10870 fi # $with_x != no
10872 if test "$have_x" != yes; then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10874 $as_echo "$have_x" >&6; }
10875 no_x=yes
10876 else
10877 # If each of the values was on the command line, it overrides each guess.
10878 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10879 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10880 # Update the cache value to reflect the command line values.
10881 ac_cv_have_x="have_x=yes\
10882 ac_x_includes='$x_includes'\
10883 ac_x_libraries='$x_libraries'"
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10885 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10888 if test "$no_x" = yes; then
10889 # Not all programs may use this symbol, but it does not hurt to define it.
10891 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10893 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10894 else
10895 if test -n "$x_includes"; then
10896 X_CFLAGS="$X_CFLAGS -I$x_includes"
10899 # It would also be nice to do this for all -L options, not just this one.
10900 if test -n "$x_libraries"; then
10901 X_LIBS="$X_LIBS -L$x_libraries"
10902 # For Solaris; some versions of Sun CC require a space after -R and
10903 # others require no space. Words are not sufficient . . . .
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10905 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10906 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10907 ac_xsave_c_werror_flag=$ac_c_werror_flag
10908 ac_c_werror_flag=yes
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10913 main ()
10917 return 0;
10919 _ACEOF
10920 if ac_fn_c_try_link "$LINENO"; then :
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10922 $as_echo "no" >&6; }
10923 X_LIBS="$X_LIBS -R$x_libraries"
10924 else
10925 LIBS="$ac_xsave_LIBS -R $x_libraries"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10930 main ()
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10939 $as_echo "yes" >&6; }
10940 X_LIBS="$X_LIBS -R $x_libraries"
10941 else
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10943 $as_echo "neither works" >&6; }
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 ac_c_werror_flag=$ac_xsave_c_werror_flag
10951 LIBS=$ac_xsave_LIBS
10954 # Check for system-dependent libraries X programs must link with.
10955 # Do this before checking for the system-independent R6 libraries
10956 # (-lICE), since we may need -lsocket or whatever for X linking.
10958 if test "$ISC" = yes; then
10959 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10960 else
10961 # Martyn Johnson says this is needed for Ultrix, if the X
10962 # libraries were built with DECnet support. And Karl Berry says
10963 # the Alpha needs dnet_stub (dnet does not exist).
10964 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char XOpenDisplay ();
10976 main ()
10978 return XOpenDisplay ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10985 else
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10987 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10988 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10989 $as_echo_n "(cached) " >&6
10990 else
10991 ac_check_lib_save_LIBS=$LIBS
10992 LIBS="-ldnet $LIBS"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10996 /* Override any GCC internal prototype to avoid an error.
10997 Use char because int might match the return type of a GCC
10998 builtin and then its argument prototype would still apply. */
10999 #ifdef __cplusplus
11000 extern "C"
11001 #endif
11002 char dnet_ntoa ();
11004 main ()
11006 return dnet_ntoa ();
11008 return 0;
11010 _ACEOF
11011 if ac_fn_c_try_link "$LINENO"; then :
11012 ac_cv_lib_dnet_dnet_ntoa=yes
11013 else
11014 ac_cv_lib_dnet_dnet_ntoa=no
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_lib_save_LIBS
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11021 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11022 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11023 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11026 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11028 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11029 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11030 $as_echo_n "(cached) " >&6
11031 else
11032 ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-ldnet_stub $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char dnet_ntoa ();
11045 main ()
11047 return dnet_ntoa ();
11049 return 0;
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11054 else
11055 ac_cv_lib_dnet_stub_dnet_ntoa=no
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11062 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11063 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11064 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11069 rm -f core conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS="$ac_xsave_LIBS"
11073 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11074 # to get the SysV transport functions.
11075 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11076 # needs -lnsl.
11077 # The nsl library prevents programs from opening the X display
11078 # on Irix 5.2, according to T.E. Dickey.
11079 # The functions gethostbyname, getservbyname, and inet_addr are
11080 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11081 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11082 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11086 if test $ac_cv_func_gethostbyname = no; then
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11088 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11089 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11090 $as_echo_n "(cached) " >&6
11091 else
11092 ac_check_lib_save_LIBS=$LIBS
11093 LIBS="-lnsl $LIBS"
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11097 /* Override any GCC internal prototype to avoid an error.
11098 Use char because int might match the return type of a GCC
11099 builtin and then its argument prototype would still apply. */
11100 #ifdef __cplusplus
11101 extern "C"
11102 #endif
11103 char gethostbyname ();
11105 main ()
11107 return gethostbyname ();
11109 return 0;
11111 _ACEOF
11112 if ac_fn_c_try_link "$LINENO"; then :
11113 ac_cv_lib_nsl_gethostbyname=yes
11114 else
11115 ac_cv_lib_nsl_gethostbyname=no
11117 rm -f core conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_lib_save_LIBS
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11122 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11123 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11127 if test $ac_cv_lib_nsl_gethostbyname = no; then
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11129 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11130 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-lbsd $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char gethostbyname ();
11146 main ()
11148 return gethostbyname ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_bsd_gethostbyname=yes
11155 else
11156 ac_cv_lib_bsd_gethostbyname=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11163 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11164 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11171 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11172 # socket/setsockopt and other routines are undefined under SCO ODT
11173 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11174 # on later versions), says Simon Leinen: it contains gethostby*
11175 # variants that don't use the name server (or something). -lsocket
11176 # must be given before -lnsl if both are needed. We assume that
11177 # if connect needs -lnsl, so does gethostbyname.
11178 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11179 if test "x$ac_cv_func_connect" = xyes; then :
11183 if test $ac_cv_func_connect = no; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11185 $as_echo_n "checking for connect in -lsocket... " >&6; }
11186 if ${ac_cv_lib_socket_connect+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char connect ();
11202 main ()
11204 return connect ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_socket_connect=yes
11211 else
11212 ac_cv_lib_socket_connect=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11219 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11220 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11221 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11226 # Guillermo Gomez says -lposix is necessary on A/UX.
11227 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11228 if test "x$ac_cv_func_remove" = xyes; then :
11232 if test $ac_cv_func_remove = no; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11234 $as_echo_n "checking for remove in -lposix... " >&6; }
11235 if ${ac_cv_lib_posix_remove+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lposix $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char remove ();
11251 main ()
11253 return remove ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_posix_remove=yes
11260 else
11261 ac_cv_lib_posix_remove=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11268 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11269 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11275 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11276 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11277 if test "x$ac_cv_func_shmat" = xyes; then :
11281 if test $ac_cv_func_shmat = no; then
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11283 $as_echo_n "checking for shmat in -lipc... " >&6; }
11284 if ${ac_cv_lib_ipc_shmat+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_lib_save_LIBS=$LIBS
11288 LIBS="-lipc $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char shmat ();
11300 main ()
11302 return shmat ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 ac_cv_lib_ipc_shmat=yes
11309 else
11310 ac_cv_lib_ipc_shmat=no
11312 rm -f core conftest.err conftest.$ac_objext \
11313 conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11317 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11318 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11319 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11325 # Check for libraries that X11R6 Xt/Xaw programs need.
11326 ac_save_LDFLAGS=$LDFLAGS
11327 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11328 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11329 # check for ICE first), but we must link in the order -lSM -lICE or
11330 # we get undefined symbols. So assume we have SM if we have ICE.
11331 # These have to be linked with before -lX11, unlike the other
11332 # libraries we check for below, so use a different variable.
11333 # John Interrante, Karl Berry
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11335 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11336 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11347 #ifdef __cplusplus
11348 extern "C"
11349 #endif
11350 char IceConnectionNumber ();
11352 main ()
11354 return IceConnectionNumber ();
11356 return 0;
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 ac_cv_lib_ICE_IceConnectionNumber=yes
11361 else
11362 ac_cv_lib_ICE_IceConnectionNumber=no
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11369 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11370 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11371 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11374 LDFLAGS=$ac_save_LDFLAGS
11379 if test "$have_x" = "yes"
11380 then
11381 ac_save_CPPFLAGS="$CPPFLAGS"
11382 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11385 $as_echo_n "checking for -lX11... " >&6; }
11386 if ${ac_cv_lib_soname_X11+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_soname_save_LIBS=$LIBS
11390 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char XCreateWindow ();
11402 main ()
11404 return XCreateWindow ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 case "$LIBEXT" in
11411 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if ${ac_cv_lib_soname_X11:+false} :; then :
11415 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 fi ;;
11417 esac
11418 else
11419 ac_cv_lib_soname_X11=
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LIBS=$ac_check_soname_save_LIBS
11425 if ${ac_cv_lib_soname_X11:+false} :; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11427 $as_echo "not found" >&6; }
11429 else
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11431 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11433 cat >>confdefs.h <<_ACEOF
11434 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11435 _ACEOF
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11440 $as_echo_n "checking for -lXext... " >&6; }
11441 if ${ac_cv_lib_soname_Xext+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_soname_save_LIBS=$LIBS
11445 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char XextCreateExtension ();
11457 main ()
11459 return XextCreateExtension ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 case "$LIBEXT" in
11466 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11467 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'` ;;
11468 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11469 if ${ac_cv_lib_soname_Xext:+false} :; then :
11470 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11471 fi ;;
11472 esac
11473 else
11474 ac_cv_lib_soname_Xext=
11476 rm -f core conftest.err conftest.$ac_objext \
11477 conftest$ac_exeext conftest.$ac_ext
11478 LIBS=$ac_check_soname_save_LIBS
11480 if ${ac_cv_lib_soname_Xext:+false} :; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11484 else
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11486 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11488 cat >>confdefs.h <<_ACEOF
11489 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11490 _ACEOF
11492 X_LIBS="$X_LIBS -lXext"
11494 X_LIBS="$X_LIBS -lX11"
11496 for ac_header in X11/Xlib.h \
11497 X11/XKBlib.h \
11498 X11/Xutil.h \
11499 X11/Xcursor/Xcursor.h \
11500 X11/extensions/shape.h \
11501 X11/extensions/XInput.h \
11502 X11/extensions/XInput2.h \
11503 X11/extensions/XShm.h \
11504 X11/extensions/Xcomposite.h \
11505 X11/extensions/Xfixes.h \
11506 X11/extensions/Xinerama.h \
11507 X11/extensions/Xrandr.h \
11508 X11/extensions/Xrender.h \
11509 X11/extensions/xf86vmode.h \
11510 X11/extensions/xf86vmproto.h
11511 do :
11512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11513 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11514 # include <X11/Xlib.h>
11515 #endif
11516 #ifdef HAVE_X11_XUTIL_H
11517 # include <X11/Xutil.h>
11518 #endif
11520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11521 cat >>confdefs.h <<_ACEOF
11522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11523 _ACEOF
11527 done
11530 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11531 then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11533 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11534 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11535 $as_echo_n "(cached) " >&6
11536 else
11537 ac_check_lib_save_LIBS=$LIBS
11538 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 char XkbQueryExtension ();
11550 main ()
11552 return XkbQueryExtension ();
11554 return 0;
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"; then :
11558 ac_cv_lib_X11_XkbQueryExtension=yes
11559 else
11560 ac_cv_lib_X11_XkbQueryExtension=no
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11567 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11568 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11570 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11576 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11577 then
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11579 $as_echo_n "checking for -lXcursor... " >&6; }
11580 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11581 $as_echo_n "(cached) " >&6
11582 else
11583 ac_check_soname_save_LIBS=$LIBS
11584 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11591 #ifdef __cplusplus
11592 extern "C"
11593 #endif
11594 char XcursorImageLoadCursor ();
11596 main ()
11598 return XcursorImageLoadCursor ();
11600 return 0;
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 case "$LIBEXT" in
11605 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11606 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'` ;;
11607 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11608 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11609 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11610 fi ;;
11611 esac
11612 else
11613 ac_cv_lib_soname_Xcursor=
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11625 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11629 _ACEOF
11634 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11635 case "x$with_xcursor" in
11636 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11637 xno) ;;
11638 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11639 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11640 esac
11644 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11645 then
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11647 $as_echo_n "checking for -lXi... " >&6; }
11648 if ${ac_cv_lib_soname_Xi+:} false; then :
11649 $as_echo_n "(cached) " >&6
11650 else
11651 ac_check_soname_save_LIBS=$LIBS
11652 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11656 /* Override any GCC internal prototype to avoid an error.
11657 Use char because int might match the return type of a GCC
11658 builtin and then its argument prototype would still apply. */
11659 #ifdef __cplusplus
11660 extern "C"
11661 #endif
11662 char XOpenDevice ();
11664 main ()
11666 return XOpenDevice ();
11668 return 0;
11670 _ACEOF
11671 if ac_fn_c_try_link "$LINENO"; then :
11672 case "$LIBEXT" in
11673 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11674 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'` ;;
11675 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11676 if ${ac_cv_lib_soname_Xi:+false} :; then :
11677 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11678 fi ;;
11679 esac
11680 else
11681 ac_cv_lib_soname_Xi=
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_soname_save_LIBS
11687 if ${ac_cv_lib_soname_Xi:+false} :; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11689 $as_echo "not found" >&6; }
11691 else
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11693 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11695 cat >>confdefs.h <<_ACEOF
11696 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11697 _ACEOF
11702 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11703 case "x$with_xinput" in
11704 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11705 xno) ;;
11706 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11707 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11708 esac
11712 if test "x$ac_cv_lib_soname_Xi" != x
11713 then
11714 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11715 case "x$with_xinput2" in
11716 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11717 xno) ;;
11718 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11719 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11720 esac
11725 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11728 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11729 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_lib_save_LIBS=$LIBS
11733 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char XShmQueryExtension ();
11745 main ()
11747 return XShmQueryExtension ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 ac_cv_lib_Xext_XShmQueryExtension=yes
11754 else
11755 ac_cv_lib_Xext_XShmQueryExtension=no
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_lib_save_LIBS
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11762 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11763 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11765 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11770 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11771 case "x$with_xshm" in
11772 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11773 xno) ;;
11774 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11775 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11776 esac
11780 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11781 then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11783 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11784 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_lib_save_LIBS=$LIBS
11788 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char XShapeQueryExtension ();
11800 main ()
11802 return XShapeQueryExtension ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 ac_cv_lib_Xext_XShapeQueryExtension=yes
11809 else
11810 ac_cv_lib_Xext_XShapeQueryExtension=no
11812 rm -f core conftest.err conftest.$ac_objext \
11813 conftest$ac_exeext conftest.$ac_ext
11814 LIBS=$ac_check_lib_save_LIBS
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11817 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11818 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11820 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11825 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11826 case "x$with_xshape" in
11827 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11828 xno) ;;
11829 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11830 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11831 esac
11835 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11836 then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11838 $as_echo_n "checking for -lXxf86vm... " >&6; }
11839 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char XF86VidModeQueryExtension ();
11855 main ()
11857 return XF86VidModeQueryExtension ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11868 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11871 else
11872 ac_cv_lib_soname_Xxf86vm=
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11884 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11888 _ACEOF
11893 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11894 case "x$with_xxf86vm" in
11895 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11896 xno) ;;
11897 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11898 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11899 esac
11903 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11904 then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11906 $as_echo_n "checking for -lXrender... " >&6; }
11907 if ${ac_cv_lib_soname_Xrender+:} false; then :
11908 $as_echo_n "(cached) " >&6
11909 else
11910 ac_check_soname_save_LIBS=$LIBS
11911 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11918 #ifdef __cplusplus
11919 extern "C"
11920 #endif
11921 char XRenderQueryExtension ();
11923 main ()
11925 return XRenderQueryExtension ();
11927 return 0;
11929 _ACEOF
11930 if ac_fn_c_try_link "$LINENO"; then :
11931 case "$LIBEXT" in
11932 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11933 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'` ;;
11934 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11935 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11936 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11937 fi ;;
11938 esac
11939 else
11940 ac_cv_lib_soname_Xrender=
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_soname_save_LIBS
11946 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11948 $as_echo "not found" >&6; }
11950 else
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11952 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11954 cat >>confdefs.h <<_ACEOF
11955 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11956 _ACEOF
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11959 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11960 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11961 $as_echo_n "(cached) " >&6
11962 else
11963 ac_check_lib_save_LIBS=$LIBS
11964 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11971 #ifdef __cplusplus
11972 extern "C"
11973 #endif
11974 char XRenderSetPictureTransform ();
11976 main ()
11978 return XRenderSetPictureTransform ();
11980 return 0;
11982 _ACEOF
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11985 else
11986 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11988 rm -f core conftest.err conftest.$ac_objext \
11989 conftest$ac_exeext conftest.$ac_ext
11990 LIBS=$ac_check_lib_save_LIBS
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11993 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11994 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11996 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12001 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12002 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12003 $as_echo_n "(cached) " >&6
12004 else
12005 ac_check_lib_save_LIBS=$LIBS
12006 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 #ifdef __cplusplus
12014 extern "C"
12015 #endif
12016 char XRenderCreateLinearGradient ();
12018 main ()
12020 return XRenderCreateLinearGradient ();
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_link "$LINENO"; then :
12026 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12027 else
12028 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12030 rm -f core conftest.err conftest.$ac_objext \
12031 conftest$ac_exeext conftest.$ac_ext
12032 LIBS=$ac_check_lib_save_LIBS
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12035 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12036 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12038 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12045 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12046 case "x$with_xrender" in
12047 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12048 xno) ;;
12049 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12050 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12051 esac
12055 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12056 then
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12059 #include <X11/Xlib.h>
12060 #include <X11/extensions/Xrandr.h>
12062 main ()
12064 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12066 return 0;
12068 _ACEOF
12069 if ac_fn_c_try_compile "$LINENO"; then :
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12071 $as_echo_n "checking for -lXrandr... " >&6; }
12072 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12073 $as_echo_n "(cached) " >&6
12074 else
12075 ac_check_soname_save_LIBS=$LIBS
12076 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12083 #ifdef __cplusplus
12084 extern "C"
12085 #endif
12086 char XRRQueryExtension ();
12088 main ()
12090 return XRRQueryExtension ();
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"; then :
12096 case "$LIBEXT" in
12097 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12098 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'` ;;
12099 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12100 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12101 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12102 fi ;;
12103 esac
12104 else
12105 ac_cv_lib_soname_Xrandr=
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_soname_save_LIBS
12111 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12113 $as_echo "not found" >&6; }
12115 else
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12117 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12119 cat >>confdefs.h <<_ACEOF
12120 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12121 _ACEOF
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12125 #include <X11/Xlib.h>
12126 #include <X11/extensions/Xrandr.h>
12128 main ()
12130 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12132 return 0;
12134 _ACEOF
12135 if ac_fn_c_try_compile "$LINENO"; then :
12137 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12143 #include <X11/Xlib.h>
12144 #include <X11/extensions/Xrandr.h>
12146 main ()
12148 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12150 return 0;
12152 _ACEOF
12153 if ac_fn_c_try_compile "$LINENO"; then :
12155 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12157 else
12158 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12165 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12166 case "x$with_xrandr" in
12167 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12168 xno) ;;
12169 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12170 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12171 esac
12175 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12176 then
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12179 #include <X11/Xlib.h>
12180 #include <X11/extensions/Xfixes.h>
12182 main ()
12184 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12186 return 0;
12188 _ACEOF
12189 if ac_fn_c_try_compile "$LINENO"; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12191 $as_echo_n "checking for -lXfixes... " >&6; }
12192 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12193 $as_echo_n "(cached) " >&6
12194 else
12195 ac_check_soname_save_LIBS=$LIBS
12196 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12203 #ifdef __cplusplus
12204 extern "C"
12205 #endif
12206 char XFixesQueryVersion ();
12208 main ()
12210 return XFixesQueryVersion ();
12212 return 0;
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"; then :
12216 case "$LIBEXT" in
12217 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12218 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'` ;;
12219 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12220 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12221 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12222 fi ;;
12223 esac
12224 else
12225 ac_cv_lib_soname_Xfixes=
12227 rm -f core conftest.err conftest.$ac_objext \
12228 conftest$ac_exeext conftest.$ac_ext
12229 LIBS=$ac_check_soname_save_LIBS
12231 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12233 $as_echo "not found" >&6; }
12235 else
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12237 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12239 cat >>confdefs.h <<_ACEOF
12240 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12241 _ACEOF
12246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12248 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12249 case "x$with_xfixes" in
12250 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12251 xno) ;;
12252 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12253 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12254 esac
12258 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12259 then
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12262 #include <X11/Xlib.h>
12263 #include <X11/extensions/Xinerama.h>
12265 main ()
12267 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12269 return 0;
12271 _ACEOF
12272 if ac_fn_c_try_compile "$LINENO"; then :
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12274 $as_echo_n "checking for -lXinerama... " >&6; }
12275 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 ac_check_soname_save_LIBS=$LIBS
12279 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 /* Override any GCC internal prototype to avoid an error.
12284 Use char because int might match the return type of a GCC
12285 builtin and then its argument prototype would still apply. */
12286 #ifdef __cplusplus
12287 extern "C"
12288 #endif
12289 char XineramaQueryScreens ();
12291 main ()
12293 return XineramaQueryScreens ();
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_link "$LINENO"; then :
12299 case "$LIBEXT" in
12300 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12301 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'` ;;
12302 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12303 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12304 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12305 fi ;;
12306 esac
12307 else
12308 ac_cv_lib_soname_Xinerama=
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_soname_save_LIBS
12314 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12316 $as_echo "not found" >&6; }
12318 else
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12320 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12322 cat >>confdefs.h <<_ACEOF
12323 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12324 _ACEOF
12329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12331 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12332 case "x$with_xinerama" in
12333 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12334 xno) ;;
12335 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12336 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12337 esac
12341 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12342 then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12344 $as_echo_n "checking for -lXcomposite... " >&6; }
12345 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12346 $as_echo_n "(cached) " >&6
12347 else
12348 ac_check_soname_save_LIBS=$LIBS
12349 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h. */
12353 /* Override any GCC internal prototype to avoid an error.
12354 Use char because int might match the return type of a GCC
12355 builtin and then its argument prototype would still apply. */
12356 #ifdef __cplusplus
12357 extern "C"
12358 #endif
12359 char XCompositeRedirectWindow ();
12361 main ()
12363 return XCompositeRedirectWindow ();
12365 return 0;
12367 _ACEOF
12368 if ac_fn_c_try_link "$LINENO"; then :
12369 case "$LIBEXT" in
12370 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12371 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'` ;;
12372 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12373 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12374 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12375 fi ;;
12376 esac
12377 else
12378 ac_cv_lib_soname_Xcomposite=
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 LIBS=$ac_check_soname_save_LIBS
12384 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12386 $as_echo "not found" >&6; }
12388 else
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12390 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12392 cat >>confdefs.h <<_ACEOF
12393 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12394 _ACEOF
12399 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12400 case "x$with_xcomposite" in
12401 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12402 xno) ;;
12403 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12404 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12405 esac
12409 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12410 #include <X11/Xlib.h>
12411 #endif
12413 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12415 cat >>confdefs.h <<_ACEOF
12416 #define HAVE_XICCALLBACK_CALLBACK 1
12417 _ACEOF
12421 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12422 #include <X11/Xlib.h>
12423 #endif
12425 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_XEVENT_XCOOKIE 1
12429 _ACEOF
12436 opengl_msg=""
12437 if test "x$with_opengl" != "xno"
12438 then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12440 $as_echo_n "checking for -lGL... " >&6; }
12441 if ${ac_cv_lib_soname_GL+:} false; then :
12442 $as_echo_n "(cached) " >&6
12443 else
12444 ac_check_soname_save_LIBS=$LIBS
12445 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 /* Override any GCC internal prototype to avoid an error.
12450 Use char because int might match the return type of a GCC
12451 builtin and then its argument prototype would still apply. */
12452 #ifdef __cplusplus
12453 extern "C"
12454 #endif
12455 char glXCreateContext ();
12457 main ()
12459 return glXCreateContext ();
12461 return 0;
12463 _ACEOF
12464 if ac_fn_c_try_link "$LINENO"; then :
12465 case "$LIBEXT" in
12466 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12467 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'` ;;
12468 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12469 if ${ac_cv_lib_soname_GL:+false} :; then :
12470 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12471 fi ;;
12472 esac
12473 else
12474 ac_cv_lib_soname_GL=
12476 rm -f core conftest.err conftest.$ac_objext \
12477 conftest$ac_exeext conftest.$ac_ext
12478 LIBS=$ac_check_soname_save_LIBS
12480 if ${ac_cv_lib_soname_GL:+false} :; then :
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12482 $as_echo "not found" >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12484 $as_echo_n "checking for -lGL... " >&6; }
12485 if ${ac_cv_lib_soname_GL+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_check_soname_save_LIBS=$LIBS
12489 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"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 char glXCreateContext ();
12501 main ()
12503 return glXCreateContext ();
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"; then :
12509 case "$LIBEXT" in
12510 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12511 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'` ;;
12512 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12513 if ${ac_cv_lib_soname_GL:+false} :; then :
12514 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12515 fi ;;
12516 esac
12517 else
12518 ac_cv_lib_soname_GL=
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_soname_save_LIBS
12524 if ${ac_cv_lib_soname_GL:+false} :; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12526 $as_echo "not found" >&6; }
12527 if test -f /usr/X11R6/lib/libGL.a
12528 then
12529 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12530 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12531 else
12532 opengl_msg="No OpenGL library found on this system."
12534 else
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12536 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12538 cat >>confdefs.h <<_ACEOF
12539 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12540 _ACEOF
12542 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"
12544 else
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12546 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12548 cat >>confdefs.h <<_ACEOF
12549 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12550 _ACEOF
12552 OPENGL_LIBS="-lGL"
12554 if test "x$with_glu" != "xno"
12555 then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12557 $as_echo_n "checking for -lGLU... " >&6; }
12558 if ${ac_cv_lib_soname_GLU+:} false; then :
12559 $as_echo_n "(cached) " >&6
12560 else
12561 ac_check_soname_save_LIBS=$LIBS
12562 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12569 #ifdef __cplusplus
12570 extern "C"
12571 #endif
12572 char gluLookAt ();
12574 main ()
12576 return gluLookAt ();
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_link "$LINENO"; then :
12582 case "$LIBEXT" in
12583 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12584 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'` ;;
12585 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12586 if ${ac_cv_lib_soname_GLU:+false} :; then :
12587 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12588 fi ;;
12589 esac
12590 else
12591 ac_cv_lib_soname_GLU=
12593 rm -f core conftest.err conftest.$ac_objext \
12594 conftest$ac_exeext conftest.$ac_ext
12595 LIBS=$ac_check_soname_save_LIBS
12597 if ${ac_cv_lib_soname_GLU:+false} :; then :
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12599 $as_echo "not found" >&6; }
12601 else
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12603 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12605 cat >>confdefs.h <<_ACEOF
12606 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12607 _ACEOF
12611 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12612 case "x$with_glu" in
12613 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12614 xno) ;;
12615 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12616 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12617 esac
12622 if test "x$with_osmesa" != "xno"
12623 then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12625 $as_echo_n "checking for -lOSMesa... " >&6; }
12626 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 ac_check_soname_save_LIBS=$LIBS
12630 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 #endif
12640 char OSMesaGetProcAddress ();
12642 main ()
12644 return OSMesaGetProcAddress ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"; then :
12650 case "$LIBEXT" in
12651 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12652 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'` ;;
12653 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12654 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12655 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12656 fi ;;
12657 esac
12658 else
12659 ac_cv_lib_soname_OSMesa=
12661 rm -f core conftest.err conftest.$ac_objext \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_soname_save_LIBS
12665 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12667 $as_echo "not found" >&6; }
12669 else
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12671 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12673 cat >>confdefs.h <<_ACEOF
12674 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12675 _ACEOF
12679 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12680 case "x$with_osmesa" in
12681 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12682 xno) ;;
12683 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12684 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12685 esac
12690 if test -n "$opengl_msg"; then :
12691 case "x$with_opengl" in
12692 x) as_fn_append wine_warnings "|$opengl_msg
12693 OpenGL and Direct3D won't be supported." ;;
12694 xno) ;;
12695 *) as_fn_error $? "$opengl_msg
12696 OpenGL and Direct3D won't be supported.
12697 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12698 esac
12702 CPPFLAGS="$ac_save_CPPFLAGS"
12703 else
12704 X_CFLAGS=""
12705 X_LIBS=""
12708 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12709 then
12710 if test "x$X_LIBS" = "x"; then :
12711 case "x$with_x" in
12712 xno) ;;
12713 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12714 without X support, which probably isn't what you want. You will need
12715 to install ${notice_platform}development packages of Xlib at the very least.
12716 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12717 esac
12718 enable_winex11_drv=${enable_winex11_drv:-no}
12720 else
12721 if test "x$X_LIBS" = "x"; then :
12722 case "x$with_x" in
12723 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12724 xno) ;;
12725 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12726 This is an error since --with-x was requested." "$LINENO" 5 ;;
12727 esac
12728 enable_winex11_drv=${enable_winex11_drv:-no}
12732 if test "$ac_cv_header_CL_cl_h" = "yes"
12733 then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12735 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12736 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-lOpenCL $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char clGetPlatformInfo ();
12752 main ()
12754 return clGetPlatformInfo ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12761 else
12762 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 LIBS=$ac_check_lib_save_LIBS
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12769 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12770 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12771 OPENCL_LIBS="-lOpenCL"
12776 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12777 case "x$with_opencl" in
12778 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12779 xno) ;;
12780 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12781 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12782 esac
12783 enable_opencl=${enable_opencl:-no}
12786 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12787 then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12789 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12790 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12791 $as_echo_n "(cached) " >&6
12792 else
12793 ac_check_lib_save_LIBS=$LIBS
12794 LIBS="-lpcap $LIBS"
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12801 #ifdef __cplusplus
12802 extern "C"
12803 #endif
12804 char pcap_create ();
12806 main ()
12808 return pcap_create ();
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 ac_cv_lib_pcap_pcap_create=yes
12815 else
12816 ac_cv_lib_pcap_pcap_create=no
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12823 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12824 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12825 PCAP_LIBS="-lpcap"
12830 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12831 case "x$with_pcap" in
12832 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12833 xno) ;;
12834 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12835 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12836 esac
12837 enable_wpcap=${enable_wpcap:-no}
12841 if test "x$with_xml" != "xno"
12842 then
12843 if ${XML2_CFLAGS:+false} :; then :
12844 if ${PKG_CONFIG+:} false; then :
12845 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12848 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12849 if ${XML2_LIBS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12854 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12855 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12856 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12858 ac_save_CPPFLAGS=$CPPFLAGS
12859 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12860 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12861 do :
12862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12865 cat >>confdefs.h <<_ACEOF
12866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12867 _ACEOF
12871 done
12873 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"
12874 then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12876 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12877 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 ac_check_lib_save_LIBS=$LIBS
12881 LIBS="-lxml2 $XML2_LIBS $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char xmlParseMemory ();
12893 main ()
12895 return xmlParseMemory ();
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 ac_cv_lib_xml2_xmlParseMemory=yes
12902 else
12903 ac_cv_lib_xml2_xmlParseMemory=no
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12910 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12911 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12913 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12915 else
12916 XML2_LIBS=""
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12920 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12921 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
12924 ac_check_lib_save_LIBS=$LIBS
12925 LIBS="-lxml2 $XML2_LIBS $LIBS"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12932 #ifdef __cplusplus
12933 extern "C"
12934 #endif
12935 char xmlReadMemory ();
12937 main ()
12939 return xmlReadMemory ();
12941 return 0;
12943 _ACEOF
12944 if ac_fn_c_try_link "$LINENO"; then :
12945 ac_cv_lib_xml2_xmlReadMemory=yes
12946 else
12947 ac_cv_lib_xml2_xmlReadMemory=no
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12951 LIBS=$ac_check_lib_save_LIBS
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12954 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12955 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12957 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12962 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12963 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lxml2 $XML2_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char xmlNewDocPI ();
12979 main ()
12981 return xmlNewDocPI ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 ac_cv_lib_xml2_xmlNewDocPI=yes
12988 else
12989 ac_cv_lib_xml2_xmlNewDocPI=no
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_lib_save_LIBS
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12996 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12997 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12999 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13004 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13005 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 ac_check_lib_save_LIBS=$LIBS
13009 LIBS="-lxml2 $XML2_LIBS $LIBS"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13016 #ifdef __cplusplus
13017 extern "C"
13018 #endif
13019 char xmlSchemaSetParserStructuredErrors ();
13021 main ()
13023 return xmlSchemaSetParserStructuredErrors ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13030 else
13031 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13033 rm -f core conftest.err conftest.$ac_objext \
13034 conftest$ac_exeext conftest.$ac_ext
13035 LIBS=$ac_check_lib_save_LIBS
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13038 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13039 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13041 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13046 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13047 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13048 $as_echo_n "(cached) " >&6
13049 else
13050 ac_check_lib_save_LIBS=$LIBS
13051 LIBS="-lxml2 $XML2_LIBS $LIBS"
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13058 #ifdef __cplusplus
13059 extern "C"
13060 #endif
13061 char xmlSchemaSetValidStructuredErrors ();
13063 main ()
13065 return xmlSchemaSetValidStructuredErrors ();
13067 return 0;
13069 _ACEOF
13070 if ac_fn_c_try_link "$LINENO"; then :
13071 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13072 else
13073 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13075 rm -f core conftest.err conftest.$ac_objext \
13076 conftest$ac_exeext conftest.$ac_ext
13077 LIBS=$ac_check_lib_save_LIBS
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13080 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13081 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13083 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13088 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13089 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13090 $as_echo_n "(cached) " >&6
13091 else
13092 ac_check_lib_save_LIBS=$LIBS
13093 LIBS="-lxml2 $XML2_LIBS $LIBS"
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13100 #ifdef __cplusplus
13101 extern "C"
13102 #endif
13103 char xmlFirstElementChild ();
13105 main ()
13107 return xmlFirstElementChild ();
13109 return 0;
13111 _ACEOF
13112 if ac_fn_c_try_link "$LINENO"; then :
13113 ac_cv_lib_xml2_xmlFirstElementChild=yes
13114 else
13115 ac_cv_lib_xml2_xmlFirstElementChild=no
13117 rm -f core conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 LIBS=$ac_check_lib_save_LIBS
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13122 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13123 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13125 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13129 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13131 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13133 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13137 else
13138 XML2_CFLAGS=""
13139 XML2_LIBS=""
13141 CPPFLAGS=$ac_save_CPPFLAGS
13142 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13143 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13146 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13147 case "x$with_xml" in
13148 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13149 xno) ;;
13150 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13151 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13152 esac
13156 if test "x$with_xslt" != "xno"
13157 then
13158 if ${XSLT_CFLAGS:+false} :; then :
13159 if ${PKG_CONFIG+:} false; then :
13160 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13163 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13164 if ${XSLT_LIBS:+false} :; then :
13165 if ${PKG_CONFIG+:} false; then :
13166 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13169 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13170 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13171 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13172 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13173 ac_save_CPPFLAGS=$CPPFLAGS
13174 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13175 for ac_header in libxslt/pattern.h libxslt/transform.h
13176 do :
13177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13178 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13179 # include <libxslt/pattern.h>
13180 #endif
13182 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13183 cat >>confdefs.h <<_ACEOF
13184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13185 _ACEOF
13189 done
13191 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13192 then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13194 $as_echo_n "checking for -lxslt... " >&6; }
13195 if ${ac_cv_lib_soname_xslt+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_soname_save_LIBS=$LIBS
13199 LIBS="-lxslt $XSLT_LIBS $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char xsltCompilePattern ();
13211 main ()
13213 return xsltCompilePattern ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 case "$LIBEXT" in
13220 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13221 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'` ;;
13222 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13223 if ${ac_cv_lib_soname_xslt:+false} :; then :
13224 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13225 fi ;;
13226 esac
13227 else
13228 ac_cv_lib_soname_xslt=
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_soname_save_LIBS
13234 if ${ac_cv_lib_soname_xslt:+false} :; then :
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13236 $as_echo "not found" >&6; }
13238 else
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13240 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13242 cat >>confdefs.h <<_ACEOF
13243 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13244 _ACEOF
13248 else
13249 XSLT_CFLAGS=""
13251 CPPFLAGS=$ac_save_CPPFLAGS
13252 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13253 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13256 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13257 case "x$with_xslt" in
13258 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13259 xno) ;;
13260 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13261 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13262 esac
13266 if test "x$with_inotify" != "xno"
13267 then
13268 if ${INOTIFY_CFLAGS:+false} :; then :
13269 if ${PKG_CONFIG+:} false; then :
13270 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13274 if ${INOTIFY_LIBS:+false} :; then :
13275 if ${PKG_CONFIG+:} false; then :
13276 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13281 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13282 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13283 ac_save_CPPFLAGS=$CPPFLAGS
13284 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13285 for ac_header in sys/inotify.h
13286 do :
13287 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13288 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13289 cat >>confdefs.h <<_ACEOF
13290 #define HAVE_SYS_INOTIFY_H 1
13291 _ACEOF
13295 done
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13298 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13299 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_lib_save_LIBS=$LIBS
13303 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char inotify_add_watch ();
13315 main ()
13317 return inotify_add_watch ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 ac_cv_lib_inotify_inotify_add_watch=yes
13324 else
13325 ac_cv_lib_inotify_inotify_add_watch=no
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_lib_save_LIBS
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13332 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13333 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13335 else
13336 INOTIFY_LIBS=""
13339 CPPFLAGS=$ac_save_CPPFLAGS
13340 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13341 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13344 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13345 case "x$with_inotify" in
13346 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13347 xno) ;;
13348 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13349 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13350 esac
13354 if test "x$with_dbus" != "xno"
13355 then
13356 if ${DBUS_CFLAGS:+false} :; then :
13357 if ${PKG_CONFIG+:} false; then :
13358 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13362 if ${DBUS_LIBS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13371 ac_save_CPPFLAGS=$CPPFLAGS
13372 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13373 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13374 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13376 $as_echo_n "checking for -ldbus-1... " >&6; }
13377 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13378 $as_echo_n "(cached) " >&6
13379 else
13380 ac_check_soname_save_LIBS=$LIBS
13381 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 char dbus_connection_close ();
13393 main ()
13395 return dbus_connection_close ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"; then :
13401 case "$LIBEXT" in
13402 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) 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'`
13405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13406 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13407 fi ;;
13408 esac
13409 else
13410 ac_cv_lib_soname_dbus_1=
13412 rm -f core conftest.err conftest.$ac_objext \
13413 conftest$ac_exeext conftest.$ac_ext
13414 LIBS=$ac_check_soname_save_LIBS
13416 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13418 $as_echo "not found" >&6; }
13419 DBUS_CFLAGS=""
13420 else
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13422 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13424 cat >>confdefs.h <<_ACEOF
13425 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13426 _ACEOF
13430 else
13431 DBUS_CFLAGS=""
13435 CPPFLAGS=$ac_save_CPPFLAGS
13436 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13437 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13440 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13441 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13442 case "x$with_dbus" in
13443 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13444 xno) ;;
13445 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13446 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13447 esac
13451 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13452 then
13453 if ${HAL_CFLAGS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13459 if ${HAL_LIBS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13465 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13466 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13467 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13468 ac_save_CPPFLAGS=$CPPFLAGS
13469 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13470 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13471 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13473 $as_echo_n "checking for -lhal... " >&6; }
13474 if ${ac_cv_lib_soname_hal+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_check_soname_save_LIBS=$LIBS
13478 LIBS="-lhal $HAL_LIBS $LIBS"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13485 #ifdef __cplusplus
13486 extern "C"
13487 #endif
13488 char libhal_ctx_new ();
13490 main ()
13492 return libhal_ctx_new ();
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 case "$LIBEXT" in
13499 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13500 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'` ;;
13501 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13502 if ${ac_cv_lib_soname_hal:+false} :; then :
13503 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13504 fi ;;
13505 esac
13506 else
13507 ac_cv_lib_soname_hal=
13509 rm -f core conftest.err conftest.$ac_objext \
13510 conftest$ac_exeext conftest.$ac_ext
13511 LIBS=$ac_check_soname_save_LIBS
13513 if ${ac_cv_lib_soname_hal:+false} :; then :
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13515 $as_echo "not found" >&6; }
13516 HAL_CFLAGS=""
13517 else
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13519 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13521 cat >>confdefs.h <<_ACEOF
13522 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13523 _ACEOF
13527 else
13528 HAL_CFLAGS=""
13532 CPPFLAGS=$ac_save_CPPFLAGS
13533 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13534 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13536 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13537 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13538 case "x$with_hal" in
13539 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13540 xno) ;;
13541 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13542 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13543 esac
13548 if test "x$with_gnutls" != "xno"
13549 then
13550 if ${GNUTLS_CFLAGS:+false} :; then :
13551 if ${PKG_CONFIG+:} false; then :
13552 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13556 if ${GNUTLS_LIBS:+false} :; then :
13557 if ${PKG_CONFIG+:} false; then :
13558 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13563 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13564 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13565 ac_save_CPPFLAGS=$CPPFLAGS
13566 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13567 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13568 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 #include <gnutls/gnutls.h>
13572 #include <gnutls/crypto.h>
13574 main ()
13576 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13578 return 0;
13580 _ACEOF
13581 if ac_fn_c_try_compile "$LINENO"; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13583 $as_echo_n "checking for -lgnutls... " >&6; }
13584 if ${ac_cv_lib_soname_gnutls+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 ac_check_soname_save_LIBS=$LIBS
13588 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13592 /* Override any GCC internal prototype to avoid an error.
13593 Use char because int might match the return type of a GCC
13594 builtin and then its argument prototype would still apply. */
13595 #ifdef __cplusplus
13596 extern "C"
13597 #endif
13598 char gnutls_global_init ();
13600 main ()
13602 return gnutls_global_init ();
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 case "$LIBEXT" in
13609 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13610 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'` ;;
13611 *) 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'`
13612 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13613 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'`
13614 fi ;;
13615 esac
13616 else
13617 ac_cv_lib_soname_gnutls=
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13625 $as_echo "not found" >&6; }
13626 GNUTLS_CFLAGS=""
13627 else
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13629 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13633 _ACEOF
13637 ac_wine_check_funcs_save_LIBS="$LIBS"
13638 LIBS="$LIBS $GNUTLS_LIBS"
13639 for ac_func in gnutls_cipher_init
13640 do :
13641 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13642 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13643 cat >>confdefs.h <<_ACEOF
13644 #define HAVE_GNUTLS_CIPHER_INIT 1
13645 _ACEOF
13647 else
13648 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13650 done
13652 LIBS="$ac_wine_check_funcs_save_LIBS"
13654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13655 else
13656 GNUTLS_CFLAGS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13661 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13662 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13665 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13666 case "x$with_gnutls" in
13667 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13668 xno) ;;
13669 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13670 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13671 esac
13675 CURSES_LIBS=""
13676 if test "$ac_cv_header_ncurses_h" = "yes"
13677 then
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13679 $as_echo_n "checking for -lncurses... " >&6; }
13680 if ${ac_cv_lib_soname_ncurses+:} false; then :
13681 $as_echo_n "(cached) " >&6
13682 else
13683 ac_check_soname_save_LIBS=$LIBS
13684 LIBS="-lncurses $LIBS"
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13688 /* Override any GCC internal prototype to avoid an error.
13689 Use char because int might match the return type of a GCC
13690 builtin and then its argument prototype would still apply. */
13691 #ifdef __cplusplus
13692 extern "C"
13693 #endif
13694 char waddch ();
13696 main ()
13698 return waddch ();
13700 return 0;
13702 _ACEOF
13703 if ac_fn_c_try_link "$LINENO"; then :
13704 case "$LIBEXT" in
13705 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13706 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'` ;;
13707 *) 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'`
13708 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13709 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13710 fi ;;
13711 esac
13712 else
13713 ac_cv_lib_soname_ncurses=
13715 rm -f core conftest.err conftest.$ac_objext \
13716 conftest$ac_exeext conftest.$ac_ext
13717 LIBS=$ac_check_soname_save_LIBS
13719 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13721 $as_echo "not found" >&6; }
13723 else
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13725 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13727 cat >>confdefs.h <<_ACEOF
13728 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13729 _ACEOF
13731 CURSES_LIBS="-lncurses"
13733 elif test "$ac_cv_header_curses_h" = "yes"
13734 then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13736 $as_echo_n "checking for -lcurses... " >&6; }
13737 if ${ac_cv_lib_soname_curses+:} false; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 ac_check_soname_save_LIBS=$LIBS
13741 LIBS="-lcurses $LIBS"
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13745 /* Override any GCC internal prototype to avoid an error.
13746 Use char because int might match the return type of a GCC
13747 builtin and then its argument prototype would still apply. */
13748 #ifdef __cplusplus
13749 extern "C"
13750 #endif
13751 char waddch ();
13753 main ()
13755 return waddch ();
13757 return 0;
13759 _ACEOF
13760 if ac_fn_c_try_link "$LINENO"; then :
13761 case "$LIBEXT" in
13762 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13763 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'` ;;
13764 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13765 if ${ac_cv_lib_soname_curses:+false} :; then :
13766 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13767 fi ;;
13768 esac
13769 else
13770 ac_cv_lib_soname_curses=
13772 rm -f core conftest.err conftest.$ac_objext \
13773 conftest$ac_exeext conftest.$ac_ext
13774 LIBS=$ac_check_soname_save_LIBS
13776 if ${ac_cv_lib_soname_curses:+false} :; then :
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13778 $as_echo "not found" >&6; }
13780 else
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13782 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13784 cat >>confdefs.h <<_ACEOF
13785 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13786 _ACEOF
13788 CURSES_LIBS="-lcurses"
13791 ac_save_LIBS="$LIBS"
13792 LIBS="$LIBS $CURSES_LIBS"
13793 for ac_func in mousemask
13794 do :
13795 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13796 if test "x$ac_cv_func_mousemask" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF
13798 #define HAVE_MOUSEMASK 1
13799 _ACEOF
13802 done
13804 LIBS="$ac_save_LIBS"
13805 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13806 case "x$with_curses" in
13807 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13808 xno) ;;
13809 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13810 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13811 esac
13815 if test "x$with_sane" != "xno"
13816 then
13817 if ${SANE_CFLAGS:+false} :; then :
13818 if ${PKG_CONFIG+:} false; then :
13819 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13822 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13823 if ${SANE_LIBS:+false} :; then :
13824 if ${PKG_CONFIG+:} false; then :
13825 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13828 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13830 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13832 ac_save_CPPFLAGS=$CPPFLAGS
13833 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13834 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13835 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13837 $as_echo_n "checking for -lsane... " >&6; }
13838 if ${ac_cv_lib_soname_sane+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_check_soname_save_LIBS=$LIBS
13842 LIBS="-lsane $SANE_LIBS $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char sane_init ();
13854 main ()
13856 return sane_init ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 case "$LIBEXT" in
13863 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13864 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'` ;;
13865 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13866 if ${ac_cv_lib_soname_sane:+false} :; then :
13867 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13868 fi ;;
13869 esac
13870 else
13871 ac_cv_lib_soname_sane=
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS=$ac_check_soname_save_LIBS
13877 if ${ac_cv_lib_soname_sane:+false} :; then :
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13879 $as_echo "not found" >&6; }
13880 SANE_CFLAGS=""
13881 else
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13883 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13885 cat >>confdefs.h <<_ACEOF
13886 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13887 _ACEOF
13891 else
13892 SANE_CFLAGS=""
13896 CPPFLAGS=$ac_save_CPPFLAGS
13897 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13898 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13901 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13902 case "x$with_sane" in
13903 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13904 xno) ;;
13905 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13906 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13907 esac
13911 if test "x$with_v4l2" != "xno"
13912 then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13914 $as_echo_n "checking for -lv4l2... " >&6; }
13915 if ${ac_cv_lib_soname_v4l2+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_check_soname_save_LIBS=$LIBS
13919 LIBS="-lv4l2 $LIBS"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13923 /* Override any GCC internal prototype to avoid an error.
13924 Use char because int might match the return type of a GCC
13925 builtin and then its argument prototype would still apply. */
13926 #ifdef __cplusplus
13927 extern "C"
13928 #endif
13929 char v4l2_open ();
13931 main ()
13933 return v4l2_open ();
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 case "$LIBEXT" in
13940 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13941 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'` ;;
13942 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13943 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13944 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13945 fi ;;
13946 esac
13947 else
13948 ac_cv_lib_soname_v4l2=
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_soname_save_LIBS
13954 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13956 $as_echo "not found" >&6; }
13958 else
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13960 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13962 cat >>confdefs.h <<_ACEOF
13963 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13964 _ACEOF
13969 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13970 case "x$with_v4l2" in
13971 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13972 xno) ;;
13973 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13974 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13975 esac
13979 if test "x$with_gphoto" != "xno"
13980 then
13981 if ${GPHOTO2_CFLAGS:+false} :; then :
13982 if ${PKG_CONFIG+:} false; then :
13983 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13986 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13987 if ${GPHOTO2_LIBS:+false} :; then :
13988 if ${PKG_CONFIG+:} false; then :
13989 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13992 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13993 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13994 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13995 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13996 ac_save_CPPFLAGS=$CPPFLAGS
13997 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13998 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13999 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14001 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14002 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_check_lib_save_LIBS=$LIBS
14006 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14010 /* Override any GCC internal prototype to avoid an error.
14011 Use char because int might match the return type of a GCC
14012 builtin and then its argument prototype would still apply. */
14013 #ifdef __cplusplus
14014 extern "C"
14015 #endif
14016 char gp_camera_new ();
14018 main ()
14020 return gp_camera_new ();
14022 return 0;
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_lib_gphoto2_gp_camera_new=yes
14027 else
14028 ac_cv_lib_gphoto2_gp_camera_new=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS=$ac_check_lib_save_LIBS
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14035 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14036 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14038 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14040 else
14041 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14044 else
14045 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14049 CPPFLAGS=$ac_save_CPPFLAGS
14050 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14051 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14053 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14054 if ${PKG_CONFIG+:} false; then :
14055 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14058 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14059 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14060 if ${PKG_CONFIG+:} false; then :
14061 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14064 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14065 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14066 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14068 ac_save_CPPFLAGS=$CPPFLAGS
14069 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14070 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14071 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14073 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14074 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_check_lib_save_LIBS=$LIBS
14078 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14085 #ifdef __cplusplus
14086 extern "C"
14087 #endif
14088 char gp_port_info_list_new ();
14090 main ()
14092 return gp_port_info_list_new ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14099 else
14100 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14107 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14108 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14110 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14112 else
14113 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14116 else
14117 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14121 CPPFLAGS=$ac_save_CPPFLAGS
14122 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14123 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14126 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14127 case "x$with_gphoto" in
14128 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14129 xno) ;;
14130 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14131 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14132 esac
14135 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14136 case "x$with_gphoto" in
14137 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14138 xno) ;;
14139 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14140 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14141 esac
14146 if test "$ac_cv_header_resolv_h" = "yes"
14147 then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14149 $as_echo_n "checking for resolver library... " >&6; }
14150 if ${ac_cv_have_resolv+:} false; then :
14151 $as_echo_n "(cached) " >&6
14152 else
14153 ac_save_LIBS="$LIBS"
14154 for lib in '' -lresolv
14156 LIBS="$lib $ac_save_LIBS"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 #ifdef HAVE_NETINET_IN_H
14160 #include <netinet/in.h>
14161 #endif
14162 #include <resolv.h>
14164 main ()
14166 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 ac_cv_have_resolv=${lib:-"none required"}
14173 else
14174 ac_cv_have_resolv="not found"
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 test "x$ac_cv_have_resolv" = "xnot found" || break
14179 done
14180 LIBS="$ac_save_LIBS"
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14183 $as_echo "$ac_cv_have_resolv" >&6; }
14185 case "$ac_cv_have_resolv" in
14186 "not found") ;;
14187 "none required")
14189 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14192 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14194 RESOLV_LIBS=$ac_cv_have_resolv
14196 esac
14199 if test "x$with_cms" != "xno"
14200 then
14201 if ${LCMS2_CFLAGS:+false} :; then :
14202 if ${PKG_CONFIG+:} false; then :
14203 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14207 if ${LCMS2_LIBS:+false} :; then :
14208 if ${PKG_CONFIG+:} false; then :
14209 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14213 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14214 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14215 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14216 ac_save_CPPFLAGS=$CPPFLAGS
14217 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14218 for ac_header in lcms2.h
14219 do :
14220 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14221 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14222 cat >>confdefs.h <<_ACEOF
14223 #define HAVE_LCMS2_H 1
14224 _ACEOF
14228 done
14230 if test "$ac_cv_header_lcms2_h" = "yes"
14231 then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14233 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14234 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14235 $as_echo_n "(cached) " >&6
14236 else
14237 ac_check_lib_save_LIBS=$LIBS
14238 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14242 /* Override any GCC internal prototype to avoid an error.
14243 Use char because int might match the return type of a GCC
14244 builtin and then its argument prototype would still apply. */
14245 #ifdef __cplusplus
14246 extern "C"
14247 #endif
14248 char cmsOpenProfileFromFile ();
14250 main ()
14252 return cmsOpenProfileFromFile ();
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"; then :
14258 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14259 else
14260 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14262 rm -f core conftest.err conftest.$ac_objext \
14263 conftest$ac_exeext conftest.$ac_ext
14264 LIBS=$ac_check_lib_save_LIBS
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14267 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14268 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14270 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14272 else
14273 LCMS2_LIBS=""
14276 else
14277 LCMS2_CFLAGS=""
14278 LCMS2_LIBS=""
14280 CPPFLAGS=$ac_save_CPPFLAGS
14281 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14282 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14285 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14286 case "x$with_cms" in
14287 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14288 xno) ;;
14289 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14290 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14291 esac
14295 if test "x$with_freetype" != "xno"
14296 then
14297 if ${FREETYPE_CFLAGS:+false} :; then :
14298 if ${PKG_CONFIG+:} false; then :
14299 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14302 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14303 if ${FREETYPE_LIBS:+false} :; then :
14304 if ${PKG_CONFIG+:} false; then :
14305 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14308 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14309 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14310 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14311 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14312 ac_save_CPPFLAGS=$CPPFLAGS
14313 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14314 for ac_header in ft2build.h
14315 do :
14316 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14317 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14318 cat >>confdefs.h <<_ACEOF
14319 #define HAVE_FT2BUILD_H 1
14320 _ACEOF
14324 done
14326 if test "$ac_cv_header_ft2build_h" = "yes"
14327 then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14329 $as_echo_n "checking for -lfreetype... " >&6; }
14330 if ${ac_cv_lib_soname_freetype+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_check_soname_save_LIBS=$LIBS
14334 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14338 /* Override any GCC internal prototype to avoid an error.
14339 Use char because int might match the return type of a GCC
14340 builtin and then its argument prototype would still apply. */
14341 #ifdef __cplusplus
14342 extern "C"
14343 #endif
14344 char FT_Init_FreeType ();
14346 main ()
14348 return FT_Init_FreeType ();
14350 return 0;
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 case "$LIBEXT" in
14355 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14356 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'` ;;
14357 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14358 if ${ac_cv_lib_soname_freetype:+false} :; then :
14359 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14360 fi ;;
14361 esac
14362 else
14363 ac_cv_lib_soname_freetype=
14365 rm -f core conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367 LIBS=$ac_check_soname_save_LIBS
14369 if ${ac_cv_lib_soname_freetype:+false} :; then :
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14371 $as_echo "not found" >&6; }
14372 FREETYPE_LIBS=""
14373 else
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14375 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14377 cat >>confdefs.h <<_ACEOF
14378 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14379 _ACEOF
14382 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14384 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14385 #include FT_MODULE_H
14387 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14389 cat >>confdefs.h <<_ACEOF
14390 #define HAVE_FT_TRUETYPEENGINETYPE 1
14391 _ACEOF
14397 else
14398 FREETYPE_CFLAGS=""
14399 FREETYPE_LIBS=""
14401 CPPFLAGS=$ac_save_CPPFLAGS
14402 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14403 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14406 if test "x$ac_cv_lib_soname_freetype" = x; then :
14407 case "x$with_freetype" in
14408 xno) ;;
14409 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14410 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14411 esac
14412 enable_fonts=${enable_fonts:-no}
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14416 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14417 if ${ac_cv_c_ppdev+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 #ifdef HAVE_SYS_IOCTL_H
14423 # include <sys/ioctl.h>
14424 #endif
14425 #include <linux/ppdev.h>
14427 main ()
14429 ioctl (1,PPCLAIM,0)
14431 return 0;
14433 _ACEOF
14434 if ac_fn_c_try_compile "$LINENO"; then :
14435 ac_cv_c_ppdev="yes"
14436 else
14437 ac_cv_c_ppdev="no"
14439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14442 $as_echo "$ac_cv_c_ppdev" >&6; }
14443 if test "$ac_cv_c_ppdev" = "yes"
14444 then
14446 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14450 ac_wine_check_funcs_save_LIBS="$LIBS"
14451 LIBS="$LIBS $PTHREAD_LIBS"
14452 for ac_func in \
14453 pthread_getthreadid_np
14454 do :
14455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14460 _ACEOF
14463 done
14465 LIBS="$ac_wine_check_funcs_save_LIBS"
14467 if test "x$with_zlib" != "xno"
14468 then
14469 if ${Z_CFLAGS:+false} :; then :
14470 if ${PKG_CONFIG+:} false; then :
14471 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14475 if ${Z_LIBS:+false} :; then :
14476 if ${PKG_CONFIG+:} false; then :
14477 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14481 Z_LIBS=${Z_LIBS:-"-lz"}
14482 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14483 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14484 ac_save_CPPFLAGS=$CPPFLAGS
14485 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14486 for ac_header in zlib.h
14487 do :
14488 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14489 if test "x$ac_cv_header_zlib_h" = xyes; then :
14490 cat >>confdefs.h <<_ACEOF
14491 #define HAVE_ZLIB_H 1
14492 _ACEOF
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14494 $as_echo_n "checking for inflate in -lz... " >&6; }
14495 if ${ac_cv_lib_z_inflate+:} false; then :
14496 $as_echo_n "(cached) " >&6
14497 else
14498 ac_check_lib_save_LIBS=$LIBS
14499 LIBS="-lz $Z_LIBS $LIBS"
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14503 /* Override any GCC internal prototype to avoid an error.
14504 Use char because int might match the return type of a GCC
14505 builtin and then its argument prototype would still apply. */
14506 #ifdef __cplusplus
14507 extern "C"
14508 #endif
14509 char inflate ();
14511 main ()
14513 return inflate ();
14515 return 0;
14517 _ACEOF
14518 if ac_fn_c_try_link "$LINENO"; then :
14519 ac_cv_lib_z_inflate=yes
14520 else
14521 ac_cv_lib_z_inflate=no
14523 rm -f core conftest.err conftest.$ac_objext \
14524 conftest$ac_exeext conftest.$ac_ext
14525 LIBS=$ac_check_lib_save_LIBS
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14528 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14529 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14531 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14533 else
14534 Z_LIBS=""
14537 else
14538 Z_LIBS=""
14541 done
14543 CPPFLAGS=$ac_save_CPPFLAGS
14544 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14545 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14548 if test "x$Z_LIBS" = "x"; then :
14549 case "x$with_zlib" in
14550 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14551 xno) ;;
14552 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14553 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14554 esac
14558 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14559 then
14560 if test "$ac_cv_header_gettext_po_h" = "yes"
14561 then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14563 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14564 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_check_lib_save_LIBS=$LIBS
14568 LIBS="-lgettextpo $LIBS"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14575 #ifdef __cplusplus
14576 extern "C"
14577 #endif
14578 char po_message_msgctxt ();
14580 main ()
14582 return po_message_msgctxt ();
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14589 else
14590 ac_cv_lib_gettextpo_po_message_msgctxt=no
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14594 LIBS=$ac_check_lib_save_LIBS
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14597 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14598 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14600 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14602 GETTEXTPO_LIBS="-lgettextpo"
14607 if test "x$GETTEXTPO_LIBS" = "x"; then :
14608 case "x$with_gettextpo" in
14609 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14610 xno) ;;
14611 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14612 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14613 esac
14616 if test "$srcdir" != .; then :
14617 case "x$with_gettextpo" in
14618 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14619 xno) ;;
14620 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14621 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14622 esac
14627 if test "x$with_pulse" != "xno";
14628 then
14629 if ${PULSE_CFLAGS:+false} :; then :
14630 if ${PKG_CONFIG+:} false; then :
14631 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14635 if ${PULSE_LIBS:+false} :; then :
14636 if ${PKG_CONFIG+:} false; then :
14637 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14642 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14643 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14644 ac_save_CPPFLAGS=$CPPFLAGS
14645 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14646 for ac_header in pulse/pulseaudio.h
14647 do :
14648 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14649 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14650 cat >>confdefs.h <<_ACEOF
14651 #define HAVE_PULSE_PULSEAUDIO_H 1
14652 _ACEOF
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14654 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14655 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14656 $as_echo_n "(cached) " >&6
14657 else
14658 ac_check_lib_save_LIBS=$LIBS
14659 LIBS="-lpulse $PULSE_LIBS $LIBS"
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14663 /* Override any GCC internal prototype to avoid an error.
14664 Use char because int might match the return type of a GCC
14665 builtin and then its argument prototype would still apply. */
14666 #ifdef __cplusplus
14667 extern "C"
14668 #endif
14669 char pa_stream_is_corked ();
14671 main ()
14673 return pa_stream_is_corked ();
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_lib_pulse_pa_stream_is_corked=yes
14680 else
14681 ac_cv_lib_pulse_pa_stream_is_corked=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LIBS=$ac_check_lib_save_LIBS
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14688 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14689 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14691 else
14692 PULSE_LIBS=""
14695 else
14696 PULSE_LIBS=""
14699 done
14701 CPPFLAGS=$ac_save_CPPFLAGS
14702 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14703 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14706 if test -z "$PULSE_LIBS"; then :
14707 case "x$with_pulse" in
14708 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14709 xno) ;;
14710 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14711 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14712 esac
14713 enable_winepulse_drv=${enable_winepulse_drv:-no}
14716 if test "x$with_gstreamer" != "xno"
14717 then
14718 if ${GSTREAMER_CFLAGS:+false} :; then :
14719 if ${PKG_CONFIG+:} false; then :
14720 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14724 if ${GSTREAMER_LIBS:+false} :; then :
14725 if ${PKG_CONFIG+:} false; then :
14726 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14731 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14732 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14733 ac_save_CPPFLAGS=$CPPFLAGS
14734 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14735 ac_gst_incl=""
14736 for i in $GSTREAMER_CFLAGS
14738 case "$i" in
14739 -I*) ac_gst_incl="$ac_gst_incl $i";;
14740 esac
14741 done
14742 GSTREAMER_CFLAGS=$ac_gst_incl
14743 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14744 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14745 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14747 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14750 #include <gst/gst.h>
14752 main ()
14754 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14756 return 0;
14758 _ACEOF
14759 if ac_fn_c_try_compile "$LINENO"; then :
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14761 $as_echo "yes" >&6; }
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14763 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14764 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14765 $as_echo_n "(cached) " >&6
14766 else
14767 ac_check_lib_save_LIBS=$LIBS
14768 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 #ifdef __cplusplus
14776 extern "C"
14777 #endif
14778 char gst_pad_new ();
14780 main ()
14782 return gst_pad_new ();
14784 return 0;
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14789 else
14790 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 LIBS=$ac_check_lib_save_LIBS
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14797 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14798 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14802 else
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14804 $as_echo "no" >&6; }
14805 ac_glib2_broken=yes
14806 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812 CPPFLAGS=$ac_save_CPPFLAGS
14813 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14814 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14817 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 :
14818 case "x$with_gstreamer" in
14819 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14820 xno) ;;
14821 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14822 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14823 esac
14826 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14828 ALSA_LIBS=""
14830 if test "x$with_alsa" != "xno"
14831 then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14833 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14834 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 ac_check_lib_save_LIBS=$LIBS
14838 LIBS="-lasound $LIBS"
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14842 /* Override any GCC internal prototype to avoid an error.
14843 Use char because int might match the return type of a GCC
14844 builtin and then its argument prototype would still apply. */
14845 #ifdef __cplusplus
14846 extern "C"
14847 #endif
14848 char snd_pcm_hw_params_get_access_mask ();
14850 main ()
14852 return snd_pcm_hw_params_get_access_mask ();
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14859 else
14860 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_check_lib_save_LIBS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14867 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14868 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871 #include <alsa/asoundlib.h>
14873 main ()
14875 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14877 return 0;
14879 _ACEOF
14880 if ac_fn_c_try_compile "$LINENO"; then :
14881 ALSA_LIBS="-lasound"
14883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14887 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14889 if test "x$with_oss" != xno
14890 then
14891 ac_save_CPPFLAGS="$CPPFLAGS"
14892 if test -f /etc/oss.conf
14893 then
14894 . /etc/oss.conf
14896 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14897 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14898 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14899 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14900 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14902 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14904 cat >>confdefs.h <<_ACEOF
14905 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14906 _ACEOF
14908 OSS4_CFLAGS="$ac_oss_incl"
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14911 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14912 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14913 $as_echo_n "(cached) " >&6
14914 else
14915 ac_check_lib_save_LIBS=$LIBS
14916 LIBS="-lossaudio $LIBS"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14923 #ifdef __cplusplus
14924 extern "C"
14925 #endif
14926 char _oss_ioctl ();
14928 main ()
14930 return _oss_ioctl ();
14932 return 0;
14934 _ACEOF
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_lib_ossaudio__oss_ioctl=yes
14937 else
14938 ac_cv_lib_ossaudio__oss_ioctl=no
14940 rm -f core conftest.err conftest.$ac_objext \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14945 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14946 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14947 OSS4_LIBS="-lossaudio"
14956 CPPFLAGS="$ac_save_CPPFLAGS"
14958 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14959 case "x$with_oss" in
14960 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14961 xno) ;;
14962 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14963 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14964 esac
14965 enable_wineoss_drv=${enable_wineoss_drv:-no}
14968 if test "x$with_udev" != "xno"
14969 then
14970 if ${UDEV_CFLAGS:+false} :; then :
14971 if ${PKG_CONFIG+:} false; then :
14972 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14976 if ${UDEV_LIBS:+false} :; then :
14977 if ${PKG_CONFIG+:} false; then :
14978 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14982 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14983 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14984 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14985 ac_save_CPPFLAGS=$CPPFLAGS
14986 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14987 for ac_header in libudev.h
14988 do :
14989 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14990 if test "x$ac_cv_header_libudev_h" = xyes; then :
14991 cat >>confdefs.h <<_ACEOF
14992 #define HAVE_LIBUDEV_H 1
14993 _ACEOF
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14995 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14996 if ${ac_cv_lib_udev_udev_new+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 ac_check_lib_save_LIBS=$LIBS
15000 LIBS="-ludev $UDEV_LIBS $LIBS"
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 #ifdef __cplusplus
15008 extern "C"
15009 #endif
15010 char udev_new ();
15012 main ()
15014 return udev_new ();
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 ac_cv_lib_udev_udev_new=yes
15021 else
15022 ac_cv_lib_udev_udev_new=no
15024 rm -f core conftest.err conftest.$ac_objext \
15025 conftest$ac_exeext conftest.$ac_ext
15026 LIBS=$ac_check_lib_save_LIBS
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15029 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15030 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15032 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15034 else
15035 UDEV_LIBS=""
15038 else
15039 UDEV_LIBS=""
15042 done
15044 CPPFLAGS=$ac_save_CPPFLAGS
15045 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15046 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15049 if test "x$UDEV_LIBS" = "x"; then :
15050 case "x$with_udev" in
15051 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15052 xno) ;;
15053 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15054 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15055 esac
15059 if test "x$with_unwind" != xno
15060 then
15061 if ${UNWIND_CFLAGS:+false} :; then :
15062 if ${PKG_CONFIG+:} false; then :
15063 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15067 if ${UNWIND_LIBS:+false} :; then :
15068 if ${PKG_CONFIG+:} false; then :
15069 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15073 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15074 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15075 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15076 ac_save_CPPFLAGS=$CPPFLAGS
15077 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15079 $as_echo_n "checking for unw_step... " >&6; }
15080 if ${wine_cv_have_unw_step+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15085 #define UNW_LOCAL_ONLY
15086 #include <libunwind.h>
15088 main ()
15090 unw_cursor_t cursor; unw_step( &cursor );
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"; then :
15096 wine_cv_have_unw_step="yes"
15097 else
15098 wine_cv_have_unw_step="no"
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15104 $as_echo "$wine_cv_have_unw_step" >&6; }
15105 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15106 then
15107 save_libs=$LIBS
15108 LIBS="$UNWIND_LIBS $LIBS"
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15110 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15111 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15116 #define UNW_LOCAL_ONLY
15117 #include <libunwind.h>
15119 main ()
15121 unw_cursor_t cursor; unw_step( &cursor );
15123 return 0;
15125 _ACEOF
15126 if ac_fn_c_try_link "$LINENO"; then :
15127 wine_cv_have_libunwind_unw_step="yes"
15128 else
15129 wine_cv_have_libunwind_unw_step="no"
15131 rm -f core conftest.err conftest.$ac_objext \
15132 conftest$ac_exeext conftest.$ac_ext
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15135 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15136 LIBS=$save_libs
15138 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15139 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15140 then
15142 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15145 CPPFLAGS=$ac_save_CPPFLAGS
15146 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15147 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15150 case $host in
15151 aarch64*|*-darwin*)
15152 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15153 case "x$with_unwind" in
15154 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15155 xno) ;;
15156 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15157 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15158 esac
15160 fi ;;
15161 esac
15163 if test "x$with_sdl" != "xno"
15164 then
15165 if ${SDL2_CFLAGS:+false} :; then :
15166 if ${PKG_CONFIG+:} false; then :
15167 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15171 if ${SDL2_LIBS:+false} :; then :
15172 if ${PKG_CONFIG+:} false; then :
15173 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15177 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15178 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15179 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15180 ac_save_CPPFLAGS=$CPPFLAGS
15181 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15182 for ac_header in SDL2/SDL.h
15183 do :
15184 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15185 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15186 cat >>confdefs.h <<_ACEOF
15187 #define HAVE_SDL2_SDL_H 1
15188 _ACEOF
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15190 $as_echo_n "checking for -lSDL2... " >&6; }
15191 if ${ac_cv_lib_soname_SDL2+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 ac_check_soname_save_LIBS=$LIBS
15195 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 #ifdef __cplusplus
15203 extern "C"
15204 #endif
15205 char SDL_Init ();
15207 main ()
15209 return SDL_Init ();
15211 return 0;
15213 _ACEOF
15214 if ac_fn_c_try_link "$LINENO"; then :
15215 case "$LIBEXT" in
15216 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15217 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'` ;;
15218 *) 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'`
15219 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15220 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15221 fi ;;
15222 esac
15223 else
15224 ac_cv_lib_soname_SDL2=
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228 LIBS=$ac_check_soname_save_LIBS
15230 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15232 $as_echo "not found" >&6; }
15234 else
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15236 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15238 cat >>confdefs.h <<_ACEOF
15239 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15240 _ACEOF
15246 done
15248 CPPFLAGS=$ac_save_CPPFLAGS
15249 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15250 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15253 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15254 case "x$with_sdl" in
15255 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15256 xno) ;;
15257 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15258 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15259 esac
15263 if test "x$with_faudio" != "xno"
15264 then
15265 if ${FAUDIO_CFLAGS:+false} :; then :
15266 if ${PKG_CONFIG+:} false; then :
15267 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15271 if ${FAUDIO_LIBS:+false} :; then :
15272 if ${PKG_CONFIG+:} false; then :
15273 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15277 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15278 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15279 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15280 ac_save_CPPFLAGS=$CPPFLAGS
15281 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15282 for ac_header in FAudio.h
15283 do :
15284 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15285 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define HAVE_FAUDIO_H 1
15288 _ACEOF
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15290 $as_echo_n "checking for -lFAudio... " >&6; }
15291 if ${ac_cv_lib_soname_FAudio+:} false; then :
15292 $as_echo_n "(cached) " >&6
15293 else
15294 ac_check_soname_save_LIBS=$LIBS
15295 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15299 /* Override any GCC internal prototype to avoid an error.
15300 Use char because int might match the return type of a GCC
15301 builtin and then its argument prototype would still apply. */
15302 #ifdef __cplusplus
15303 extern "C"
15304 #endif
15305 char FAudioCreate ();
15307 main ()
15309 return FAudioCreate ();
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 case "$LIBEXT" in
15316 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15317 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'` ;;
15318 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15319 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15320 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15321 fi ;;
15322 esac
15323 else
15324 ac_cv_lib_soname_FAudio=
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328 LIBS=$ac_check_soname_save_LIBS
15330 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15332 $as_echo "not found" >&6; }
15334 else
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15336 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15338 cat >>confdefs.h <<_ACEOF
15339 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15340 _ACEOF
15346 done
15348 ac_wine_check_funcs_save_LIBS="$LIBS"
15349 LIBS="$LIBS $FAUDIO_LIBS"
15350 for ac_func in FAudio_CommitOperationSet \
15351 F3DAudioInitialize8
15352 do :
15353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15358 _ACEOF
15361 done
15363 LIBS="$ac_wine_check_funcs_save_LIBS"
15365 CPPFLAGS=$ac_save_CPPFLAGS
15366 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15367 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15370 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15371 case "x$with_faudio" in
15372 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15373 xno) ;;
15374 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15375 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15376 esac
15380 if test "x$with_capi" != "xno"
15381 then
15382 if ${CAPI20_CFLAGS:+false} :; then :
15383 if ${PKG_CONFIG+:} false; then :
15384 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15388 if ${CAPI20_LIBS:+false} :; then :
15389 if ${PKG_CONFIG+:} false; then :
15390 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15395 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15396 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15397 ac_save_CPPFLAGS=$CPPFLAGS
15398 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15399 for ac_header in capi20.h linux/capi.h
15400 do :
15401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15402 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15405 cat >>confdefs.h <<_ACEOF
15406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15407 _ACEOF
15411 done
15413 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15414 then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15416 $as_echo_n "checking for -lcapi20... " >&6; }
15417 if ${ac_cv_lib_soname_capi20+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 ac_check_soname_save_LIBS=$LIBS
15421 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char capi20_register ();
15433 main ()
15435 return capi20_register ();
15437 return 0;
15439 _ACEOF
15440 if ac_fn_c_try_link "$LINENO"; then :
15441 case "$LIBEXT" in
15442 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15443 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'` ;;
15444 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15445 if ${ac_cv_lib_soname_capi20:+false} :; then :
15446 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15447 fi ;;
15448 esac
15449 else
15450 ac_cv_lib_soname_capi20=
15452 rm -f core conftest.err conftest.$ac_objext \
15453 conftest$ac_exeext conftest.$ac_ext
15454 LIBS=$ac_check_soname_save_LIBS
15456 if ${ac_cv_lib_soname_capi20:+false} :; then :
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15458 $as_echo "not found" >&6; }
15460 else
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15462 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15464 cat >>confdefs.h <<_ACEOF
15465 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15466 _ACEOF
15471 CPPFLAGS=$ac_save_CPPFLAGS
15472 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15473 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15476 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15477 case "x$with_capi" in
15478 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15479 xno) ;;
15480 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15481 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15482 esac
15486 if test "x$with_cups" != "xno"
15487 then
15488 if ${CUPS_CFLAGS:+false} :; then :
15489 if ${PKG_CONFIG+:} false; then :
15490 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15493 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15494 if ${CUPS_LIBS:+false} :; then :
15495 if ${PKG_CONFIG+:} false; then :
15496 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15499 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15500 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15501 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15502 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15503 ac_save_CPPFLAGS=$CPPFLAGS
15504 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15505 for ac_header in cups/cups.h cups/ppd.h
15506 do :
15507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15508 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15509 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15510 cat >>confdefs.h <<_ACEOF
15511 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15512 _ACEOF
15516 done
15518 if test "$ac_cv_header_cups_cups_h" = "yes"
15519 then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15521 $as_echo_n "checking for -lcups... " >&6; }
15522 if ${ac_cv_lib_soname_cups+:} false; then :
15523 $as_echo_n "(cached) " >&6
15524 else
15525 ac_check_soname_save_LIBS=$LIBS
15526 LIBS="-lcups $CUPS_LIBS $LIBS"
15527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15528 /* end confdefs.h. */
15530 /* Override any GCC internal prototype to avoid an error.
15531 Use char because int might match the return type of a GCC
15532 builtin and then its argument prototype would still apply. */
15533 #ifdef __cplusplus
15534 extern "C"
15535 #endif
15536 char cupsGetDefault ();
15538 main ()
15540 return cupsGetDefault ();
15542 return 0;
15544 _ACEOF
15545 if ac_fn_c_try_link "$LINENO"; then :
15546 case "$LIBEXT" in
15547 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15548 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'` ;;
15549 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15550 if ${ac_cv_lib_soname_cups:+false} :; then :
15551 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15552 fi ;;
15553 esac
15554 else
15555 ac_cv_lib_soname_cups=
15557 rm -f core conftest.err conftest.$ac_objext \
15558 conftest$ac_exeext conftest.$ac_ext
15559 LIBS=$ac_check_soname_save_LIBS
15561 if ${ac_cv_lib_soname_cups:+false} :; then :
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15563 $as_echo "not found" >&6; }
15564 CUPS_LIBS=""
15565 else
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15567 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15569 cat >>confdefs.h <<_ACEOF
15570 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15571 _ACEOF
15575 else
15576 CUPS_CFLAGS=""
15577 CUPS_LIBS=""
15579 CPPFLAGS=$ac_save_CPPFLAGS
15580 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15581 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15584 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15585 case "x$with_cups" in
15586 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15587 xno) ;;
15588 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15589 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15590 esac
15594 if test "x$with_fontconfig" != "xno"
15595 then
15596 if ${FONTCONFIG_CFLAGS:+false} :; then :
15597 if ${PKG_CONFIG+:} false; then :
15598 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15601 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15602 if ${FONTCONFIG_LIBS:+false} :; then :
15603 if ${PKG_CONFIG+:} false; then :
15604 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15607 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15609 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15610 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15611 ac_save_CPPFLAGS=$CPPFLAGS
15612 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15613 for ac_header in fontconfig/fontconfig.h
15614 do :
15615 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15616 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15619 _ACEOF
15623 done
15625 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15626 then
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15628 $as_echo_n "checking for -lfontconfig... " >&6; }
15629 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15630 $as_echo_n "(cached) " >&6
15631 else
15632 ac_check_soname_save_LIBS=$LIBS
15633 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15637 /* Override any GCC internal prototype to avoid an error.
15638 Use char because int might match the return type of a GCC
15639 builtin and then its argument prototype would still apply. */
15640 #ifdef __cplusplus
15641 extern "C"
15642 #endif
15643 char FcInit ();
15645 main ()
15647 return FcInit ();
15649 return 0;
15651 _ACEOF
15652 if ac_fn_c_try_link "$LINENO"; then :
15653 case "$LIBEXT" in
15654 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15655 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'` ;;
15656 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15657 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15658 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15659 fi ;;
15660 esac
15661 else
15662 ac_cv_lib_soname_fontconfig=
15664 rm -f core conftest.err conftest.$ac_objext \
15665 conftest$ac_exeext conftest.$ac_ext
15666 LIBS=$ac_check_soname_save_LIBS
15668 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15670 $as_echo "not found" >&6; }
15671 FONTCONFIG_CFLAGS=""
15672 else
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15674 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15676 cat >>confdefs.h <<_ACEOF
15677 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15678 _ACEOF
15682 else
15683 FONTCONFIG_CFLAGS=""
15685 CPPFLAGS=$ac_save_CPPFLAGS
15686 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15687 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15690 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15691 case "x$with_fontconfig" in
15692 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15693 xno) ;;
15694 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15695 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15696 esac
15700 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15701 then
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15703 $as_echo_n "checking for -lgsm... " >&6; }
15704 if ${ac_cv_lib_soname_gsm+:} false; then :
15705 $as_echo_n "(cached) " >&6
15706 else
15707 ac_check_soname_save_LIBS=$LIBS
15708 LIBS="-lgsm $LIBS"
15709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15715 #ifdef __cplusplus
15716 extern "C"
15717 #endif
15718 char gsm_create ();
15720 main ()
15722 return gsm_create ();
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_link "$LINENO"; then :
15728 case "$LIBEXT" in
15729 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15730 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'` ;;
15731 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15732 if ${ac_cv_lib_soname_gsm:+false} :; then :
15733 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15734 fi ;;
15735 esac
15736 else
15737 ac_cv_lib_soname_gsm=
15739 rm -f core conftest.err conftest.$ac_objext \
15740 conftest$ac_exeext conftest.$ac_ext
15741 LIBS=$ac_check_soname_save_LIBS
15743 if ${ac_cv_lib_soname_gsm:+false} :; then :
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15745 $as_echo "not found" >&6; }
15747 else
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15749 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15751 cat >>confdefs.h <<_ACEOF
15752 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15753 _ACEOF
15758 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15759 case "x$with_gsm" in
15760 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15761 xno) ;;
15762 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15763 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15764 esac
15768 if test "x$with_krb5" != "xno"
15769 then
15770 if ${KRB5_CFLAGS:+false} :; then :
15771 if ${PKG_CONFIG+:} false; then :
15772 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15775 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15776 if ${KRB5_LIBS:+false} :; then :
15777 if ${PKG_CONFIG+:} false; then :
15778 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15781 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15783 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15784 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15785 ac_save_CPPFLAGS=$CPPFLAGS
15786 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15787 for ac_header in krb5/krb5.h
15788 do :
15789 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15790 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_KRB5_KRB5_H 1
15793 _ACEOF
15797 done
15799 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15800 then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15802 $as_echo_n "checking for -lkrb5... " >&6; }
15803 if ${ac_cv_lib_soname_krb5+:} false; then :
15804 $as_echo_n "(cached) " >&6
15805 else
15806 ac_check_soname_save_LIBS=$LIBS
15807 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15811 /* Override any GCC internal prototype to avoid an error.
15812 Use char because int might match the return type of a GCC
15813 builtin and then its argument prototype would still apply. */
15814 #ifdef __cplusplus
15815 extern "C"
15816 #endif
15817 char krb5_is_config_principal ();
15819 main ()
15821 return krb5_is_config_principal ();
15823 return 0;
15825 _ACEOF
15826 if ac_fn_c_try_link "$LINENO"; then :
15827 case "$LIBEXT" in
15828 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15829 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'` ;;
15830 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15831 if ${ac_cv_lib_soname_krb5:+false} :; then :
15832 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15833 fi ;;
15834 esac
15835 else
15836 ac_cv_lib_soname_krb5=
15838 rm -f core conftest.err conftest.$ac_objext \
15839 conftest$ac_exeext conftest.$ac_ext
15840 LIBS=$ac_check_soname_save_LIBS
15842 if ${ac_cv_lib_soname_krb5:+false} :; then :
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15844 $as_echo "not found" >&6; }
15845 KRB5_CFLAGS=""
15846 else
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15848 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15850 cat >>confdefs.h <<_ACEOF
15851 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15852 _ACEOF
15856 else
15857 KRB5_CFLAGS=""
15859 CPPFLAGS=$ac_save_CPPFLAGS
15860 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15861 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15864 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15865 case "x$with_krb5" in
15866 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15867 xno) ;;
15868 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15869 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15870 esac
15873 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15875 if test "x$with_gssapi" != "xno"
15876 then
15877 if ${GSSAPI_CFLAGS:+false} :; then :
15878 if ${PKG_CONFIG+:} false; then :
15879 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15882 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15883 if ${GSSAPI_LIBS:+false} :; then :
15884 if ${PKG_CONFIG+:} false; then :
15885 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15888 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15890 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15891 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15892 ac_save_CPPFLAGS=$CPPFLAGS
15893 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15894 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15895 do :
15896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15897 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15898 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15901 _ACEOF
15905 done
15907 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15908 then
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15910 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15911 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 ac_check_soname_save_LIBS=$LIBS
15915 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15919 /* Override any GCC internal prototype to avoid an error.
15920 Use char because int might match the return type of a GCC
15921 builtin and then its argument prototype would still apply. */
15922 #ifdef __cplusplus
15923 extern "C"
15924 #endif
15925 char gss_init_sec_context ();
15927 main ()
15929 return gss_init_sec_context ();
15931 return 0;
15933 _ACEOF
15934 if ac_fn_c_try_link "$LINENO"; then :
15935 case "$LIBEXT" in
15936 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15937 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'` ;;
15938 *) 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'`
15939 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15940 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15941 fi ;;
15942 esac
15943 else
15944 ac_cv_lib_soname_gssapi_krb5=
15946 rm -f core conftest.err conftest.$ac_objext \
15947 conftest$ac_exeext conftest.$ac_ext
15948 LIBS=$ac_check_soname_save_LIBS
15950 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15952 $as_echo "not found" >&6; }
15953 GSSAPI_CFLAGS=""
15954 else
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15956 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15958 cat >>confdefs.h <<_ACEOF
15959 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15960 _ACEOF
15964 else
15965 GSSAPI_CFLAGS=""
15967 CPPFLAGS=$ac_save_CPPFLAGS
15968 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15969 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15972 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15973 case "x$with_gssapi" in
15974 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15975 xno) ;;
15976 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15977 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15978 esac
15982 if test "x$with_jpeg" != "xno"
15983 then
15984 if ${JPEG_CFLAGS:+false} :; then :
15985 if ${PKG_CONFIG+:} false; then :
15986 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15990 if ${JPEG_LIBS:+false} :; then :
15991 if ${PKG_CONFIG+:} false; then :
15992 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15997 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15998 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15999 ac_save_CPPFLAGS=$CPPFLAGS
16000 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16001 for ac_header in jpeglib.h
16002 do :
16003 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16004 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_JPEGLIB_H 1
16007 _ACEOF
16011 done
16013 if test "$ac_cv_header_jpeglib_h" = "yes"
16014 then
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16016 $as_echo_n "checking for -ljpeg... " >&6; }
16017 if ${ac_cv_lib_soname_jpeg+:} false; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 ac_check_soname_save_LIBS=$LIBS
16021 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h. */
16025 /* Override any GCC internal prototype to avoid an error.
16026 Use char because int might match the return type of a GCC
16027 builtin and then its argument prototype would still apply. */
16028 #ifdef __cplusplus
16029 extern "C"
16030 #endif
16031 char jpeg_start_decompress ();
16033 main ()
16035 return jpeg_start_decompress ();
16037 return 0;
16039 _ACEOF
16040 if ac_fn_c_try_link "$LINENO"; then :
16041 case "$LIBEXT" in
16042 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16043 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'` ;;
16044 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16045 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16046 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16047 fi ;;
16048 esac
16049 else
16050 ac_cv_lib_soname_jpeg=
16052 rm -f core conftest.err conftest.$ac_objext \
16053 conftest$ac_exeext conftest.$ac_ext
16054 LIBS=$ac_check_soname_save_LIBS
16056 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16058 $as_echo "not found" >&6; }
16059 JPEG_CFLAGS=""
16060 else
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16062 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16064 cat >>confdefs.h <<_ACEOF
16065 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16066 _ACEOF
16070 else
16071 JPEG_CFLAGS=""
16073 CPPFLAGS=$ac_save_CPPFLAGS
16074 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16075 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16078 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16079 case "x$with_jpeg" in
16080 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16081 xno) ;;
16082 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16083 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16084 esac
16088 if test "x$with_png" != "xno"
16089 then
16090 if ${PNG_CFLAGS:+false} :; then :
16091 if ${PKG_CONFIG+:} false; then :
16092 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16095 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16096 if ${PNG_LIBS:+false} :; then :
16097 if ${PKG_CONFIG+:} false; then :
16098 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16101 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16103 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16104 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16105 ac_save_CPPFLAGS=$CPPFLAGS
16106 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16107 for ac_header in png.h
16108 do :
16109 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16110 if test "x$ac_cv_header_png_h" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_PNG_H 1
16113 _ACEOF
16117 done
16119 if test "$ac_cv_header_png_h" = "yes"
16120 then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16122 $as_echo_n "checking for -lpng... " >&6; }
16123 if ${ac_cv_lib_soname_png+:} false; then :
16124 $as_echo_n "(cached) " >&6
16125 else
16126 ac_check_soname_save_LIBS=$LIBS
16127 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16131 /* Override any GCC internal prototype to avoid an error.
16132 Use char because int might match the return type of a GCC
16133 builtin and then its argument prototype would still apply. */
16134 #ifdef __cplusplus
16135 extern "C"
16136 #endif
16137 char png_create_read_struct ();
16139 main ()
16141 return png_create_read_struct ();
16143 return 0;
16145 _ACEOF
16146 if ac_fn_c_try_link "$LINENO"; then :
16147 case "$LIBEXT" in
16148 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16149 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'` ;;
16150 *) 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'`
16151 if ${ac_cv_lib_soname_png:+false} :; then :
16152 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16153 fi ;;
16154 esac
16155 else
16156 ac_cv_lib_soname_png=
16158 rm -f core conftest.err conftest.$ac_objext \
16159 conftest$ac_exeext conftest.$ac_ext
16160 LIBS=$ac_check_soname_save_LIBS
16162 if ${ac_cv_lib_soname_png:+false} :; then :
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16164 $as_echo "not found" >&6; }
16165 PNG_CFLAGS=""
16166 else
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16168 $as_echo "$ac_cv_lib_soname_png" >&6; }
16170 cat >>confdefs.h <<_ACEOF
16171 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16172 _ACEOF
16176 else
16177 PNG_CFLAGS=""
16179 CPPFLAGS=$ac_save_CPPFLAGS
16180 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16181 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16184 if test "x$ac_cv_lib_soname_png" = "x"; then :
16185 case "x$with_png" in
16186 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16187 xno) ;;
16188 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16189 This is an error since --with-png was requested." "$LINENO" 5 ;;
16190 esac
16194 if test "x$with_tiff" != "xno"
16195 then
16196 if ${TIFF_CFLAGS:+false} :; then :
16197 if ${PKG_CONFIG+:} false; then :
16198 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16202 if ${TIFF_LIBS:+false} :; then :
16203 if ${PKG_CONFIG+:} false; then :
16204 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16209 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16210 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16211 ac_save_CPPFLAGS=$CPPFLAGS
16212 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16213 for ac_header in tiffio.h
16214 do :
16215 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16216 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_TIFFIO_H 1
16219 _ACEOF
16223 done
16225 if test "$ac_cv_header_tiffio_h" = "yes"
16226 then
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16228 $as_echo_n "checking for -ltiff... " >&6; }
16229 if ${ac_cv_lib_soname_tiff+:} false; then :
16230 $as_echo_n "(cached) " >&6
16231 else
16232 ac_check_soname_save_LIBS=$LIBS
16233 LIBS="-ltiff $TIFF_LIBS $LIBS"
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16237 /* Override any GCC internal prototype to avoid an error.
16238 Use char because int might match the return type of a GCC
16239 builtin and then its argument prototype would still apply. */
16240 #ifdef __cplusplus
16241 extern "C"
16242 #endif
16243 char TIFFClientOpen ();
16245 main ()
16247 return TIFFClientOpen ();
16249 return 0;
16251 _ACEOF
16252 if ac_fn_c_try_link "$LINENO"; then :
16253 case "$LIBEXT" in
16254 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16255 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'` ;;
16256 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16257 if ${ac_cv_lib_soname_tiff:+false} :; then :
16258 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16259 fi ;;
16260 esac
16261 else
16262 ac_cv_lib_soname_tiff=
16264 rm -f core conftest.err conftest.$ac_objext \
16265 conftest$ac_exeext conftest.$ac_ext
16266 LIBS=$ac_check_soname_save_LIBS
16268 if ${ac_cv_lib_soname_tiff:+false} :; then :
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16270 $as_echo "not found" >&6; }
16272 else
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16274 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16276 cat >>confdefs.h <<_ACEOF
16277 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16278 _ACEOF
16283 CPPFLAGS=$ac_save_CPPFLAGS
16284 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16285 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16288 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16289 case "x$with_tiff" in
16290 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16291 xno) ;;
16292 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16293 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16294 esac
16298 if test "x$with_mpg123" != "xno"
16299 then
16300 if ${MPG123_CFLAGS:+false} :; then :
16301 if ${PKG_CONFIG+:} false; then :
16302 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16306 if ${MPG123_LIBS:+false} :; then :
16307 if ${PKG_CONFIG+:} false; then :
16308 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16312 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16313 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16314 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16315 ac_save_CPPFLAGS=$CPPFLAGS
16316 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16317 for ac_header in mpg123.h
16318 do :
16319 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16320 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16321 cat >>confdefs.h <<_ACEOF
16322 #define HAVE_MPG123_H 1
16323 _ACEOF
16327 done
16329 if test "$ac_cv_header_mpg123_h" = "yes"
16330 then
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16332 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16333 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 ac_check_lib_save_LIBS=$LIBS
16337 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16341 /* Override any GCC internal prototype to avoid an error.
16342 Use char because int might match the return type of a GCC
16343 builtin and then its argument prototype would still apply. */
16344 #ifdef __cplusplus
16345 extern "C"
16346 #endif
16347 char mpg123_feed ();
16349 main ()
16351 return mpg123_feed ();
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_link "$LINENO"; then :
16357 ac_cv_lib_mpg123_mpg123_feed=yes
16358 else
16359 ac_cv_lib_mpg123_mpg123_feed=no
16361 rm -f core conftest.err conftest.$ac_objext \
16362 conftest$ac_exeext conftest.$ac_ext
16363 LIBS=$ac_check_lib_save_LIBS
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16366 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16367 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16369 else
16370 MPG123_LIBS=""
16373 else
16374 MPG123_CFLAGS=""
16375 MPG123_LIBS=""
16377 CPPFLAGS=$ac_save_CPPFLAGS
16378 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16379 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16382 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16383 case "x$with_mpg123" in
16384 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16385 xno) ;;
16386 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16387 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16388 esac
16389 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16391 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16393 if test "$ac_cv_header_AL_al_h" = "yes"
16394 then
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16396 $as_echo_n "checking for -lopenal... " >&6; }
16397 if ${ac_cv_lib_soname_openal+:} false; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 ac_check_soname_save_LIBS=$LIBS
16401 LIBS="-lopenal $LIBS"
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16405 /* Override any GCC internal prototype to avoid an error.
16406 Use char because int might match the return type of a GCC
16407 builtin and then its argument prototype would still apply. */
16408 #ifdef __cplusplus
16409 extern "C"
16410 #endif
16411 char alGetSource3i ();
16413 main ()
16415 return alGetSource3i ();
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_link "$LINENO"; then :
16421 case "$LIBEXT" in
16422 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16423 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'` ;;
16424 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16425 if ${ac_cv_lib_soname_openal:+false} :; then :
16426 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16427 fi ;;
16428 esac
16429 else
16430 ac_cv_lib_soname_openal=
16432 rm -f core conftest.err conftest.$ac_objext \
16433 conftest$ac_exeext conftest.$ac_ext
16434 LIBS=$ac_check_soname_save_LIBS
16436 if ${ac_cv_lib_soname_openal:+false} :; then :
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16438 $as_echo "not found" >&6; }
16440 else
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16442 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16444 cat >>confdefs.h <<_ACEOF
16445 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16446 _ACEOF
16448 OPENAL_LIBS="-lopenal"
16450 ac_cv_lib_openal=yes
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_OPENAL 1
16454 _ACEOF
16458 if test "x$ac_cv_lib_openal" != xyes; then :
16459 case "x$with_openal" in
16460 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16461 xno) ;;
16462 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16463 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16464 esac
16465 enable_openal32=${enable_openal32:-no}
16468 if test "x$ac_cv_lib_soname_FAudio" = "x"
16469 then
16470 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16471 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16472 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16473 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16474 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16475 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16476 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16477 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16478 enable_xapofx1_1=${enable_xapofx1_1:-no}
16479 enable_xapofx1_2=${enable_xapofx1_2:-no}
16480 enable_xapofx1_3=${enable_xapofx1_3:-no}
16481 enable_xapofx1_4=${enable_xapofx1_4:-no}
16482 enable_xapofx1_5=${enable_xapofx1_5:-no}
16483 enable_xaudio2_0=${enable_xaudio2_0:-no}
16484 enable_xaudio2_1=${enable_xaudio2_1:-no}
16485 enable_xaudio2_2=${enable_xaudio2_2:-no}
16486 enable_xaudio2_3=${enable_xaudio2_3:-no}
16487 enable_xaudio2_4=${enable_xaudio2_4:-no}
16488 enable_xaudio2_5=${enable_xaudio2_5:-no}
16489 enable_xaudio2_6=${enable_xaudio2_6:-no}
16490 enable_xaudio2_7=${enable_xaudio2_7:-no}
16491 enable_xaudio2_8=${enable_xaudio2_8:-no}
16492 enable_xaudio2_9=${enable_xaudio2_9:-no}
16495 if test "$ac_cv_header_kstat_h" = "yes"
16496 then
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16498 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16499 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16500 $as_echo_n "(cached) " >&6
16501 else
16502 ac_check_lib_save_LIBS=$LIBS
16503 LIBS="-lkstat $LIBS"
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16507 /* Override any GCC internal prototype to avoid an error.
16508 Use char because int might match the return type of a GCC
16509 builtin and then its argument prototype would still apply. */
16510 #ifdef __cplusplus
16511 extern "C"
16512 #endif
16513 char kstat_open ();
16515 main ()
16517 return kstat_open ();
16519 return 0;
16521 _ACEOF
16522 if ac_fn_c_try_link "$LINENO"; then :
16523 ac_cv_lib_kstat_kstat_open=yes
16524 else
16525 ac_cv_lib_kstat_kstat_open=no
16527 rm -f core conftest.err conftest.$ac_objext \
16528 conftest$ac_exeext conftest.$ac_ext
16529 LIBS=$ac_check_lib_save_LIBS
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16532 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16533 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16535 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16537 KSTAT_LIBS="-lkstat"
16543 if test "$ac_cv_header_libprocstat_h" = "yes"
16544 then
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16546 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16547 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16548 $as_echo_n "(cached) " >&6
16549 else
16550 ac_check_lib_save_LIBS=$LIBS
16551 LIBS="-lprocstat $LIBS"
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 /* Override any GCC internal prototype to avoid an error.
16556 Use char because int might match the return type of a GCC
16557 builtin and then its argument prototype would still apply. */
16558 #ifdef __cplusplus
16559 extern "C"
16560 #endif
16561 char procstat_open_sysctl ();
16563 main ()
16565 return procstat_open_sysctl ();
16567 return 0;
16569 _ACEOF
16570 if ac_fn_c_try_link "$LINENO"; then :
16571 ac_cv_lib_procstat_procstat_open_sysctl=yes
16572 else
16573 ac_cv_lib_procstat_procstat_open_sysctl=no
16575 rm -f core conftest.err conftest.$ac_objext \
16576 conftest$ac_exeext conftest.$ac_ext
16577 LIBS=$ac_check_lib_save_LIBS
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16580 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16581 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16583 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16585 PROCSTAT_LIBS="-lprocstat"
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16592 $as_echo_n "checking for -lodbc... " >&6; }
16593 if ${ac_cv_lib_soname_odbc+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 ac_check_soname_save_LIBS=$LIBS
16597 LIBS="-lodbc $LIBS"
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16601 /* Override any GCC internal prototype to avoid an error.
16602 Use char because int might match the return type of a GCC
16603 builtin and then its argument prototype would still apply. */
16604 #ifdef __cplusplus
16605 extern "C"
16606 #endif
16607 char SQLConnect ();
16609 main ()
16611 return SQLConnect ();
16613 return 0;
16615 _ACEOF
16616 if ac_fn_c_try_link "$LINENO"; then :
16617 case "$LIBEXT" in
16618 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16619 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'` ;;
16620 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16621 if ${ac_cv_lib_soname_odbc:+false} :; then :
16622 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16623 fi ;;
16624 esac
16625 else
16626 ac_cv_lib_soname_odbc=
16628 rm -f core conftest.err conftest.$ac_objext \
16629 conftest$ac_exeext conftest.$ac_ext
16630 LIBS=$ac_check_soname_save_LIBS
16632 if ${ac_cv_lib_soname_odbc:+false} :; then :
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16634 $as_echo "not found" >&6; }
16635 cat >>confdefs.h <<_ACEOF
16636 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16637 _ACEOF
16639 else
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16641 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16643 cat >>confdefs.h <<_ACEOF
16644 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16645 _ACEOF
16650 if test "x$with_netapi" != "xno"
16651 then
16652 if ${NETAPI_CFLAGS:+false} :; then :
16653 if ${PKG_CONFIG+:} false; then :
16654 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16658 if ${NETAPI_LIBS:+false} :; then :
16659 if ${PKG_CONFIG+:} false; then :
16660 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16665 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16666 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16667 ac_save_CPPFLAGS=$CPPFLAGS
16668 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16670 $as_echo_n "checking for -lnetapi... " >&6; }
16671 if ${ac_cv_lib_soname_netapi+:} false; then :
16672 $as_echo_n "(cached) " >&6
16673 else
16674 ac_check_soname_save_LIBS=$LIBS
16675 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16679 /* Override any GCC internal prototype to avoid an error.
16680 Use char because int might match the return type of a GCC
16681 builtin and then its argument prototype would still apply. */
16682 #ifdef __cplusplus
16683 extern "C"
16684 #endif
16685 char libnetapi_init ();
16687 main ()
16689 return libnetapi_init ();
16691 return 0;
16693 _ACEOF
16694 if ac_fn_c_try_link "$LINENO"; then :
16695 case "$LIBEXT" in
16696 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16697 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'` ;;
16698 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16699 if ${ac_cv_lib_soname_netapi:+false} :; then :
16700 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16701 fi ;;
16702 esac
16703 else
16704 ac_cv_lib_soname_netapi=
16706 rm -f core conftest.err conftest.$ac_objext \
16707 conftest$ac_exeext conftest.$ac_ext
16708 LIBS=$ac_check_soname_save_LIBS
16710 if ${ac_cv_lib_soname_netapi:+false} :; then :
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16712 $as_echo "not found" >&6; }
16713 cat >>confdefs.h <<_ACEOF
16714 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16715 _ACEOF
16717 else
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16719 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16721 cat >>confdefs.h <<_ACEOF
16722 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16723 _ACEOF
16727 CPPFLAGS=$ac_save_CPPFLAGS
16728 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16729 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16733 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16734 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16735 then
16736 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16739 if test "x$with_vulkan" != "xno"
16740 then
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16742 $as_echo_n "checking for -lvulkan... " >&6; }
16743 if ${ac_cv_lib_soname_vulkan+:} false; then :
16744 $as_echo_n "(cached) " >&6
16745 else
16746 ac_check_soname_save_LIBS=$LIBS
16747 LIBS="-lvulkan $LIBS"
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16751 /* Override any GCC internal prototype to avoid an error.
16752 Use char because int might match the return type of a GCC
16753 builtin and then its argument prototype would still apply. */
16754 #ifdef __cplusplus
16755 extern "C"
16756 #endif
16757 char vkGetInstanceProcAddr ();
16759 main ()
16761 return vkGetInstanceProcAddr ();
16763 return 0;
16765 _ACEOF
16766 if ac_fn_c_try_link "$LINENO"; then :
16767 case "$LIBEXT" in
16768 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16769 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'` ;;
16770 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16771 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16772 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16773 fi ;;
16774 esac
16775 else
16776 ac_cv_lib_soname_vulkan=
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16780 LIBS=$ac_check_soname_save_LIBS
16782 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16784 $as_echo "not found" >&6; }
16786 else
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16788 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16790 cat >>confdefs.h <<_ACEOF
16791 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16792 _ACEOF
16796 if test "x$ac_cv_lib_soname_vulkan" = "x"
16797 then
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16799 $as_echo_n "checking for -lMoltenVK... " >&6; }
16800 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16803 ac_check_soname_save_LIBS=$LIBS
16804 LIBS="-lMoltenVK $LIBS"
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16808 /* Override any GCC internal prototype to avoid an error.
16809 Use char because int might match the return type of a GCC
16810 builtin and then its argument prototype would still apply. */
16811 #ifdef __cplusplus
16812 extern "C"
16813 #endif
16814 char vkGetInstanceProcAddr ();
16816 main ()
16818 return vkGetInstanceProcAddr ();
16820 return 0;
16822 _ACEOF
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 case "$LIBEXT" in
16825 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16826 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'` ;;
16827 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16828 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16829 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16830 fi ;;
16831 esac
16832 else
16833 ac_cv_lib_soname_MoltenVK=
16835 rm -f core conftest.err conftest.$ac_objext \
16836 conftest$ac_exeext conftest.$ac_ext
16837 LIBS=$ac_check_soname_save_LIBS
16839 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16841 $as_echo "not found" >&6; }
16843 else
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16845 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16847 cat >>confdefs.h <<_ACEOF
16848 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16849 _ACEOF
16855 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16856 case "x$with_vulkan" in
16857 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16858 xno) ;;
16859 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16860 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16861 esac
16865 if test "x$with_vkd3d" != "xno"
16866 then
16867 if ${VKD3D_CFLAGS:+false} :; then :
16868 if ${PKG_CONFIG+:} false; then :
16869 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16873 if ${VKD3D_LIBS:+false} :; then :
16874 if ${PKG_CONFIG+:} false; then :
16875 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16880 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16881 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16882 ac_save_CPPFLAGS=$CPPFLAGS
16883 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16885 $as_echo_n "checking for -lvkd3d... " >&6; }
16886 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16887 $as_echo_n "(cached) " >&6
16888 else
16889 ac_check_soname_save_LIBS=$LIBS
16890 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16894 /* Override any GCC internal prototype to avoid an error.
16895 Use char because int might match the return type of a GCC
16896 builtin and then its argument prototype would still apply. */
16897 #ifdef __cplusplus
16898 extern "C"
16899 #endif
16900 char vkd3d_get_dxgi_format ();
16902 main ()
16904 return vkd3d_get_dxgi_format ();
16906 return 0;
16908 _ACEOF
16909 if ac_fn_c_try_link "$LINENO"; then :
16910 case "$LIBEXT" in
16911 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16912 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'` ;;
16913 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16914 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16915 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16916 fi ;;
16917 esac
16918 else
16919 ac_cv_lib_soname_vkd3d=
16921 rm -f core conftest.err conftest.$ac_objext \
16922 conftest$ac_exeext conftest.$ac_ext
16923 LIBS=$ac_check_soname_save_LIBS
16925 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16927 $as_echo "not found" >&6; }
16929 else
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16931 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16933 cat >>confdefs.h <<_ACEOF
16934 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16935 _ACEOF
16939 CPPFLAGS=$ac_save_CPPFLAGS
16940 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16941 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16944 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16945 case "x$with_vkd3d" in
16946 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16947 xno) ;;
16948 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16949 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16950 esac
16953 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16956 EXTRACFLAGS=""
16958 if test "x${GCC}" = "xyes"
16959 then
16960 EXTRACFLAGS="-Wall -pipe"
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16963 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16964 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16965 $as_echo_n "(cached) " >&6
16966 else
16967 ac_wine_try_cflags_saved=$CFLAGS
16968 CFLAGS="$CFLAGS -fcf-protection=none"
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 int main(int argc, char **argv) { return 0; }
16972 _ACEOF
16973 if ac_fn_c_try_link "$LINENO"; then :
16974 ac_cv_cflags__fcf_protection_none=yes
16975 else
16976 ac_cv_cflags__fcf_protection_none=no
16978 rm -f core conftest.err conftest.$ac_objext \
16979 conftest$ac_exeext conftest.$ac_ext
16980 CFLAGS=$ac_wine_try_cflags_saved
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16983 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16984 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16985 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16988 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16989 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 ac_wine_try_cflags_saved=$CFLAGS
16993 CFLAGS="$CFLAGS -fno-stack-protector"
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16996 int main(int argc, char **argv) { return 0; }
16997 _ACEOF
16998 if ac_fn_c_try_link "$LINENO"; then :
16999 ac_cv_cflags__fno_stack_protector=yes
17000 else
17001 ac_cv_cflags__fno_stack_protector=no
17003 rm -f core conftest.err conftest.$ac_objext \
17004 conftest$ac_exeext conftest.$ac_ext
17005 CFLAGS=$ac_wine_try_cflags_saved
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17008 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17009 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17010 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17013 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17014 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 ac_wine_try_cflags_saved=$CFLAGS
17018 CFLAGS="$CFLAGS -fno-strict-aliasing"
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 int main(int argc, char **argv) { return 0; }
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_cflags__fno_strict_aliasing=yes
17025 else
17026 ac_cv_cflags__fno_strict_aliasing=no
17028 rm -f core conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17030 CFLAGS=$ac_wine_try_cflags_saved
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17033 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17034 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17035 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17038 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17039 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 ac_wine_try_cflags_saved=$CFLAGS
17043 CFLAGS="$CFLAGS -fexcess-precision=standard"
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 int main(int argc, char **argv) { return 0; }
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"; then :
17049 ac_cv_cflags__fexcess_precision_standard=yes
17050 else
17051 ac_cv_cflags__fexcess_precision_standard=no
17053 rm -f core conftest.err conftest.$ac_objext \
17054 conftest$ac_exeext conftest.$ac_ext
17055 CFLAGS=$ac_wine_try_cflags_saved
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17058 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17059 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17060 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17063 saved_CFLAGS=$CFLAGS
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17065 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17066 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 ac_wine_try_cflags_saved=$CFLAGS
17070 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 int main(int argc, char **argv) { return 0; }
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"; then :
17076 ac_cv_cflags__Werror_unknown_warning_option=yes
17077 else
17078 ac_cv_cflags__Werror_unknown_warning_option=no
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17082 CFLAGS=$ac_wine_try_cflags_saved
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17085 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17086 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17087 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17090 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17091 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 ac_wine_try_cflags_saved=$CFLAGS
17095 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 int main(int argc, char **argv) { return 0; }
17099 _ACEOF
17100 if ac_fn_c_try_link "$LINENO"; then :
17101 ac_cv_cflags__Werror_unused_command_line_argument=yes
17102 else
17103 ac_cv_cflags__Werror_unused_command_line_argument=no
17105 rm -f core conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17107 CFLAGS=$ac_wine_try_cflags_saved
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17110 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17111 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17112 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17115 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17116 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 ac_wine_try_cflags_saved=$CFLAGS
17120 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 int main(int argc, char **argv) { return 0; }
17124 _ACEOF
17125 if ac_fn_c_try_link "$LINENO"; then :
17126 ac_cv_cflags__Wdeclaration_after_statement=yes
17127 else
17128 ac_cv_cflags__Wdeclaration_after_statement=no
17130 rm -f core conftest.err conftest.$ac_objext \
17131 conftest$ac_exeext conftest.$ac_ext
17132 CFLAGS=$ac_wine_try_cflags_saved
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17135 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17136 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17137 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17140 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17141 if ${ac_cv_cflags__Wempty_body+:} false; then :
17142 $as_echo_n "(cached) " >&6
17143 else
17144 ac_wine_try_cflags_saved=$CFLAGS
17145 CFLAGS="$CFLAGS -Wempty-body"
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 int main(int argc, char **argv) { return 0; }
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_cflags__Wempty_body=yes
17152 else
17153 ac_cv_cflags__Wempty_body=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 CFLAGS=$ac_wine_try_cflags_saved
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17160 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17161 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17162 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17165 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17166 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17167 $as_echo_n "(cached) " >&6
17168 else
17169 ac_wine_try_cflags_saved=$CFLAGS
17170 CFLAGS="$CFLAGS -Wignored-qualifiers"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 int main(int argc, char **argv) { return 0; }
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_cflags__Wignored_qualifiers=yes
17177 else
17178 ac_cv_cflags__Wignored_qualifiers=no
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17182 CFLAGS=$ac_wine_try_cflags_saved
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17185 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17186 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17187 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17190 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17191 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_wine_try_cflags_saved=$CFLAGS
17195 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 int main(int argc, char **argv) { return 0; }
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"; then :
17201 ac_cv_cflags__Wpacked_not_aligned=yes
17202 else
17203 ac_cv_cflags__Wpacked_not_aligned=no
17205 rm -f core conftest.err conftest.$ac_objext \
17206 conftest$ac_exeext conftest.$ac_ext
17207 CFLAGS=$ac_wine_try_cflags_saved
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17210 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17211 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17212 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17215 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17216 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 ac_wine_try_cflags_saved=$CFLAGS
17220 CFLAGS="$CFLAGS -Wpragma-pack"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 int main(int argc, char **argv) { return 0; }
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_cflags__Wpragma_pack=yes
17227 else
17228 ac_cv_cflags__Wpragma_pack=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 CFLAGS=$ac_wine_try_cflags_saved
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17235 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17236 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17237 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17240 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17241 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_wine_try_cflags_saved=$CFLAGS
17245 CFLAGS="$CFLAGS -Wshift-overflow=2"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 int main(int argc, char **argv) { return 0; }
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_cflags__Wshift_overflow_2=yes
17252 else
17253 ac_cv_cflags__Wshift_overflow_2=no
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17257 CFLAGS=$ac_wine_try_cflags_saved
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17260 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17261 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17262 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17265 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17266 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 ac_wine_try_cflags_saved=$CFLAGS
17270 CFLAGS="$CFLAGS -Wstrict-prototypes"
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 int main(int argc, char **argv) { return 0; }
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 ac_cv_cflags__Wstrict_prototypes=yes
17277 else
17278 ac_cv_cflags__Wstrict_prototypes=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 CFLAGS=$ac_wine_try_cflags_saved
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17285 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17286 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17287 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17290 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17291 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 ac_wine_try_cflags_saved=$CFLAGS
17295 CFLAGS="$CFLAGS -Wtype-limits"
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 int main(int argc, char **argv) { return 0; }
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"; then :
17301 ac_cv_cflags__Wtype_limits=yes
17302 else
17303 ac_cv_cflags__Wtype_limits=no
17305 rm -f core conftest.err conftest.$ac_objext \
17306 conftest$ac_exeext conftest.$ac_ext
17307 CFLAGS=$ac_wine_try_cflags_saved
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17310 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17311 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17312 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17315 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17316 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 ac_wine_try_cflags_saved=$CFLAGS
17320 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17323 int main(int argc, char **argv) { return 0; }
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 ac_cv_cflags__Wunused_but_set_parameter=yes
17327 else
17328 ac_cv_cflags__Wunused_but_set_parameter=no
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17332 CFLAGS=$ac_wine_try_cflags_saved
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17335 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17336 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17337 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17340 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17341 if ${ac_cv_cflags__Wvla+:} false; then :
17342 $as_echo_n "(cached) " >&6
17343 else
17344 ac_wine_try_cflags_saved=$CFLAGS
17345 CFLAGS="$CFLAGS -Wvla"
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 int main(int argc, char **argv) { return 0; }
17349 _ACEOF
17350 if ac_fn_c_try_link "$LINENO"; then :
17351 ac_cv_cflags__Wvla=yes
17352 else
17353 ac_cv_cflags__Wvla=no
17355 rm -f core conftest.err conftest.$ac_objext \
17356 conftest$ac_exeext conftest.$ac_ext
17357 CFLAGS=$ac_wine_try_cflags_saved
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17360 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17361 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17362 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17365 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17366 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 ac_wine_try_cflags_saved=$CFLAGS
17370 CFLAGS="$CFLAGS -Wwrite-strings"
17371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h. */
17373 int main(int argc, char **argv) { return 0; }
17374 _ACEOF
17375 if ac_fn_c_try_link "$LINENO"; then :
17376 ac_cv_cflags__Wwrite_strings=yes
17377 else
17378 ac_cv_cflags__Wwrite_strings=no
17380 rm -f core conftest.err conftest.$ac_objext \
17381 conftest$ac_exeext conftest.$ac_ext
17382 CFLAGS=$ac_wine_try_cflags_saved
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17385 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17386 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17387 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17391 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17392 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 ac_wine_try_cflags_saved=$CFLAGS
17396 CFLAGS="$CFLAGS -Wpointer-arith"
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 int main(int argc, char **argv) { return 0; }
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"; then :
17402 ac_cv_cflags__Wpointer_arith=yes
17403 else
17404 ac_cv_cflags__Wpointer_arith=no
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17408 CFLAGS=$ac_wine_try_cflags_saved
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17411 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17412 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17413 saved_string_h_CFLAGS=$CFLAGS
17414 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17416 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17417 if ${ac_cv_c_string_h_warnings+:} false; then :
17418 $as_echo_n "(cached) " >&6
17419 else
17420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17421 /* end confdefs.h. */
17422 #include <string.h>
17424 main ()
17428 return 0;
17430 _ACEOF
17431 if ac_fn_c_try_compile "$LINENO"; then :
17432 ac_cv_c_string_h_warnings=no
17433 else
17434 ac_cv_c_string_h_warnings=yes
17436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17439 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17440 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17441 CFLAGS=$saved_string_h_CFLAGS
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17445 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17446 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 ac_wine_try_cflags_saved=$CFLAGS
17450 CFLAGS="$CFLAGS -Wlogical-op"
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 int main(int argc, char **argv) { return 0; }
17454 _ACEOF
17455 if ac_fn_c_try_link "$LINENO"; then :
17456 ac_cv_cflags__Wlogical_op=yes
17457 else
17458 ac_cv_cflags__Wlogical_op=no
17460 rm -f core conftest.err conftest.$ac_objext \
17461 conftest$ac_exeext conftest.$ac_ext
17462 CFLAGS=$ac_wine_try_cflags_saved
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17465 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17466 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17467 saved_string_h_CFLAGS=$CFLAGS
17468 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17470 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17471 if ${ac_cv_c_logicalop_noisy+:} false; then :
17472 $as_echo_n "(cached) " >&6
17473 else
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <string.h>
17477 char*f(const char *h,char n) {return strchr(h,n);}
17479 main ()
17483 return 0;
17485 _ACEOF
17486 if ac_fn_c_try_compile "$LINENO"; then :
17487 ac_cv_c_logicalop_noisy=no
17488 else
17489 ac_cv_c_logicalop_noisy=yes
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17494 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17495 CFLAGS=$saved_string_h_CFLAGS
17496 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17499 for ac_flag in $CFLAGS; do
17500 case $ac_flag in
17501 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17502 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17503 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_wine_try_cflags_saved=$CFLAGS
17507 CFLAGS="$CFLAGS -gdwarf-2"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 int main(int argc, char **argv) { return 0; }
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_cflags__gdwarf_2=yes
17514 else
17515 ac_cv_cflags__gdwarf_2=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 CFLAGS=$ac_wine_try_cflags_saved
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17522 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17523 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17524 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17527 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17528 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 ac_wine_try_cflags_saved=$CFLAGS
17532 CFLAGS="$CFLAGS -gstrict-dwarf"
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 int main(int argc, char **argv) { return 0; }
17536 _ACEOF
17537 if ac_fn_c_try_link "$LINENO"; then :
17538 ac_cv_cflags__gstrict_dwarf=yes
17539 else
17540 ac_cv_cflags__gstrict_dwarf=no
17542 rm -f core conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17544 CFLAGS=$ac_wine_try_cflags_saved
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17547 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17548 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17549 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17550 fi ;;
17551 esac
17552 done
17554 MSVCRTFLAGS=""
17556 case $host_os in
17557 mingw32*) ;;
17558 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17559 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17560 if ${ac_cv_cflags__fno_builtin+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563 ac_wine_try_cflags_saved=$CFLAGS
17564 CFLAGS="$CFLAGS -fno-builtin"
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 int main(int argc, char **argv) { return 0; }
17568 _ACEOF
17569 if ac_fn_c_try_link "$LINENO"; then :
17570 ac_cv_cflags__fno_builtin=yes
17571 else
17572 ac_cv_cflags__fno_builtin=no
17574 rm -f core conftest.err conftest.$ac_objext \
17575 conftest$ac_exeext conftest.$ac_ext
17576 CFLAGS=$ac_wine_try_cflags_saved
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17579 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17580 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17581 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17584 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17585 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 ac_wine_try_cflags_saved=$CFLAGS
17589 CFLAGS="$CFLAGS -fshort-wchar"
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 int main(int argc, char **argv) { return 0; }
17593 _ACEOF
17594 if ac_fn_c_try_link "$LINENO"; then :
17595 ac_cv_cflags__fshort_wchar=yes
17596 else
17597 ac_cv_cflags__fshort_wchar=no
17599 rm -f core conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17601 CFLAGS=$ac_wine_try_cflags_saved
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17604 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17605 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17606 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17607 fi ;;
17608 esac
17610 case $host_cpu in
17611 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17612 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17613 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 int main(int argc, char **argv) { return 0; }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_cflags__fno_omit_frame_pointer=yes
17624 else
17625 ac_cv_cflags__fno_omit_frame_pointer=no
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 CFLAGS=$ac_wine_try_cflags_saved
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17632 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17633 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17634 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17635 fi ;;
17636 *x86_64*)
17637 case $host_os in
17638 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17639 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17640 if ${ac_cv_cflags__Wno_format+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 ac_wine_try_cflags_saved=$CFLAGS
17644 CFLAGS="$CFLAGS -Wno-format"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 int main(int argc, char **argv) { return 0; }
17648 _ACEOF
17649 if ac_fn_c_try_link "$LINENO"; then :
17650 ac_cv_cflags__Wno_format=yes
17651 else
17652 ac_cv_cflags__Wno_format=no
17654 rm -f core conftest.err conftest.$ac_objext \
17655 conftest$ac_exeext conftest.$ac_ext
17656 CFLAGS=$ac_wine_try_cflags_saved
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17659 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17660 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17661 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17662 fi ;;
17663 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17664 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17665 if ${ac_cv_cflags__mabi_ms+:} false; then :
17666 $as_echo_n "(cached) " >&6
17667 else
17668 ac_wine_try_cflags_saved=$CFLAGS
17669 CFLAGS="$CFLAGS -mabi=ms"
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 int main(int argc, char **argv) { return 0; }
17673 _ACEOF
17674 if ac_fn_c_try_link "$LINENO"; then :
17675 ac_cv_cflags__mabi_ms=yes
17676 else
17677 ac_cv_cflags__mabi_ms=no
17679 rm -f core conftest.err conftest.$ac_objext \
17680 conftest$ac_exeext conftest.$ac_ext
17681 CFLAGS=$ac_wine_try_cflags_saved
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17684 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17685 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17686 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17687 fi ;;
17688 esac ;;
17689 esac
17691 CFLAGS=$saved_CFLAGS
17693 if test "x$enable_maintainer_mode" = "xyes"
17694 then
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17696 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17697 if ${ac_cv_cflags__Werror+:} false; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17700 ac_wine_try_cflags_saved=$CFLAGS
17701 CFLAGS="$CFLAGS -Werror"
17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17704 int main(int argc, char **argv) { return 0; }
17705 _ACEOF
17706 if ac_fn_c_try_link "$LINENO"; then :
17707 ac_cv_cflags__Werror=yes
17708 else
17709 ac_cv_cflags__Werror=no
17711 rm -f core conftest.err conftest.$ac_objext \
17712 conftest$ac_exeext conftest.$ac_ext
17713 CFLAGS=$ac_wine_try_cflags_saved
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17716 $as_echo "$ac_cv_cflags__Werror" >&6; }
17717 if test "x$ac_cv_cflags__Werror" = xyes; then :
17718 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17725 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17726 if ${ac_cv_c_fortify_enabled+:} false; then :
17727 $as_echo_n "(cached) " >&6
17728 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <string.h>
17733 main ()
17735 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17736 #error Fortify enabled
17737 #endif
17739 return 0;
17741 _ACEOF
17742 if ac_fn_c_try_compile "$LINENO"; then :
17743 ac_cv_c_fortify_enabled=no
17744 else
17745 ac_cv_c_fortify_enabled=yes
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17750 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17751 if test "$ac_cv_c_fortify_enabled" = yes
17752 then
17753 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17758 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17759 if ${ac_cv_c_cfi_support+:} false; then :
17760 $as_echo_n "(cached) " >&6
17761 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17766 main ()
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774 ac_cv_c_cfi_support="yes"
17775 else
17776 ac_cv_c_cfi_support="no"
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17781 $as_echo "$ac_cv_c_cfi_support" >&6; }
17782 if test "$ac_cv_c_cfi_support" = "yes"
17783 then
17784 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17785 else
17786 if test "x$enable_win64" = "xyes"
17787 then
17788 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17793 case $build_os in
17794 cygwin*|mingw32*) TOOLSEXT=".exe"
17796 esac
17798 case $host_os in
17799 linux*)
17800 case $host_cpu in
17801 *i[3456789]86*|x86_64*|*aarch64*)
17802 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17803 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17805 esac
17807 esac
17810 ac_save_CFLAGS="$CFLAGS"
17811 CFLAGS="$CFLAGS $BUILTINFLAG"
17812 for ac_func in \
17813 __res_get_state \
17814 __res_getservers \
17815 _spawnvp \
17816 dlopen \
17817 epoll_create \
17818 ffs \
17819 finitef \
17820 fnmatch \
17821 fork \
17822 fpclass \
17823 fstatfs \
17824 fstatvfs \
17825 futimens \
17826 futimes \
17827 futimesat \
17828 getattrlist \
17829 getauxval \
17830 getifaddrs \
17831 getopt_long_only \
17832 kqueue \
17833 lstat \
17834 mach_continuous_time \
17835 pipe2 \
17836 poll \
17837 port_create \
17838 prctl \
17839 pread \
17840 proc_pidinfo \
17841 pwrite \
17842 readdir \
17843 readlink \
17844 sched_yield \
17845 select \
17846 setproctitle \
17847 setprogname \
17848 settimeofday \
17849 sigprocmask \
17850 statfs \
17851 statvfs \
17852 strnlen \
17853 strtold \
17854 symlink \
17855 sysinfo \
17856 tcdrain \
17857 thr_kill2 \
17858 timegm \
17859 usleep
17861 do :
17862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17865 cat >>confdefs.h <<_ACEOF
17866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17867 _ACEOF
17870 done
17872 CFLAGS="$ac_save_CFLAGS"
17874 if test "$ac_cv_func_dlopen" = no
17875 then
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17877 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17878 if ${ac_cv_lib_dl_dlopen+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 ac_check_lib_save_LIBS=$LIBS
17882 LIBS="-ldl $LIBS"
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17886 /* Override any GCC internal prototype to avoid an error.
17887 Use char because int might match the return type of a GCC
17888 builtin and then its argument prototype would still apply. */
17889 #ifdef __cplusplus
17890 extern "C"
17891 #endif
17892 char dlopen ();
17894 main ()
17896 return dlopen ();
17898 return 0;
17900 _ACEOF
17901 if ac_fn_c_try_link "$LINENO"; then :
17902 ac_cv_lib_dl_dlopen=yes
17903 else
17904 ac_cv_lib_dl_dlopen=no
17906 rm -f core conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17908 LIBS=$ac_check_lib_save_LIBS
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17911 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17912 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17913 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17914 DL_LIBS="-ldl"
17919 ac_wine_check_funcs_save_LIBS="$LIBS"
17920 LIBS="$LIBS $DL_LIBS"
17921 for ac_func in dladdr
17922 do :
17923 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17924 if test "x$ac_cv_func_dladdr" = xyes; then :
17925 cat >>confdefs.h <<_ACEOF
17926 #define HAVE_DLADDR 1
17927 _ACEOF
17930 done
17932 LIBS="$ac_wine_check_funcs_save_LIBS"
17934 if test "$ac_cv_func_poll" = no
17935 then
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17937 $as_echo_n "checking for poll in -lpoll... " >&6; }
17938 if ${ac_cv_lib_poll_poll+:} false; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 ac_check_lib_save_LIBS=$LIBS
17942 LIBS="-lpoll $LIBS"
17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17946 /* Override any GCC internal prototype to avoid an error.
17947 Use char because int might match the return type of a GCC
17948 builtin and then its argument prototype would still apply. */
17949 #ifdef __cplusplus
17950 extern "C"
17951 #endif
17952 char poll ();
17954 main ()
17956 return poll ();
17958 return 0;
17960 _ACEOF
17961 if ac_fn_c_try_link "$LINENO"; then :
17962 ac_cv_lib_poll_poll=yes
17963 else
17964 ac_cv_lib_poll_poll=no
17966 rm -f core conftest.err conftest.$ac_objext \
17967 conftest$ac_exeext conftest.$ac_ext
17968 LIBS=$ac_check_lib_save_LIBS
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17971 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17972 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17973 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17974 POLL_LIBS="-lpoll"
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17981 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17982 if ${ac_cv_search_gethostbyname+:} false; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17985 ac_func_search_save_LIBS=$LIBS
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17989 /* Override any GCC internal prototype to avoid an error.
17990 Use char because int might match the return type of a GCC
17991 builtin and then its argument prototype would still apply. */
17992 #ifdef __cplusplus
17993 extern "C"
17994 #endif
17995 char gethostbyname ();
17997 main ()
17999 return gethostbyname ();
18001 return 0;
18003 _ACEOF
18004 for ac_lib in '' nsl; do
18005 if test -z "$ac_lib"; then
18006 ac_res="none required"
18007 else
18008 ac_res=-l$ac_lib
18009 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18011 if ac_fn_c_try_link "$LINENO"; then :
18012 ac_cv_search_gethostbyname=$ac_res
18014 rm -f core conftest.err conftest.$ac_objext \
18015 conftest$ac_exeext
18016 if ${ac_cv_search_gethostbyname+:} false; then :
18017 break
18019 done
18020 if ${ac_cv_search_gethostbyname+:} false; then :
18022 else
18023 ac_cv_search_gethostbyname=no
18025 rm conftest.$ac_ext
18026 LIBS=$ac_func_search_save_LIBS
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18029 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18030 ac_res=$ac_cv_search_gethostbyname
18031 if test "$ac_res" != no; then :
18032 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18038 $as_echo_n "checking for library containing connect... " >&6; }
18039 if ${ac_cv_search_connect+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 ac_func_search_save_LIBS=$LIBS
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char connect ();
18054 main ()
18056 return connect ();
18058 return 0;
18060 _ACEOF
18061 for ac_lib in '' socket; do
18062 if test -z "$ac_lib"; then
18063 ac_res="none required"
18064 else
18065 ac_res=-l$ac_lib
18066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18068 if ac_fn_c_try_link "$LINENO"; then :
18069 ac_cv_search_connect=$ac_res
18071 rm -f core conftest.err conftest.$ac_objext \
18072 conftest$ac_exeext
18073 if ${ac_cv_search_connect+:} false; then :
18074 break
18076 done
18077 if ${ac_cv_search_connect+:} false; then :
18079 else
18080 ac_cv_search_connect=no
18082 rm conftest.$ac_ext
18083 LIBS=$ac_func_search_save_LIBS
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18086 $as_echo "$ac_cv_search_connect" >&6; }
18087 ac_res=$ac_cv_search_connect
18088 if test "$ac_res" != no; then :
18089 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18095 $as_echo_n "checking for library containing inet_aton... " >&6; }
18096 if ${ac_cv_search_inet_aton+:} false; then :
18097 $as_echo_n "(cached) " >&6
18098 else
18099 ac_func_search_save_LIBS=$LIBS
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18103 /* Override any GCC internal prototype to avoid an error.
18104 Use char because int might match the return type of a GCC
18105 builtin and then its argument prototype would still apply. */
18106 #ifdef __cplusplus
18107 extern "C"
18108 #endif
18109 char inet_aton ();
18111 main ()
18113 return inet_aton ();
18115 return 0;
18117 _ACEOF
18118 for ac_lib in '' resolv; do
18119 if test -z "$ac_lib"; then
18120 ac_res="none required"
18121 else
18122 ac_res=-l$ac_lib
18123 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18125 if ac_fn_c_try_link "$LINENO"; then :
18126 ac_cv_search_inet_aton=$ac_res
18128 rm -f core conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext
18130 if ${ac_cv_search_inet_aton+:} false; then :
18131 break
18133 done
18134 if ${ac_cv_search_inet_aton+:} false; then :
18136 else
18137 ac_cv_search_inet_aton=no
18139 rm conftest.$ac_ext
18140 LIBS=$ac_func_search_save_LIBS
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18143 $as_echo "$ac_cv_search_inet_aton" >&6; }
18144 ac_res=$ac_cv_search_inet_aton
18145 if test "$ac_res" != no; then :
18146 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18151 for ac_func in \
18152 getaddrinfo \
18153 getnameinfo \
18154 getnetbyname \
18155 getprotobyname \
18156 getprotobynumber \
18157 getservbyport \
18158 inet_addr \
18159 inet_network \
18160 inet_ntop \
18161 inet_pton \
18163 do :
18164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18167 cat >>confdefs.h <<_ACEOF
18168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18169 _ACEOF
18172 done
18175 case $host_os in
18176 darwin*|macosx*) ;;
18177 *) ac_save_LIBS=$LIBS
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18179 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18180 if ${ac_cv_search_clock_gettime+:} false; then :
18181 $as_echo_n "(cached) " >&6
18182 else
18183 ac_func_search_save_LIBS=$LIBS
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18187 /* Override any GCC internal prototype to avoid an error.
18188 Use char because int might match the return type of a GCC
18189 builtin and then its argument prototype would still apply. */
18190 #ifdef __cplusplus
18191 extern "C"
18192 #endif
18193 char clock_gettime ();
18195 main ()
18197 return clock_gettime ();
18199 return 0;
18201 _ACEOF
18202 for ac_lib in '' rt; do
18203 if test -z "$ac_lib"; then
18204 ac_res="none required"
18205 else
18206 ac_res=-l$ac_lib
18207 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18209 if ac_fn_c_try_link "$LINENO"; then :
18210 ac_cv_search_clock_gettime=$ac_res
18212 rm -f core conftest.err conftest.$ac_objext \
18213 conftest$ac_exeext
18214 if ${ac_cv_search_clock_gettime+:} false; then :
18215 break
18217 done
18218 if ${ac_cv_search_clock_gettime+:} false; then :
18220 else
18221 ac_cv_search_clock_gettime=no
18223 rm conftest.$ac_ext
18224 LIBS=$ac_func_search_save_LIBS
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18227 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18228 ac_res=$ac_cv_search_clock_gettime
18229 if test "$ac_res" != no; then :
18230 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18232 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18234 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18238 LIBS=$ac_save_LIBS
18240 esac
18242 if test "x$with_ldap" != "xno"
18243 then
18244 if ${LDAP_CFLAGS:+false} :; then :
18245 if ${PKG_CONFIG+:} false; then :
18246 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18250 if ${LDAP_LIBS:+false} :; then :
18251 if ${PKG_CONFIG+:} false; then :
18252 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18256 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18257 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18258 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18259 ac_save_CPPFLAGS=$CPPFLAGS
18260 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18261 for ac_header in ldap.h lber.h
18262 do :
18263 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18264 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18265 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18266 cat >>confdefs.h <<_ACEOF
18267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18268 _ACEOF
18272 done
18274 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18275 then
18276 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18278 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18280 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18281 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18284 ac_check_lib_save_LIBS=$LIBS
18285 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 #ifdef __cplusplus
18293 extern "C"
18294 #endif
18295 char ldap_initialize ();
18297 main ()
18299 return ldap_initialize ();
18301 return 0;
18303 _ACEOF
18304 if ac_fn_c_try_link "$LINENO"; then :
18305 ac_cv_lib_ldap_r_ldap_initialize=yes
18306 else
18307 ac_cv_lib_ldap_r_ldap_initialize=no
18309 rm -f core conftest.err conftest.$ac_objext \
18310 conftest$ac_exeext conftest.$ac_ext
18311 LIBS=$ac_check_lib_save_LIBS
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18314 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18315 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18317 $as_echo_n "checking for ber_init in -llber... " >&6; }
18318 if ${ac_cv_lib_lber_ber_init+:} false; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18321 ac_check_lib_save_LIBS=$LIBS
18322 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18326 /* Override any GCC internal prototype to avoid an error.
18327 Use char because int might match the return type of a GCC
18328 builtin and then its argument prototype would still apply. */
18329 #ifdef __cplusplus
18330 extern "C"
18331 #endif
18332 char ber_init ();
18334 main ()
18336 return ber_init ();
18338 return 0;
18340 _ACEOF
18341 if ac_fn_c_try_link "$LINENO"; then :
18342 ac_cv_lib_lber_ber_init=yes
18343 else
18344 ac_cv_lib_lber_ber_init=no
18346 rm -f core conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext conftest.$ac_ext
18348 LIBS=$ac_check_lib_save_LIBS
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18351 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18352 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18354 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18356 else
18357 LDAP_LIBS=""
18360 else
18361 LDAP_LIBS=""
18364 else
18365 LDAP_LIBS=""
18368 ac_wine_check_funcs_save_LIBS="$LIBS"
18369 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18370 for ac_func in \
18371 ldap_count_references \
18372 ldap_first_reference \
18373 ldap_next_reference \
18374 ldap_parse_reference \
18375 ldap_parse_sort_control \
18376 ldap_parse_sortresponse_control \
18377 ldap_parse_vlv_control \
18378 ldap_parse_vlvresponse_control
18379 do :
18380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18382 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18383 cat >>confdefs.h <<_ACEOF
18384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18385 _ACEOF
18388 done
18390 LIBS="$ac_wine_check_funcs_save_LIBS"
18391 else
18392 LDAP_LIBS=""
18394 CPPFLAGS=$ac_save_CPPFLAGS
18395 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18396 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18399 if test "x$LDAP_LIBS" = "x"; then :
18400 case "x$with_ldap" in
18401 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18402 xno) ;;
18403 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18404 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18405 esac
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18410 $as_echo_n "checking for sched_setaffinity... " >&6; }
18411 if ${wine_cv_have_sched_setaffinity+:} false; then :
18412 $as_echo_n "(cached) " >&6
18413 else
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18416 #define _GNU_SOURCE
18417 #include <sched.h>
18419 main ()
18421 sched_setaffinity(0, 0, 0);
18423 return 0;
18425 _ACEOF
18426 if ac_fn_c_try_link "$LINENO"; then :
18427 wine_cv_have_sched_setaffinity=yes
18428 else
18429 wine_cv_have_sched_setaffinity=no
18431 rm -f core conftest.err conftest.$ac_objext \
18432 conftest$ac_exeext conftest.$ac_ext
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18435 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18436 if test "$wine_cv_have_sched_setaffinity" = "yes"
18437 then
18439 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18444 $as_echo_n "checking for fallocate... " >&6; }
18445 if ${wine_cv_have_fallocate+:} false; then :
18446 $as_echo_n "(cached) " >&6
18447 else
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450 #define _GNU_SOURCE
18451 #include <fcntl.h>
18453 main ()
18455 fallocate(-1, 0, 0, 0);
18457 return 0;
18459 _ACEOF
18460 if ac_fn_c_try_link "$LINENO"; then :
18461 wine_cv_have_fallocate=yes
18462 else
18463 wine_cv_have_fallocate=no
18465 rm -f core conftest.err conftest.$ac_objext \
18466 conftest$ac_exeext conftest.$ac_ext
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18469 $as_echo "$wine_cv_have_fallocate" >&6; }
18470 if test "$wine_cv_have_fallocate" = "yes"
18471 then
18473 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18479 $as_echo_n "checking for inline... " >&6; }
18480 if ${ac_cv_c_inline+:} false; then :
18481 $as_echo_n "(cached) " >&6
18482 else
18483 ac_cv_c_inline=no
18484 for ac_kw in inline __inline__ __inline; do
18485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h. */
18487 #ifndef __cplusplus
18488 typedef int foo_t;
18489 static $ac_kw foo_t static_foo () {return 0; }
18490 $ac_kw foo_t foo () {return 0; }
18491 #endif
18493 _ACEOF
18494 if ac_fn_c_try_compile "$LINENO"; then :
18495 ac_cv_c_inline=$ac_kw
18497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 test "$ac_cv_c_inline" != no && break
18499 done
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18503 $as_echo "$ac_cv_c_inline" >&6; }
18505 case $ac_cv_c_inline in
18506 inline | yes) ;;
18508 case $ac_cv_c_inline in
18509 no) ac_val=;;
18510 *) ac_val=$ac_cv_c_inline;;
18511 esac
18512 cat >>confdefs.h <<_ACEOF
18513 #ifndef __cplusplus
18514 #define inline $ac_val
18515 #endif
18516 _ACEOF
18518 esac
18520 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18521 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18523 cat >>confdefs.h <<_ACEOF
18524 #define HAVE_FSBLKCNT_T 1
18525 _ACEOF
18529 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18530 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18532 cat >>confdefs.h <<_ACEOF
18533 #define HAVE_FSFILCNT_T 1
18534 _ACEOF
18539 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18540 #include <signal.h>
18542 if test "x$ac_cv_type_sigset_t" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_SIGSET_T 1
18546 _ACEOF
18551 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18553 if test "x$ac_cv_type_request_sense" = xyes; then :
18555 cat >>confdefs.h <<_ACEOF
18556 #define HAVE_REQUEST_SENSE 1
18557 _ACEOF
18563 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18564 #ifdef HAVE_SYS_SOCKET_H
18565 #include <sys/socket.h>
18566 #endif
18567 #ifdef HAVE_SYS_SOCKETVAR_H
18568 #include <sys/socketvar.h>
18569 #endif
18570 #ifdef HAVE_NET_ROUTE_H
18571 #include <net/route.h>
18572 #endif
18573 #ifdef HAVE_NETINET_IN_H
18574 #include <netinet/in.h>
18575 #endif
18576 #ifdef HAVE_NETINET_IN_SYSTM_H
18577 #include <netinet/in_systm.h>
18578 #endif
18579 #ifdef HAVE_NETINET_IP_H
18580 #include <netinet/ip.h>
18581 #endif
18582 #ifdef HAVE_NETINET_IN_PCB_H
18583 #include <netinet/in_pcb.h>
18584 #endif
18586 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18588 cat >>confdefs.h <<_ACEOF
18589 #define HAVE_STRUCT_XINPGEN 1
18590 _ACEOF
18596 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18597 #include <link.h>
18598 #endif
18599 #ifdef HAVE_SYS_LINK_H
18600 #include <sys/link.h>
18601 #endif
18603 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18605 cat >>confdefs.h <<_ACEOF
18606 #define HAVE_STRUCT_R_DEBUG 1
18607 _ACEOF
18611 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18612 #include <link.h>
18613 #endif
18614 #ifdef HAVE_SYS_LINK_H
18615 #include <sys/link.h>
18616 #endif
18618 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18620 cat >>confdefs.h <<_ACEOF
18621 #define HAVE_STRUCT_LINK_MAP 1
18622 _ACEOF
18628 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18629 #include <linux/input.h>
18630 #endif
18632 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18634 cat >>confdefs.h <<_ACEOF
18635 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18636 _ACEOF
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18643 $as_echo_n "checking for if_nameindex... " >&6; }
18644 if ${wine_cv_have_if_nameindex+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 #ifdef HAVE_SYS_TYPES_H
18650 #include <sys/types.h>
18651 #endif
18652 #ifdef HAVE_SYS_SOCKET_H
18653 #include <sys/socket.h>
18654 #endif
18655 #ifdef HAVE_NET_IF_H
18656 # include <net/if.h>
18657 #endif
18659 main ()
18661 struct if_nameindex *p = if_nameindex(); return p->if_index;
18663 return 0;
18665 _ACEOF
18666 if ac_fn_c_try_link "$LINENO"; then :
18667 wine_cv_have_if_nameindex=yes
18668 else
18669 wine_cv_have_if_nameindex=no
18671 rm -f core conftest.err conftest.$ac_objext \
18672 conftest$ac_exeext conftest.$ac_ext
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18675 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18676 if test "$wine_cv_have_if_nameindex" = "yes"
18677 then
18679 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18684 $as_echo_n "checking for sigaddset... " >&6; }
18685 if ${wine_cv_have_sigaddset+:} false; then :
18686 $as_echo_n "(cached) " >&6
18687 else
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 #include <signal.h>
18692 main ()
18694 sigset_t set; sigaddset(&set,SIGTERM);
18696 return 0;
18698 _ACEOF
18699 if ac_fn_c_try_link "$LINENO"; then :
18700 wine_cv_have_sigaddset=yes
18701 else
18702 wine_cv_have_sigaddset=no
18704 rm -f core conftest.err conftest.$ac_objext \
18705 conftest$ac_exeext conftest.$ac_ext
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18708 $as_echo "$wine_cv_have_sigaddset" >&6; }
18709 if test "$wine_cv_have_sigaddset" = "yes"
18710 then
18712 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18718 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18719 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18720 $as_echo_n "(cached) " >&6
18721 else
18722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 #include <netdb.h>
18726 main ()
18729 char *name=0;
18730 struct hostent he;
18731 struct hostent *result;
18732 char *buf=0;
18733 int bufsize=0;
18734 int errnr;
18735 char *addr=0;
18736 int addrlen=0;
18737 int addrtype=0;
18738 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18739 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18742 return 0;
18744 _ACEOF
18745 if ac_fn_c_try_link "$LINENO"; then :
18746 wine_cv_linux_gethostbyname_r_6=yes
18747 else
18748 wine_cv_linux_gethostbyname_r_6=no
18751 rm -f core conftest.err conftest.$ac_objext \
18752 conftest$ac_exeext conftest.$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18756 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18757 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18758 then
18760 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18764 if test "$ac_cv_header_linux_joystick_h" = "yes"
18765 then
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18767 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18768 if ${wine_cv_linux_joystick_22_api+:} false; then :
18769 $as_echo_n "(cached) " >&6
18770 else
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18774 #include <sys/ioctl.h>
18775 #include <sys/types.h>
18776 #include <linux/joystick.h>
18778 struct js_event blub;
18779 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18780 #error "no 2.2 header"
18781 #endif
18784 main ()
18786 /*empty*/
18788 return 0;
18790 _ACEOF
18791 if ac_fn_c_try_compile "$LINENO"; then :
18792 wine_cv_linux_joystick_22_api=yes
18793 else
18794 wine_cv_linux_joystick_22_api=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18800 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18801 if test "$wine_cv_linux_joystick_22_api" = "yes"
18802 then
18804 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18810 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18811 #ifdef HAVE_SYS_PARAM_H
18812 # include <sys/param.h>
18813 #endif
18814 #ifdef HAVE_SYS_MOUNT_H
18815 # include <sys/mount.h>
18816 #endif
18817 #ifdef HAVE_SYS_VFS_H
18818 # include <sys/vfs.h>
18819 #endif
18820 #ifdef HAVE_SYS_STATFS_H
18821 # include <sys/statfs.h>
18822 #endif
18824 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_STATFS_F_BFREE 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18835 #endif
18836 #ifdef HAVE_SYS_MOUNT_H
18837 # include <sys/mount.h>
18838 #endif
18839 #ifdef HAVE_SYS_VFS_H
18840 # include <sys/vfs.h>
18841 #endif
18842 #ifdef HAVE_SYS_STATFS_H
18843 # include <sys/statfs.h>
18844 #endif
18846 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18850 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18855 #ifdef HAVE_SYS_PARAM_H
18856 # include <sys/param.h>
18857 #endif
18858 #ifdef HAVE_SYS_MOUNT_H
18859 # include <sys/mount.h>
18860 #endif
18861 #ifdef HAVE_SYS_VFS_H
18862 # include <sys/vfs.h>
18863 #endif
18864 #ifdef HAVE_SYS_STATFS_H
18865 # include <sys/statfs.h>
18866 #endif
18868 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18872 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18877 #ifdef HAVE_SYS_PARAM_H
18878 # include <sys/param.h>
18879 #endif
18880 #ifdef HAVE_SYS_MOUNT_H
18881 # include <sys/mount.h>
18882 #endif
18883 #ifdef HAVE_SYS_VFS_H
18884 # include <sys/vfs.h>
18885 #endif
18886 #ifdef HAVE_SYS_STATFS_H
18887 # include <sys/statfs.h>
18888 #endif
18890 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18892 cat >>confdefs.h <<_ACEOF
18893 #define HAVE_STRUCT_STATFS_F_FFREE 1
18894 _ACEOF
18898 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18899 #ifdef HAVE_SYS_PARAM_H
18900 # include <sys/param.h>
18901 #endif
18902 #ifdef HAVE_SYS_MOUNT_H
18903 # include <sys/mount.h>
18904 #endif
18905 #ifdef HAVE_SYS_VFS_H
18906 # include <sys/vfs.h>
18907 #endif
18908 #ifdef HAVE_SYS_STATFS_H
18909 # include <sys/statfs.h>
18910 #endif
18912 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18914 cat >>confdefs.h <<_ACEOF
18915 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18916 _ACEOF
18920 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18921 #ifdef HAVE_SYS_PARAM_H
18922 # include <sys/param.h>
18923 #endif
18924 #ifdef HAVE_SYS_MOUNT_H
18925 # include <sys/mount.h>
18926 #endif
18927 #ifdef HAVE_SYS_VFS_H
18928 # include <sys/vfs.h>
18929 #endif
18930 #ifdef HAVE_SYS_STATFS_H
18931 # include <sys/statfs.h>
18932 #endif
18934 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18938 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18945 #include <sys/statvfs.h>
18946 #endif
18948 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18952 _ACEOF
18958 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18959 #include <dirent.h>
18960 #endif
18962 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18966 _ACEOF
18972 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18973 #ifdef HAVE_SYS_SOCKET_H
18974 # include <sys/socket.h>
18975 #endif
18976 #ifdef HAVE_SYS_UN_H
18977 # include <sys/un.h>
18978 #endif
18980 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18984 _ACEOF
18988 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18989 #ifdef HAVE_SYS_SOCKET_H
18990 # include <sys/socket.h>
18991 #endif
18992 #ifdef HAVE_SYS_UN_H
18993 # include <sys/un.h>
18994 #endif
18996 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19000 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19005 #ifdef HAVE_SYS_SOCKET_H
19006 # include <sys/socket.h>
19007 #endif
19008 #ifdef HAVE_SYS_UN_H
19009 # include <sys/un.h>
19010 #endif
19012 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19016 _ACEOF
19022 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19023 #ifdef HAVE_SCSI_SG_H
19024 #include <scsi/sg.h>
19025 #endif
19027 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_SCSIREQ_T_CMD 1
19031 _ACEOF
19035 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>
19036 #ifdef HAVE_SCSI_SG_H
19037 #include <scsi/sg.h>
19038 #endif
19040 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19044 _ACEOF
19050 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19052 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_SIGINFO_T_SI_FD 1
19056 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19063 #ifdef HAVE_SYS_MTIO_H
19064 #include <sys/mtio.h>
19065 #endif
19067 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19071 _ACEOF
19075 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19076 #ifdef HAVE_SYS_MTIO_H
19077 #include <sys/mtio.h>
19078 #endif
19080 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19089 #ifdef HAVE_SYS_MTIO_H
19090 #include <sys/mtio.h>
19091 #endif
19093 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19097 _ACEOF
19103 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19104 #include <getopt.h>
19105 #endif
19107 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_OPTION_NAME 1
19111 _ACEOF
19117 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19118 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19122 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19127 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT_STAT_ST_MTIM 1
19131 _ACEOF
19135 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19136 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19140 _ACEOF
19144 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19145 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_STAT_ST_CTIM 1
19149 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19154 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19158 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19163 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_STAT_ST_ATIM 1
19167 _ACEOF
19171 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19172 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19176 _ACEOF
19180 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19181 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19185 _ACEOF
19189 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19190 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19194 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19199 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19203 _ACEOF
19207 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19208 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19210 cat >>confdefs.h <<_ACEOF
19211 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19212 _ACEOF
19216 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19217 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19221 _ACEOF
19227 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
19228 #include <sys/types.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_H
19231 #include <netinet/in.h>
19232 #endif
19234 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19238 _ACEOF
19244 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19245 #include <sys/types.h>
19246 #endif
19247 #ifdef HAVE_NETINET_IN_H
19248 #include <netinet/in.h>
19249 #endif
19250 #ifdef HAVE_RESOLV_H
19251 #include <resolv.h>
19252 #endif
19254 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT___RES_STATE 1
19258 _ACEOF
19264 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
19265 #include <resolv.h>
19266 #endif
19268 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19272 _ACEOF
19278 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19279 #include <sys/types.h>
19280 #endif
19281 #ifdef HAVE_NETINET_IN_H
19282 # include <netinet/in.h>
19283 #endif
19284 #ifdef HAVE_ARPA_NAMESER_H
19285 # include <arpa/nameser.h>
19286 #endif
19288 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_NS_MSG__MSG_PTR 1
19292 _ACEOF
19298 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19299 #include <sys/types.h>
19300 #endif
19301 #ifdef HAVE_NETINET_IN_H
19302 #include <netinet/in.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IP_H
19305 #include <netinet/ip.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IP_ICMP_H
19308 #include <netinet/ip_icmp.h>
19309 #endif
19310 #ifdef HAVE_NETINET_ICMP_VAR_H
19311 #include <netinet/icmp_var.h>
19312 #endif
19314 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19316 cat >>confdefs.h <<_ACEOF
19317 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19318 _ACEOF
19324 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19325 #include <sys/types.h>
19326 #endif
19327 #ifdef HAVE_ALIAS_H
19328 #include <alias.h>
19329 #endif
19330 #ifdef HAVE_SYS_SOCKET_H
19331 #include <sys/socket.h>
19332 #endif
19333 #ifdef HAVE_SYS_SOCKETVAR_H
19334 #include <sys/socketvar.h>
19335 #endif
19336 #ifdef HAVE_SYS_TIMEOUT_H
19337 #include <sys/timeout.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IN_H
19340 #include <netinet/in.h>
19341 #endif
19342 #ifdef HAVE_NETINET_IN_SYSTM_H
19343 #include <netinet/in_systm.h>
19344 #endif
19345 #ifdef HAVE_NETINET_IP_H
19346 #include <netinet/ip.h>
19347 #endif
19348 #ifdef HAVE_NETINET_IP_VAR_H
19349 #include <netinet/ip_var.h>
19350 #endif
19351 #ifdef HAVE_NETINET_IP_ICMP_H
19352 #include <netinet/ip_icmp.h>
19353 #endif
19354 #ifdef HAVE_NETINET_ICMP_VAR_H
19355 #include <netinet/icmp_var.h>
19356 #endif
19358 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19362 _ACEOF
19368 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19369 #include <sys/types.h>
19370 #endif
19371 #ifdef HAVE_SYS_SOCKETVAR_H
19372 #include <sys/socketvar.h>
19373 #endif
19374 #ifdef HAVE_NETINET_IN_H
19375 #include <netinet/in.h>
19376 #endif
19377 #ifdef HAVE_NETINET_IP_VAR_H
19378 #include <netinet/ip_var.h>
19379 #endif
19381 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19385 _ACEOF
19391 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
19392 #include <netinet/ip_var.h>
19393 #endif
19395 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19397 cat >>confdefs.h <<_ACEOF
19398 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19399 _ACEOF
19405 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19406 #include <sys/types.h>
19407 #endif
19408 #ifdef HAVE_SYS_SOCKETVAR_H
19409 #include <sys/socketvar.h>
19410 #endif
19411 #ifdef HAVE_NETINET_IN_H
19412 #include <netinet/in.h>
19413 #endif
19414 #ifdef HAVE_NETINET_TCP_H
19415 #include <netinet/tcp.h>
19416 #endif
19417 #ifdef HAVE_NETINET_TCP_VAR_H
19418 #include <netinet/tcp_var.h>
19419 #endif
19421 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19425 _ACEOF
19431 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
19432 #include <netinet/tcp_var.h>
19433 #endif
19435 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19437 cat >>confdefs.h <<_ACEOF
19438 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19439 _ACEOF
19445 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19446 #include <sys/types.h>
19447 #endif
19448 #ifdef HAVE_NETINET_IN_H
19449 #include <netinet/in.h>
19450 #endif
19451 #ifdef HAVE_NETINET_IP_VAR_H
19452 #include <netinet/ip_var.h>
19453 #endif
19454 #ifdef HAVE_NETINET_UDP_H
19455 #include <netinet/udp.h>
19456 #endif
19457 #ifdef HAVE_NETINET_UDP_VAR_H
19458 #include <netinet/udp_var.h>
19459 #endif
19461 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19463 cat >>confdefs.h <<_ACEOF
19464 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19465 _ACEOF
19471 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19472 #include <sys/types.h>
19473 #endif
19474 #ifdef HAVE_NET_IF_H
19475 # include <net/if.h>
19476 #endif
19478 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19480 cat >>confdefs.h <<_ACEOF
19481 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19482 _ACEOF
19488 ac_save_LIBS="$LIBS"
19489 LIBS="$LIBS -lm"
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19491 $as_echo_n "checking for isfinite... " >&6; }
19492 if ${ac_cv_have_isfinite+:} false; then :
19493 $as_echo_n "(cached) " >&6
19494 else
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19497 #define _GNU_SOURCE
19498 #include <math.h>
19500 main ()
19502 float f = 0.0; return isfinite(f)
19504 return 0;
19506 _ACEOF
19507 if ac_fn_c_try_link "$LINENO"; then :
19508 ac_cv_have_isfinite="yes"
19509 else
19510 ac_cv_have_isfinite="no"
19512 rm -f core conftest.err conftest.$ac_objext \
19513 conftest$ac_exeext conftest.$ac_ext
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19516 $as_echo "$ac_cv_have_isfinite" >&6; }
19517 if test "$ac_cv_have_isfinite" = "yes"
19518 then
19520 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19525 $as_echo_n "checking for isinf... " >&6; }
19526 if ${ac_cv_have_isinf+:} false; then :
19527 $as_echo_n "(cached) " >&6
19528 else
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #include <math.h>
19533 main ()
19535 float f = 0.0; return isinf(f)
19537 return 0;
19539 _ACEOF
19540 if ac_fn_c_try_link "$LINENO"; then :
19541 ac_cv_have_isinf="yes"
19542 else
19543 ac_cv_have_isinf="no"
19545 rm -f core conftest.err conftest.$ac_objext \
19546 conftest$ac_exeext conftest.$ac_ext
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19549 $as_echo "$ac_cv_have_isinf" >&6; }
19550 if test "$ac_cv_have_isinf" = "yes"
19551 then
19553 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19558 $as_echo_n "checking for isnan... " >&6; }
19559 if ${ac_cv_have_isnan+:} false; then :
19560 $as_echo_n "(cached) " >&6
19561 else
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19564 #include <math.h>
19566 main ()
19568 float f = 0.0; return isnan(f)
19570 return 0;
19572 _ACEOF
19573 if ac_fn_c_try_link "$LINENO"; then :
19574 ac_cv_have_isnan="yes"
19575 else
19576 ac_cv_have_isnan="no"
19578 rm -f core conftest.err conftest.$ac_objext \
19579 conftest$ac_exeext conftest.$ac_ext
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19582 $as_echo "$ac_cv_have_isnan" >&6; }
19583 if test "$ac_cv_have_isnan" = "yes"
19584 then
19586 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19590 for ac_func in \
19591 acosh \
19592 acoshf \
19593 asinh \
19594 asinhf \
19595 atanh \
19596 atanhf \
19597 cbrt \
19598 cbrtf \
19599 erf \
19600 erfc \
19601 erfcf \
19602 erff \
19603 exp2 \
19604 exp2f \
19605 expm1 \
19606 expm1f \
19607 fma \
19608 fmaf \
19609 ilogb \
19610 ilogbf \
19611 j0 \
19612 j1 \
19613 jn \
19614 lgamma \
19615 lgammaf \
19616 llrint \
19617 llrintf \
19618 llround \
19619 llroundf \
19620 log1p \
19621 log1pf \
19622 log2 \
19623 log2f \
19624 lrint \
19625 lrintf \
19626 lround \
19627 lroundf \
19628 nearbyint \
19629 nearbyintf \
19630 nexttoward \
19631 nexttowardf \
19632 remainder \
19633 remainderf \
19634 remquo \
19635 remquof \
19636 rint \
19637 rintf \
19638 round \
19639 roundf \
19640 tgamma \
19641 tgammaf \
19642 trunc \
19643 truncf \
19644 y0 \
19645 y1 \
19648 do :
19649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19651 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19652 cat >>confdefs.h <<_ACEOF
19653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19654 _ACEOF
19657 done
19659 LIBS="$ac_save_LIBS"
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19662 $as_echo_n "checking for __builtin_popcount... " >&6; }
19663 if ${ac_cv_have___builtin_popcount+:} false; then :
19664 $as_echo_n "(cached) " >&6
19665 else
19666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19670 main ()
19672 return __builtin_popcount(1)
19674 return 0;
19676 _ACEOF
19677 if ac_fn_c_try_link "$LINENO"; then :
19678 ac_cv_have___builtin_popcount="yes"
19679 else
19680 ac_cv_have___builtin_popcount="no"
19682 rm -f core conftest.err conftest.$ac_objext \
19683 conftest$ac_exeext conftest.$ac_ext
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19686 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19687 if test "$ac_cv_have___builtin_popcount" = "yes"
19688 then
19690 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19695 $as_echo_n "checking for __clear_cache... " >&6; }
19696 if ${ac_cv_have___clear_cache+:} false; then :
19697 $as_echo_n "(cached) " >&6
19698 else
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19703 main ()
19705 __clear_cache((void*)0, (void*)0); return 0;
19707 return 0;
19709 _ACEOF
19710 if ac_fn_c_try_link "$LINENO"; then :
19711 ac_cv_have___clear_cache="yes"
19712 else
19713 ac_cv_have___clear_cache="no"
19715 rm -f core conftest.err conftest.$ac_objext \
19716 conftest$ac_exeext conftest.$ac_ext
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19719 $as_echo "$ac_cv_have___clear_cache" >&6; }
19720 if test "$ac_cv_have___clear_cache" = "yes"
19721 then
19723 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19728 case $host_cpu in
19729 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19730 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19731 if ${ac_cv_cpp_def___i386__+:} false; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19736 #ifndef __i386__
19738 #endif
19739 _ACEOF
19740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19741 $EGREP "yes" >/dev/null 2>&1; then :
19742 ac_cv_cpp_def___i386__=yes
19743 else
19744 ac_cv_cpp_def___i386__=no
19746 rm -f conftest*
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19750 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19751 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19752 CFLAGS="$CFLAGS -D__i386__"
19753 LINTFLAGS="$LINTFLAGS -D__i386__"
19754 fi ;;
19755 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19756 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19757 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19758 $as_echo_n "(cached) " >&6
19759 else
19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19761 /* end confdefs.h. */
19762 #ifndef __x86_64__
19764 #endif
19765 _ACEOF
19766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19767 $EGREP "yes" >/dev/null 2>&1; then :
19768 ac_cv_cpp_def___x86_64__=yes
19769 else
19770 ac_cv_cpp_def___x86_64__=no
19772 rm -f conftest*
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19776 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19777 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19778 CFLAGS="$CFLAGS -D__x86_64__"
19779 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19780 fi ;;
19781 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19782 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19783 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19784 $as_echo_n "(cached) " >&6
19785 else
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 #ifndef __sparc64__
19790 #endif
19791 _ACEOF
19792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19793 $EGREP "yes" >/dev/null 2>&1; then :
19794 ac_cv_cpp_def___sparc64__=yes
19795 else
19796 ac_cv_cpp_def___sparc64__=no
19798 rm -f conftest*
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19802 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19803 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19804 CFLAGS="$CFLAGS -D__sparc64__"
19805 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19806 fi ;;
19807 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19808 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19809 if ${ac_cv_cpp_def___sparc__+:} false; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814 #ifndef __sparc__
19816 #endif
19817 _ACEOF
19818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19819 $EGREP "yes" >/dev/null 2>&1; then :
19820 ac_cv_cpp_def___sparc__=yes
19821 else
19822 ac_cv_cpp_def___sparc__=no
19824 rm -f conftest*
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19828 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19829 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19830 CFLAGS="$CFLAGS -D__sparc__"
19831 LINTFLAGS="$LINTFLAGS -D__sparc__"
19832 fi ;;
19833 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19834 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19835 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19836 $as_echo_n "(cached) " >&6
19837 else
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 #ifndef __powerpc64__
19842 #endif
19843 _ACEOF
19844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19845 $EGREP "yes" >/dev/null 2>&1; then :
19846 ac_cv_cpp_def___powerpc64__=yes
19847 else
19848 ac_cv_cpp_def___powerpc64__=no
19850 rm -f conftest*
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19854 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19855 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19856 CFLAGS="$CFLAGS -D__powerpc64__"
19857 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19858 fi ;;
19859 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19860 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19861 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19862 $as_echo_n "(cached) " >&6
19863 else
19864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19866 #ifndef __powerpc__
19868 #endif
19869 _ACEOF
19870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19871 $EGREP "yes" >/dev/null 2>&1; then :
19872 ac_cv_cpp_def___powerpc__=yes
19873 else
19874 ac_cv_cpp_def___powerpc__=no
19876 rm -f conftest*
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19880 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19881 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19882 CFLAGS="$CFLAGS -D__powerpc__"
19883 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19884 fi ;;
19885 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19886 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19887 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19888 $as_echo_n "(cached) " >&6
19889 else
19890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19891 /* end confdefs.h. */
19892 #ifndef __aarch64__
19894 #endif
19895 _ACEOF
19896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19897 $EGREP "yes" >/dev/null 2>&1; then :
19898 ac_cv_cpp_def___aarch64__=yes
19899 else
19900 ac_cv_cpp_def___aarch64__=no
19902 rm -f conftest*
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19906 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19907 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19908 CFLAGS="$CFLAGS -D__aarch64__"
19909 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19910 fi ;;
19911 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19912 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19913 if ${ac_cv_cpp_def___arm__+:} false; then :
19914 $as_echo_n "(cached) " >&6
19915 else
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #ifndef __arm__
19920 #endif
19921 _ACEOF
19922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19923 $EGREP "yes" >/dev/null 2>&1; then :
19924 ac_cv_cpp_def___arm__=yes
19925 else
19926 ac_cv_cpp_def___arm__=no
19928 rm -f conftest*
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19932 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19933 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19934 CFLAGS="$CFLAGS -D__arm__"
19935 LINTFLAGS="$LINTFLAGS -D__arm__"
19936 fi ;;
19937 esac
19939 case $host_vendor in
19940 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19941 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19942 if ${ac_cv_cpp_def___sun__+:} false; then :
19943 $as_echo_n "(cached) " >&6
19944 else
19945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19946 /* end confdefs.h. */
19947 #ifndef __sun__
19949 #endif
19950 _ACEOF
19951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19952 $EGREP "yes" >/dev/null 2>&1; then :
19953 ac_cv_cpp_def___sun__=yes
19954 else
19955 ac_cv_cpp_def___sun__=no
19957 rm -f conftest*
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19961 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19962 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19963 CFLAGS="$CFLAGS -D__sun__"
19964 LINTFLAGS="$LINTFLAGS -D__sun__"
19965 fi ;;
19966 esac
19972 ac_config_commands="$ac_config_commands include/stamp-h"
19974 $as_echo_n "creating Makefile rules..." >&6
19976 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19977 OPENGL_LIBS = $OPENGL_LIBS
19978 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19979 IOKIT_LIBS = $IOKIT_LIBS
19980 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19981 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19982 CORESERVICES_LIBS = $CORESERVICES_LIBS
19983 APPKIT_LIBS = $APPKIT_LIBS
19984 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19985 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19986 SECURITY_LIBS = $SECURITY_LIBS
19987 COREAUDIO_LIBS = $COREAUDIO_LIBS
19988 OPENAL_LIBS = $OPENAL_LIBS
19989 OPENCL_LIBS = $OPENCL_LIBS
19990 QUICKTIME_LIBS = $QUICKTIME_LIBS
19991 CARBON_LIBS = $CARBON_LIBS
19992 METAL_LIBS = $METAL_LIBS
19993 PTHREAD_LIBS = $PTHREAD_LIBS
19994 X_CFLAGS = $X_CFLAGS
19995 X_PRE_LIBS = $X_PRE_LIBS
19996 X_LIBS = $X_LIBS
19997 X_EXTRA_LIBS = $X_EXTRA_LIBS
19998 PCAP_LIBS = $PCAP_LIBS
19999 XML2_CFLAGS = $XML2_CFLAGS
20000 XML2_LIBS = $XML2_LIBS
20001 XSLT_CFLAGS = $XSLT_CFLAGS
20002 XSLT_LIBS = $XSLT_LIBS
20003 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20004 INOTIFY_LIBS = $INOTIFY_LIBS
20005 DBUS_CFLAGS = $DBUS_CFLAGS
20006 DBUS_LIBS = $DBUS_LIBS
20007 HAL_CFLAGS = $HAL_CFLAGS
20008 HAL_LIBS = $HAL_LIBS
20009 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20010 GNUTLS_LIBS = $GNUTLS_LIBS
20011 SANE_CFLAGS = $SANE_CFLAGS
20012 SANE_LIBS = $SANE_LIBS
20013 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20014 GPHOTO2_LIBS = $GPHOTO2_LIBS
20015 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20016 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20017 RESOLV_LIBS = $RESOLV_LIBS
20018 LCMS2_CFLAGS = $LCMS2_CFLAGS
20019 LCMS2_LIBS = $LCMS2_LIBS
20020 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20021 FREETYPE_LIBS = $FREETYPE_LIBS
20022 Z_CFLAGS = $Z_CFLAGS
20023 Z_LIBS = $Z_LIBS
20024 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20025 PULSE_CFLAGS = $PULSE_CFLAGS
20026 PULSE_LIBS = $PULSE_LIBS
20027 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20028 GSTREAMER_LIBS = $GSTREAMER_LIBS
20029 ALSA_LIBS = $ALSA_LIBS
20030 OSS4_CFLAGS = $OSS4_CFLAGS
20031 OSS4_LIBS = $OSS4_LIBS
20032 UDEV_CFLAGS = $UDEV_CFLAGS
20033 UDEV_LIBS = $UDEV_LIBS
20034 UNWIND_CFLAGS = $UNWIND_CFLAGS
20035 UNWIND_LIBS = $UNWIND_LIBS
20036 SDL2_CFLAGS = $SDL2_CFLAGS
20037 SDL2_LIBS = $SDL2_LIBS
20038 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20039 FAUDIO_LIBS = $FAUDIO_LIBS
20040 CAPI20_CFLAGS = $CAPI20_CFLAGS
20041 CAPI20_LIBS = $CAPI20_LIBS
20042 CUPS_CFLAGS = $CUPS_CFLAGS
20043 CUPS_LIBS = $CUPS_LIBS
20044 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20045 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20046 KRB5_CFLAGS = $KRB5_CFLAGS
20047 KRB5_LIBS = $KRB5_LIBS
20048 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20049 GSSAPI_LIBS = $GSSAPI_LIBS
20050 JPEG_CFLAGS = $JPEG_CFLAGS
20051 JPEG_LIBS = $JPEG_LIBS
20052 PNG_CFLAGS = $PNG_CFLAGS
20053 PNG_LIBS = $PNG_LIBS
20054 TIFF_CFLAGS = $TIFF_CFLAGS
20055 TIFF_LIBS = $TIFF_LIBS
20056 MPG123_CFLAGS = $MPG123_CFLAGS
20057 MPG123_LIBS = $MPG123_LIBS
20058 KSTAT_LIBS = $KSTAT_LIBS
20059 PROCSTAT_LIBS = $PROCSTAT_LIBS
20060 NETAPI_CFLAGS = $NETAPI_CFLAGS
20061 NETAPI_LIBS = $NETAPI_LIBS
20062 VKD3D_CFLAGS = $VKD3D_CFLAGS
20063 VKD3D_LIBS = $VKD3D_LIBS
20064 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20065 DL_LIBS = $DL_LIBS
20066 POLL_LIBS = $POLL_LIBS
20067 RT_LIBS = $RT_LIBS
20068 LDAP_CFLAGS = $LDAP_CFLAGS
20069 LDAP_LIBS = $LDAP_LIBS
20074 wine_fn_append_rule "
20075 # Rules automatically generated by configure
20077 .INIT: Makefile
20078 .MAKEFILEDEPS:
20079 all: Makefile
20080 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20081 @./config.status Make.tmp Makefile
20082 depend: \$(MAKEDEP) dummy
20083 \$(MAKEDEP)"
20085 ac_config_links="$ac_config_links wine:tools/winewrapper"
20086 wine_fn_config_symlink wine
20087 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20088 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20089 wine_fn_config_symlink wine64
20092 wine_fn_config_makefile dlls/acledit enable_acledit
20093 wine_fn_config_makefile dlls/aclui enable_aclui
20094 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20095 wine_fn_config_makefile dlls/activeds enable_activeds
20096 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20097 wine_fn_config_makefile dlls/adsiid enable_adsiid
20098 wine_fn_config_makefile dlls/adsldp enable_adsldp
20099 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20100 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20101 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20102 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20103 wine_fn_config_makefile dlls/advpack enable_advpack
20104 wine_fn_config_makefile dlls/advpack/tests enable_tests
20105 wine_fn_config_makefile dlls/amsi enable_amsi
20106 wine_fn_config_makefile dlls/amstream enable_amstream
20107 wine_fn_config_makefile dlls/amstream/tests enable_tests
20108 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20111 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20134 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20140 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20143 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20157 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20163 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20175 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20187 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20188 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20279 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20294 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20304 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20306 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20317 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20319 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20323 wine_fn_config_makefile dlls/apphelp enable_apphelp
20324 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20325 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20326 wine_fn_config_makefile dlls/atl enable_atl
20327 wine_fn_config_makefile dlls/atl/tests enable_tests
20328 wine_fn_config_makefile dlls/atl100 enable_atl100
20329 wine_fn_config_makefile dlls/atl100/tests enable_tests
20330 wine_fn_config_makefile dlls/atl110 enable_atl110
20331 wine_fn_config_makefile dlls/atl80 enable_atl80
20332 wine_fn_config_makefile dlls/atl80/tests enable_tests
20333 wine_fn_config_makefile dlls/atl90 enable_atl90
20334 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20335 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20336 wine_fn_config_makefile dlls/atmlib enable_atmlib
20337 wine_fn_config_makefile dlls/authz enable_authz
20338 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20339 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20340 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20341 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20342 wine_fn_config_makefile dlls/avrt enable_avrt
20343 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20344 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20345 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20346 wine_fn_config_makefile dlls/browseui enable_browseui
20347 wine_fn_config_makefile dlls/browseui/tests enable_tests
20348 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20349 wine_fn_config_makefile dlls/cabinet enable_cabinet
20350 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20351 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20352 wine_fn_config_makefile dlls/cards enable_cards
20353 wine_fn_config_makefile dlls/cdosys enable_cdosys
20354 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20355 wine_fn_config_makefile dlls/clusapi enable_clusapi
20356 wine_fn_config_makefile dlls/combase enable_combase
20357 wine_fn_config_makefile dlls/combase/tests enable_tests
20358 wine_fn_config_makefile dlls/comcat enable_comcat
20359 wine_fn_config_makefile dlls/comcat/tests enable_tests
20360 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20361 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20362 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20363 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20364 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20365 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20366 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20367 wine_fn_config_makefile dlls/compstui enable_compstui
20368 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20369 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20370 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20371 wine_fn_config_makefile dlls/connect enable_connect
20372 wine_fn_config_makefile dlls/credui enable_credui
20373 wine_fn_config_makefile dlls/credui/tests enable_tests
20374 wine_fn_config_makefile dlls/crtdll enable_crtdll
20375 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20376 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20377 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20378 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20379 wine_fn_config_makefile dlls/cryptext enable_cryptext
20380 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20381 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20382 wine_fn_config_makefile dlls/cryptui enable_cryptui
20383 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20384 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20385 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20386 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20387 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20388 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20389 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20390 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20391 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20392 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20393 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20394 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20395 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20396 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20397 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20398 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20399 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20400 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20401 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20402 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20403 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20404 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20405 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20406 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20407 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20408 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20409 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20410 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20411 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20412 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20413 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20414 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20415 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20416 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20417 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20418 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20419 wine_fn_config_makefile dlls/d3dim enable_d3dim
20420 wine_fn_config_makefile dlls/d3drm enable_d3drm
20421 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20422 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20423 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20424 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20425 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20426 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20427 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20428 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20429 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20430 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20431 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20432 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20433 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20434 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20435 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20436 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20437 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20438 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20439 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20440 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20441 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20442 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20443 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20444 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20445 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20446 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20447 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20448 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20449 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20450 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20452 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20453 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20454 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20455 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20456 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20457 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20458 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20459 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20460 wine_fn_config_makefile dlls/davclnt enable_davclnt
20461 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20462 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20463 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20464 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20465 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20466 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20467 wine_fn_config_makefile dlls/ddraw enable_ddraw
20468 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20469 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20470 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20471 wine_fn_config_makefile dlls/devenum enable_devenum
20472 wine_fn_config_makefile dlls/devenum/tests enable_tests
20473 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20474 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20475 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20476 wine_fn_config_makefile dlls/difxapi enable_difxapi
20477 wine_fn_config_makefile dlls/dinput enable_dinput
20478 wine_fn_config_makefile dlls/dinput/tests enable_tests
20479 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20480 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20481 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20482 wine_fn_config_makefile dlls/dispex enable_dispex
20483 wine_fn_config_makefile dlls/dispex/tests enable_tests
20484 wine_fn_config_makefile dlls/display.drv16 enable_win16
20485 wine_fn_config_makefile dlls/dmband enable_dmband
20486 wine_fn_config_makefile dlls/dmband/tests enable_tests
20487 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20488 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20489 wine_fn_config_makefile dlls/dmime enable_dmime
20490 wine_fn_config_makefile dlls/dmime/tests enable_tests
20491 wine_fn_config_makefile dlls/dmloader enable_dmloader
20492 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20493 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20494 wine_fn_config_makefile dlls/dmscript enable_dmscript
20495 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20496 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20497 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20498 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20499 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20500 wine_fn_config_makefile dlls/dmusic enable_dmusic
20501 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20502 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20503 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20504 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20505 wine_fn_config_makefile dlls/dplay enable_dplay
20506 wine_fn_config_makefile dlls/dplayx enable_dplayx
20507 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20508 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20509 wine_fn_config_makefile dlls/dpnet enable_dpnet
20510 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20511 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20512 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20513 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20514 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20515 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20516 wine_fn_config_makefile dlls/drmclien enable_drmclien
20517 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20518 wine_fn_config_makefile dlls/dsound enable_dsound
20519 wine_fn_config_makefile dlls/dsound/tests enable_tests
20520 wine_fn_config_makefile dlls/dsquery enable_dsquery
20521 wine_fn_config_makefile dlls/dssenh enable_dssenh
20522 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20523 wine_fn_config_makefile dlls/dswave enable_dswave
20524 wine_fn_config_makefile dlls/dswave/tests enable_tests
20525 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20526 wine_fn_config_makefile dlls/dwrite enable_dwrite
20527 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20528 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20529 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20530 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20531 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20532 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20533 wine_fn_config_makefile dlls/dxgi enable_dxgi
20534 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20535 wine_fn_config_makefile dlls/dxguid enable_dxguid
20536 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20537 wine_fn_config_makefile dlls/esent enable_esent
20538 wine_fn_config_makefile dlls/evr enable_evr
20539 wine_fn_config_makefile dlls/evr/tests enable_tests
20540 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20541 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20542 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20576 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20582 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
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20593 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20594 wine_fn_config_makefile dlls/faultrep enable_faultrep
20595 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20596 wine_fn_config_makefile dlls/feclient enable_feclient
20597 wine_fn_config_makefile dlls/fltlib enable_fltlib
20598 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20599 wine_fn_config_makefile dlls/fntcache enable_fntcache
20600 wine_fn_config_makefile dlls/fontsub enable_fontsub
20601 wine_fn_config_makefile dlls/fusion enable_fusion
20602 wine_fn_config_makefile dlls/fusion/tests enable_tests
20603 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20604 wine_fn_config_makefile dlls/gameux enable_gameux
20605 wine_fn_config_makefile dlls/gameux/tests enable_tests
20606 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20607 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20608 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20609 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20610 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20611 wine_fn_config_makefile dlls/glu32 enable_glu32
20612 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20613 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20614 wine_fn_config_makefile dlls/hal enable_hal
20615 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20616 wine_fn_config_makefile dlls/hid enable_hid
20617 wine_fn_config_makefile dlls/hid/tests enable_tests
20618 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20619 wine_fn_config_makefile dlls/hlink enable_hlink
20620 wine_fn_config_makefile dlls/hlink/tests enable_tests
20621 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20622 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20623 wine_fn_config_makefile dlls/http.sys enable_http_sys
20624 wine_fn_config_makefile dlls/httpapi enable_httpapi
20625 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20626 wine_fn_config_makefile dlls/iccvid enable_iccvid
20627 wine_fn_config_makefile dlls/icmp enable_icmp
20628 wine_fn_config_makefile dlls/ieframe enable_ieframe
20629 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20630 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20631 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20632 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20633 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20634 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20635 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20636 wine_fn_config_makefile dlls/imm32 enable_imm32
20637 wine_fn_config_makefile dlls/imm32/tests enable_tests
20638 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20639 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20640 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20641 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20642 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20643 wine_fn_config_makefile dlls/infosoft enable_infosoft
20644 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20645 wine_fn_config_makefile dlls/initpki enable_initpki
20646 wine_fn_config_makefile dlls/inkobj enable_inkobj
20647 wine_fn_config_makefile dlls/inseng enable_inseng
20648 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20649 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20650 wine_fn_config_makefile dlls/iprop enable_iprop
20651 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20652 wine_fn_config_makefile dlls/itircl enable_itircl
20653 wine_fn_config_makefile dlls/itss enable_itss
20654 wine_fn_config_makefile dlls/itss/tests enable_tests
20655 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20656 wine_fn_config_makefile dlls/jscript enable_jscript
20657 wine_fn_config_makefile dlls/jscript/tests enable_tests
20658 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20659 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20660 wine_fn_config_makefile dlls/kerberos enable_kerberos
20661 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20662 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20663 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20664 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20665 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20666 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20667 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20668 wine_fn_config_makefile dlls/ksuser enable_ksuser
20669 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20670 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20671 wine_fn_config_makefile dlls/loadperf enable_loadperf
20672 wine_fn_config_makefile dlls/localspl enable_localspl
20673 wine_fn_config_makefile dlls/localspl/tests enable_tests
20674 wine_fn_config_makefile dlls/localui enable_localui
20675 wine_fn_config_makefile dlls/localui/tests enable_tests
20676 wine_fn_config_makefile dlls/lz32 enable_lz32
20677 wine_fn_config_makefile dlls/lz32/tests enable_tests
20678 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20679 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20680 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20681 wine_fn_config_makefile dlls/mapistub enable_mapistub
20682 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20683 wine_fn_config_makefile dlls/mcicda enable_mcicda
20684 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20685 wine_fn_config_makefile dlls/mciseq enable_mciseq
20686 wine_fn_config_makefile dlls/mciwave enable_mciwave
20687 wine_fn_config_makefile dlls/mf enable_mf
20688 wine_fn_config_makefile dlls/mf/tests enable_tests
20689 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20690 wine_fn_config_makefile dlls/mferror enable_mferror
20691 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20692 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20693 wine_fn_config_makefile dlls/mfplat enable_mfplat
20694 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20695 wine_fn_config_makefile dlls/mfplay enable_mfplay
20696 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20697 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20698 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20699 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20700 wine_fn_config_makefile dlls/midimap enable_midimap
20701 wine_fn_config_makefile dlls/mlang enable_mlang
20702 wine_fn_config_makefile dlls/mlang/tests enable_tests
20703 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20704 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20705 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20706 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20707 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20708 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20709 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20710 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20711 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20712 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20713 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20714 wine_fn_config_makefile dlls/mpr enable_mpr
20715 wine_fn_config_makefile dlls/mpr/tests enable_tests
20716 wine_fn_config_makefile dlls/mprapi enable_mprapi
20717 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20718 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20719 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20720 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20721 wine_fn_config_makefile dlls/msado15 enable_msado15
20722 wine_fn_config_makefile dlls/msado15/tests enable_tests
20723 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20724 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20725 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20726 wine_fn_config_makefile dlls/mscms enable_mscms
20727 wine_fn_config_makefile dlls/mscms/tests enable_tests
20728 wine_fn_config_makefile dlls/mscoree enable_mscoree
20729 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20730 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20731 wine_fn_config_makefile dlls/msctf enable_msctf
20732 wine_fn_config_makefile dlls/msctf/tests enable_tests
20733 wine_fn_config_makefile dlls/msctfp enable_msctfp
20734 wine_fn_config_makefile dlls/msdaps enable_msdaps
20735 wine_fn_config_makefile dlls/msdelta enable_msdelta
20736 wine_fn_config_makefile dlls/msdmo enable_msdmo
20737 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20738 wine_fn_config_makefile dlls/msdrm enable_msdrm
20739 wine_fn_config_makefile dlls/msftedit enable_msftedit
20740 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20741 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20742 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20743 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20744 wine_fn_config_makefile dlls/mshtml enable_mshtml
20745 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20746 wine_fn_config_makefile dlls/msi enable_msi
20747 wine_fn_config_makefile dlls/msi/tests enable_tests
20748 wine_fn_config_makefile dlls/msident enable_msident
20749 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20750 wine_fn_config_makefile dlls/msimsg enable_msimsg
20751 wine_fn_config_makefile dlls/msimtf enable_msimtf
20752 wine_fn_config_makefile dlls/msisip enable_msisip
20753 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20754 wine_fn_config_makefile dlls/msls31 enable_msls31
20755 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20756 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20757 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20758 wine_fn_config_makefile dlls/msports enable_msports
20759 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20760 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20761 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20762 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20763 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20764 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20765 wine_fn_config_makefile dlls/mstask enable_mstask
20766 wine_fn_config_makefile dlls/mstask/tests enable_tests
20767 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20768 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20769 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20770 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20771 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20772 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20773 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20774 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20775 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20776 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20777 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20778 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20779 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20781 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20783 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20784 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20785 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20786 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20787 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20788 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20790 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20791 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20792 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20794 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20795 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20796 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20797 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20798 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20800 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20802 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20803 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20804 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20805 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20806 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20807 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20808 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20809 wine_fn_config_makefile dlls/mswsock enable_mswsock
20810 wine_fn_config_makefile dlls/msxml enable_msxml
20811 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20812 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20813 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20814 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20815 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20816 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20817 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20818 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20819 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20820 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20821 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20822 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20823 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20824 wine_fn_config_makefile dlls/netprofm enable_netprofm
20825 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20826 wine_fn_config_makefile dlls/newdev enable_newdev
20827 wine_fn_config_makefile dlls/ninput enable_ninput
20828 wine_fn_config_makefile dlls/ninput/tests enable_tests
20829 wine_fn_config_makefile dlls/normaliz enable_normaliz
20830 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20831 wine_fn_config_makefile dlls/npptools enable_npptools
20832 wine_fn_config_makefile dlls/ntdll enable_ntdll
20833 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20834 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20835 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20836 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20837 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20838 wine_fn_config_makefile dlls/ntprint enable_ntprint
20839 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20840 wine_fn_config_makefile dlls/objsel enable_objsel
20841 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20842 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20843 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20844 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20845 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20846 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20847 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20848 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20849 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20850 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20851 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20852 wine_fn_config_makefile dlls/ole32 enable_ole32
20853 wine_fn_config_makefile dlls/ole32/tests enable_tests
20854 wine_fn_config_makefile dlls/oleacc enable_oleacc
20855 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20856 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20857 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20858 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20859 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20860 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20861 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20862 wine_fn_config_makefile dlls/oledlg enable_oledlg
20863 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20864 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20865 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20866 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20867 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20868 wine_fn_config_makefile dlls/opcservices enable_opcservices
20869 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20870 wine_fn_config_makefile dlls/openal32 enable_openal32
20871 wine_fn_config_makefile dlls/opencl enable_opencl
20872 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20873 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20874 wine_fn_config_makefile dlls/packager enable_packager
20875 wine_fn_config_makefile dlls/packager/tests enable_tests
20876 wine_fn_config_makefile dlls/pdh enable_pdh
20877 wine_fn_config_makefile dlls/pdh/tests enable_tests
20878 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20879 wine_fn_config_makefile dlls/pidgen enable_pidgen
20880 wine_fn_config_makefile dlls/powrprof enable_powrprof
20881 wine_fn_config_makefile dlls/printui enable_printui
20882 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20883 wine_fn_config_makefile dlls/propsys enable_propsys
20884 wine_fn_config_makefile dlls/propsys/tests enable_tests
20885 wine_fn_config_makefile dlls/psapi enable_psapi
20886 wine_fn_config_makefile dlls/psapi/tests enable_tests
20887 wine_fn_config_makefile dlls/pstorec enable_pstorec
20888 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20889 wine_fn_config_makefile dlls/qasf enable_qasf
20890 wine_fn_config_makefile dlls/qasf/tests enable_tests
20891 wine_fn_config_makefile dlls/qcap enable_qcap
20892 wine_fn_config_makefile dlls/qcap/tests enable_tests
20893 wine_fn_config_makefile dlls/qedit enable_qedit
20894 wine_fn_config_makefile dlls/qedit/tests enable_tests
20895 wine_fn_config_makefile dlls/qmgr enable_qmgr
20896 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20897 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20898 wine_fn_config_makefile dlls/quartz enable_quartz
20899 wine_fn_config_makefile dlls/quartz/tests enable_tests
20900 wine_fn_config_makefile dlls/query enable_query
20901 wine_fn_config_makefile dlls/qwave enable_qwave
20902 wine_fn_config_makefile dlls/qwave/tests enable_tests
20903 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20904 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20905 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20906 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20907 wine_fn_config_makefile dlls/regapi enable_regapi
20908 wine_fn_config_makefile dlls/resutils enable_resutils
20909 wine_fn_config_makefile dlls/riched20 enable_riched20
20910 wine_fn_config_makefile dlls/riched20/tests enable_tests
20911 wine_fn_config_makefile dlls/riched32 enable_riched32
20912 wine_fn_config_makefile dlls/riched32/tests enable_tests
20913 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20914 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20915 wine_fn_config_makefile dlls/rsabase enable_rsabase
20916 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20917 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20918 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20919 wine_fn_config_makefile dlls/rtutils enable_rtutils
20920 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20921 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20922 wine_fn_config_makefile dlls/samlib enable_samlib
20923 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20924 wine_fn_config_makefile dlls/sapi enable_sapi
20925 wine_fn_config_makefile dlls/sapi/tests enable_tests
20926 wine_fn_config_makefile dlls/sas enable_sas
20927 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20928 wine_fn_config_makefile dlls/sccbase enable_sccbase
20929 wine_fn_config_makefile dlls/schannel enable_schannel
20930 wine_fn_config_makefile dlls/schannel/tests enable_tests
20931 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20932 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20933 wine_fn_config_makefile dlls/scrobj enable_scrobj
20934 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20935 wine_fn_config_makefile dlls/scrrun enable_scrrun
20936 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20937 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20938 wine_fn_config_makefile dlls/secur32 enable_secur32
20939 wine_fn_config_makefile dlls/secur32/tests enable_tests
20940 wine_fn_config_makefile dlls/security enable_security
20941 wine_fn_config_makefile dlls/sensapi enable_sensapi
20942 wine_fn_config_makefile dlls/serialui enable_serialui
20943 wine_fn_config_makefile dlls/serialui/tests enable_tests
20944 wine_fn_config_makefile dlls/setupapi enable_setupapi
20945 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20946 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20947 wine_fn_config_makefile dlls/sfc enable_sfc
20948 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20949 wine_fn_config_makefile dlls/shcore enable_shcore
20950 wine_fn_config_makefile dlls/shcore/tests enable_tests
20951 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20952 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20953 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20954 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20955 wine_fn_config_makefile dlls/shell32 enable_shell32
20956 wine_fn_config_makefile dlls/shell32/tests enable_tests
20957 wine_fn_config_makefile dlls/shfolder enable_shfolder
20958 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20959 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20960 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20961 wine_fn_config_makefile dlls/slc enable_slc
20962 wine_fn_config_makefile dlls/slc/tests enable_tests
20963 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20964 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20965 wine_fn_config_makefile dlls/softpub enable_softpub
20966 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20967 wine_fn_config_makefile dlls/spoolss enable_spoolss
20968 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20969 wine_fn_config_makefile dlls/srclient enable_srclient
20970 wine_fn_config_makefile dlls/sspicli enable_sspicli
20971 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20972 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20973 wine_fn_config_makefile dlls/sti enable_sti
20974 wine_fn_config_makefile dlls/sti/tests enable_tests
20975 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20976 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20977 wine_fn_config_makefile dlls/strmbase enable_strmbase
20978 wine_fn_config_makefile dlls/strmdll enable_strmdll
20979 wine_fn_config_makefile dlls/strmiids enable_strmiids
20980 wine_fn_config_makefile dlls/svrapi enable_svrapi
20981 wine_fn_config_makefile dlls/sxs enable_sxs
20982 wine_fn_config_makefile dlls/sxs/tests enable_tests
20983 wine_fn_config_makefile dlls/system.drv16 enable_win16
20984 wine_fn_config_makefile dlls/t2embed enable_t2embed
20985 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20986 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20987 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20988 wine_fn_config_makefile dlls/taskschd enable_taskschd
20989 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20990 wine_fn_config_makefile dlls/tdh enable_tdh
20991 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20992 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20993 wine_fn_config_makefile dlls/traffic enable_traffic
20994 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20995 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20996 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20997 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20998 wine_fn_config_makefile dlls/tzres enable_tzres
20999 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21000 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21001 wine_fn_config_makefile dlls/uianimation enable_uianimation
21002 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21003 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21004 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21005 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21006 wine_fn_config_makefile dlls/unicows enable_unicows
21007 wine_fn_config_makefile dlls/updspapi enable_updspapi
21008 wine_fn_config_makefile dlls/url enable_url
21009 wine_fn_config_makefile dlls/urlmon enable_urlmon
21010 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21011 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21012 wine_fn_config_makefile dlls/user.exe16 enable_win16
21013 wine_fn_config_makefile dlls/user32 enable_user32
21014 wine_fn_config_makefile dlls/user32/tests enable_tests
21015 wine_fn_config_makefile dlls/userenv enable_userenv
21016 wine_fn_config_makefile dlls/userenv/tests enable_tests
21017 wine_fn_config_makefile dlls/usp10 enable_usp10
21018 wine_fn_config_makefile dlls/usp10/tests enable_tests
21019 wine_fn_config_makefile dlls/utildll enable_utildll
21020 wine_fn_config_makefile dlls/uuid enable_uuid
21021 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21022 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21023 wine_fn_config_makefile dlls/vbscript enable_vbscript
21024 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21025 wine_fn_config_makefile dlls/vcomp enable_vcomp
21026 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21027 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21028 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21029 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21030 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21031 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21032 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21033 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21034 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21035 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21036 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21037 wine_fn_config_makefile dlls/version enable_version
21038 wine_fn_config_makefile dlls/version/tests enable_tests
21039 wine_fn_config_makefile dlls/vga enable_vga
21040 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21041 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21042 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21043 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21044 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21045 wine_fn_config_makefile dlls/vssapi enable_vssapi
21046 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21047 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21048 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21049 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21050 wine_fn_config_makefile dlls/w32skrnl enable_win16
21051 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21052 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21053 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21054 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21055 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21056 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21057 wine_fn_config_makefile dlls/wdscore enable_wdscore
21058 wine_fn_config_makefile dlls/webservices enable_webservices
21059 wine_fn_config_makefile dlls/webservices/tests enable_tests
21060 wine_fn_config_makefile dlls/wer enable_wer
21061 wine_fn_config_makefile dlls/wer/tests enable_tests
21062 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21063 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21064 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21065 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21066 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21067 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21068 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21069 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21070 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21071 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21072 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21073 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21074 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21075 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21076 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21077 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21078 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21079 wine_fn_config_makefile dlls/wined3d enable_wined3d
21080 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21081 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21082 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21083 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21084 wine_fn_config_makefile dlls/winemapi enable_winemapi
21085 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21086 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21087 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21088 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21089 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21090 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21091 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21092 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21093 wine_fn_config_makefile dlls/wing32 enable_wing32
21094 wine_fn_config_makefile dlls/winhttp enable_winhttp
21095 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21096 wine_fn_config_makefile dlls/wininet enable_wininet
21097 wine_fn_config_makefile dlls/wininet/tests enable_tests
21098 wine_fn_config_makefile dlls/winmm enable_winmm
21099 wine_fn_config_makefile dlls/winmm/tests enable_tests
21100 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21101 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21102 wine_fn_config_makefile dlls/winscard enable_winscard
21103 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21104 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21105 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21106 wine_fn_config_makefile dlls/winsta enable_winsta
21107 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21108 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21109 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21110 wine_fn_config_makefile dlls/wintrust enable_wintrust
21111 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21112 wine_fn_config_makefile dlls/winusb enable_winusb
21113 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21114 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21115 wine_fn_config_makefile dlls/wlanui enable_wlanui
21116 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21117 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21118 wine_fn_config_makefile dlls/wmasf enable_wmasf
21119 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21120 wine_fn_config_makefile dlls/wmi enable_wmi
21121 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21122 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21123 wine_fn_config_makefile dlls/wmp enable_wmp
21124 wine_fn_config_makefile dlls/wmp/tests enable_tests
21125 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21126 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21127 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21128 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21129 wine_fn_config_makefile dlls/wow32 enable_win16
21130 wine_fn_config_makefile dlls/wpc enable_wpc
21131 wine_fn_config_makefile dlls/wpc/tests enable_tests
21132 wine_fn_config_makefile dlls/wpcap enable_wpcap
21133 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21134 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21135 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21136 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21137 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21138 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21139 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21140 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21141 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21142 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21143 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21144 wine_fn_config_makefile dlls/wuapi enable_wuapi
21145 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21146 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21147 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21148 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21149 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21150 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21151 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21152 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21153 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21154 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21155 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21156 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21157 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21158 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21159 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21160 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21161 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21162 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21163 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21164 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21165 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21166 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21167 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21168 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21169 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21170 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21171 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21172 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21173 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21174 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21175 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21176 wine_fn_config_makefile dlls/xmllite enable_xmllite
21177 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21178 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21179 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21180 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21181 wine_fn_config_makefile fonts enable_fonts
21182 wine_fn_config_makefile include enable_include
21183 wine_fn_config_makefile libs/port enable_port
21184 wine_fn_config_makefile libs/wine enable_wine
21185 wine_fn_config_makefile libs/wpp enable_wpp
21186 wine_fn_config_makefile loader enable_loader
21187 wine_fn_config_makefile nls enable_nls
21188 wine_fn_config_makefile po enable_po
21189 wine_fn_config_makefile programs/arp enable_arp
21190 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21191 wine_fn_config_makefile programs/attrib enable_attrib
21192 wine_fn_config_makefile programs/cabarc enable_cabarc
21193 wine_fn_config_makefile programs/cacls enable_cacls
21194 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21195 wine_fn_config_makefile programs/clock enable_clock
21196 wine_fn_config_makefile programs/cmd enable_cmd
21197 wine_fn_config_makefile programs/cmd/tests enable_tests
21198 wine_fn_config_makefile programs/conhost enable_conhost
21199 wine_fn_config_makefile programs/control enable_control
21200 wine_fn_config_makefile programs/cscript enable_cscript
21201 wine_fn_config_makefile programs/dism enable_dism
21202 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21203 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21204 wine_fn_config_makefile programs/eject enable_eject
21205 wine_fn_config_makefile programs/expand enable_expand
21206 wine_fn_config_makefile programs/explorer enable_explorer
21207 wine_fn_config_makefile programs/extrac32 enable_extrac32
21208 wine_fn_config_makefile programs/fc enable_fc
21209 wine_fn_config_makefile programs/find enable_find
21210 wine_fn_config_makefile programs/find/tests enable_tests
21211 wine_fn_config_makefile programs/findstr enable_findstr
21212 wine_fn_config_makefile programs/fsutil enable_fsutil
21213 wine_fn_config_makefile programs/hh enable_hh
21214 wine_fn_config_makefile programs/hostname enable_hostname
21215 wine_fn_config_makefile programs/icacls enable_icacls
21216 wine_fn_config_makefile programs/icinfo enable_icinfo
21217 wine_fn_config_makefile programs/iexplore enable_iexplore
21218 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21219 wine_fn_config_makefile programs/lodctr enable_lodctr
21220 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21221 wine_fn_config_makefile programs/mshta enable_mshta
21222 wine_fn_config_makefile programs/msidb enable_msidb
21223 wine_fn_config_makefile programs/msiexec enable_msiexec
21224 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21225 wine_fn_config_makefile programs/net enable_net
21226 wine_fn_config_makefile programs/netsh enable_netsh
21227 wine_fn_config_makefile programs/netstat enable_netstat
21228 wine_fn_config_makefile programs/ngen enable_ngen
21229 wine_fn_config_makefile programs/notepad enable_notepad
21230 wine_fn_config_makefile programs/oleview enable_oleview
21231 wine_fn_config_makefile programs/ping enable_ping
21232 wine_fn_config_makefile programs/plugplay enable_plugplay
21233 wine_fn_config_makefile programs/powershell enable_powershell
21234 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21235 wine_fn_config_makefile programs/progman enable_progman
21236 wine_fn_config_makefile programs/reg enable_reg
21237 wine_fn_config_makefile programs/reg/tests enable_tests
21238 wine_fn_config_makefile programs/regasm enable_regasm
21239 wine_fn_config_makefile programs/regedit enable_regedit
21240 wine_fn_config_makefile programs/regedit/tests enable_tests
21241 wine_fn_config_makefile programs/regini enable_regini
21242 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21243 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21244 wine_fn_config_makefile programs/rpcss enable_rpcss
21245 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21246 wine_fn_config_makefile programs/rundll32 enable_rundll32
21247 wine_fn_config_makefile programs/sc enable_sc
21248 wine_fn_config_makefile programs/schtasks enable_schtasks
21249 wine_fn_config_makefile programs/schtasks/tests enable_tests
21250 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21251 wine_fn_config_makefile programs/secedit enable_secedit
21252 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21253 wine_fn_config_makefile programs/services enable_services
21254 wine_fn_config_makefile programs/services/tests enable_tests
21255 wine_fn_config_makefile programs/shutdown enable_shutdown
21256 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21257 wine_fn_config_makefile programs/start enable_start
21258 wine_fn_config_makefile programs/subst enable_subst
21259 wine_fn_config_makefile programs/svchost enable_svchost
21260 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21261 wine_fn_config_makefile programs/taskkill enable_taskkill
21262 wine_fn_config_makefile programs/tasklist enable_tasklist
21263 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21264 wine_fn_config_makefile programs/termsv enable_termsv
21265 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21266 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21267 wine_fn_config_makefile programs/view enable_view
21268 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21269 wine_fn_config_makefile programs/wineboot enable_wineboot
21270 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21271 wine_fn_config_makefile programs/winecfg enable_winecfg
21272 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21273 wine_fn_config_makefile programs/winedbg enable_winedbg
21274 wine_fn_config_makefile programs/winedevice enable_winedevice
21275 wine_fn_config_makefile programs/winefile enable_winefile
21276 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21277 wine_fn_config_makefile programs/winemine enable_winemine
21278 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21279 wine_fn_config_makefile programs/winepath enable_winepath
21280 wine_fn_config_makefile programs/winetest enable_winetest
21281 wine_fn_config_makefile programs/winevdm enable_win16
21282 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21283 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21284 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21285 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21286 wine_fn_config_makefile programs/winver enable_winver
21287 wine_fn_config_makefile programs/wmic enable_wmic
21288 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21289 wine_fn_config_makefile programs/wordpad enable_wordpad
21290 wine_fn_config_makefile programs/write enable_write
21291 wine_fn_config_makefile programs/wscript enable_wscript
21292 wine_fn_config_makefile programs/wscript/tests enable_tests
21293 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21294 wine_fn_config_makefile programs/wusa enable_wusa
21295 wine_fn_config_makefile programs/xcopy enable_xcopy
21296 wine_fn_config_makefile programs/xcopy/tests enable_tests
21297 wine_fn_config_makefile server enable_server
21298 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21299 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21300 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21301 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21302 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21303 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21304 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21305 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21306 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21309 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21310 wine_fn_append_file CONFIGURE_TARGETS "tags"
21311 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21312 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21313 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21314 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21315 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21316 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21318 if test "x$enable_tools" != xno
21319 then
21320 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21321 ac_config_commands="$ac_config_commands tools/makedep"
21325 ac_config_commands="$ac_config_commands Makefile"
21328 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21332 if test "x$enable_maintainer_mode" = xyes
21333 then
21334 wine_fn_append_rule "configure: configure.ac aclocal.m4
21335 autoconf --warnings=all
21336 include/config.h.in: include/stamp-h.in
21337 include/stamp-h.in: configure.ac aclocal.m4
21338 autoheader --warnings=all
21339 @echo timestamp > \$@"
21342 if test "x$enable_tools" != xno
21343 then
21344 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21345 @./config.status tools/makedep
21346 Makefile: tools/makedep$ac_exeext
21347 fonts: tools/sfnt2fon
21348 include: tools tools/widl"
21349 else
21350 wine_fn_append_rule "\$(MAKEDEP):
21351 @echo \"You need to run make in $TOOLSDIR first\" && false"
21354 if test -n "$with_wine64"
21355 then
21356 case "$with_wine64" in
21357 /*) reldir="" ;;
21358 *) reldir="../" ;;
21359 esac
21360 rm -f fonts server 2>/dev/null
21361 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21362 loader/wine64 loader/wine64-preloader:
21363 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21364 $with_wine64/loader/wine:
21365 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21366 $with_wine64/loader/wine-preloader:
21367 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21368 clean::
21369 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21370 else
21371 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21372 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21373 fonts \
21374 loader/wine.inf \
21375 loader/winebus.inf \
21376 loader/winehid.inf \
21377 nls \
21378 programs/msidb/msidb \
21379 programs/msiexec/msiexec \
21380 programs/notepad/notepad \
21381 programs/regedit/regedit \
21382 programs/regsvr32/regsvr32 \
21383 programs/wineboot/wineboot \
21384 programs/winecfg/winecfg \
21385 programs/wineconsole/wineconsole \
21386 programs/winedbg/winedbg \
21387 programs/winefile/winefile \
21388 programs/winemine/winemine \
21389 programs/winepath/winepath \
21390 server/wineserver"
21392 case $host_os in
21393 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21394 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21395 esac
21398 $as_echo " done" >&6
21399 cat >confcache <<\_ACEOF
21400 # This file is a shell script that caches the results of configure
21401 # tests run on this system so they can be shared between configure
21402 # scripts and configure runs, see configure's option --config-cache.
21403 # It is not useful on other systems. If it contains results you don't
21404 # want to keep, you may remove or edit it.
21406 # config.status only pays attention to the cache file if you give it
21407 # the --recheck option to rerun configure.
21409 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21410 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21411 # following values.
21413 _ACEOF
21415 # The following way of writing the cache mishandles newlines in values,
21416 # but we know of no workaround that is simple, portable, and efficient.
21417 # So, we kill variables containing newlines.
21418 # Ultrix sh set writes to stderr and can't be redirected directly,
21419 # and sets the high bit in the cache file unless we assign to the vars.
21421 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21422 eval ac_val=\$$ac_var
21423 case $ac_val in #(
21424 *${as_nl}*)
21425 case $ac_var in #(
21426 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21427 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21428 esac
21429 case $ac_var in #(
21430 _ | IFS | as_nl) ;; #(
21431 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21432 *) { eval $ac_var=; unset $ac_var;} ;;
21433 esac ;;
21434 esac
21435 done
21437 (set) 2>&1 |
21438 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21439 *${as_nl}ac_space=\ *)
21440 # `set' does not quote correctly, so add quotes: double-quote
21441 # substitution turns \\\\ into \\, and sed turns \\ into \.
21442 sed -n \
21443 "s/'/'\\\\''/g;
21444 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21445 ;; #(
21447 # `set' quotes correctly as required by POSIX, so do not add quotes.
21448 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21450 esac |
21451 sort
21453 sed '
21454 /^ac_cv_env_/b end
21455 t clear
21456 :clear
21457 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21458 t end
21459 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21460 :end' >>confcache
21461 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21462 if test -w "$cache_file"; then
21463 if test "x$cache_file" != "x/dev/null"; then
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21465 $as_echo "$as_me: updating cache $cache_file" >&6;}
21466 if test ! -f "$cache_file" || test -h "$cache_file"; then
21467 cat confcache >"$cache_file"
21468 else
21469 case $cache_file in #(
21470 */* | ?:*)
21471 mv -f confcache "$cache_file"$$ &&
21472 mv -f "$cache_file"$$ "$cache_file" ;; #(
21474 mv -f confcache "$cache_file" ;;
21475 esac
21478 else
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21480 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21483 rm -f confcache
21485 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21486 # Let make expand exec_prefix.
21487 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21489 DEFS=-DHAVE_CONFIG_H
21491 ac_libobjs=
21492 ac_ltlibobjs=
21494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21495 # 1. Remove the extension, and $U if already installed.
21496 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21497 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21498 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21499 # will be set to the directory where LIBOBJS objects are built.
21500 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21501 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21502 done
21503 LIBOBJS=$ac_libobjs
21505 LTLIBOBJS=$ac_ltlibobjs
21509 : "${CONFIG_STATUS=./config.status}"
21510 ac_write_fail=0
21511 ac_clean_files_save=$ac_clean_files
21512 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21514 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21515 as_write_fail=0
21516 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21517 #! $SHELL
21518 # Generated by $as_me.
21519 # Run this file to recreate the current configuration.
21520 # Compiler output produced by configure, useful for debugging
21521 # configure, is in config.log if it exists.
21523 debug=false
21524 ac_cs_recheck=false
21525 ac_cs_silent=false
21527 SHELL=\${CONFIG_SHELL-$SHELL}
21528 export SHELL
21529 _ASEOF
21530 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21531 ## -------------------- ##
21532 ## M4sh Initialization. ##
21533 ## -------------------- ##
21535 # Be more Bourne compatible
21536 DUALCASE=1; export DUALCASE # for MKS sh
21537 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21538 emulate sh
21539 NULLCMD=:
21540 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21541 # is contrary to our usage. Disable this feature.
21542 alias -g '${1+"$@"}'='"$@"'
21543 setopt NO_GLOB_SUBST
21544 else
21545 case `(set -o) 2>/dev/null` in #(
21546 *posix*) :
21547 set -o posix ;; #(
21548 *) :
21550 esac
21554 as_nl='
21556 export as_nl
21557 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21558 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21561 # Prefer a ksh shell builtin over an external printf program on Solaris,
21562 # but without wasting forks for bash or zsh.
21563 if test -z "$BASH_VERSION$ZSH_VERSION" \
21564 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21565 as_echo='print -r --'
21566 as_echo_n='print -rn --'
21567 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21568 as_echo='printf %s\n'
21569 as_echo_n='printf %s'
21570 else
21571 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21572 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21573 as_echo_n='/usr/ucb/echo -n'
21574 else
21575 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21576 as_echo_n_body='eval
21577 arg=$1;
21578 case $arg in #(
21579 *"$as_nl"*)
21580 expr "X$arg" : "X\\(.*\\)$as_nl";
21581 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21582 esac;
21583 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21585 export as_echo_n_body
21586 as_echo_n='sh -c $as_echo_n_body as_echo'
21588 export as_echo_body
21589 as_echo='sh -c $as_echo_body as_echo'
21592 # The user is always right.
21593 if test "${PATH_SEPARATOR+set}" != set; then
21594 PATH_SEPARATOR=:
21595 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21596 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21597 PATH_SEPARATOR=';'
21602 # IFS
21603 # We need space, tab and new line, in precisely that order. Quoting is
21604 # there to prevent editors from complaining about space-tab.
21605 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21606 # splitting by setting IFS to empty value.)
21607 IFS=" "" $as_nl"
21609 # Find who we are. Look in the path if we contain no directory separator.
21610 as_myself=
21611 case $0 in #((
21612 *[\\/]* ) as_myself=$0 ;;
21613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21614 for as_dir in $PATH
21616 IFS=$as_save_IFS
21617 test -z "$as_dir" && as_dir=.
21618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21619 done
21620 IFS=$as_save_IFS
21623 esac
21624 # We did not find ourselves, most probably we were run as `sh COMMAND'
21625 # in which case we are not to be found in the path.
21626 if test "x$as_myself" = x; then
21627 as_myself=$0
21629 if test ! -f "$as_myself"; then
21630 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21631 exit 1
21634 # Unset variables that we do not need and which cause bugs (e.g. in
21635 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21636 # suppresses any "Segmentation fault" message there. '((' could
21637 # trigger a bug in pdksh 5.2.14.
21638 for as_var in BASH_ENV ENV MAIL MAILPATH
21639 do eval test x\${$as_var+set} = xset \
21640 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21641 done
21642 PS1='$ '
21643 PS2='> '
21644 PS4='+ '
21646 # NLS nuisances.
21647 LC_ALL=C
21648 export LC_ALL
21649 LANGUAGE=C
21650 export LANGUAGE
21652 # CDPATH.
21653 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21656 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21657 # ----------------------------------------
21658 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21659 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21660 # script with STATUS, using 1 if that was 0.
21661 as_fn_error ()
21663 as_status=$1; test $as_status -eq 0 && as_status=1
21664 if test "$4"; then
21665 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21666 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21668 $as_echo "$as_me: error: $2" >&2
21669 as_fn_exit $as_status
21670 } # as_fn_error
21673 # as_fn_set_status STATUS
21674 # -----------------------
21675 # Set $? to STATUS, without forking.
21676 as_fn_set_status ()
21678 return $1
21679 } # as_fn_set_status
21681 # as_fn_exit STATUS
21682 # -----------------
21683 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21684 as_fn_exit ()
21686 set +e
21687 as_fn_set_status $1
21688 exit $1
21689 } # as_fn_exit
21691 # as_fn_unset VAR
21692 # ---------------
21693 # Portably unset VAR.
21694 as_fn_unset ()
21696 { eval $1=; unset $1;}
21698 as_unset=as_fn_unset
21699 # as_fn_append VAR VALUE
21700 # ----------------------
21701 # Append the text in VALUE to the end of the definition contained in VAR. Take
21702 # advantage of any shell optimizations that allow amortized linear growth over
21703 # repeated appends, instead of the typical quadratic growth present in naive
21704 # implementations.
21705 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21706 eval 'as_fn_append ()
21708 eval $1+=\$2
21710 else
21711 as_fn_append ()
21713 eval $1=\$$1\$2
21715 fi # as_fn_append
21717 # as_fn_arith ARG...
21718 # ------------------
21719 # Perform arithmetic evaluation on the ARGs, and store the result in the
21720 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21721 # must be portable across $(()) and expr.
21722 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21723 eval 'as_fn_arith ()
21725 as_val=$(( $* ))
21727 else
21728 as_fn_arith ()
21730 as_val=`expr "$@" || test $? -eq 1`
21732 fi # as_fn_arith
21735 if expr a : '\(a\)' >/dev/null 2>&1 &&
21736 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21737 as_expr=expr
21738 else
21739 as_expr=false
21742 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21743 as_basename=basename
21744 else
21745 as_basename=false
21748 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21749 as_dirname=dirname
21750 else
21751 as_dirname=false
21754 as_me=`$as_basename -- "$0" ||
21755 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21756 X"$0" : 'X\(//\)$' \| \
21757 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21758 $as_echo X/"$0" |
21759 sed '/^.*\/\([^/][^/]*\)\/*$/{
21760 s//\1/
21763 /^X\/\(\/\/\)$/{
21764 s//\1/
21767 /^X\/\(\/\).*/{
21768 s//\1/
21771 s/.*/./; q'`
21773 # Avoid depending upon Character Ranges.
21774 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21775 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21776 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21777 as_cr_digits='0123456789'
21778 as_cr_alnum=$as_cr_Letters$as_cr_digits
21780 ECHO_C= ECHO_N= ECHO_T=
21781 case `echo -n x` in #(((((
21782 -n*)
21783 case `echo 'xy\c'` in
21784 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21785 xy) ECHO_C='\c';;
21786 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21787 ECHO_T=' ';;
21788 esac;;
21790 ECHO_N='-n';;
21791 esac
21793 rm -f conf$$ conf$$.exe conf$$.file
21794 if test -d conf$$.dir; then
21795 rm -f conf$$.dir/conf$$.file
21796 else
21797 rm -f conf$$.dir
21798 mkdir conf$$.dir 2>/dev/null
21800 if (echo >conf$$.file) 2>/dev/null; then
21801 if ln -s conf$$.file conf$$ 2>/dev/null; then
21802 as_ln_s='ln -s'
21803 # ... but there are two gotchas:
21804 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21805 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21806 # In both cases, we have to default to `cp -pR'.
21807 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21808 as_ln_s='cp -pR'
21809 elif ln conf$$.file conf$$ 2>/dev/null; then
21810 as_ln_s=ln
21811 else
21812 as_ln_s='cp -pR'
21814 else
21815 as_ln_s='cp -pR'
21817 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21818 rmdir conf$$.dir 2>/dev/null
21821 # as_fn_mkdir_p
21822 # -------------
21823 # Create "$as_dir" as a directory, including parents if necessary.
21824 as_fn_mkdir_p ()
21827 case $as_dir in #(
21828 -*) as_dir=./$as_dir;;
21829 esac
21830 test -d "$as_dir" || eval $as_mkdir_p || {
21831 as_dirs=
21832 while :; do
21833 case $as_dir in #(
21834 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21835 *) as_qdir=$as_dir;;
21836 esac
21837 as_dirs="'$as_qdir' $as_dirs"
21838 as_dir=`$as_dirname -- "$as_dir" ||
21839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21840 X"$as_dir" : 'X\(//\)[^/]' \| \
21841 X"$as_dir" : 'X\(//\)$' \| \
21842 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21843 $as_echo X"$as_dir" |
21844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21845 s//\1/
21848 /^X\(\/\/\)[^/].*/{
21849 s//\1/
21852 /^X\(\/\/\)$/{
21853 s//\1/
21856 /^X\(\/\).*/{
21857 s//\1/
21860 s/.*/./; q'`
21861 test -d "$as_dir" && break
21862 done
21863 test -z "$as_dirs" || eval "mkdir $as_dirs"
21864 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21867 } # as_fn_mkdir_p
21868 if mkdir -p . 2>/dev/null; then
21869 as_mkdir_p='mkdir -p "$as_dir"'
21870 else
21871 test -d ./-p && rmdir ./-p
21872 as_mkdir_p=false
21876 # as_fn_executable_p FILE
21877 # -----------------------
21878 # Test if FILE is an executable regular file.
21879 as_fn_executable_p ()
21881 test -f "$1" && test -x "$1"
21882 } # as_fn_executable_p
21883 as_test_x='test -x'
21884 as_executable_p=as_fn_executable_p
21886 # Sed expression to map a string onto a valid CPP name.
21887 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21889 # Sed expression to map a string onto a valid variable name.
21890 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21893 exec 6>&1
21894 ## ----------------------------------- ##
21895 ## Main body of $CONFIG_STATUS script. ##
21896 ## ----------------------------------- ##
21897 _ASEOF
21898 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21901 # Save the log message, to keep $0 and so on meaningful, and to
21902 # report actual input values of CONFIG_FILES etc. instead of their
21903 # values after options handling.
21904 ac_log="
21905 This file was extended by Wine $as_me 5.3, which was
21906 generated by GNU Autoconf 2.69. Invocation command line was
21908 CONFIG_FILES = $CONFIG_FILES
21909 CONFIG_HEADERS = $CONFIG_HEADERS
21910 CONFIG_LINKS = $CONFIG_LINKS
21911 CONFIG_COMMANDS = $CONFIG_COMMANDS
21912 $ $0 $@
21914 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21917 _ACEOF
21919 case $ac_config_files in *"
21920 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21921 esac
21923 case $ac_config_headers in *"
21924 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21925 esac
21928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21929 # Files that config.status was made for.
21930 config_files="$ac_config_files"
21931 config_headers="$ac_config_headers"
21932 config_links="$ac_config_links"
21933 config_commands="$ac_config_commands"
21935 _ACEOF
21937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21938 ac_cs_usage="\
21939 \`$as_me' instantiates files and other configuration actions
21940 from templates according to the current configuration. Unless the files
21941 and actions are specified as TAGs, all are instantiated by default.
21943 Usage: $0 [OPTION]... [TAG]...
21945 -h, --help print this help, then exit
21946 -V, --version print version number and configuration settings, then exit
21947 --config print configuration, then exit
21948 -q, --quiet, --silent
21949 do not print progress messages
21950 -d, --debug don't remove temporary files
21951 --recheck update $as_me by reconfiguring in the same conditions
21952 --file=FILE[:TEMPLATE]
21953 instantiate the configuration file FILE
21954 --header=FILE[:TEMPLATE]
21955 instantiate the configuration header FILE
21957 Configuration files:
21958 $config_files
21960 Configuration headers:
21961 $config_headers
21963 Configuration links:
21964 $config_links
21966 Configuration commands:
21967 $config_commands
21969 Report bugs to <wine-devel@winehq.org>.
21970 Wine home page: <https://www.winehq.org>."
21972 _ACEOF
21973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21974 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21975 ac_cs_version="\\
21976 Wine config.status 5.3
21977 configured by $0, generated by GNU Autoconf 2.69,
21978 with options \\"\$ac_cs_config\\"
21980 Copyright (C) 2012 Free Software Foundation, Inc.
21981 This config.status script is free software; the Free Software Foundation
21982 gives unlimited permission to copy, distribute and modify it."
21984 ac_pwd='$ac_pwd'
21985 srcdir='$srcdir'
21986 test -n "\$AWK" || AWK=awk
21987 _ACEOF
21989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21990 # The default lists apply if the user does not specify any file.
21991 ac_need_defaults=:
21992 while test $# != 0
21994 case $1 in
21995 --*=?*)
21996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21997 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21998 ac_shift=:
22000 --*=)
22001 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22002 ac_optarg=
22003 ac_shift=:
22006 ac_option=$1
22007 ac_optarg=$2
22008 ac_shift=shift
22010 esac
22012 case $ac_option in
22013 # Handling of the options.
22014 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22015 ac_cs_recheck=: ;;
22016 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22017 $as_echo "$ac_cs_version"; exit ;;
22018 --config | --confi | --conf | --con | --co | --c )
22019 $as_echo "$ac_cs_config"; exit ;;
22020 --debug | --debu | --deb | --de | --d | -d )
22021 debug=: ;;
22022 --file | --fil | --fi | --f )
22023 $ac_shift
22024 case $ac_optarg in
22025 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22026 '') as_fn_error $? "missing file argument" ;;
22027 esac
22028 as_fn_append CONFIG_FILES " '$ac_optarg'"
22029 ac_need_defaults=false;;
22030 --header | --heade | --head | --hea )
22031 $ac_shift
22032 case $ac_optarg in
22033 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22034 esac
22035 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22036 ac_need_defaults=false;;
22037 --he | --h)
22038 # Conflict between --help and --header
22039 as_fn_error $? "ambiguous option: \`$1'
22040 Try \`$0 --help' for more information.";;
22041 --help | --hel | -h )
22042 $as_echo "$ac_cs_usage"; exit ;;
22043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22044 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22045 ac_cs_silent=: ;;
22047 # This is an error.
22048 -*) as_fn_error $? "unrecognized option: \`$1'
22049 Try \`$0 --help' for more information." ;;
22051 *) as_fn_append ac_config_targets " $1"
22052 ac_need_defaults=false ;;
22054 esac
22055 shift
22056 done
22058 ac_configure_extra_args=
22060 if $ac_cs_silent; then
22061 exec 6>/dev/null
22062 ac_configure_extra_args="$ac_configure_extra_args --silent"
22065 _ACEOF
22066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22067 if \$ac_cs_recheck; then
22068 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22069 shift
22070 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22071 CONFIG_SHELL='$SHELL'
22072 export CONFIG_SHELL
22073 exec "\$@"
22076 _ACEOF
22077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22078 exec 5>>config.log
22080 echo
22081 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22082 ## Running $as_me. ##
22083 _ASBOX
22084 $as_echo "$ac_log"
22085 } >&5
22087 _ACEOF
22088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22090 # INIT-COMMANDS
22092 wine_fn_output_makedep ()
22094 as_dir=tools; as_fn_mkdir_p
22095 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22097 wine_fn_output_makefile ()
22099 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22100 `cat $wine_rules_file`
22101 _WINE_EOF
22102 as_fn_error $? "could not create Makefile" "$LINENO" 5
22105 _ACEOF
22107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22109 # Handling of arguments.
22110 for ac_config_target in $ac_config_targets
22112 case $ac_config_target in
22113 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22114 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22115 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22116 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22117 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22118 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22119 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22121 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22122 esac
22123 done
22126 # If the user did not use the arguments to specify the items to instantiate,
22127 # then the envvar interface is used. Set only those that are not.
22128 # We use the long form for the default assignment because of an extremely
22129 # bizarre bug on SunOS 4.1.3.
22130 if $ac_need_defaults; then
22131 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22132 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22133 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22134 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22137 # Have a temporary directory for convenience. Make it in the build tree
22138 # simply because there is no reason against having it here, and in addition,
22139 # creating and moving files from /tmp can sometimes cause problems.
22140 # Hook for its removal unless debugging.
22141 # Note that there is a small window in which the directory will not be cleaned:
22142 # after its creation but before its name has been assigned to `$tmp'.
22143 $debug ||
22145 tmp= ac_tmp=
22146 trap 'exit_status=$?
22147 : "${ac_tmp:=$tmp}"
22148 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22150 trap 'as_fn_exit 1' 1 2 13 15
22152 # Create a (secure) tmp directory for tmp files.
22155 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22156 test -d "$tmp"
22157 } ||
22159 tmp=./conf$$-$RANDOM
22160 (umask 077 && mkdir "$tmp")
22161 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22162 ac_tmp=$tmp
22164 # Set up the scripts for CONFIG_FILES section.
22165 # No need to generate them if there are no CONFIG_FILES.
22166 # This happens for instance with `./config.status config.h'.
22167 if test -n "$CONFIG_FILES"; then
22170 ac_cr=`echo X | tr X '\015'`
22171 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22172 # But we know of no other shell where ac_cr would be empty at this
22173 # point, so we can use a bashism as a fallback.
22174 if test "x$ac_cr" = x; then
22175 eval ac_cr=\$\'\\r\'
22177 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22178 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22179 ac_cs_awk_cr='\\r'
22180 else
22181 ac_cs_awk_cr=$ac_cr
22184 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22185 _ACEOF
22189 echo "cat >conf$$subs.awk <<_ACEOF" &&
22190 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22191 echo "_ACEOF"
22192 } >conf$$subs.sh ||
22193 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22194 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22195 ac_delim='%!_!# '
22196 for ac_last_try in false false false false false :; do
22197 . ./conf$$subs.sh ||
22198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22200 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22201 if test $ac_delim_n = $ac_delim_num; then
22202 break
22203 elif $ac_last_try; then
22204 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22205 else
22206 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22208 done
22209 rm -f conf$$subs.sh
22211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22212 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22213 _ACEOF
22214 sed -n '
22216 s/^/S["/; s/!.*/"]=/
22219 s/^[^!]*!//
22220 :repl
22221 t repl
22222 s/'"$ac_delim"'$//
22223 t delim
22226 s/\(.\{148\}\)..*/\1/
22227 t more1
22228 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22231 b repl
22232 :more1
22233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22236 s/.\{148\}//
22237 t nl
22238 :delim
22240 s/\(.\{148\}\)..*/\1/
22241 t more2
22242 s/["\\]/\\&/g; s/^/"/; s/$/"/
22245 :more2
22246 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22249 s/.\{148\}//
22250 t delim
22251 ' <conf$$subs.awk | sed '
22252 /^[^""]/{
22254 s/\n//
22256 ' >>$CONFIG_STATUS || ac_write_fail=1
22257 rm -f conf$$subs.awk
22258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22259 _ACAWK
22260 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22261 for (key in S) S_is_set[key] = 1
22262 FS = "\a"
22266 line = $ 0
22267 nfields = split(line, field, "@")
22268 substed = 0
22269 len = length(field[1])
22270 for (i = 2; i < nfields; i++) {
22271 key = field[i]
22272 keylen = length(key)
22273 if (S_is_set[key]) {
22274 value = S[key]
22275 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22276 len += length(value) + length(field[++i])
22277 substed = 1
22278 } else
22279 len += 1 + keylen
22282 print line
22285 _ACAWK
22286 _ACEOF
22287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22288 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22289 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22290 else
22292 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22293 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22294 _ACEOF
22296 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22297 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22298 # trailing colons and then remove the whole line if VPATH becomes empty
22299 # (actually we leave an empty line to preserve line numbers).
22300 if test "x$srcdir" = x.; then
22301 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22303 s///
22304 s/^/:/
22305 s/[ ]*$/:/
22306 s/:\$(srcdir):/:/g
22307 s/:\${srcdir}:/:/g
22308 s/:@srcdir@:/:/g
22309 s/^:*//
22310 s/:*$//
22312 s/\(=[ ]*\).*/\1/
22314 s/\n//
22315 s/^[^=]*=[ ]*$//
22319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22320 fi # test -n "$CONFIG_FILES"
22322 # Set up the scripts for CONFIG_HEADERS section.
22323 # No need to generate them if there are no CONFIG_HEADERS.
22324 # This happens for instance with `./config.status Makefile'.
22325 if test -n "$CONFIG_HEADERS"; then
22326 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22327 BEGIN {
22328 _ACEOF
22330 # Transform confdefs.h into an awk script `defines.awk', embedded as
22331 # here-document in config.status, that substitutes the proper values into
22332 # config.h.in to produce config.h.
22334 # Create a delimiter string that does not exist in confdefs.h, to ease
22335 # handling of long lines.
22336 ac_delim='%!_!# '
22337 for ac_last_try in false false :; do
22338 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22339 if test -z "$ac_tt"; then
22340 break
22341 elif $ac_last_try; then
22342 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22343 else
22344 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22346 done
22348 # For the awk script, D is an array of macro values keyed by name,
22349 # likewise P contains macro parameters if any. Preserve backslash
22350 # newline sequences.
22352 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22353 sed -n '
22354 s/.\{148\}/&'"$ac_delim"'/g
22355 t rset
22356 :rset
22357 s/^[ ]*#[ ]*define[ ][ ]*/ /
22358 t def
22360 :def
22361 s/\\$//
22362 t bsnl
22363 s/["\\]/\\&/g
22364 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22365 D["\1"]=" \3"/p
22366 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22368 :bsnl
22369 s/["\\]/\\&/g
22370 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22371 D["\1"]=" \3\\\\\\n"\\/p
22372 t cont
22373 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22374 t cont
22376 :cont
22378 s/.\{148\}/&'"$ac_delim"'/g
22379 t clear
22380 :clear
22381 s/\\$//
22382 t bsnlc
22383 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22385 :bsnlc
22386 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22387 b cont
22388 ' <confdefs.h | sed '
22389 s/'"$ac_delim"'/"\\\
22390 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22393 for (key in D) D_is_set[key] = 1
22394 FS = "\a"
22396 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22397 line = \$ 0
22398 split(line, arg, " ")
22399 if (arg[1] == "#") {
22400 defundef = arg[2]
22401 mac1 = arg[3]
22402 } else {
22403 defundef = substr(arg[1], 2)
22404 mac1 = arg[2]
22406 split(mac1, mac2, "(") #)
22407 macro = mac2[1]
22408 prefix = substr(line, 1, index(line, defundef) - 1)
22409 if (D_is_set[macro]) {
22410 # Preserve the white space surrounding the "#".
22411 print prefix "define", macro P[macro] D[macro]
22412 next
22413 } else {
22414 # Replace #undef with comments. This is necessary, for example,
22415 # in the case of _POSIX_SOURCE, which is predefined and required
22416 # on some systems where configure will not decide to define it.
22417 if (defundef == "undef") {
22418 print "/*", prefix defundef, macro, "*/"
22419 next
22423 { print }
22424 _ACAWK
22425 _ACEOF
22426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22427 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22428 fi # test -n "$CONFIG_HEADERS"
22431 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22432 shift
22433 for ac_tag
22435 case $ac_tag in
22436 :[FHLC]) ac_mode=$ac_tag; continue;;
22437 esac
22438 case $ac_mode$ac_tag in
22439 :[FHL]*:*);;
22440 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22441 :[FH]-) ac_tag=-:-;;
22442 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22443 esac
22444 ac_save_IFS=$IFS
22445 IFS=:
22446 set x $ac_tag
22447 IFS=$ac_save_IFS
22448 shift
22449 ac_file=$1
22450 shift
22452 case $ac_mode in
22453 :L) ac_source=$1;;
22454 :[FH])
22455 ac_file_inputs=
22456 for ac_f
22458 case $ac_f in
22459 -) ac_f="$ac_tmp/stdin";;
22460 *) # Look for the file first in the build tree, then in the source tree
22461 # (if the path is not absolute). The absolute path cannot be DOS-style,
22462 # because $ac_f cannot contain `:'.
22463 test -f "$ac_f" ||
22464 case $ac_f in
22465 [\\/$]*) false;;
22466 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22467 esac ||
22468 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22469 esac
22470 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22471 as_fn_append ac_file_inputs " '$ac_f'"
22472 done
22474 # Let's still pretend it is `configure' which instantiates (i.e., don't
22475 # use $as_me), people would be surprised to read:
22476 # /* config.h. Generated by config.status. */
22477 configure_input='Generated from '`
22478 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22479 `' by configure.'
22480 if test x"$ac_file" != x-; then
22481 configure_input="$ac_file. $configure_input"
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22483 $as_echo "$as_me: creating $ac_file" >&6;}
22485 # Neutralize special characters interpreted by sed in replacement strings.
22486 case $configure_input in #(
22487 *\&* | *\|* | *\\* )
22488 ac_sed_conf_input=`$as_echo "$configure_input" |
22489 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22490 *) ac_sed_conf_input=$configure_input;;
22491 esac
22493 case $ac_tag in
22494 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22496 esac
22498 esac
22500 ac_dir=`$as_dirname -- "$ac_file" ||
22501 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22502 X"$ac_file" : 'X\(//\)[^/]' \| \
22503 X"$ac_file" : 'X\(//\)$' \| \
22504 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22505 $as_echo X"$ac_file" |
22506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22507 s//\1/
22510 /^X\(\/\/\)[^/].*/{
22511 s//\1/
22514 /^X\(\/\/\)$/{
22515 s//\1/
22518 /^X\(\/\).*/{
22519 s//\1/
22522 s/.*/./; q'`
22523 as_dir="$ac_dir"; as_fn_mkdir_p
22524 ac_builddir=.
22526 case "$ac_dir" in
22527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22529 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22530 # A ".." for each directory in $ac_dir_suffix.
22531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22532 case $ac_top_builddir_sub in
22533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22535 esac ;;
22536 esac
22537 ac_abs_top_builddir=$ac_pwd
22538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22539 # for backward compatibility:
22540 ac_top_builddir=$ac_top_build_prefix
22542 case $srcdir in
22543 .) # We are building in place.
22544 ac_srcdir=.
22545 ac_top_srcdir=$ac_top_builddir_sub
22546 ac_abs_top_srcdir=$ac_pwd ;;
22547 [\\/]* | ?:[\\/]* ) # Absolute name.
22548 ac_srcdir=$srcdir$ac_dir_suffix;
22549 ac_top_srcdir=$srcdir
22550 ac_abs_top_srcdir=$srcdir ;;
22551 *) # Relative name.
22552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22553 ac_top_srcdir=$ac_top_build_prefix$srcdir
22554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22555 esac
22556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22559 case $ac_mode in
22562 # CONFIG_FILE
22565 _ACEOF
22567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22568 # If the template does not know about datarootdir, expand it.
22569 # FIXME: This hack should be removed a few years after 2.60.
22570 ac_datarootdir_hack=; ac_datarootdir_seen=
22571 ac_sed_dataroot='
22572 /datarootdir/ {
22576 /@datadir@/p
22577 /@docdir@/p
22578 /@infodir@/p
22579 /@localedir@/p
22580 /@mandir@/p'
22581 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22582 *datarootdir*) ac_datarootdir_seen=yes;;
22583 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22585 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22586 _ACEOF
22587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22588 ac_datarootdir_hack='
22589 s&@datadir@&$datadir&g
22590 s&@docdir@&$docdir&g
22591 s&@infodir@&$infodir&g
22592 s&@localedir@&$localedir&g
22593 s&@mandir@&$mandir&g
22594 s&\\\${datarootdir}&$datarootdir&g' ;;
22595 esac
22596 _ACEOF
22598 # Neutralize VPATH when `$srcdir' = `.'.
22599 # Shell code in configure.ac might set extrasub.
22600 # FIXME: do we really want to maintain this feature?
22601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22602 ac_sed_extra="$ac_vpsub
22603 $extrasub
22604 _ACEOF
22605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22608 s|@configure_input@|$ac_sed_conf_input|;t t
22609 s&@top_builddir@&$ac_top_builddir_sub&;t t
22610 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22611 s&@srcdir@&$ac_srcdir&;t t
22612 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22613 s&@top_srcdir@&$ac_top_srcdir&;t t
22614 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22615 s&@builddir@&$ac_builddir&;t t
22616 s&@abs_builddir@&$ac_abs_builddir&;t t
22617 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22618 $ac_datarootdir_hack
22620 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22621 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22623 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22624 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22625 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22626 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22628 which seems to be undefined. Please make sure it is defined" >&5
22629 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22630 which seems to be undefined. Please make sure it is defined" >&2;}
22632 rm -f "$ac_tmp/stdin"
22633 case $ac_file in
22634 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22635 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22636 esac \
22637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22641 # CONFIG_HEADER
22643 if test x"$ac_file" != x-; then
22645 $as_echo "/* $configure_input */" \
22646 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22647 } >"$ac_tmp/config.h" \
22648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22649 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22651 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22652 else
22653 rm -f "$ac_file"
22654 mv "$ac_tmp/config.h" "$ac_file" \
22655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22657 else
22658 $as_echo "/* $configure_input */" \
22659 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22660 || as_fn_error $? "could not create -" "$LINENO" 5
22665 # CONFIG_LINK
22668 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22670 else
22671 # Prefer the file from the source tree if names are identical.
22672 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22673 ac_source=$srcdir/$ac_source
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22677 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22679 if test ! -r "$ac_source"; then
22680 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22682 rm -f "$ac_file"
22684 # Try a relative symlink, then a hard link, then a copy.
22685 case $ac_source in
22686 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22687 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22688 esac
22689 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22690 ln "$ac_source" "$ac_file" 2>/dev/null ||
22691 cp -p "$ac_source" "$ac_file" ||
22692 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22695 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22696 $as_echo "$as_me: executing $ac_file commands" >&6;}
22698 esac
22701 case $ac_file$ac_mode in
22702 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22703 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22704 "Makefile":C) wine_fn_output_makefile Makefile ;;
22706 esac
22707 done # for ac_tag
22710 as_fn_exit 0
22711 _ACEOF
22712 ac_clean_files=$ac_clean_files_save
22714 test $ac_write_fail = 0 ||
22715 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22718 # configure is writing to config.log, and then calls config.status.
22719 # config.status does its own redirection, appending to config.log.
22720 # Unfortunately, on DOS this fails, as config.log is still kept open
22721 # by configure, so config.status won't be able to write to it; its
22722 # output is simply discarded. So we exec the FD to /dev/null,
22723 # effectively closing config.log, so it can be properly (re)opened and
22724 # appended to by config.status. When coming back to configure, we
22725 # need to make the FD available again.
22726 if test "$no_create" != yes; then
22727 ac_cs_success=:
22728 ac_config_status_args=
22729 test "$silent" = yes &&
22730 ac_config_status_args="$ac_config_status_args --quiet"
22731 exec 5>/dev/null
22732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22733 exec 5>>config.log
22734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22735 # would make configure fail if this is the last instruction.
22736 $ac_cs_success || as_fn_exit 1
22738 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22740 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22744 if test "$no_create" = "yes"
22745 then
22746 exit 0
22749 ac_save_IFS="$IFS"
22750 if test "x$wine_notices" != x; then
22751 echo >&6
22752 IFS="|"
22753 for msg in $wine_notices; do
22754 IFS="$ac_save_IFS"
22755 if ${msg:+false} :; then :
22757 else
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22759 $as_echo "$as_me: $msg" >&6;}
22761 done
22763 IFS="|"
22764 for msg in $wine_warnings; do
22765 IFS="$ac_save_IFS"
22766 if ${msg:+false} :; then :
22768 else
22769 echo >&2
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22771 $as_echo "$as_me: WARNING: $msg" >&2;}
22773 done
22774 IFS="$ac_save_IFS"
22776 $as_echo "
22777 $as_me: Finished. Do '${ac_make}' to compile Wine.
22778 " >&6