dsound: Make GlobalHandle() for the sound buffer failed.
[wine.git] / configure
blob2910662c1451f75314971d92859e23b0e5fae00e
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_whoami
1796 enable_wineboot
1797 enable_winebrowser
1798 enable_winecfg
1799 enable_wineconsole
1800 enable_winedbg
1801 enable_winedevice
1802 enable_winefile
1803 enable_winemenubuilder
1804 enable_winemine
1805 enable_winemsibuilder
1806 enable_winepath
1807 enable_winetest
1808 enable_winhlp32
1809 enable_winmgmt
1810 enable_winver
1811 enable_wmic
1812 enable_wmplayer
1813 enable_wordpad
1814 enable_write
1815 enable_wscript
1816 enable_wuauserv
1817 enable_wusa
1818 enable_xcopy
1819 enable_server
1820 enable_tools
1821 enable_sfnt2fon
1822 enable_widl
1823 enable_winebuild
1824 enable_winedump
1825 enable_winegcc
1826 enable_winemaker
1827 enable_wmc
1828 enable_wrc
1830 ac_precious_vars='build_alias
1831 host_alias
1832 target_alias
1834 CFLAGS
1835 LDFLAGS
1836 LIBS
1837 CPPFLAGS
1839 CXXFLAGS
1842 OBJC
1843 OBJCFLAGS
1844 OBJCPP
1845 XMKMF
1846 XML2_CFLAGS
1847 XML2_LIBS
1848 XSLT_CFLAGS
1849 XSLT_LIBS
1850 INOTIFY_CFLAGS
1851 INOTIFY_LIBS
1852 DBUS_CFLAGS
1853 DBUS_LIBS
1854 HAL_CFLAGS
1855 HAL_LIBS
1856 GNUTLS_CFLAGS
1857 GNUTLS_LIBS
1858 SANE_CFLAGS
1859 SANE_LIBS
1860 GPHOTO2_CFLAGS
1861 GPHOTO2_LIBS
1862 GPHOTO2_PORT_CFLAGS
1863 GPHOTO2_PORT_LIBS
1864 LCMS2_CFLAGS
1865 LCMS2_LIBS
1866 FREETYPE_CFLAGS
1867 FREETYPE_LIBS
1868 Z_CFLAGS
1869 Z_LIBS
1870 PULSE_CFLAGS
1871 PULSE_LIBS
1872 GSTREAMER_CFLAGS
1873 GSTREAMER_LIBS
1874 UDEV_CFLAGS
1875 UDEV_LIBS
1876 UNWIND_CFLAGS
1877 UNWIND_LIBS
1878 SDL2_CFLAGS
1879 SDL2_LIBS
1880 FAUDIO_CFLAGS
1881 FAUDIO_LIBS
1882 CAPI20_CFLAGS
1883 CAPI20_LIBS
1884 CUPS_CFLAGS
1885 CUPS_LIBS
1886 FONTCONFIG_CFLAGS
1887 FONTCONFIG_LIBS
1888 KRB5_CFLAGS
1889 KRB5_LIBS
1890 GSSAPI_CFLAGS
1891 GSSAPI_LIBS
1892 JPEG_CFLAGS
1893 JPEG_LIBS
1894 PNG_CFLAGS
1895 PNG_LIBS
1896 TIFF_CFLAGS
1897 TIFF_LIBS
1898 MPG123_CFLAGS
1899 MPG123_LIBS
1900 NETAPI_CFLAGS
1901 NETAPI_LIBS
1902 VKD3D_CFLAGS
1903 VKD3D_LIBS
1904 LDAP_CFLAGS
1905 LDAP_LIBS'
1908 # Initialize some variables set by options.
1909 ac_init_help=
1910 ac_init_version=false
1911 ac_unrecognized_opts=
1912 ac_unrecognized_sep=
1913 # The variables have the same names as the options, with
1914 # dashes changed to underlines.
1915 cache_file=/dev/null
1916 exec_prefix=NONE
1917 no_create=
1918 no_recursion=
1919 prefix=NONE
1920 program_prefix=NONE
1921 program_suffix=NONE
1922 program_transform_name=s,x,x,
1923 silent=
1924 site=
1925 srcdir=
1926 verbose=
1927 x_includes=NONE
1928 x_libraries=NONE
1930 # Installation directory options.
1931 # These are left unexpanded so users can "make install exec_prefix=/foo"
1932 # and all the variables that are supposed to be based on exec_prefix
1933 # by default will actually change.
1934 # Use braces instead of parens because sh, perl, etc. also accept them.
1935 # (The list follows the same order as the GNU Coding Standards.)
1936 bindir='${exec_prefix}/bin'
1937 sbindir='${exec_prefix}/sbin'
1938 libexecdir='${exec_prefix}/libexec'
1939 datarootdir='${prefix}/share'
1940 datadir='${datarootdir}'
1941 sysconfdir='${prefix}/etc'
1942 sharedstatedir='${prefix}/com'
1943 localstatedir='${prefix}/var'
1944 runstatedir='${localstatedir}/run'
1945 includedir='${prefix}/include'
1946 oldincludedir='/usr/include'
1947 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1948 infodir='${datarootdir}/info'
1949 htmldir='${docdir}'
1950 dvidir='${docdir}'
1951 pdfdir='${docdir}'
1952 psdir='${docdir}'
1953 libdir='${exec_prefix}/lib'
1954 localedir='${datarootdir}/locale'
1955 mandir='${datarootdir}/man'
1957 ac_prev=
1958 ac_dashdash=
1959 for ac_option
1961 # If the previous option needs an argument, assign it.
1962 if test -n "$ac_prev"; then
1963 eval $ac_prev=\$ac_option
1964 ac_prev=
1965 continue
1968 case $ac_option in
1969 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1970 *=) ac_optarg= ;;
1971 *) ac_optarg=yes ;;
1972 esac
1974 # Accept the important Cygnus configure options, so we can diagnose typos.
1976 case $ac_dashdash$ac_option in
1978 ac_dashdash=yes ;;
1980 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1981 ac_prev=bindir ;;
1982 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1983 bindir=$ac_optarg ;;
1985 -build | --build | --buil | --bui | --bu)
1986 ac_prev=build_alias ;;
1987 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1988 build_alias=$ac_optarg ;;
1990 -cache-file | --cache-file | --cache-fil | --cache-fi \
1991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1992 ac_prev=cache_file ;;
1993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1995 cache_file=$ac_optarg ;;
1997 --config-cache | -C)
1998 cache_file=config.cache ;;
2000 -datadir | --datadir | --datadi | --datad)
2001 ac_prev=datadir ;;
2002 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2003 datadir=$ac_optarg ;;
2005 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2006 | --dataroo | --dataro | --datar)
2007 ac_prev=datarootdir ;;
2008 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2009 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2010 datarootdir=$ac_optarg ;;
2012 -disable-* | --disable-*)
2013 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2014 # Reject names that are not valid shell variable names.
2015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2016 as_fn_error $? "invalid feature name: $ac_useropt"
2017 ac_useropt_orig=$ac_useropt
2018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2019 case $ac_user_opts in
2021 "enable_$ac_useropt"
2022 "*) ;;
2023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2024 ac_unrecognized_sep=', ';;
2025 esac
2026 eval enable_$ac_useropt=no ;;
2028 -docdir | --docdir | --docdi | --doc | --do)
2029 ac_prev=docdir ;;
2030 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2031 docdir=$ac_optarg ;;
2033 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2034 ac_prev=dvidir ;;
2035 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2036 dvidir=$ac_optarg ;;
2038 -enable-* | --enable-*)
2039 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2040 # Reject names that are not valid shell variable names.
2041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2042 as_fn_error $? "invalid feature name: $ac_useropt"
2043 ac_useropt_orig=$ac_useropt
2044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2045 case $ac_user_opts in
2047 "enable_$ac_useropt"
2048 "*) ;;
2049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2050 ac_unrecognized_sep=', ';;
2051 esac
2052 eval enable_$ac_useropt=\$ac_optarg ;;
2054 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2055 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2056 | --exec | --exe | --ex)
2057 ac_prev=exec_prefix ;;
2058 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2059 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2060 | --exec=* | --exe=* | --ex=*)
2061 exec_prefix=$ac_optarg ;;
2063 -gas | --gas | --ga | --g)
2064 # Obsolete; use --with-gas.
2065 with_gas=yes ;;
2067 -help | --help | --hel | --he | -h)
2068 ac_init_help=long ;;
2069 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2070 ac_init_help=recursive ;;
2071 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2072 ac_init_help=short ;;
2074 -host | --host | --hos | --ho)
2075 ac_prev=host_alias ;;
2076 -host=* | --host=* | --hos=* | --ho=*)
2077 host_alias=$ac_optarg ;;
2079 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2080 ac_prev=htmldir ;;
2081 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2082 | --ht=*)
2083 htmldir=$ac_optarg ;;
2085 -includedir | --includedir | --includedi | --included | --include \
2086 | --includ | --inclu | --incl | --inc)
2087 ac_prev=includedir ;;
2088 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2089 | --includ=* | --inclu=* | --incl=* | --inc=*)
2090 includedir=$ac_optarg ;;
2092 -infodir | --infodir | --infodi | --infod | --info | --inf)
2093 ac_prev=infodir ;;
2094 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2095 infodir=$ac_optarg ;;
2097 -libdir | --libdir | --libdi | --libd)
2098 ac_prev=libdir ;;
2099 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2100 libdir=$ac_optarg ;;
2102 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2103 | --libexe | --libex | --libe)
2104 ac_prev=libexecdir ;;
2105 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2106 | --libexe=* | --libex=* | --libe=*)
2107 libexecdir=$ac_optarg ;;
2109 -localedir | --localedir | --localedi | --localed | --locale)
2110 ac_prev=localedir ;;
2111 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2112 localedir=$ac_optarg ;;
2114 -localstatedir | --localstatedir | --localstatedi | --localstated \
2115 | --localstate | --localstat | --localsta | --localst | --locals)
2116 ac_prev=localstatedir ;;
2117 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2118 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2119 localstatedir=$ac_optarg ;;
2121 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2122 ac_prev=mandir ;;
2123 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2124 mandir=$ac_optarg ;;
2126 -nfp | --nfp | --nf)
2127 # Obsolete; use --without-fp.
2128 with_fp=no ;;
2130 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2131 | --no-cr | --no-c | -n)
2132 no_create=yes ;;
2134 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2135 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2136 no_recursion=yes ;;
2138 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2139 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2140 | --oldin | --oldi | --old | --ol | --o)
2141 ac_prev=oldincludedir ;;
2142 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2143 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2144 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2145 oldincludedir=$ac_optarg ;;
2147 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2148 ac_prev=prefix ;;
2149 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2150 prefix=$ac_optarg ;;
2152 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2153 | --program-pre | --program-pr | --program-p)
2154 ac_prev=program_prefix ;;
2155 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2156 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2157 program_prefix=$ac_optarg ;;
2159 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2160 | --program-suf | --program-su | --program-s)
2161 ac_prev=program_suffix ;;
2162 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2163 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2164 program_suffix=$ac_optarg ;;
2166 -program-transform-name | --program-transform-name \
2167 | --program-transform-nam | --program-transform-na \
2168 | --program-transform-n | --program-transform- \
2169 | --program-transform | --program-transfor \
2170 | --program-transfo | --program-transf \
2171 | --program-trans | --program-tran \
2172 | --progr-tra | --program-tr | --program-t)
2173 ac_prev=program_transform_name ;;
2174 -program-transform-name=* | --program-transform-name=* \
2175 | --program-transform-nam=* | --program-transform-na=* \
2176 | --program-transform-n=* | --program-transform-=* \
2177 | --program-transform=* | --program-transfor=* \
2178 | --program-transfo=* | --program-transf=* \
2179 | --program-trans=* | --program-tran=* \
2180 | --progr-tra=* | --program-tr=* | --program-t=*)
2181 program_transform_name=$ac_optarg ;;
2183 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2184 ac_prev=pdfdir ;;
2185 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2186 pdfdir=$ac_optarg ;;
2188 -psdir | --psdir | --psdi | --psd | --ps)
2189 ac_prev=psdir ;;
2190 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2191 psdir=$ac_optarg ;;
2193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2194 | -silent | --silent | --silen | --sile | --sil)
2195 silent=yes ;;
2197 -runstatedir | --runstatedir | --runstatedi | --runstated \
2198 | --runstate | --runstat | --runsta | --runst | --runs \
2199 | --run | --ru | --r)
2200 ac_prev=runstatedir ;;
2201 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2202 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2203 | --run=* | --ru=* | --r=*)
2204 runstatedir=$ac_optarg ;;
2206 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2207 ac_prev=sbindir ;;
2208 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2209 | --sbi=* | --sb=*)
2210 sbindir=$ac_optarg ;;
2212 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2213 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2214 | --sharedst | --shareds | --shared | --share | --shar \
2215 | --sha | --sh)
2216 ac_prev=sharedstatedir ;;
2217 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2218 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2219 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2220 | --sha=* | --sh=*)
2221 sharedstatedir=$ac_optarg ;;
2223 -site | --site | --sit)
2224 ac_prev=site ;;
2225 -site=* | --site=* | --sit=*)
2226 site=$ac_optarg ;;
2228 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2229 ac_prev=srcdir ;;
2230 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2231 srcdir=$ac_optarg ;;
2233 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2234 | --syscon | --sysco | --sysc | --sys | --sy)
2235 ac_prev=sysconfdir ;;
2236 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2237 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2238 sysconfdir=$ac_optarg ;;
2240 -target | --target | --targe | --targ | --tar | --ta | --t)
2241 ac_prev=target_alias ;;
2242 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2243 target_alias=$ac_optarg ;;
2245 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2246 verbose=yes ;;
2248 -version | --version | --versio | --versi | --vers | -V)
2249 ac_init_version=: ;;
2251 -with-* | --with-*)
2252 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2253 # Reject names that are not valid shell variable names.
2254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2255 as_fn_error $? "invalid package name: $ac_useropt"
2256 ac_useropt_orig=$ac_useropt
2257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2258 case $ac_user_opts in
2260 "with_$ac_useropt"
2261 "*) ;;
2262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2263 ac_unrecognized_sep=', ';;
2264 esac
2265 eval with_$ac_useropt=\$ac_optarg ;;
2267 -without-* | --without-*)
2268 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2269 # Reject names that are not valid shell variable names.
2270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2271 as_fn_error $? "invalid package name: $ac_useropt"
2272 ac_useropt_orig=$ac_useropt
2273 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2274 case $ac_user_opts in
2276 "with_$ac_useropt"
2277 "*) ;;
2278 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2279 ac_unrecognized_sep=', ';;
2280 esac
2281 eval with_$ac_useropt=no ;;
2283 --x)
2284 # Obsolete; use --with-x.
2285 with_x=yes ;;
2287 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2288 | --x-incl | --x-inc | --x-in | --x-i)
2289 ac_prev=x_includes ;;
2290 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2291 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2292 x_includes=$ac_optarg ;;
2294 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2295 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2296 ac_prev=x_libraries ;;
2297 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2298 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2299 x_libraries=$ac_optarg ;;
2301 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2302 Try \`$0 --help' for more information"
2305 *=*)
2306 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2307 # Reject names that are not valid shell variable names.
2308 case $ac_envvar in #(
2309 '' | [0-9]* | *[!_$as_cr_alnum]* )
2310 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2311 esac
2312 eval $ac_envvar=\$ac_optarg
2313 export $ac_envvar ;;
2316 # FIXME: should be removed in autoconf 3.0.
2317 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2318 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2319 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2320 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2323 esac
2324 done
2326 if test -n "$ac_prev"; then
2327 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2328 as_fn_error $? "missing argument to $ac_option"
2331 if test -n "$ac_unrecognized_opts"; then
2332 case $enable_option_checking in
2333 no) ;;
2334 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2335 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2336 esac
2339 # Check all directory arguments for consistency.
2340 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2341 datadir sysconfdir sharedstatedir localstatedir includedir \
2342 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2343 libdir localedir mandir runstatedir
2345 eval ac_val=\$$ac_var
2346 # Remove trailing slashes.
2347 case $ac_val in
2348 */ )
2349 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2350 eval $ac_var=\$ac_val;;
2351 esac
2352 # Be sure to have absolute directory names.
2353 case $ac_val in
2354 [\\/$]* | ?:[\\/]* ) continue;;
2355 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2356 esac
2357 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2358 done
2360 # There might be people who depend on the old broken behavior: `$host'
2361 # used to hold the argument of --host etc.
2362 # FIXME: To remove some day.
2363 build=$build_alias
2364 host=$host_alias
2365 target=$target_alias
2367 # FIXME: To remove some day.
2368 if test "x$host_alias" != x; then
2369 if test "x$build_alias" = x; then
2370 cross_compiling=maybe
2371 elif test "x$build_alias" != "x$host_alias"; then
2372 cross_compiling=yes
2376 ac_tool_prefix=
2377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2379 test "$silent" = yes && exec 6>/dev/null
2382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2383 ac_ls_di=`ls -di .` &&
2384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2385 as_fn_error $? "working directory cannot be determined"
2386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2387 as_fn_error $? "pwd does not report name of working directory"
2390 # Find the source files, if location was not specified.
2391 if test -z "$srcdir"; then
2392 ac_srcdir_defaulted=yes
2393 # Try the directory containing this script, then the parent directory.
2394 ac_confdir=`$as_dirname -- "$as_myself" ||
2395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2396 X"$as_myself" : 'X\(//\)[^/]' \| \
2397 X"$as_myself" : 'X\(//\)$' \| \
2398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2399 $as_echo X"$as_myself" |
2400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2401 s//\1/
2404 /^X\(\/\/\)[^/].*/{
2405 s//\1/
2408 /^X\(\/\/\)$/{
2409 s//\1/
2412 /^X\(\/\).*/{
2413 s//\1/
2416 s/.*/./; q'`
2417 srcdir=$ac_confdir
2418 if test ! -r "$srcdir/$ac_unique_file"; then
2419 srcdir=..
2421 else
2422 ac_srcdir_defaulted=no
2424 if test ! -r "$srcdir/$ac_unique_file"; then
2425 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2426 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2429 ac_abs_confdir=`(
2430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2431 pwd)`
2432 # When building in place, set srcdir=.
2433 if test "$ac_abs_confdir" = "$ac_pwd"; then
2434 srcdir=.
2436 # Remove unnecessary trailing slashes from srcdir.
2437 # Double slashes in file names in object file debugging info
2438 # mess up M-x gdb in Emacs.
2439 case $srcdir in
2440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2441 esac
2442 for ac_var in $ac_precious_vars; do
2443 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2444 eval ac_env_${ac_var}_value=\$${ac_var}
2445 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2446 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2447 done
2450 # Report the --help message.
2452 if test "$ac_init_help" = "long"; then
2453 # Omit some internal or obsolete options to make the list less imposing.
2454 # This message is too long to be a string in the A/UX 3.1 sh.
2455 cat <<_ACEOF
2456 \`configure' configures Wine 5.3 to adapt to many kinds of systems.
2458 Usage: $0 [OPTION]... [VAR=VALUE]...
2460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2461 VAR=VALUE. See below for descriptions of some of the useful variables.
2463 Defaults for the options are specified in brackets.
2465 Configuration:
2466 -h, --help display this help and exit
2467 --help=short display options specific to this package
2468 --help=recursive display the short help of all the included packages
2469 -V, --version display version information and exit
2470 -q, --quiet, --silent do not print \`checking ...' messages
2471 --cache-file=FILE cache test results in FILE [disabled]
2472 -C, --config-cache alias for \`--cache-file=config.cache'
2473 -n, --no-create do not create output files
2474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2476 Installation directories:
2477 --prefix=PREFIX install architecture-independent files in PREFIX
2478 [$ac_default_prefix]
2479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2480 [PREFIX]
2482 By default, \`make install' will install all the files in
2483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2485 for instance \`--prefix=\$HOME'.
2487 For better control, use the options below.
2489 Fine tuning of the installation directories:
2490 --bindir=DIR user executables [EPREFIX/bin]
2491 --sbindir=DIR system admin executables [EPREFIX/sbin]
2492 --libexecdir=DIR program executables [EPREFIX/libexec]
2493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2496 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2497 --libdir=DIR object code libraries [EPREFIX/lib]
2498 --includedir=DIR C header files [PREFIX/include]
2499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2502 --infodir=DIR info documentation [DATAROOTDIR/info]
2503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2504 --mandir=DIR man documentation [DATAROOTDIR/man]
2505 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2506 --htmldir=DIR html documentation [DOCDIR]
2507 --dvidir=DIR dvi documentation [DOCDIR]
2508 --pdfdir=DIR pdf documentation [DOCDIR]
2509 --psdir=DIR ps documentation [DOCDIR]
2510 _ACEOF
2512 cat <<\_ACEOF
2514 X features:
2515 --x-includes=DIR X include files are in DIR
2516 --x-libraries=DIR X library files are in DIR
2518 System types:
2519 --build=BUILD configure for building on BUILD [guessed]
2520 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2521 _ACEOF
2524 if test -n "$ac_init_help"; then
2525 case $ac_init_help in
2526 short | recursive ) echo "Configuration of Wine 5.3:";;
2527 esac
2528 cat <<\_ACEOF
2530 Optional Features:
2531 --disable-option-checking ignore unrecognized --enable/--with options
2532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2534 --disable-win16 do not include Win16 support
2535 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2536 binaries)
2537 --disable-tests do not build the regression tests
2538 --enable-maintainer-mode
2539 enable maintainer-specific build rules
2540 --disable-largefile omit support for large files
2542 Optional Packages:
2543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2545 --without-alsa do not use the Alsa sound support
2546 --without-capi do not use CAPI (ISDN support)
2547 --without-cms do not use CMS (color management support)
2548 --without-coreaudio do not use the CoreAudio sound support
2549 --without-cups do not use CUPS
2550 --without-curses do not use (n)curses
2551 --without-dbus do not use DBus (dynamic device support)
2552 --without-faudio do not use FAudio (XAudio2 support)
2553 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2554 --without-fontconfig do not use fontconfig
2555 --without-freetype do not use the FreeType library
2556 --without-gettext do not use gettext
2557 --with-gettextpo use the GetTextPO library to rebuild po files
2558 --without-gphoto do not use gphoto (Digital Camera support)
2559 --without-glu do not use the GLU library
2560 --without-gnutls do not use GnuTLS (schannel support)
2561 --without-gsm do not use libgsm (GSM 06.10 codec support)
2562 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2563 --without-gstreamer do not use GStreamer (codecs support)
2564 --without-hal do not use HAL (dynamic device support)
2565 --without-inotify do not use inotify (filesystem change notifications)
2566 --without-jpeg do not use JPEG
2567 --without-krb5 do not use krb5 (Kerberos)
2568 --without-ldap do not use LDAP
2569 --without-mingw do not use the MinGW cross-compiler
2570 --without-mpg123 do not use the mpg123 library
2571 --without-netapi do not use the Samba NetAPI library
2572 --without-openal do not use OpenAL
2573 --without-opencl do not use OpenCL
2574 --without-opengl do not use OpenGL
2575 --without-osmesa do not use the OSMesa library
2576 --without-oss do not use the OSS sound support
2577 --without-pcap do not use the Packet Capture library
2578 --without-png do not use PNG
2579 --without-pthread do not use the pthread library
2580 --without-pulse do not use PulseAudio sound support
2581 --without-sane do not use SANE (scanner support)
2582 --without-sdl do not use SDL
2583 --without-tiff do not use TIFF
2584 --without-udev do not use udev (plug and play support)
2585 --without-unwind do not use the libunwind library (exception
2586 handling)
2587 --without-v4l2 do not use v4l2 (video capture)
2588 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2589 --without-vulkan do not use Vulkan
2590 --without-xcomposite do not use the Xcomposite extension
2591 --without-xcursor do not use the Xcursor extension
2592 --without-xfixes do not use Xfixes for clipboard change notifications
2593 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2594 --without-xinput do not use the Xinput extension
2595 --without-xinput2 do not use the Xinput 2 extension
2596 --without-xml do not use XML
2597 --without-xrandr do not use Xrandr (multi-monitor support)
2598 --without-xrender do not use the Xrender extension
2599 --without-xshape do not use the Xshape extension
2600 --without-xshm do not use XShm (shared memory extension)
2601 --without-xslt do not use XSLT
2602 --without-xxf86vm do not use XFree video mode extension
2603 --without-zlib do not use Zlib (data compression)
2604 --with-wine-tools=DIR use Wine tools from directory DIR
2605 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2606 --with-x use the X Window System
2608 Some influential environment variables:
2609 CC C compiler command
2610 CFLAGS C compiler flags
2611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2612 nonstandard directory <lib dir>
2613 LIBS libraries to pass to the linker, e.g. -l<library>
2614 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2615 you have headers in a nonstandard directory <include dir>
2616 CXX C++ compiler command
2617 CXXFLAGS C++ compiler flags
2618 CPP C preprocessor
2619 OBJC Objective C compiler command
2620 OBJCFLAGS Objective C compiler flags
2621 OBJCPP Objective C preprocessor
2622 XMKMF Path to xmkmf, Makefile generator for X Window System
2623 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2624 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2625 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2626 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2627 INOTIFY_CFLAGS
2628 C compiler flags for libinotify, overriding pkg-config
2629 INOTIFY_LIBS
2630 Linker flags for libinotify, overriding pkg-config
2631 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2632 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2633 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2634 HAL_LIBS Linker flags for hal, overriding pkg-config
2635 GNUTLS_CFLAGS
2636 C compiler flags for gnutls, overriding pkg-config
2637 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2638 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2639 SANE_LIBS Linker flags for libsane, overriding pkg-config
2640 GPHOTO2_CFLAGS
2641 C compiler flags for libgphoto2, overriding pkg-config
2642 GPHOTO2_LIBS
2643 Linker flags for libgphoto2, overriding pkg-config
2644 GPHOTO2_PORT_CFLAGS
2645 C compiler flags for libgphoto2_port, overriding pkg-config
2646 GPHOTO2_PORT_LIBS
2647 Linker flags for libgphoto2_port, overriding pkg-config
2648 LCMS2_CFLAGS
2649 C compiler flags for lcms2, overriding pkg-config
2650 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2651 FREETYPE_CFLAGS
2652 C compiler flags for freetype2, overriding pkg-config
2653 FREETYPE_LIBS
2654 Linker flags for freetype2, overriding pkg-config
2655 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2656 Z_LIBS Linker flags for libz, overriding pkg-config
2657 PULSE_CFLAGS
2658 C compiler flags for libpulse, overriding pkg-config
2659 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2660 GSTREAMER_CFLAGS
2661 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2662 gstreamer-audio-1.0, overriding pkg-config
2663 GSTREAMER_LIBS
2664 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0, overriding pkg-config
2666 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2667 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2668 UNWIND_CFLAGS
2669 C compiler flags for libunwind, overriding pkg-config
2670 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2671 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2672 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2673 FAUDIO_CFLAGS
2674 C compiler flags for faudio, overriding pkg-config
2675 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2676 CAPI20_CFLAGS
2677 C compiler flags for capi20, overriding pkg-config
2678 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2679 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2680 CUPS_LIBS Linker flags for cups, overriding pkg-config
2681 FONTCONFIG_CFLAGS
2682 C compiler flags for fontconfig, overriding pkg-config
2683 FONTCONFIG_LIBS
2684 Linker flags for fontconfig, overriding pkg-config
2685 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2686 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2687 GSSAPI_CFLAGS
2688 C compiler flags for krb5-gssapi, overriding pkg-config
2689 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2690 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2691 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2692 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2693 PNG_LIBS Linker flags for libpng, overriding pkg-config
2694 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2695 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2696 MPG123_CFLAGS
2697 C compiler flags for libmpg123, overriding pkg-config
2698 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2699 NETAPI_CFLAGS
2700 C compiler flags for netapi, overriding pkg-config
2701 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2702 VKD3D_CFLAGS
2703 C compiler flags for libvkd3d, overriding pkg-config
2704 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2705 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2706 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2708 Use these variables to override the choices made by `configure' or to help
2709 it to find libraries and programs with nonstandard names/locations.
2711 Report bugs to <wine-devel@winehq.org>.
2712 Wine home page: <https://www.winehq.org>.
2713 _ACEOF
2714 ac_status=$?
2717 if test "$ac_init_help" = "recursive"; then
2718 # If there are subdirs, report their specific --help.
2719 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2720 test -d "$ac_dir" ||
2721 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2722 continue
2723 ac_builddir=.
2725 case "$ac_dir" in
2726 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2728 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2729 # A ".." for each directory in $ac_dir_suffix.
2730 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2731 case $ac_top_builddir_sub in
2732 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2733 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2734 esac ;;
2735 esac
2736 ac_abs_top_builddir=$ac_pwd
2737 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2738 # for backward compatibility:
2739 ac_top_builddir=$ac_top_build_prefix
2741 case $srcdir in
2742 .) # We are building in place.
2743 ac_srcdir=.
2744 ac_top_srcdir=$ac_top_builddir_sub
2745 ac_abs_top_srcdir=$ac_pwd ;;
2746 [\\/]* | ?:[\\/]* ) # Absolute name.
2747 ac_srcdir=$srcdir$ac_dir_suffix;
2748 ac_top_srcdir=$srcdir
2749 ac_abs_top_srcdir=$srcdir ;;
2750 *) # Relative name.
2751 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2752 ac_top_srcdir=$ac_top_build_prefix$srcdir
2753 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2754 esac
2755 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2757 cd "$ac_dir" || { ac_status=$?; continue; }
2758 # Check for guested configure.
2759 if test -f "$ac_srcdir/configure.gnu"; then
2760 echo &&
2761 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2762 elif test -f "$ac_srcdir/configure"; then
2763 echo &&
2764 $SHELL "$ac_srcdir/configure" --help=recursive
2765 else
2766 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2767 fi || ac_status=$?
2768 cd "$ac_pwd" || { ac_status=$?; break; }
2769 done
2772 test -n "$ac_init_help" && exit $ac_status
2773 if $ac_init_version; then
2774 cat <<\_ACEOF
2775 Wine configure 5.3
2776 generated by GNU Autoconf 2.69
2778 Copyright (C) 2012 Free Software Foundation, Inc.
2779 This configure script is free software; the Free Software Foundation
2780 gives unlimited permission to copy, distribute and modify it.
2781 _ACEOF
2782 exit
2785 ## ------------------------ ##
2786 ## Autoconf initialization. ##
2787 ## ------------------------ ##
2789 # ac_fn_c_try_compile LINENO
2790 # --------------------------
2791 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2792 ac_fn_c_try_compile ()
2794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2795 rm -f conftest.$ac_objext
2796 if { { ac_try="$ac_compile"
2797 case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800 esac
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_compile") 2>conftest.err
2804 ac_status=$?
2805 if test -s conftest.err; then
2806 grep -v '^ *+' conftest.err >conftest.er1
2807 cat conftest.er1 >&5
2808 mv -f conftest.er1 conftest.err
2810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2811 test $ac_status = 0; } && {
2812 test -z "$ac_c_werror_flag" ||
2813 test ! -s conftest.err
2814 } && test -s conftest.$ac_objext; then :
2815 ac_retval=0
2816 else
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.$ac_ext >&5
2820 ac_retval=1
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823 as_fn_set_status $ac_retval
2825 } # ac_fn_c_try_compile
2827 # ac_fn_cxx_try_compile LINENO
2828 # ----------------------------
2829 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2830 ac_fn_cxx_try_compile ()
2832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2833 rm -f conftest.$ac_objext
2834 if { { ac_try="$ac_compile"
2835 case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838 esac
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_compile") 2>conftest.err
2842 ac_status=$?
2843 if test -s conftest.err; then
2844 grep -v '^ *+' conftest.err >conftest.er1
2845 cat conftest.er1 >&5
2846 mv -f conftest.er1 conftest.err
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 test $ac_status = 0; } && {
2850 test -z "$ac_cxx_werror_flag" ||
2851 test ! -s conftest.err
2852 } && test -s conftest.$ac_objext; then :
2853 ac_retval=0
2854 else
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=1
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status $ac_retval
2863 } # ac_fn_cxx_try_compile
2865 # ac_fn_c_try_link LINENO
2866 # -----------------------
2867 # Try to link conftest.$ac_ext, and return whether this succeeded.
2868 ac_fn_c_try_link ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 rm -f conftest.$ac_objext conftest$ac_exeext
2872 if { { ac_try="$ac_link"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 $as_echo "$ac_try_echo"; } >&5
2879 (eval "$ac_link") 2>conftest.err
2880 ac_status=$?
2881 if test -s conftest.err; then
2882 grep -v '^ *+' conftest.err >conftest.er1
2883 cat conftest.er1 >&5
2884 mv -f conftest.er1 conftest.err
2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest$ac_exeext && {
2891 test "$cross_compiling" = yes ||
2892 test -x conftest$ac_exeext
2893 }; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2902 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2903 # interfere with the next link command; also delete a directory that is
2904 # left behind by Apple's compiler. We do this before executing the actions.
2905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2907 as_fn_set_status $ac_retval
2909 } # ac_fn_c_try_link
2911 # ac_fn_c_try_cpp LINENO
2912 # ----------------------
2913 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2914 ac_fn_c_try_cpp ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 if { { ac_try="$ac_cpp conftest.$ac_ext"
2918 case "(($ac_try" in
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2921 esac
2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923 $as_echo "$ac_try_echo"; } >&5
2924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2925 ac_status=$?
2926 if test -s conftest.err; then
2927 grep -v '^ *+' conftest.err >conftest.er1
2928 cat conftest.er1 >&5
2929 mv -f conftest.er1 conftest.err
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; } > conftest.i && {
2933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2934 test ! -s conftest.err
2935 }; then :
2936 ac_retval=0
2937 else
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 ac_retval=1
2943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 as_fn_set_status $ac_retval
2946 } # ac_fn_c_try_cpp
2948 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2949 # -------------------------------------------------------
2950 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2951 # the include files in INCLUDES and setting the cache variable VAR
2952 # accordingly.
2953 ac_fn_c_check_header_mongrel ()
2955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2956 if eval \${$3+:} false; then :
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2958 $as_echo_n "checking for $2... " >&6; }
2959 if eval \${$3+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 eval ac_res=\$$3
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2964 $as_echo "$ac_res" >&6; }
2965 else
2966 # Is the header compilable?
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2968 $as_echo_n "checking $2 usability... " >&6; }
2969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 /* end confdefs.h. */
2972 #include <$2>
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 ac_header_compiler=yes
2976 else
2977 ac_header_compiler=no
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2981 $as_echo "$ac_header_compiler" >&6; }
2983 # Is the header present?
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2985 $as_echo_n "checking $2 presence... " >&6; }
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2988 #include <$2>
2989 _ACEOF
2990 if ac_fn_c_try_cpp "$LINENO"; then :
2991 ac_header_preproc=yes
2992 else
2993 ac_header_preproc=no
2995 rm -f conftest.err conftest.i conftest.$ac_ext
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2997 $as_echo "$ac_header_preproc" >&6; }
2999 # So? What about this header?
3000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3001 yes:no: )
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3003 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3007 no:yes:* )
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3009 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3011 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3013 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3015 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3017 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3018 ( $as_echo "## ------------------------------------ ##
3019 ## Report this to wine-devel@winehq.org ##
3020 ## ------------------------------------ ##"
3021 ) | sed "s/^/$as_me: WARNING: /" >&2
3023 esac
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3025 $as_echo_n "checking for $2... " >&6; }
3026 if eval \${$3+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028 else
3029 eval "$3=\$ac_header_compiler"
3031 eval ac_res=\$$3
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3033 $as_echo "$ac_res" >&6; }
3035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3037 } # ac_fn_c_check_header_mongrel
3039 # ac_fn_c_try_run LINENO
3040 # ----------------------
3041 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3042 # that executables *can* be run.
3043 ac_fn_c_try_run ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 if { { ac_try="$ac_link"
3047 case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3050 esac
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_link") 2>&5
3054 ac_status=$?
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3057 { { case "(($ac_try" in
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3060 esac
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_try") 2>&5
3064 ac_status=$?
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }; }; then :
3067 ac_retval=0
3068 else
3069 $as_echo "$as_me: program exited with status $ac_status" >&5
3070 $as_echo "$as_me: failed program was:" >&5
3071 sed 's/^/| /' conftest.$ac_ext >&5
3073 ac_retval=$ac_status
3075 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077 as_fn_set_status $ac_retval
3079 } # ac_fn_c_try_run
3081 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3082 # -------------------------------------------------------
3083 # Tests whether HEADER exists and can be compiled using the include files in
3084 # INCLUDES, setting the cache variable VAR accordingly.
3085 ac_fn_c_check_header_compile ()
3087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3089 $as_echo_n "checking for $2... " >&6; }
3090 if eval \${$3+:} false; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3096 #include <$2>
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 eval "$3=yes"
3100 else
3101 eval "$3=no"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 eval ac_res=\$$3
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3107 $as_echo "$ac_res" >&6; }
3108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3110 } # ac_fn_c_check_header_compile
3112 # ac_fn_objc_try_compile LINENO
3113 # -----------------------------
3114 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3115 ac_fn_objc_try_compile ()
3117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3118 rm -f conftest.$ac_objext
3119 if { { ac_try="$ac_compile"
3120 case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_compile") 2>conftest.err
3127 ac_status=$?
3128 if test -s conftest.err; then
3129 grep -v '^ *+' conftest.err >conftest.er1
3130 cat conftest.er1 >&5
3131 mv -f conftest.er1 conftest.err
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134 test $ac_status = 0; } && {
3135 test -z "$ac_objc_werror_flag" ||
3136 test ! -s conftest.err
3137 } && test -s conftest.$ac_objext; then :
3138 ac_retval=0
3139 else
3140 $as_echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3143 ac_retval=1
3145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3146 as_fn_set_status $ac_retval
3148 } # ac_fn_objc_try_compile
3150 # ac_fn_objc_try_cpp LINENO
3151 # -------------------------
3152 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3153 ac_fn_objc_try_cpp ()
3155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3156 if { { ac_try="$ac_cpp conftest.$ac_ext"
3157 case "(($ac_try" in
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3160 esac
3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162 $as_echo "$ac_try_echo"; } >&5
3163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3164 ac_status=$?
3165 if test -s conftest.err; then
3166 grep -v '^ *+' conftest.err >conftest.er1
3167 cat conftest.er1 >&5
3168 mv -f conftest.er1 conftest.err
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; } > conftest.i && {
3172 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3173 test ! -s conftest.err
3174 }; then :
3175 ac_retval=0
3176 else
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 ac_retval=1
3182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3183 as_fn_set_status $ac_retval
3185 } # ac_fn_objc_try_cpp
3187 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3188 # ----------------------------------------------------------
3189 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3190 # the include files in INCLUDES and setting the cache variable VAR
3191 # accordingly.
3192 ac_fn_objc_check_header_mongrel ()
3194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3195 if eval \${$3+:} false; then :
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3197 $as_echo_n "checking for $2... " >&6; }
3198 if eval \${$3+:} false; then :
3199 $as_echo_n "(cached) " >&6
3201 eval ac_res=\$$3
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3203 $as_echo "$ac_res" >&6; }
3204 else
3205 # Is the header compilable?
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3207 $as_echo_n "checking $2 usability... " >&6; }
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3211 #include <$2>
3212 _ACEOF
3213 if ac_fn_objc_try_compile "$LINENO"; then :
3214 ac_header_compiler=yes
3215 else
3216 ac_header_compiler=no
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3220 $as_echo "$ac_header_compiler" >&6; }
3222 # Is the header present?
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3224 $as_echo_n "checking $2 presence... " >&6; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3227 #include <$2>
3228 _ACEOF
3229 if ac_fn_objc_try_cpp "$LINENO"; then :
3230 ac_header_preproc=yes
3231 else
3232 ac_header_preproc=no
3234 rm -f conftest.err conftest.i conftest.$ac_ext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3236 $as_echo "$ac_header_preproc" >&6; }
3238 # So? What about this header?
3239 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3240 yes:no: )
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3242 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3246 no:yes:* )
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3248 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3250 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3252 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3254 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3256 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3257 ( $as_echo "## ------------------------------------ ##
3258 ## Report this to wine-devel@winehq.org ##
3259 ## ------------------------------------ ##"
3260 ) | sed "s/^/$as_me: WARNING: /" >&2
3262 esac
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3264 $as_echo_n "checking for $2... " >&6; }
3265 if eval \${$3+:} false; then :
3266 $as_echo_n "(cached) " >&6
3267 else
3268 eval "$3=\$ac_header_compiler"
3270 eval ac_res=\$$3
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3272 $as_echo "$ac_res" >&6; }
3274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3276 } # ac_fn_objc_check_header_mongrel
3278 # ac_fn_c_check_func LINENO FUNC VAR
3279 # ----------------------------------
3280 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3281 ac_fn_c_check_func ()
3283 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3285 $as_echo_n "checking for $2... " >&6; }
3286 if eval \${$3+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288 else
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3291 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3293 #define $2 innocuous_$2
3295 /* System header to define __stub macros and hopefully few prototypes,
3296 which can conflict with char $2 (); below.
3297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3298 <limits.h> exists even on freestanding compilers. */
3300 #ifdef __STDC__
3301 # include <limits.h>
3302 #else
3303 # include <assert.h>
3304 #endif
3306 #undef $2
3308 /* Override any GCC internal prototype to avoid an error.
3309 Use char because int might match the return type of a GCC
3310 builtin and then its argument prototype would still apply. */
3311 #ifdef __cplusplus
3312 extern "C"
3313 #endif
3314 char $2 ();
3315 /* The GNU C library defines this for functions which it implements
3316 to always fail with ENOSYS. Some functions are actually named
3317 something starting with __ and the normal name is an alias. */
3318 #if defined __stub_$2 || defined __stub___$2
3319 choke me
3320 #endif
3323 main ()
3325 return $2 ();
3327 return 0;
3329 _ACEOF
3330 if ac_fn_c_try_link "$LINENO"; then :
3331 eval "$3=yes"
3332 else
3333 eval "$3=no"
3335 rm -f core conftest.err conftest.$ac_objext \
3336 conftest$ac_exeext conftest.$ac_ext
3338 eval ac_res=\$$3
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3340 $as_echo "$ac_res" >&6; }
3341 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3343 } # ac_fn_c_check_func
3345 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3346 # ----------------------------------------------------
3347 # Tries to find if the field MEMBER exists in type AGGR, after including
3348 # INCLUDES, setting cache variable VAR accordingly.
3349 ac_fn_c_check_member ()
3351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3353 $as_echo_n "checking for $2.$3... " >&6; }
3354 if eval \${$4+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3361 main ()
3363 static $2 ac_aggr;
3364 if (ac_aggr.$3)
3365 return 0;
3367 return 0;
3369 _ACEOF
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 eval "$4=yes"
3372 else
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3379 static $2 ac_aggr;
3380 if (sizeof ac_aggr.$3)
3381 return 0;
3383 return 0;
3385 _ACEOF
3386 if ac_fn_c_try_compile "$LINENO"; then :
3387 eval "$4=yes"
3388 else
3389 eval "$4=no"
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 eval ac_res=\$$4
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3397 $as_echo "$ac_res" >&6; }
3398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3400 } # ac_fn_c_check_member
3402 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3403 # -------------------------------------------
3404 # Tests whether TYPE exists after having included INCLUDES, setting cache
3405 # variable VAR accordingly.
3406 ac_fn_c_check_type ()
3408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3410 $as_echo_n "checking for $2... " >&6; }
3411 if eval \${$3+:} false; then :
3412 $as_echo_n "(cached) " >&6
3413 else
3414 eval "$3=no"
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3421 if (sizeof ($2))
3422 return 0;
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3432 main ()
3434 if (sizeof (($2)))
3435 return 0;
3437 return 0;
3439 _ACEOF
3440 if ac_fn_c_try_compile "$LINENO"; then :
3442 else
3443 eval "$3=yes"
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 eval ac_res=\$$3
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3451 $as_echo "$ac_res" >&6; }
3452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3454 } # ac_fn_c_check_type
3455 cat >config.log <<_ACEOF
3456 This file contains any messages produced by compilers while
3457 running configure, to aid debugging if configure makes a mistake.
3459 It was created by Wine $as_me 5.3, which was
3460 generated by GNU Autoconf 2.69. Invocation command line was
3462 $ $0 $@
3464 _ACEOF
3465 exec 5>>config.log
3467 cat <<_ASUNAME
3468 ## --------- ##
3469 ## Platform. ##
3470 ## --------- ##
3472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3489 _ASUNAME
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3494 IFS=$as_save_IFS
3495 test -z "$as_dir" && as_dir=.
3496 $as_echo "PATH: $as_dir"
3497 done
3498 IFS=$as_save_IFS
3500 } >&5
3502 cat >&5 <<_ACEOF
3505 ## ----------- ##
3506 ## Core tests. ##
3507 ## ----------- ##
3509 _ACEOF
3512 # Keep a trace of the command line.
3513 # Strip out --no-create and --no-recursion so they do not pile up.
3514 # Strip out --silent because we don't want to record it for future runs.
3515 # Also quote any args containing shell meta-characters.
3516 # Make two passes to allow for proper duplicate-argument suppression.
3517 ac_configure_args=
3518 ac_configure_args0=
3519 ac_configure_args1=
3520 ac_must_keep_next=false
3521 for ac_pass in 1 2
3523 for ac_arg
3525 case $ac_arg in
3526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3528 | -silent | --silent | --silen | --sile | --sil)
3529 continue ;;
3530 *\'*)
3531 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3532 esac
3533 case $ac_pass in
3534 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3536 as_fn_append ac_configure_args1 " '$ac_arg'"
3537 if test $ac_must_keep_next = true; then
3538 ac_must_keep_next=false # Got value, back to normal.
3539 else
3540 case $ac_arg in
3541 *=* | --config-cache | -C | -disable-* | --disable-* \
3542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3544 | -with-* | --with-* | -without-* | --without-* | --x)
3545 case "$ac_configure_args0 " in
3546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3547 esac
3549 -* ) ac_must_keep_next=true ;;
3550 esac
3552 as_fn_append ac_configure_args " '$ac_arg'"
3554 esac
3555 done
3556 done
3557 { ac_configure_args0=; unset ac_configure_args0;}
3558 { ac_configure_args1=; unset ac_configure_args1;}
3560 # When interrupted or exit'd, cleanup temporary files, and complete
3561 # config.log. We remove comments because anyway the quotes in there
3562 # would cause problems or look ugly.
3563 # WARNING: Use '\'' to represent an apostrophe within the trap.
3564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3565 trap 'exit_status=$?
3566 # Save into config.log some information that might help in debugging.
3568 echo
3570 $as_echo "## ---------------- ##
3571 ## Cache variables. ##
3572 ## ---------------- ##"
3573 echo
3574 # The following way of writing the cache mishandles newlines in values,
3576 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3577 eval ac_val=\$$ac_var
3578 case $ac_val in #(
3579 *${as_nl}*)
3580 case $ac_var in #(
3581 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3582 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3583 esac
3584 case $ac_var in #(
3585 _ | IFS | as_nl) ;; #(
3586 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3587 *) { eval $ac_var=; unset $ac_var;} ;;
3588 esac ;;
3589 esac
3590 done
3591 (set) 2>&1 |
3592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3593 *${as_nl}ac_space=\ *)
3594 sed -n \
3595 "s/'\''/'\''\\\\'\'''\''/g;
3596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3597 ;; #(
3599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3601 esac |
3602 sort
3604 echo
3606 $as_echo "## ----------------- ##
3607 ## Output variables. ##
3608 ## ----------------- ##"
3609 echo
3610 for ac_var in $ac_subst_vars
3612 eval ac_val=\$$ac_var
3613 case $ac_val in
3614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3615 esac
3616 $as_echo "$ac_var='\''$ac_val'\''"
3617 done | sort
3618 echo
3620 if test -n "$ac_subst_files"; then
3621 $as_echo "## ------------------- ##
3622 ## File substitutions. ##
3623 ## ------------------- ##"
3624 echo
3625 for ac_var in $ac_subst_files
3627 eval ac_val=\$$ac_var
3628 case $ac_val in
3629 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3630 esac
3631 $as_echo "$ac_var='\''$ac_val'\''"
3632 done | sort
3633 echo
3636 if test -s confdefs.h; then
3637 $as_echo "## ----------- ##
3638 ## confdefs.h. ##
3639 ## ----------- ##"
3640 echo
3641 cat confdefs.h
3642 echo
3644 test "$ac_signal" != 0 &&
3645 $as_echo "$as_me: caught signal $ac_signal"
3646 $as_echo "$as_me: exit $exit_status"
3647 } >&5
3648 rm -f core *.core core.conftest.* &&
3649 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3650 exit $exit_status
3652 for ac_signal in 1 2 13 15; do
3653 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3654 done
3655 ac_signal=0
3657 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3658 rm -f -r conftest* confdefs.h
3660 $as_echo "/* confdefs.h */" > confdefs.h
3662 # Predefined preprocessor variables.
3664 cat >>confdefs.h <<_ACEOF
3665 #define PACKAGE_NAME "$PACKAGE_NAME"
3666 _ACEOF
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3670 _ACEOF
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_STRING "$PACKAGE_STRING"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3682 _ACEOF
3684 cat >>confdefs.h <<_ACEOF
3685 #define PACKAGE_URL "$PACKAGE_URL"
3686 _ACEOF
3689 # Let the site file select an alternate cache file if it wants to.
3690 # Prefer an explicitly selected file to automatically selected ones.
3691 ac_site_file1=NONE
3692 ac_site_file2=NONE
3693 if test -n "$CONFIG_SITE"; then
3694 # We do not want a PATH search for config.site.
3695 case $CONFIG_SITE in #((
3696 -*) ac_site_file1=./$CONFIG_SITE;;
3697 */*) ac_site_file1=$CONFIG_SITE;;
3698 *) ac_site_file1=./$CONFIG_SITE;;
3699 esac
3700 elif test "x$prefix" != xNONE; then
3701 ac_site_file1=$prefix/share/config.site
3702 ac_site_file2=$prefix/etc/config.site
3703 else
3704 ac_site_file1=$ac_default_prefix/share/config.site
3705 ac_site_file2=$ac_default_prefix/etc/config.site
3707 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3709 test "x$ac_site_file" = xNONE && continue
3710 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3712 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3713 sed 's/^/| /' "$ac_site_file" >&5
3714 . "$ac_site_file" \
3715 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3717 as_fn_error $? "failed to load site script $ac_site_file
3718 See \`config.log' for more details" "$LINENO" 5; }
3720 done
3722 if test -r "$cache_file"; then
3723 # Some versions of bash will fail to source /dev/null (special files
3724 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3725 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3727 $as_echo "$as_me: loading cache $cache_file" >&6;}
3728 case $cache_file in
3729 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3730 *) . "./$cache_file";;
3731 esac
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3735 $as_echo "$as_me: creating cache $cache_file" >&6;}
3736 >$cache_file
3739 # Check that the precious variables saved in the cache have kept the same
3740 # value.
3741 ac_cache_corrupted=false
3742 for ac_var in $ac_precious_vars; do
3743 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3744 eval ac_new_set=\$ac_env_${ac_var}_set
3745 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3746 eval ac_new_val=\$ac_env_${ac_var}_value
3747 case $ac_old_set,$ac_new_set in
3748 set,)
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3750 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3751 ac_cache_corrupted=: ;;
3752 ,set)
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3754 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3755 ac_cache_corrupted=: ;;
3756 ,);;
3758 if test "x$ac_old_val" != "x$ac_new_val"; then
3759 # differences in whitespace do not lead to failure.
3760 ac_old_val_w=`echo x $ac_old_val`
3761 ac_new_val_w=`echo x $ac_new_val`
3762 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3764 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3765 ac_cache_corrupted=:
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3768 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3769 eval $ac_var=\$ac_old_val
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3772 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3774 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3775 fi;;
3776 esac
3777 # Pass precious variables to config.status.
3778 if test "$ac_new_set" = set; then
3779 case $ac_new_val in
3780 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3781 *) ac_arg=$ac_var=$ac_new_val ;;
3782 esac
3783 case " $ac_configure_args " in
3784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3785 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3786 esac
3788 done
3789 if $ac_cache_corrupted; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3793 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3794 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3796 ## -------------------- ##
3797 ## Main body of script. ##
3798 ## -------------------- ##
3800 ac_ext=c
3801 ac_cpp='$CPP $CPPFLAGS'
3802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 ac_config_headers="$ac_config_headers include/config.h"
3810 ac_aux_dir=
3811 for ac_dir in tools "$srcdir"/tools; do
3812 if test -f "$ac_dir/install-sh"; then
3813 ac_aux_dir=$ac_dir
3814 ac_install_sh="$ac_aux_dir/install-sh -c"
3815 break
3816 elif test -f "$ac_dir/install.sh"; then
3817 ac_aux_dir=$ac_dir
3818 ac_install_sh="$ac_aux_dir/install.sh -c"
3819 break
3820 elif test -f "$ac_dir/shtool"; then
3821 ac_aux_dir=$ac_dir
3822 ac_install_sh="$ac_aux_dir/shtool install -c"
3823 break
3825 done
3826 if test -z "$ac_aux_dir"; then
3827 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3830 # These three variables are undocumented and unsupported,
3831 # and are intended to be withdrawn in a future Autoconf release.
3832 # They can cause serious problems if a builder's source tree is in a directory
3833 # whose full name contains unusual characters.
3834 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3835 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3836 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3840 libwine_version="1.0"
3844 # Check whether --enable-win16 was given.
3845 if test "${enable_win16+set}" = set; then :
3846 enableval=$enable_win16;
3849 # Check whether --enable-win64 was given.
3850 if test "${enable_win64+set}" = set; then :
3851 enableval=$enable_win64;
3854 # Check whether --enable-tests was given.
3855 if test "${enable_tests+set}" = set; then :
3856 enableval=$enable_tests;
3859 # Check whether --enable-maintainer-mode was given.
3860 if test "${enable_maintainer_mode+set}" = set; then :
3861 enableval=$enable_maintainer_mode;
3866 # Check whether --with-alsa was given.
3867 if test "${with_alsa+set}" = set; then :
3868 withval=$with_alsa;
3872 # Check whether --with-capi was given.
3873 if test "${with_capi+set}" = set; then :
3874 withval=$with_capi;
3878 # Check whether --with-cms was given.
3879 if test "${with_cms+set}" = set; then :
3880 withval=$with_cms;
3884 # Check whether --with-coreaudio was given.
3885 if test "${with_coreaudio+set}" = set; then :
3886 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3890 # Check whether --with-cups was given.
3891 if test "${with_cups+set}" = set; then :
3892 withval=$with_cups;
3896 # Check whether --with-curses was given.
3897 if test "${with_curses+set}" = set; then :
3898 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3902 # Check whether --with-dbus was given.
3903 if test "${with_dbus+set}" = set; then :
3904 withval=$with_dbus;
3908 # Check whether --with-faudio was given.
3909 if test "${with_faudio+set}" = set; then :
3910 withval=$with_faudio;
3914 # Check whether --with-float-abi was given.
3915 if test "${with_float_abi+set}" = set; then :
3916 withval=$with_float_abi;
3920 # Check whether --with-fontconfig was given.
3921 if test "${with_fontconfig+set}" = set; then :
3922 withval=$with_fontconfig;
3926 # Check whether --with-freetype was given.
3927 if test "${with_freetype+set}" = set; then :
3928 withval=$with_freetype;
3932 # Check whether --with-gettext was given.
3933 if test "${with_gettext+set}" = set; then :
3934 withval=$with_gettext;
3938 # Check whether --with-gettextpo was given.
3939 if test "${with_gettextpo+set}" = set; then :
3940 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3944 # Check whether --with-gphoto was given.
3945 if test "${with_gphoto+set}" = set; then :
3946 withval=$with_gphoto;
3950 # Check whether --with-glu was given.
3951 if test "${with_glu+set}" = set; then :
3952 withval=$with_glu;
3956 # Check whether --with-gnutls was given.
3957 if test "${with_gnutls+set}" = set; then :
3958 withval=$with_gnutls;
3962 # Check whether --with-gsm was given.
3963 if test "${with_gsm+set}" = set; then :
3964 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3968 # Check whether --with-gssapi was given.
3969 if test "${with_gssapi+set}" = set; then :
3970 withval=$with_gssapi;
3974 # Check whether --with-gstreamer was given.
3975 if test "${with_gstreamer+set}" = set; then :
3976 withval=$with_gstreamer;
3980 # Check whether --with-hal was given.
3981 if test "${with_hal+set}" = set; then :
3982 withval=$with_hal;
3986 # Check whether --with-inotify was given.
3987 if test "${with_inotify+set}" = set; then :
3988 withval=$with_inotify;
3992 # Check whether --with-jpeg was given.
3993 if test "${with_jpeg+set}" = set; then :
3994 withval=$with_jpeg;
3998 # Check whether --with-krb5 was given.
3999 if test "${with_krb5+set}" = set; then :
4000 withval=$with_krb5;
4004 # Check whether --with-ldap was given.
4005 if test "${with_ldap+set}" = set; then :
4006 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4010 # Check whether --with-mingw was given.
4011 if test "${with_mingw+set}" = set; then :
4012 withval=$with_mingw;
4016 # Check whether --with-mpg123 was given.
4017 if test "${with_mpg123+set}" = set; then :
4018 withval=$with_mpg123;
4022 # Check whether --with-netapi was given.
4023 if test "${with_netapi+set}" = set; then :
4024 withval=$with_netapi;
4028 # Check whether --with-openal was given.
4029 if test "${with_openal+set}" = set; then :
4030 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4034 # Check whether --with-opencl was given.
4035 if test "${with_opencl+set}" = set; then :
4036 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4040 # Check whether --with-opengl was given.
4041 if test "${with_opengl+set}" = set; then :
4042 withval=$with_opengl;
4046 # Check whether --with-osmesa was given.
4047 if test "${with_osmesa+set}" = set; then :
4048 withval=$with_osmesa;
4052 # Check whether --with-oss was given.
4053 if test "${with_oss+set}" = set; then :
4054 withval=$with_oss;
4058 # Check whether --with-pcap was given.
4059 if test "${with_pcap+set}" = set; then :
4060 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4064 # Check whether --with-png was given.
4065 if test "${with_png+set}" = set; then :
4066 withval=$with_png;
4070 # Check whether --with-pthread was given.
4071 if test "${with_pthread+set}" = set; then :
4072 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4076 # Check whether --with-pulse was given.
4077 if test "${with_pulse+set}" = set; then :
4078 withval=$with_pulse;
4082 # Check whether --with-sane was given.
4083 if test "${with_sane+set}" = set; then :
4084 withval=$with_sane;
4088 # Check whether --with-sdl was given.
4089 if test "${with_sdl+set}" = set; then :
4090 withval=$with_sdl;
4094 # Check whether --with-tiff was given.
4095 if test "${with_tiff+set}" = set; then :
4096 withval=$with_tiff;
4100 # Check whether --with-udev was given.
4101 if test "${with_udev+set}" = set; then :
4102 withval=$with_udev;
4106 # Check whether --with-unwind was given.
4107 if test "${with_unwind+set}" = set; then :
4108 withval=$with_unwind;
4112 # Check whether --with-v4l2 was given.
4113 if test "${with_v4l2+set}" = set; then :
4114 withval=$with_v4l2;
4118 # Check whether --with-vkd3d was given.
4119 if test "${with_vkd3d+set}" = set; then :
4120 withval=$with_vkd3d;
4124 # Check whether --with-vulkan was given.
4125 if test "${with_vulkan+set}" = set; then :
4126 withval=$with_vulkan;
4130 # Check whether --with-xcomposite was given.
4131 if test "${with_xcomposite+set}" = set; then :
4132 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4136 # Check whether --with-xcursor was given.
4137 if test "${with_xcursor+set}" = set; then :
4138 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4142 # Check whether --with-xfixes was given.
4143 if test "${with_xfixes+set}" = set; then :
4144 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4148 # Check whether --with-xinerama was given.
4149 if test "${with_xinerama+set}" = set; then :
4150 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4154 # Check whether --with-xinput was given.
4155 if test "${with_xinput+set}" = set; then :
4156 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4160 # Check whether --with-xinput2 was given.
4161 if test "${with_xinput2+set}" = set; then :
4162 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4166 # Check whether --with-xml was given.
4167 if test "${with_xml+set}" = set; then :
4168 withval=$with_xml;
4172 # Check whether --with-xrandr was given.
4173 if test "${with_xrandr+set}" = set; then :
4174 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4178 # Check whether --with-xrender was given.
4179 if test "${with_xrender+set}" = set; then :
4180 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4184 # Check whether --with-xshape was given.
4185 if test "${with_xshape+set}" = set; then :
4186 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4190 # Check whether --with-xshm was given.
4191 if test "${with_xshm+set}" = set; then :
4192 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4196 # Check whether --with-xslt was given.
4197 if test "${with_xslt+set}" = set; then :
4198 withval=$with_xslt;
4202 # Check whether --with-xxf86vm was given.
4203 if test "${with_xxf86vm+set}" = set; then :
4204 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
4208 # Check whether --with-zlib was given.
4209 if test "${with_zlib+set}" = set; then :
4210 withval=$with_zlib;
4215 # Check whether --with-wine-tools was given.
4216 if test "${with_wine_tools+set}" = set; then :
4217 withval=$with_wine_tools;
4221 # Check whether --with-wine64 was given.
4222 if test "${with_wine64+set}" = set; then :
4223 withval=$with_wine64;
4227 # Make sure we can run config.sub.
4228 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4229 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4232 $as_echo_n "checking build system type... " >&6; }
4233 if ${ac_cv_build+:} false; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 ac_build_alias=$build_alias
4237 test "x$ac_build_alias" = x &&
4238 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4239 test "x$ac_build_alias" = x &&
4240 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4241 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4242 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4246 $as_echo "$ac_cv_build" >&6; }
4247 case $ac_cv_build in
4248 *-*-*) ;;
4249 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4250 esac
4251 build=$ac_cv_build
4252 ac_save_IFS=$IFS; IFS='-'
4253 set x $ac_cv_build
4254 shift
4255 build_cpu=$1
4256 build_vendor=$2
4257 shift; shift
4258 # Remember, the first character of IFS is used to create $*,
4259 # except with old shells:
4260 build_os=$*
4261 IFS=$ac_save_IFS
4262 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4266 $as_echo_n "checking host system type... " >&6; }
4267 if ${ac_cv_host+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 if test "x$host_alias" = x; then
4271 ac_cv_host=$ac_cv_build
4272 else
4273 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4274 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4279 $as_echo "$ac_cv_host" >&6; }
4280 case $ac_cv_host in
4281 *-*-*) ;;
4282 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4283 esac
4284 host=$ac_cv_host
4285 ac_save_IFS=$IFS; IFS='-'
4286 set x $ac_cv_host
4287 shift
4288 host_cpu=$1
4289 host_vendor=$2
4290 shift; shift
4291 # Remember, the first character of IFS is used to create $*,
4292 # except with old shells:
4293 host_os=$*
4294 IFS=$ac_save_IFS
4295 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4301 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4302 set x ${MAKE-make}
4303 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4304 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 cat >conftest.make <<\_ACEOF
4308 SHELL = /bin/sh
4309 all:
4310 @echo '@@@%%%=$(MAKE)=@@@%%%'
4311 _ACEOF
4312 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4313 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4314 *@@@%%%=?*=@@@%%%*)
4315 eval ac_cv_prog_make_${ac_make}_set=yes;;
4317 eval ac_cv_prog_make_${ac_make}_set=no;;
4318 esac
4319 rm -f conftest.make
4321 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4323 $as_echo "yes" >&6; }
4324 SET_MAKE=
4325 else
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4328 SET_MAKE="MAKE=${MAKE-make}"
4331 ac_ext=c
4332 ac_cpp='$CPP $CPPFLAGS'
4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4336 if test -n "$ac_tool_prefix"; then
4337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_CC+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$CC"; then
4345 ac_cv_prog_CC="$CC" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 CC=$ac_cv_prog_CC
4365 if test -n "$CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4367 $as_echo "$CC" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4375 if test -z "$ac_cv_prog_CC"; then
4376 ac_ct_CC=$CC
4377 # Extract the first word of "gcc", so it can be a program name with args.
4378 set dummy gcc; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$ac_ct_CC"; then
4385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_ac_ct_CC="gcc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4405 if test -n "$ac_ct_CC"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4407 $as_echo "$ac_ct_CC" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4413 if test "x$ac_ct_CC" = x; then
4414 CC=""
4415 else
4416 case $cross_compiling:$ac_tool_warned in
4417 yes:)
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4420 ac_tool_warned=yes ;;
4421 esac
4422 CC=$ac_ct_CC
4424 else
4425 CC="$ac_cv_prog_CC"
4428 if test -z "$CC"; then
4429 if test -n "$ac_tool_prefix"; then
4430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4431 set dummy ${ac_tool_prefix}cc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_CC="${ac_tool_prefix}cc"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 CC=$ac_cv_prog_CC
4458 if test -n "$CC"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4460 $as_echo "$CC" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4469 if test -z "$CC"; then
4470 # Extract the first word of "cc", so it can be a program name with args.
4471 set dummy cc; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC="$CC" # Let the user override the test.
4479 else
4480 ac_prog_rejected=no
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4489 ac_prog_rejected=yes
4490 continue
4492 ac_cv_prog_CC="cc"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4500 if test $ac_prog_rejected = yes; then
4501 # We found a bogon in the path, so make sure we never use it.
4502 set dummy $ac_cv_prog_CC
4503 shift
4504 if test $# != 0; then
4505 # We chose a different compiler from the bogus one.
4506 # However, it has the same basename, so the bogon will be chosen
4507 # first if we set CC to just the basename; use the full file name.
4508 shift
4509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4514 CC=$ac_cv_prog_CC
4515 if test -n "$CC"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4517 $as_echo "$CC" >&6; }
4518 else
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4525 if test -z "$CC"; then
4526 if test -n "$ac_tool_prefix"; then
4527 for ac_prog in cl.exe
4529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_CC+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 if test -n "$CC"; then
4537 ac_cv_prog_CC="$CC" # Let the user override the test.
4538 else
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 break 2
4550 done
4551 done
4552 IFS=$as_save_IFS
4556 CC=$ac_cv_prog_CC
4557 if test -n "$CC"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4559 $as_echo "$CC" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$CC" && break
4567 done
4569 if test -z "$CC"; then
4570 ac_ct_CC=$CC
4571 for ac_prog in cl.exe
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy $ac_prog; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$ac_ct_CC"; then
4581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4582 else
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_ac_ct_CC="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4601 if test -n "$ac_ct_CC"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4603 $as_echo "$ac_ct_CC" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$ac_ct_CC" && break
4611 done
4613 if test "x$ac_ct_CC" = x; then
4614 CC=""
4615 else
4616 case $cross_compiling:$ac_tool_warned in
4617 yes:)
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4620 ac_tool_warned=yes ;;
4621 esac
4622 CC=$ac_ct_CC
4629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4631 as_fn_error $? "no acceptable C compiler found in \$PATH
4632 See \`config.log' for more details" "$LINENO" 5; }
4634 # Provide some information about the compiler.
4635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4636 set X $ac_compile
4637 ac_compiler=$2
4638 for ac_option in --version -v -V -qversion; do
4639 { { ac_try="$ac_compiler $ac_option >&5"
4640 case "(($ac_try" in
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4643 esac
4644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4645 $as_echo "$ac_try_echo"; } >&5
4646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4647 ac_status=$?
4648 if test -s conftest.err; then
4649 sed '10a\
4650 ... rest of stderr output deleted ...
4651 10q' conftest.err >conftest.er1
4652 cat conftest.er1 >&5
4654 rm -f conftest.er1 conftest.err
4655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4656 test $ac_status = 0; }
4657 done
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4663 main ()
4667 return 0;
4669 _ACEOF
4670 ac_clean_files_save=$ac_clean_files
4671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4672 # Try to create an executable without -o first, disregard a.out.
4673 # It will help us diagnose broken compilers, and finding out an intuition
4674 # of exeext.
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4676 $as_echo_n "checking whether the C compiler works... " >&6; }
4677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4679 # The possible output files:
4680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4682 ac_rmfiles=
4683 for ac_file in $ac_files
4685 case $ac_file in
4686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4688 esac
4689 done
4690 rm -f $ac_rmfiles
4692 if { { ac_try="$ac_link_default"
4693 case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4696 esac
4697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4698 $as_echo "$ac_try_echo"; } >&5
4699 (eval "$ac_link_default") 2>&5
4700 ac_status=$?
4701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4702 test $ac_status = 0; }; then :
4703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4706 # so that the user can short-circuit this test for compilers unknown to
4707 # Autoconf.
4708 for ac_file in $ac_files ''
4710 test -f "$ac_file" || continue
4711 case $ac_file in
4712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4714 [ab].out )
4715 # We found the default executable, but exeext='' is most
4716 # certainly right.
4717 break;;
4718 *.* )
4719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4720 then :; else
4721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4723 # We set ac_cv_exeext here because the later test for it is not
4724 # safe: cross compilers may not add the suffix if given an `-o'
4725 # argument, so we may need to know it at that point already.
4726 # Even if this section looks crufty: it has the advantage of
4727 # actually working.
4728 break;;
4730 break;;
4731 esac
4732 done
4733 test "$ac_cv_exeext" = no && ac_cv_exeext=
4735 else
4736 ac_file=''
4738 if test -z "$ac_file"; then :
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4741 $as_echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error 77 "C compiler cannot create executables
4747 See \`config.log' for more details" "$LINENO" 5; }
4748 else
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4750 $as_echo "yes" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4753 $as_echo_n "checking for C compiler default output file name... " >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4755 $as_echo "$ac_file" >&6; }
4756 ac_exeext=$ac_cv_exeext
4758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4759 ac_clean_files=$ac_clean_files_save
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4761 $as_echo_n "checking for suffix of executables... " >&6; }
4762 if { { ac_try="$ac_link"
4763 case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_link") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }; then :
4773 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4775 # work properly (i.e., refer to `conftest.exe'), while it won't with
4776 # `rm'.
4777 for ac_file in conftest.exe conftest conftest.*; do
4778 test -f "$ac_file" || continue
4779 case $ac_file in
4780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4782 break;;
4783 * ) break;;
4784 esac
4785 done
4786 else
4787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4790 See \`config.log' for more details" "$LINENO" 5; }
4792 rm -f conftest conftest$ac_cv_exeext
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4794 $as_echo "$ac_cv_exeext" >&6; }
4796 rm -f conftest.$ac_ext
4797 EXEEXT=$ac_cv_exeext
4798 ac_exeext=$EXEEXT
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #include <stdio.h>
4803 main ()
4805 FILE *f = fopen ("conftest.out", "w");
4806 return ferror (f) || fclose (f) != 0;
4809 return 0;
4811 _ACEOF
4812 ac_clean_files="$ac_clean_files conftest.out"
4813 # Check that the compiler produces executables we can run. If not, either
4814 # the compiler is broken, or we cross compile.
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4816 $as_echo_n "checking whether we are cross compiling... " >&6; }
4817 if test "$cross_compiling" != yes; then
4818 { { ac_try="$ac_link"
4819 case "(($ac_try" in
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4822 esac
4823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4824 $as_echo "$ac_try_echo"; } >&5
4825 (eval "$ac_link") 2>&5
4826 ac_status=$?
4827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4828 test $ac_status = 0; }
4829 if { ac_try='./conftest$ac_cv_exeext'
4830 { { case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4835 $as_echo "$ac_try_echo"; } >&5
4836 (eval "$ac_try") 2>&5
4837 ac_status=$?
4838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4839 test $ac_status = 0; }; }; then
4840 cross_compiling=no
4841 else
4842 if test "$cross_compiling" = maybe; then
4843 cross_compiling=yes
4844 else
4845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4847 as_fn_error $? "cannot run C compiled programs.
4848 If you meant to cross compile, use \`--host'.
4849 See \`config.log' for more details" "$LINENO" 5; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4854 $as_echo "$cross_compiling" >&6; }
4856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4857 ac_clean_files=$ac_clean_files_save
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4859 $as_echo_n "checking for suffix of object files... " >&6; }
4860 if ${ac_cv_objext+:} false; then :
4861 $as_echo_n "(cached) " >&6
4862 else
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 rm -f conftest.o conftest.obj
4875 if { { ac_try="$ac_compile"
4876 case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_compile") 2>&5
4883 ac_status=$?
4884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4885 test $ac_status = 0; }; then :
4886 for ac_file in conftest.o conftest.obj conftest.*; do
4887 test -f "$ac_file" || continue;
4888 case $ac_file in
4889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4891 break;;
4892 esac
4893 done
4894 else
4895 $as_echo "$as_me: failed program was:" >&5
4896 sed 's/^/| /' conftest.$ac_ext >&5
4898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4900 as_fn_error $? "cannot compute suffix of object files: cannot compile
4901 See \`config.log' for more details" "$LINENO" 5; }
4903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4906 $as_echo "$ac_cv_objext" >&6; }
4907 OBJEXT=$ac_cv_objext
4908 ac_objext=$OBJEXT
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4911 if ${ac_cv_c_compiler_gnu+:} false; then :
4912 $as_echo_n "(cached) " >&6
4913 else
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4918 main ()
4920 #ifndef __GNUC__
4921 choke me
4922 #endif
4925 return 0;
4927 _ACEOF
4928 if ac_fn_c_try_compile "$LINENO"; then :
4929 ac_compiler_gnu=yes
4930 else
4931 ac_compiler_gnu=no
4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4939 if test $ac_compiler_gnu = yes; then
4940 GCC=yes
4941 else
4942 GCC=
4944 ac_test_CFLAGS=${CFLAGS+set}
4945 ac_save_CFLAGS=$CFLAGS
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4948 if ${ac_cv_prog_cc_g+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 ac_save_c_werror_flag=$ac_c_werror_flag
4952 ac_c_werror_flag=yes
4953 ac_cv_prog_cc_g=no
4954 CFLAGS="-g"
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 if ac_fn_c_try_compile "$LINENO"; then :
4967 ac_cv_prog_cc_g=yes
4968 else
4969 CFLAGS=""
4970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4974 main ()
4978 return 0;
4980 _ACEOF
4981 if ac_fn_c_try_compile "$LINENO"; then :
4983 else
4984 ac_c_werror_flag=$ac_save_c_werror_flag
4985 CFLAGS="-g"
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4990 main ()
4994 return 0;
4996 _ACEOF
4997 if ac_fn_c_try_compile "$LINENO"; then :
4998 ac_cv_prog_cc_g=yes
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005 ac_c_werror_flag=$ac_save_c_werror_flag
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5008 $as_echo "$ac_cv_prog_cc_g" >&6; }
5009 if test "$ac_test_CFLAGS" = set; then
5010 CFLAGS=$ac_save_CFLAGS
5011 elif test $ac_cv_prog_cc_g = yes; then
5012 if test "$GCC" = yes; then
5013 CFLAGS="-g -O2"
5014 else
5015 CFLAGS="-g"
5017 else
5018 if test "$GCC" = yes; then
5019 CFLAGS="-O2"
5020 else
5021 CFLAGS=
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5026 if ${ac_cv_prog_cc_c89+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 ac_cv_prog_cc_c89=no
5030 ac_save_CC=$CC
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5033 #include <stdarg.h>
5034 #include <stdio.h>
5035 struct stat;
5036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5037 struct buf { int x; };
5038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5039 static char *e (p, i)
5040 char **p;
5041 int i;
5043 return p[i];
5045 static char *f (char * (*g) (char **, int), char **p, ...)
5047 char *s;
5048 va_list v;
5049 va_start (v,p);
5050 s = g (p, va_arg (v,int));
5051 va_end (v);
5052 return s;
5055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5056 function prototypes and stuff, but not '\xHH' hex character constants.
5057 These don't provoke an error unfortunately, instead are silently treated
5058 as 'x'. The following induces an error, until -std is added to get
5059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5060 array size at least. It's necessary to write '\x00'==0 to get something
5061 that's true only with -std. */
5062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5065 inside strings and character constants. */
5066 #define FOO(x) 'x'
5067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5069 int test (int i, double x);
5070 struct s1 {int (*f) (int a);};
5071 struct s2 {int (*f) (double a);};
5072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5073 int argc;
5074 char **argv;
5076 main ()
5078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5080 return 0;
5082 _ACEOF
5083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5086 CC="$ac_save_CC $ac_arg"
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 ac_cv_prog_cc_c89=$ac_arg
5090 rm -f core conftest.err conftest.$ac_objext
5091 test "x$ac_cv_prog_cc_c89" != "xno" && break
5092 done
5093 rm -f conftest.$ac_ext
5094 CC=$ac_save_CC
5097 # AC_CACHE_VAL
5098 case "x$ac_cv_prog_cc_c89" in
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5101 $as_echo "none needed" >&6; } ;;
5102 xno)
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5104 $as_echo "unsupported" >&6; } ;;
5106 CC="$CC $ac_cv_prog_cc_c89"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5109 esac
5110 if test "x$ac_cv_prog_cc_c89" != xno; then :
5114 ac_ext=c
5115 ac_cpp='$CPP $CPPFLAGS'
5116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5120 ac_ext=cpp
5121 ac_cpp='$CXXCPP $CPPFLAGS'
5122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5125 if test -z "$CXX"; then
5126 if test -n "$CCC"; then
5127 CXX=$CCC
5128 else
5129 if test -n "$ac_tool_prefix"; then
5130 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_CXX+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$CXX"; then
5140 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 CXX=$ac_cv_prog_CXX
5160 if test -n "$CXX"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5162 $as_echo "$CXX" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5169 test -n "$CXX" && break
5170 done
5172 if test -z "$CXX"; then
5173 ac_ct_CXX=$CXX
5174 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5176 # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy $ac_prog; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5181 $as_echo_n "(cached) " >&6
5182 else
5183 if test -n "$ac_ct_CXX"; then
5184 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5189 IFS=$as_save_IFS
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_ac_ct_CXX="$ac_prog"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 break 2
5197 done
5198 done
5199 IFS=$as_save_IFS
5203 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5204 if test -n "$ac_ct_CXX"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5206 $as_echo "$ac_ct_CXX" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 test -n "$ac_ct_CXX" && break
5214 done
5216 if test "x$ac_ct_CXX" = x; then
5217 CXX="g++"
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 CXX=$ac_ct_CXX
5231 # Provide some information about the compiler.
5232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5233 set X $ac_compile
5234 ac_compiler=$2
5235 for ac_option in --version -v -V -qversion; do
5236 { { ac_try="$ac_compiler $ac_option >&5"
5237 case "(($ac_try" in
5238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5239 *) ac_try_echo=$ac_try;;
5240 esac
5241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5242 $as_echo "$ac_try_echo"; } >&5
5243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5244 ac_status=$?
5245 if test -s conftest.err; then
5246 sed '10a\
5247 ... rest of stderr output deleted ...
5248 10q' conftest.err >conftest.er1
5249 cat conftest.er1 >&5
5251 rm -f conftest.er1 conftest.err
5252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5253 test $ac_status = 0; }
5254 done
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5257 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5258 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5265 main ()
5267 #ifndef __GNUC__
5268 choke me
5269 #endif
5272 return 0;
5274 _ACEOF
5275 if ac_fn_cxx_try_compile "$LINENO"; then :
5276 ac_compiler_gnu=yes
5277 else
5278 ac_compiler_gnu=no
5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5281 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5285 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5286 if test $ac_compiler_gnu = yes; then
5287 GXX=yes
5288 else
5289 GXX=
5291 ac_test_CXXFLAGS=${CXXFLAGS+set}
5292 ac_save_CXXFLAGS=$CXXFLAGS
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5294 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5295 if ${ac_cv_prog_cxx_g+:} false; then :
5296 $as_echo_n "(cached) " >&6
5297 else
5298 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5299 ac_cxx_werror_flag=yes
5300 ac_cv_prog_cxx_g=no
5301 CXXFLAGS="-g"
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5310 return 0;
5312 _ACEOF
5313 if ac_fn_cxx_try_compile "$LINENO"; then :
5314 ac_cv_prog_cxx_g=yes
5315 else
5316 CXXFLAGS=""
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5321 main ()
5325 return 0;
5327 _ACEOF
5328 if ac_fn_cxx_try_compile "$LINENO"; then :
5330 else
5331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5332 CXXFLAGS="-g"
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5337 main ()
5341 return 0;
5343 _ACEOF
5344 if ac_fn_cxx_try_compile "$LINENO"; then :
5345 ac_cv_prog_cxx_g=yes
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5355 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5356 if test "$ac_test_CXXFLAGS" = set; then
5357 CXXFLAGS=$ac_save_CXXFLAGS
5358 elif test $ac_cv_prog_cxx_g = yes; then
5359 if test "$GXX" = yes; then
5360 CXXFLAGS="-g -O2"
5361 else
5362 CXXFLAGS="-g"
5364 else
5365 if test "$GXX" = yes; then
5366 CXXFLAGS="-O2"
5367 else
5368 CXXFLAGS=
5371 ac_ext=c
5372 ac_cpp='$CPP $CPPFLAGS'
5373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_prog_CPPBIN+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$CPPBIN"; then
5386 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 CPPBIN=$ac_cv_prog_CPPBIN
5406 if test -n "$CPPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5408 $as_echo "$CPPBIN" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5416 if test -z "$ac_cv_prog_CPPBIN"; then
5417 ac_ct_CPPBIN=$CPPBIN
5418 # Extract the first word of "cpp", so it can be a program name with args.
5419 set dummy cpp; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$ac_ct_CPPBIN"; then
5426 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_CPPBIN="cpp"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5446 if test -n "$ac_ct_CPPBIN"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5448 $as_echo "$ac_ct_CPPBIN" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5454 if test "x$ac_ct_CPPBIN" = x; then
5455 CPPBIN="cpp"
5456 else
5457 case $cross_compiling:$ac_tool_warned in
5458 yes:)
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461 ac_tool_warned=yes ;;
5462 esac
5463 CPPBIN=$ac_ct_CPPBIN
5465 else
5466 CPPBIN="$ac_cv_prog_CPPBIN"
5470 cat >>confdefs.h <<_ACEOF
5471 #define EXEEXT "$ac_exeext"
5472 _ACEOF
5474 if test -n "$ac_tool_prefix"; then
5475 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5476 set dummy ${ac_tool_prefix}ld; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_LD+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$LD"; then
5483 ac_cv_prog_LD="$LD" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_LD="${ac_tool_prefix}ld"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 LD=$ac_cv_prog_LD
5503 if test -n "$LD"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5505 $as_echo "$LD" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5513 if test -z "$ac_cv_prog_LD"; then
5514 ac_ct_LD=$LD
5515 # Extract the first word of "ld", so it can be a program name with args.
5516 set dummy ld; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if test -n "$ac_ct_LD"; then
5523 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_ac_ct_LD="ld"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 break 2
5536 done
5537 done
5538 IFS=$as_save_IFS
5542 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5543 if test -n "$ac_ct_LD"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5545 $as_echo "$ac_ct_LD" >&6; }
5546 else
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5551 if test "x$ac_ct_LD" = x; then
5552 LD=""
5553 else
5554 case $cross_compiling:$ac_tool_warned in
5555 yes:)
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5558 ac_tool_warned=yes ;;
5559 esac
5560 LD=$ac_ct_LD
5562 else
5563 LD="$ac_cv_prog_LD"
5567 case $host in
5568 *-darwin*)
5569 with_fontconfig=${with_fontconfig:-no}
5571 *-mingw32*|*-cygwin*)
5572 enable_win16=${enable_win16:-no}
5573 with_mingw=${with_mingw:-no}
5574 CFLAGS="$CFLAGS -D_WIN32"
5576 esac
5578 case $host in
5579 x86_64*|amd64*)
5580 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5581 then
5582 CC="$CC -m32"
5583 CXX="$CXX -m32"
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5586 $as_echo_n "checking whether $CC works... " >&6; }
5587 if ${wine_cv_cc_m32+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5594 main ()
5598 return 0;
5600 _ACEOF
5601 if ac_fn_c_try_link "$LINENO"; then :
5602 wine_cv_cc_m32=yes
5603 else
5604 wine_cv_cc_m32=no
5606 rm -f core conftest.err conftest.$ac_objext \
5607 conftest$ac_exeext conftest.$ac_ext
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5610 $as_echo "$wine_cv_cc_m32" >&6; }
5611 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
5612 host_cpu="i386"
5613 notice_platform="32-bit "
5614 TARGETFLAGS="-m32"
5616 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5617 export PKG_CONFIG_PATH
5618 enable_win16=${enable_win16:-yes}
5619 with_unwind=${with_unwind:-no}
5620 else
5621 if test "x${GCC}" = "xyes"
5622 then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5624 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5625 if ${wine_cv_builtin_ms_va_list+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5630 #include <stdarg.h>
5632 main ()
5634 void func(__builtin_ms_va_list *args);
5636 return 0;
5638 _ACEOF
5639 if ac_fn_c_try_compile "$LINENO"; then :
5640 wine_cv_builtin_ms_va_list=yes
5641 else
5642 wine_cv_builtin_ms_va_list=no
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5647 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5648 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
5650 CC="$CC -m64"
5651 CXX="$CXX -m64"
5652 host_cpu="x86_64"
5653 notice_platform="64-bit "
5654 TARGETFLAGS="-m64"
5658 arm*)
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5660 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5661 if ${wine_cv_thumb+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5666 int ac_test(int i) { return i; }
5668 main ()
5670 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_link "$LINENO"; then :
5676 wine_cv_thumb=yes
5677 else
5678 wine_cv_thumb=no
5680 rm -f core conftest.err conftest.$ac_objext \
5681 conftest$ac_exeext conftest.$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5684 $as_echo "$wine_cv_thumb" >&6; }
5685 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5686 case $with_float_abi in
5687 soft|softfp|hard)
5688 float_abi=$with_float_abi ;;
5690 case $host_os in
5691 *eabihf)
5692 float_abi=hard ;;
5694 float_abi=softfp
5695 saved_CFLAGS=$CFLAGS
5696 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5698 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5699 if ${wine_cv_float_abi+:} false; then :
5700 $as_echo_n "(cached) " >&6
5701 else
5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5706 main ()
5708 asm("vmrs r2,fpscr");
5710 return 0;
5712 _ACEOF
5713 if ac_fn_c_try_link "$LINENO"; then :
5714 wine_cv_float_abi=yes
5715 else
5716 wine_cv_float_abi=no
5718 rm -f core conftest.err conftest.$ac_objext \
5719 conftest$ac_exeext conftest.$ac_ext
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5722 $as_echo "$wine_cv_float_abi" >&6; }
5723 if test $wine_cv_float_abi = no
5724 then
5725 float_abi=soft
5726 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5728 CFLAGS=$saved_CFLAGS
5729 esac
5731 esac
5732 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5733 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5736 aarch64*)
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5738 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5739 if ${wine_cv_builtin_ms_va_list+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5744 #include <stdarg.h>
5746 main ()
5748 void func(__builtin_ms_va_list *args);
5750 return 0;
5752 _ACEOF
5753 if ac_fn_c_try_compile "$LINENO"; then :
5754 wine_cv_builtin_ms_va_list=yes
5755 else
5756 wine_cv_builtin_ms_va_list=no
5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5761 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5762 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5764 i[3456789]86*)
5765 enable_win16=${enable_win16:-yes}
5766 with_unwind=${with_unwind:-no}
5768 esac
5770 enable_win16=${enable_win16:-no}
5771 enable_win64=${enable_win64:-no}
5773 enable_winetest=${enable_winetest:-$enable_tests}
5775 if test "x$enable_win64" = "xyes"
5776 then
5777 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5778 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5779 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5783 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5784 if ${wine_cv_toolsdir+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 wine_cv_toolsdir="$with_wine_tools"
5788 if test -z "$with_wine_tools"; then
5789 if test "$cross_compiling" = "yes"; then
5790 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5791 elif test -n "$with_wine64"; then
5792 wine_cv_toolsdir="$with_wine64"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5797 $as_echo "$wine_cv_toolsdir" >&6; }
5798 if test -z "$wine_cv_toolsdir"; then
5799 wine_makedep=tools/makedep
5800 TOOLSDIR="\$(top_builddir)"
5802 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5803 wine_makedep=$wine_cv_toolsdir/tools/makedep
5804 case "$wine_cv_toolsdir" in
5805 /*) TOOLSDIR=$wine_cv_toolsdir
5807 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5809 esac
5810 enable_tools=${enable_tools:-no}
5811 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5812 else
5813 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5815 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5816 then
5817 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5821 for ac_prog in flex
5823 # Extract the first word of "$ac_prog", so it can be a program name with args.
5824 set dummy $ac_prog; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_FLEX+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 if test -n "$FLEX"; then
5831 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5832 else
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 for as_dir in $PATH
5836 IFS=$as_save_IFS
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_prog_FLEX="$ac_prog"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 break 2
5844 done
5845 done
5846 IFS=$as_save_IFS
5850 FLEX=$ac_cv_prog_FLEX
5851 if test -n "$FLEX"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5853 $as_echo "$FLEX" >&6; }
5854 else
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5860 test -n "$FLEX" && break
5861 done
5862 test -n "$FLEX" || FLEX="none"
5864 if test "$FLEX" = "none"
5865 then
5866 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5869 $as_echo_n "checking whether flex is recent enough... " >&6; }
5870 if ${wine_cv_recent_flex+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 cat >conftest.l <<EOF
5874 %top{
5875 #include "prediluvian.h"
5879 if $FLEX -t conftest.l >/dev/null 2>&5
5880 then
5881 wine_cv_recent_flex=yes
5882 else
5883 wine_cv_recent_flex=no
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5887 $as_echo "$wine_cv_recent_flex" >&6; }
5888 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
5890 for ac_prog in bison
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_BISON+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if test -n "$BISON"; then
5900 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_BISON="$ac_prog"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 BISON=$ac_cv_prog_BISON
5920 if test -n "$BISON"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5922 $as_echo "$BISON" >&6; }
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5929 test -n "$BISON" && break
5930 done
5931 test -n "$BISON" || BISON="none"
5933 if test "$BISON" = "none"
5934 then
5935 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5938 $as_echo_n "checking whether bison is recent enough... " >&6; }
5939 if ${wine_cv_recent_bison+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 cat >conftest.y <<EOF
5943 %define parse.error verbose
5945 empty: ;
5947 if $BISON conftest.y >/dev/null 2>&5
5948 then
5949 wine_cv_recent_bison=yes
5950 else
5951 wine_cv_recent_bison=no
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5955 $as_echo "$wine_cv_recent_bison" >&6; }
5956 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
5958 if test -n "$ac_tool_prefix"; then
5959 for ac_prog in ar gar
5961 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5962 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_AR+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 if test -n "$AR"; then
5969 ac_cv_prog_AR="$AR" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 break 2
5982 done
5983 done
5984 IFS=$as_save_IFS
5988 AR=$ac_cv_prog_AR
5989 if test -n "$AR"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5991 $as_echo "$AR" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 test -n "$AR" && break
5999 done
6001 if test -z "$AR"; then
6002 ac_ct_AR=$AR
6003 for ac_prog in ar gar
6005 # Extract the first word of "$ac_prog", so it can be a program name with args.
6006 set dummy $ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$ac_ct_AR"; then
6013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_ac_ct_AR="$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6033 if test -n "$ac_ct_AR"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6035 $as_echo "$ac_ct_AR" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$ac_ct_AR" && break
6043 done
6045 if test "x$ac_ct_AR" = x; then
6046 AR="ar"
6047 else
6048 case $cross_compiling:$ac_tool_warned in
6049 yes:)
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned=yes ;;
6053 esac
6054 AR=$ac_ct_AR
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}strip; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_STRIP+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$STRIP"; then
6067 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6086 STRIP=$ac_cv_prog_STRIP
6087 if test -n "$STRIP"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6089 $as_echo "$STRIP" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6097 if test -z "$ac_cv_prog_STRIP"; then
6098 ac_ct_STRIP=$STRIP
6099 # Extract the first word of "strip", so it can be a program name with args.
6100 set dummy strip; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6104 $as_echo_n "(cached) " >&6
6105 else
6106 if test -n "$ac_ct_STRIP"; then
6107 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6112 IFS=$as_save_IFS
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_ac_ct_STRIP="strip"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 break 2
6120 done
6121 done
6122 IFS=$as_save_IFS
6126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6127 if test -n "$ac_ct_STRIP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6129 $as_echo "$ac_ct_STRIP" >&6; }
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6135 if test "x$ac_ct_STRIP" = x; then
6136 STRIP="strip"
6137 else
6138 case $cross_compiling:$ac_tool_warned in
6139 yes:)
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6143 esac
6144 STRIP=$ac_ct_STRIP
6146 else
6147 STRIP="$ac_cv_prog_STRIP"
6150 if test -n "$ac_tool_prefix"; then
6151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6152 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if ${ac_cv_prog_RANLIB+:} false; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 if test -n "$RANLIB"; then
6159 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6160 else
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH
6164 IFS=$as_save_IFS
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6168 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 break 2
6172 done
6173 done
6174 IFS=$as_save_IFS
6178 RANLIB=$ac_cv_prog_RANLIB
6179 if test -n "$RANLIB"; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6181 $as_echo "$RANLIB" >&6; }
6182 else
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6189 if test -z "$ac_cv_prog_RANLIB"; then
6190 ac_ct_RANLIB=$RANLIB
6191 # Extract the first word of "ranlib", so it can be a program name with args.
6192 set dummy ranlib; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$ac_ct_RANLIB"; then
6199 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_ac_ct_RANLIB="ranlib"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6219 if test -n "$ac_ct_RANLIB"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6221 $as_echo "$ac_ct_RANLIB" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6227 if test "x$ac_ct_RANLIB" = x; then
6228 RANLIB=":"
6229 else
6230 case $cross_compiling:$ac_tool_warned in
6231 yes:)
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6234 ac_tool_warned=yes ;;
6235 esac
6236 RANLIB=$ac_ct_RANLIB
6238 else
6239 RANLIB="$ac_cv_prog_RANLIB"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6243 $as_echo_n "checking whether ln -s works... " >&6; }
6244 LN_S=$as_ln_s
6245 if test "$LN_S" = "ln -s"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6247 $as_echo "yes" >&6; }
6248 else
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6250 $as_echo "no, using $LN_S" >&6; }
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6254 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6255 if ${ac_cv_path_GREP+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 if test -z "$GREP"; then
6259 ac_path_GREP_found=false
6260 # Loop through the user's path and test for each of PROGNAME-LIST
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_prog in grep ggrep; do
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6269 as_fn_executable_p "$ac_path_GREP" || continue
6270 # Check for GNU ac_path_GREP and select it if it is found.
6271 # Check for GNU $ac_path_GREP
6272 case `"$ac_path_GREP" --version 2>&1` in
6273 *GNU*)
6274 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6276 ac_count=0
6277 $as_echo_n 0123456789 >"conftest.in"
6278 while :
6280 cat "conftest.in" "conftest.in" >"conftest.tmp"
6281 mv "conftest.tmp" "conftest.in"
6282 cp "conftest.in" "conftest.nl"
6283 $as_echo 'GREP' >> "conftest.nl"
6284 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6285 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6286 as_fn_arith $ac_count + 1 && ac_count=$as_val
6287 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6288 # Best one so far, save it but keep looking for a better one
6289 ac_cv_path_GREP="$ac_path_GREP"
6290 ac_path_GREP_max=$ac_count
6292 # 10*(2^10) chars as input seems more than enough
6293 test $ac_count -gt 10 && break
6294 done
6295 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6296 esac
6298 $ac_path_GREP_found && break 3
6299 done
6300 done
6301 done
6302 IFS=$as_save_IFS
6303 if test -z "$ac_cv_path_GREP"; then
6304 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6306 else
6307 ac_cv_path_GREP=$GREP
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6312 $as_echo "$ac_cv_path_GREP" >&6; }
6313 GREP="$ac_cv_path_GREP"
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6317 $as_echo_n "checking for egrep... " >&6; }
6318 if ${ac_cv_path_EGREP+:} false; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6322 then ac_cv_path_EGREP="$GREP -E"
6323 else
6324 if test -z "$EGREP"; then
6325 ac_path_EGREP_found=false
6326 # Loop through the user's path and test for each of PROGNAME-LIST
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6330 IFS=$as_save_IFS
6331 test -z "$as_dir" && as_dir=.
6332 for ac_prog in egrep; do
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6335 as_fn_executable_p "$ac_path_EGREP" || continue
6336 # Check for GNU ac_path_EGREP and select it if it is found.
6337 # Check for GNU $ac_path_EGREP
6338 case `"$ac_path_EGREP" --version 2>&1` in
6339 *GNU*)
6340 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6342 ac_count=0
6343 $as_echo_n 0123456789 >"conftest.in"
6344 while :
6346 cat "conftest.in" "conftest.in" >"conftest.tmp"
6347 mv "conftest.tmp" "conftest.in"
6348 cp "conftest.in" "conftest.nl"
6349 $as_echo 'EGREP' >> "conftest.nl"
6350 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6351 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6352 as_fn_arith $ac_count + 1 && ac_count=$as_val
6353 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6354 # Best one so far, save it but keep looking for a better one
6355 ac_cv_path_EGREP="$ac_path_EGREP"
6356 ac_path_EGREP_max=$ac_count
6358 # 10*(2^10) chars as input seems more than enough
6359 test $ac_count -gt 10 && break
6360 done
6361 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6362 esac
6364 $ac_path_EGREP_found && break 3
6365 done
6366 done
6367 done
6368 IFS=$as_save_IFS
6369 if test -z "$ac_cv_path_EGREP"; then
6370 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6372 else
6373 ac_cv_path_EGREP=$EGREP
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6379 $as_echo "$ac_cv_path_EGREP" >&6; }
6380 EGREP="$ac_cv_path_EGREP"
6383 # Extract the first word of "ldconfig", so it can be a program name with args.
6384 set dummy ldconfig; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if ${ac_cv_path_LDCONFIG+:} false; then :
6388 $as_echo_n "(cached) " >&6
6389 else
6390 case $LDCONFIG in
6391 [\\/]* | ?:[\\/]*)
6392 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in /sbin /usr/sbin $PATH
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 break 2
6406 done
6407 done
6408 IFS=$as_save_IFS
6410 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6412 esac
6414 LDCONFIG=$ac_cv_path_LDCONFIG
6415 if test -n "$LDCONFIG"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6417 $as_echo "$LDCONFIG" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6424 for ac_prog in msgfmt
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy $ac_prog; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_MSGFMT+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$MSGFMT"; then
6434 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_MSGFMT="$ac_prog"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 MSGFMT=$ac_cv_prog_MSGFMT
6454 if test -n "$MSGFMT"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6456 $as_echo "$MSGFMT" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6463 test -n "$MSGFMT" && break
6464 done
6465 test -n "$MSGFMT" || MSGFMT="false"
6467 if ${ac_tool_prefix+:} false; then :
6468 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6469 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6473 $as_echo_n "(cached) " >&6
6474 else
6475 if test -n "$PKG_CONFIG"; then
6476 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6481 IFS=$as_save_IFS
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 break 2
6489 done
6490 done
6491 IFS=$as_save_IFS
6495 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6496 if test -n "$PKG_CONFIG"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6498 $as_echo "$PKG_CONFIG" >&6; }
6499 else
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6506 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6507 if test "x$cross_compiling" = xyes; then :
6509 else
6510 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6511 # Extract the first word of "pkg-config", so it can be a program name with args.
6512 set dummy pkg-config; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$PKG_CONFIG"; then
6519 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_PKG_CONFIG="pkg-config"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6539 if test -n "$PKG_CONFIG"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6541 $as_echo "$PKG_CONFIG" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 else
6550 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6553 if test "x$enable_maintainer_mode" != "xyes"
6554 then
6555 FONTFORGE=""
6556 RSVG=""
6557 CONVERT=""
6558 ICOTOOL=""
6559 else
6560 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6561 for ac_prog in fontforge
6563 # Extract the first word of "$ac_prog", so it can be a program name with args.
6564 set dummy $ac_prog; ac_word=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 $as_echo_n "checking for $ac_word... " >&6; }
6567 if ${ac_cv_prog_FONTFORGE+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 if test -n "$FONTFORGE"; then
6571 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6572 else
6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574 for as_dir in $PATH
6576 IFS=$as_save_IFS
6577 test -z "$as_dir" && as_dir=.
6578 for ac_exec_ext in '' $ac_executable_extensions; do
6579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6580 ac_cv_prog_FONTFORGE="$ac_prog"
6581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6582 break 2
6584 done
6585 done
6586 IFS=$as_save_IFS
6590 FONTFORGE=$ac_cv_prog_FONTFORGE
6591 if test -n "$FONTFORGE"; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6593 $as_echo "$FONTFORGE" >&6; }
6594 else
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596 $as_echo "no" >&6; }
6600 test -n "$FONTFORGE" && break
6601 done
6602 test -n "$FONTFORGE" || FONTFORGE="false"
6604 for ac_prog in rsvg-convert rsvg
6606 # Extract the first word of "$ac_prog", so it can be a program name with args.
6607 set dummy $ac_prog; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_RSVG+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$RSVG"; then
6614 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_RSVG="$ac_prog"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 RSVG=$ac_cv_prog_RSVG
6634 if test -n "$RSVG"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6636 $as_echo "$RSVG" >&6; }
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6643 test -n "$RSVG" && break
6644 done
6645 test -n "$RSVG" || RSVG="false"
6647 for ac_prog in convert
6649 # Extract the first word of "$ac_prog", so it can be a program name with args.
6650 set dummy $ac_prog; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_CONVERT+:} false; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$CONVERT"; then
6657 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_CONVERT="$ac_prog"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 CONVERT=$ac_cv_prog_CONVERT
6677 if test -n "$CONVERT"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6679 $as_echo "$CONVERT" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6686 test -n "$CONVERT" && break
6687 done
6688 test -n "$CONVERT" || CONVERT="false"
6690 for ac_prog in icotool
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_ICOTOOL+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 if test -n "$ICOTOOL"; then
6700 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6705 IFS=$as_save_IFS
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_ICOTOOL="$ac_prog"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 break 2
6713 done
6714 done
6715 IFS=$as_save_IFS
6719 ICOTOOL=$ac_cv_prog_ICOTOOL
6720 if test -n "$ICOTOOL"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6722 $as_echo "$ICOTOOL" >&6; }
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6729 test -n "$ICOTOOL" && break
6730 done
6731 test -n "$ICOTOOL" || ICOTOOL="false"
6733 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6734 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6736 if test "$CONVERT" = false
6737 then
6738 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6739 else
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6741 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6742 convert_version=`convert --version | head -n1`
6743 if test "x$convert_version" != "x"
6744 then
6745 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6746 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6747 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6748 then
6749 CONVERT=false
6752 if test "$CONVERT" = false
6753 then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6755 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6756 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6759 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6763 if test "$ICOTOOL" = false
6764 then
6765 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6766 else
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6768 $as_echo_n "checking for recent enough icotool... " >&6; }
6769 icotool_version=`icotool --version | head -n1`
6770 if test "x$icotool_version" != "x"
6771 then
6772 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6773 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6774 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6775 then
6776 ICOTOOL=false
6777 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6780 if test "$ICOTOOL" = false
6781 then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6783 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6784 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6785 else
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6787 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6791 with_gettext=yes
6792 with_gettextpo=yes
6795 test "x$with_gettext" != xno || MSGFMT=false
6796 if test "$MSGFMT" != "false"
6797 then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6799 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6800 if ${wine_cv_msgfmt_contexts+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 cat >conftest.po <<EOF
6804 # comment
6805 msgctxt "ctxt"
6806 msgid "id"
6807 msgstr "str"
6809 if $MSGFMT -o /dev/null conftest.po 2>&5
6810 then
6811 wine_cv_msgfmt_contexts=yes
6812 else
6813 wine_cv_msgfmt_contexts=no
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6817 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6818 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6820 if test "$MSGFMT" = false; then :
6821 case "x$with_gettext" in
6822 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6823 xno) ;;
6824 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6825 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6826 esac
6827 enable_po=${enable_po:-no}
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6832 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6833 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6834 $as_echo_n "(cached) " >&6
6835 else
6836 ac_check_lib_save_LIBS=$LIBS
6837 LIBS="-li386 $LIBS"
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6841 /* Override any GCC internal prototype to avoid an error.
6842 Use char because int might match the return type of a GCC
6843 builtin and then its argument prototype would still apply. */
6844 #ifdef __cplusplus
6845 extern "C"
6846 #endif
6847 char i386_set_ldt ();
6849 main ()
6851 return i386_set_ldt ();
6853 return 0;
6855 _ACEOF
6856 if ac_fn_c_try_link "$LINENO"; then :
6857 ac_cv_lib_i386_i386_set_ldt=yes
6858 else
6859 ac_cv_lib_i386_i386_set_ldt=no
6861 rm -f core conftest.err conftest.$ac_objext \
6862 conftest$ac_exeext conftest.$ac_ext
6863 LIBS=$ac_check_lib_save_LIBS
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6866 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6867 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6868 I386_LIBS="-li386"
6873 OPENGL_LIBS=""
6877 # Check whether --enable-largefile was given.
6878 if test "${enable_largefile+set}" = set; then :
6879 enableval=$enable_largefile;
6882 if test "$enable_largefile" != no; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6885 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6886 if ${ac_cv_sys_largefile_CC+:} false; then :
6887 $as_echo_n "(cached) " >&6
6888 else
6889 ac_cv_sys_largefile_CC=no
6890 if test "$GCC" != yes; then
6891 ac_save_CC=$CC
6892 while :; do
6893 # IRIX 6.2 and later do not support large files by default,
6894 # so use the C compiler's -n32 option if that helps.
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 #include <sys/types.h>
6898 /* Check that off_t can represent 2**63 - 1 correctly.
6899 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6900 since some C++ compilers masquerading as C compilers
6901 incorrectly reject 9223372036854775807. */
6902 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6903 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6904 && LARGE_OFF_T % 2147483647 == 1)
6905 ? 1 : -1];
6907 main ()
6911 return 0;
6913 _ACEOF
6914 if ac_fn_c_try_compile "$LINENO"; then :
6915 break
6917 rm -f core conftest.err conftest.$ac_objext
6918 CC="$CC -n32"
6919 if ac_fn_c_try_compile "$LINENO"; then :
6920 ac_cv_sys_largefile_CC=' -n32'; break
6922 rm -f core conftest.err conftest.$ac_objext
6923 break
6924 done
6925 CC=$ac_save_CC
6926 rm -f conftest.$ac_ext
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6930 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6931 if test "$ac_cv_sys_largefile_CC" != no; then
6932 CC=$CC$ac_cv_sys_largefile_CC
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6936 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6937 if ${ac_cv_sys_file_offset_bits+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 while :; do
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #include <sys/types.h>
6944 /* Check that off_t can represent 2**63 - 1 correctly.
6945 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6946 since some C++ compilers masquerading as C compilers
6947 incorrectly reject 9223372036854775807. */
6948 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6949 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6950 && LARGE_OFF_T % 2147483647 == 1)
6951 ? 1 : -1];
6953 main ()
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_compile "$LINENO"; then :
6961 ac_cv_sys_file_offset_bits=no; break
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6966 #define _FILE_OFFSET_BITS 64
6967 #include <sys/types.h>
6968 /* Check that off_t can represent 2**63 - 1 correctly.
6969 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6970 since some C++ compilers masquerading as C compilers
6971 incorrectly reject 9223372036854775807. */
6972 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6973 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6974 && LARGE_OFF_T % 2147483647 == 1)
6975 ? 1 : -1];
6977 main ()
6981 return 0;
6983 _ACEOF
6984 if ac_fn_c_try_compile "$LINENO"; then :
6985 ac_cv_sys_file_offset_bits=64; break
6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 ac_cv_sys_file_offset_bits=unknown
6989 break
6990 done
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6993 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6994 case $ac_cv_sys_file_offset_bits in #(
6995 no | unknown) ;;
6997 cat >>confdefs.h <<_ACEOF
6998 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6999 _ACEOF
7001 esac
7002 rm -rf conftest*
7003 if test $ac_cv_sys_file_offset_bits = unknown; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7005 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7006 if ${ac_cv_sys_large_files+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 while :; do
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #include <sys/types.h>
7013 /* Check that off_t can represent 2**63 - 1 correctly.
7014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7015 since some C++ compilers masquerading as C compilers
7016 incorrectly reject 9223372036854775807. */
7017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7019 && LARGE_OFF_T % 2147483647 == 1)
7020 ? 1 : -1];
7022 main ()
7026 return 0;
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_sys_large_files=no; break
7032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7035 #define _LARGE_FILES 1
7036 #include <sys/types.h>
7037 /* Check that off_t can represent 2**63 - 1 correctly.
7038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7039 since some C++ compilers masquerading as C compilers
7040 incorrectly reject 9223372036854775807. */
7041 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7043 && LARGE_OFF_T % 2147483647 == 1)
7044 ? 1 : -1];
7046 main ()
7050 return 0;
7052 _ACEOF
7053 if ac_fn_c_try_compile "$LINENO"; then :
7054 ac_cv_sys_large_files=1; break
7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 ac_cv_sys_large_files=unknown
7058 break
7059 done
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7062 $as_echo "$ac_cv_sys_large_files" >&6; }
7063 case $ac_cv_sys_large_files in #(
7064 no | unknown) ;;
7066 cat >>confdefs.h <<_ACEOF
7067 #define _LARGE_FILES $ac_cv_sys_large_files
7068 _ACEOF
7070 esac
7071 rm -rf conftest*
7078 ac_ext=c
7079 ac_cpp='$CPP $CPPFLAGS'
7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7084 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7085 # On Suns, sometimes $CPP names a directory.
7086 if test -n "$CPP" && test -d "$CPP"; then
7087 CPP=
7089 if test -z "$CPP"; then
7090 if ${ac_cv_prog_CPP+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 # Double quotes because CPP needs to be expanded
7094 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7096 ac_preproc_ok=false
7097 for ac_c_preproc_warn_flag in '' yes
7099 # Use a header file that comes with gcc, so configuring glibc
7100 # with a fresh cross-compiler works.
7101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7102 # <limits.h> exists even on freestanding compilers.
7103 # On the NeXT, cc -E runs the code through the compiler's parser,
7104 # not just through cpp. "Syntax error" is here to catch this case.
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106 /* end confdefs.h. */
7107 #ifdef __STDC__
7108 # include <limits.h>
7109 #else
7110 # include <assert.h>
7111 #endif
7112 Syntax error
7113 _ACEOF
7114 if ac_fn_c_try_cpp "$LINENO"; then :
7116 else
7117 # Broken: fails on valid input.
7118 continue
7120 rm -f conftest.err conftest.i conftest.$ac_ext
7122 # OK, works on sane cases. Now check whether nonexistent headers
7123 # can be detected and how.
7124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7125 /* end confdefs.h. */
7126 #include <ac_nonexistent.h>
7127 _ACEOF
7128 if ac_fn_c_try_cpp "$LINENO"; then :
7129 # Broken: success on invalid input.
7130 continue
7131 else
7132 # Passes both tests.
7133 ac_preproc_ok=:
7134 break
7136 rm -f conftest.err conftest.i conftest.$ac_ext
7138 done
7139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7140 rm -f conftest.i conftest.err conftest.$ac_ext
7141 if $ac_preproc_ok; then :
7142 break
7145 done
7146 ac_cv_prog_CPP=$CPP
7149 CPP=$ac_cv_prog_CPP
7150 else
7151 ac_cv_prog_CPP=$CPP
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7154 $as_echo "$CPP" >&6; }
7155 ac_preproc_ok=false
7156 for ac_c_preproc_warn_flag in '' yes
7158 # Use a header file that comes with gcc, so configuring glibc
7159 # with a fresh cross-compiler works.
7160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7161 # <limits.h> exists even on freestanding compilers.
7162 # On the NeXT, cc -E runs the code through the compiler's parser,
7163 # not just through cpp. "Syntax error" is here to catch this case.
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 #ifdef __STDC__
7167 # include <limits.h>
7168 #else
7169 # include <assert.h>
7170 #endif
7171 Syntax error
7172 _ACEOF
7173 if ac_fn_c_try_cpp "$LINENO"; then :
7175 else
7176 # Broken: fails on valid input.
7177 continue
7179 rm -f conftest.err conftest.i conftest.$ac_ext
7181 # OK, works on sane cases. Now check whether nonexistent headers
7182 # can be detected and how.
7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7185 #include <ac_nonexistent.h>
7186 _ACEOF
7187 if ac_fn_c_try_cpp "$LINENO"; then :
7188 # Broken: success on invalid input.
7189 continue
7190 else
7191 # Passes both tests.
7192 ac_preproc_ok=:
7193 break
7195 rm -f conftest.err conftest.i conftest.$ac_ext
7197 done
7198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7199 rm -f conftest.i conftest.err conftest.$ac_ext
7200 if $ac_preproc_ok; then :
7202 else
7203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7205 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7206 See \`config.log' for more details" "$LINENO" 5; }
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7217 $as_echo_n "checking for ANSI C header files... " >&6; }
7218 if ${ac_cv_header_stdc+:} false; then :
7219 $as_echo_n "(cached) " >&6
7220 else
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 #include <stdlib.h>
7224 #include <stdarg.h>
7225 #include <string.h>
7226 #include <float.h>
7229 main ()
7233 return 0;
7235 _ACEOF
7236 if ac_fn_c_try_compile "$LINENO"; then :
7237 ac_cv_header_stdc=yes
7238 else
7239 ac_cv_header_stdc=no
7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243 if test $ac_cv_header_stdc = yes; then
7244 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7247 #include <string.h>
7249 _ACEOF
7250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7251 $EGREP "memchr" >/dev/null 2>&1; then :
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f conftest*
7260 if test $ac_cv_header_stdc = yes; then
7261 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7264 #include <stdlib.h>
7266 _ACEOF
7267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7268 $EGREP "free" >/dev/null 2>&1; then :
7270 else
7271 ac_cv_header_stdc=no
7273 rm -f conftest*
7277 if test $ac_cv_header_stdc = yes; then
7278 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7279 if test "$cross_compiling" = yes; then :
7281 else
7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7284 #include <ctype.h>
7285 #include <stdlib.h>
7286 #if ((' ' & 0x0FF) == 0x020)
7287 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7288 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7289 #else
7290 # define ISLOWER(c) \
7291 (('a' <= (c) && (c) <= 'i') \
7292 || ('j' <= (c) && (c) <= 'r') \
7293 || ('s' <= (c) && (c) <= 'z'))
7294 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7295 #endif
7297 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7299 main ()
7301 int i;
7302 for (i = 0; i < 256; i++)
7303 if (XOR (islower (i), ISLOWER (i))
7304 || toupper (i) != TOUPPER (i))
7305 return 2;
7306 return 0;
7308 _ACEOF
7309 if ac_fn_c_try_run "$LINENO"; then :
7311 else
7312 ac_cv_header_stdc=no
7314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7315 conftest.$ac_objext conftest.beam conftest.$ac_ext
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7321 $as_echo "$ac_cv_header_stdc" >&6; }
7322 if test $ac_cv_header_stdc = yes; then
7324 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7328 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7329 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7330 inttypes.h stdint.h unistd.h
7331 do :
7332 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7333 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7336 cat >>confdefs.h <<_ACEOF
7337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 _ACEOF
7342 done
7345 for ac_header in \
7346 AL/al.h \
7347 ApplicationServices/ApplicationServices.h \
7348 AudioToolbox/AudioConverter.h \
7349 AudioUnit/AudioUnit.h \
7350 AudioUnit/AudioComponent.h \
7351 CL/cl.h \
7352 Carbon/Carbon.h \
7353 CommonCrypto/CommonCryptor.h \
7354 CoreAudio/CoreAudio.h \
7355 CoreServices/CoreServices.h \
7356 DiskArbitration/DiskArbitration.h \
7357 EGL/egl.h \
7358 IOKit/IOKitLib.h \
7359 IOKit/hid/IOHIDLib.h \
7360 OpenAL/al.h \
7361 OpenCL/opencl.h \
7362 QuickTime/ImageCompression.h \
7363 Security/Security.h \
7364 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7365 SystemConfiguration/SCNetworkConfiguration.h \
7366 alias.h \
7367 arpa/inet.h \
7368 arpa/nameser.h \
7369 asm/types.h \
7370 asm/user.h \
7371 curses.h \
7372 dirent.h \
7373 dlfcn.h \
7374 elf.h \
7375 float.h \
7376 fnmatch.h \
7377 getopt.h \
7378 gettext-po.h \
7379 grp.h \
7380 gsm.h \
7381 gsm/gsm.h \
7382 ieeefp.h \
7383 inet/mib2.h \
7384 kstat.h \
7385 libproc.h \
7386 link.h \
7387 linux/cdrom.h \
7388 linux/compiler.h \
7389 linux/filter.h \
7390 linux/hdreg.h \
7391 linux/hidraw.h \
7392 linux/input.h \
7393 linux/ioctl.h \
7394 linux/joystick.h \
7395 linux/major.h \
7396 linux/param.h \
7397 linux/serial.h \
7398 linux/types.h \
7399 linux/ucdrom.h \
7400 lwp.h \
7401 mach-o/nlist.h \
7402 mach-o/loader.h \
7403 mach/mach.h \
7404 mach/machine.h \
7405 machine/cpu.h \
7406 machine/limits.h \
7407 machine/sysarch.h \
7408 mntent.h \
7409 ncurses.h \
7410 netdb.h \
7411 netinet/in.h \
7412 netinet/in_systm.h \
7413 netinet/tcp.h \
7414 netinet/tcp_fsm.h \
7415 pcap/pcap.h \
7416 poll.h \
7417 port.h \
7418 pthread.h \
7419 pwd.h \
7420 sched.h \
7421 scsi/scsi.h \
7422 scsi/scsi_ioctl.h \
7423 scsi/sg.h \
7424 stdbool.h \
7425 stdint.h \
7426 stropts.h \
7427 sys/attr.h \
7428 sys/auxv.h \
7429 sys/cdio.h \
7430 sys/elf32.h \
7431 sys/epoll.h \
7432 sys/event.h \
7433 sys/exec_elf.h \
7434 sys/filio.h \
7435 sys/ioctl.h \
7436 sys/ipc.h \
7437 sys/limits.h \
7438 sys/link.h \
7439 sys/mman.h \
7440 sys/modem.h \
7441 sys/msg.h \
7442 sys/mtio.h \
7443 sys/param.h \
7444 sys/poll.h \
7445 sys/prctl.h \
7446 sys/protosw.h \
7447 sys/ptrace.h \
7448 sys/queue.h \
7449 sys/resource.h \
7450 sys/scsiio.h \
7451 sys/shm.h \
7452 sys/signal.h \
7453 sys/socket.h \
7454 sys/socketvar.h \
7455 sys/sockio.h \
7456 sys/statvfs.h \
7457 sys/strtio.h \
7458 sys/syscall.h \
7459 sys/sysinfo.h \
7460 sys/tihdr.h \
7461 sys/time.h \
7462 sys/timeout.h \
7463 sys/times.h \
7464 sys/uio.h \
7465 sys/user.h \
7466 sys/utsname.h \
7467 sys/vnode.h \
7468 sys/wait.h \
7469 syscall.h \
7470 termios.h \
7471 unistd.h \
7472 utime.h \
7473 valgrind/memcheck.h \
7474 valgrind/valgrind.h
7476 do :
7477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7479 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7480 cat >>confdefs.h <<_ACEOF
7481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7482 _ACEOF
7486 done
7488 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7489 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7491 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7496 if test $ac_cv_header_sys_mkdev_h = no; then
7497 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7498 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7500 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7507 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7508 if ${ac_cv_header_stat_broken+:} false; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7513 #include <sys/types.h>
7514 #include <sys/stat.h>
7516 #if defined S_ISBLK && defined S_IFDIR
7517 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7518 #endif
7520 #if defined S_ISBLK && defined S_IFCHR
7521 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7522 #endif
7524 #if defined S_ISLNK && defined S_IFREG
7525 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7526 #endif
7528 #if defined S_ISSOCK && defined S_IFREG
7529 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7530 #endif
7532 _ACEOF
7533 if ac_fn_c_try_compile "$LINENO"; then :
7534 ac_cv_header_stat_broken=no
7535 else
7536 ac_cv_header_stat_broken=yes
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7541 $as_echo "$ac_cv_header_stat_broken" >&6; }
7542 if test $ac_cv_header_stat_broken = yes; then
7544 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7550 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7551 do :
7552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7554 #ifdef HAVE_SYS_PARAM_H
7555 # include <sys/param.h>
7556 #endif
7558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7559 cat >>confdefs.h <<_ACEOF
7560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7561 _ACEOF
7565 done
7568 for ac_header in \
7569 netinet/ip.h \
7570 net/if.h \
7571 net/if_arp.h \
7572 net/if_dl.h \
7573 net/if_types.h \
7574 net/route.h \
7575 netinet/if_ether.h \
7576 netinet/if_inarp.h \
7577 netinet/in_pcb.h \
7578 netinet/ip_icmp.h \
7579 netinet/ip_var.h \
7580 netinet/udp.h \
7581 netipx/ipx.h \
7582 sys/un.h \
7584 do :
7585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7587 #ifdef HAVE_SYS_SOCKET_H
7588 # include <sys/socket.h>
7589 #endif
7590 #ifdef HAVE_SYS_SOCKETVAR_H
7591 # include <sys/socketvar.h>
7592 #endif
7593 #ifdef HAVE_NET_ROUTE_H
7594 # include <net/route.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IN_H
7597 # include <netinet/in.h>
7598 #endif
7599 #ifdef HAVE_NETINET_IN_SYSTM_H
7600 # include <netinet/in_systm.h>
7601 #endif
7602 #ifdef HAVE_NET_IF_H
7603 # include <net/if.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IP_H
7606 # include <netinet/ip.h>
7607 #endif
7609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7610 cat >>confdefs.h <<_ACEOF
7611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7612 _ACEOF
7616 done
7619 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7620 do :
7621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7623 #ifdef HAVE_ALIAS_H
7624 # include <alias.h>
7625 #endif
7626 #ifdef HAVE_SYS_SOCKET_H
7627 # include <sys/socket.h>
7628 #endif
7629 #ifdef HAVE_SYS_SOCKETVAR_H
7630 # include <sys/socketvar.h>
7631 #endif
7632 #ifdef HAVE_SYS_TIMEOUT_H
7633 # include <sys/timeout.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IN_H
7636 # include <netinet/in.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IN_SYSTM_H
7639 # include <netinet/in_systm.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IP_H
7642 # include <netinet/ip.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IP_VAR_H
7645 # include <netinet/ip_var.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IP_ICMP_H
7648 # include <netinet/ip_icmp.h>
7649 #endif
7650 #ifdef HAVE_NETINET_UDP_H
7651 # include <netinet/udp.h>
7652 #endif
7653 #ifdef HAVE_NETINET_TCP_H
7654 # include <netinet/tcp.h>
7655 #endif
7656 #ifdef HAVE_NETINET_TCP_TIMER_H
7657 #include <netinet/tcp_timer.h>
7658 #endif
7660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7661 cat >>confdefs.h <<_ACEOF
7662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 _ACEOF
7667 done
7670 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7671 do :
7672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7674 #ifdef HAVE_ASM_TYPES_H
7675 # include <asm/types.h>
7676 #endif
7677 #ifdef HAVE_SYS_SOCKET_H
7678 # include <sys/socket.h>
7679 #endif
7680 #ifdef HAVE_LINUX_TYPES_H
7681 # include <linux/types.h>
7682 #endif
7684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7685 cat >>confdefs.h <<_ACEOF
7686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7687 _ACEOF
7691 done
7694 for ac_header in resolv.h
7695 do :
7696 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7697 #ifdef HAVE_SYS_SOCKET_H
7698 # include <sys/socket.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IN_H
7701 # include <netinet/in.h>
7702 #endif
7703 #ifdef HAVE_ARPA_NAMESER_H
7704 # include <arpa/nameser.h>
7705 #endif
7707 if test "x$ac_cv_header_resolv_h" = xyes; then :
7708 cat >>confdefs.h <<_ACEOF
7709 #define HAVE_RESOLV_H 1
7710 _ACEOF
7714 done
7717 for ac_header in ifaddrs.h
7718 do :
7719 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7721 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7722 cat >>confdefs.h <<_ACEOF
7723 #define HAVE_IFADDRS_H 1
7724 _ACEOF
7728 done
7731 for ac_header in sys/ucontext.h
7732 do :
7733 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7735 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7736 cat >>confdefs.h <<_ACEOF
7737 #define HAVE_SYS_UCONTEXT_H 1
7738 _ACEOF
7742 done
7745 for ac_header in sys/thr.h
7746 do :
7747 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7748 #ifdef HAVE_SYS_UCONTEXT_H
7749 #include <sys/ucontext.h>
7750 #endif
7752 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7753 cat >>confdefs.h <<_ACEOF
7754 #define HAVE_SYS_THR_H 1
7755 _ACEOF
7759 done
7762 for ac_header in pthread_np.h
7763 do :
7764 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7765 #include <pthread.h>
7766 #endif
7768 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_PTHREAD_NP_H 1
7771 _ACEOF
7775 done
7778 for ac_header in linux/videodev2.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7781 #include <sys/time.h>
7782 #endif
7783 #include <sys/types.h>
7784 #ifdef HAVE_ASM_TYPES_H
7785 #include <asm/types.h>
7786 #endif
7788 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_LINUX_VIDEODEV2_H 1
7791 _ACEOF
7795 done
7798 for ac_header in libprocstat.h
7799 do :
7800 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7801 #include <sys/param.h>
7802 #endif
7803 #ifdef HAVE_SYS_QUEUE_H
7804 #include <sys/queue.h>
7805 #endif
7806 #ifdef HAVE_SYS_SOCKET_H
7807 #include <sys/socket.h>
7808 #endif
7810 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_LIBPROCSTAT_H 1
7813 _ACEOF
7817 done
7821 DLLFLAGS="-D_REENTRANT"
7823 LDRPATH_INSTALL=""
7825 LDRPATH_LOCAL=""
7827 LDDLLFLAGS=""
7829 LDEXECFLAGS=""
7831 TOP_INSTALL_LIB=""
7833 TOP_INSTALL_DEV=""
7835 WINELOADER_LDFLAGS=""
7837 WINEPRELOADER_LDFLAGS=""
7839 LIBEXT="so"
7840 DLLEXT=".so"
7841 # Extract the first word of "ldd", so it can be a program name with args.
7842 set dummy ldd; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844 $as_echo_n "checking for $ac_word... " >&6; }
7845 if ${ac_cv_path_LDD+:} false; then :
7846 $as_echo_n "(cached) " >&6
7847 else
7848 case $LDD in
7849 [\\/]* | ?:[\\/]*)
7850 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 as_dummy="/sbin:/usr/sbin:$PATH"
7855 for as_dir in $as_dummy
7857 IFS=$as_save_IFS
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7861 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863 break 2
7865 done
7866 done
7867 IFS=$as_save_IFS
7869 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7871 esac
7873 LDD=$ac_cv_path_LDD
7874 if test -n "$LDD"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7876 $as_echo "$LDD" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7883 if test -n "$ac_tool_prefix"; then
7884 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7885 set dummy ${ac_tool_prefix}otool; ac_word=$2
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7887 $as_echo_n "checking for $ac_word... " >&6; }
7888 if ${ac_cv_prog_OTOOL+:} false; then :
7889 $as_echo_n "(cached) " >&6
7890 else
7891 if test -n "$OTOOL"; then
7892 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7893 else
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 for as_dir in $PATH
7897 IFS=$as_save_IFS
7898 test -z "$as_dir" && as_dir=.
7899 for ac_exec_ext in '' $ac_executable_extensions; do
7900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 break 2
7905 done
7906 done
7907 IFS=$as_save_IFS
7911 OTOOL=$ac_cv_prog_OTOOL
7912 if test -n "$OTOOL"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7914 $as_echo "$OTOOL" >&6; }
7915 else
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7922 if test -z "$ac_cv_prog_OTOOL"; then
7923 ac_ct_OTOOL=$OTOOL
7924 # Extract the first word of "otool", so it can be a program name with args.
7925 set dummy otool; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 $as_echo_n "checking for $ac_word... " >&6; }
7928 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7929 $as_echo_n "(cached) " >&6
7930 else
7931 if test -n "$ac_ct_OTOOL"; then
7932 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7933 else
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $PATH
7937 IFS=$as_save_IFS
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_prog_ac_ct_OTOOL="otool"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 break 2
7945 done
7946 done
7947 IFS=$as_save_IFS
7951 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7952 if test -n "$ac_ct_OTOOL"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7954 $as_echo "$ac_ct_OTOOL" >&6; }
7955 else
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7960 if test "x$ac_ct_OTOOL" = x; then
7961 OTOOL="otool"
7962 else
7963 case $cross_compiling:$ac_tool_warned in
7964 yes:)
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7967 ac_tool_warned=yes ;;
7968 esac
7969 OTOOL=$ac_ct_OTOOL
7971 else
7972 OTOOL="$ac_cv_prog_OTOOL"
7975 if test -n "$ac_tool_prefix"; then
7976 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7977 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_READELF+:} false; then :
7981 $as_echo_n "(cached) " >&6
7982 else
7983 if test -n "$READELF"; then
7984 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7985 else
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 for as_dir in $PATH
7989 IFS=$as_save_IFS
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 break 2
7997 done
7998 done
7999 IFS=$as_save_IFS
8003 READELF=$ac_cv_prog_READELF
8004 if test -n "$READELF"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8006 $as_echo "$READELF" >&6; }
8007 else
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8014 if test -z "$ac_cv_prog_READELF"; then
8015 ac_ct_READELF=$READELF
8016 # Extract the first word of "readelf", so it can be a program name with args.
8017 set dummy readelf; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8023 if test -n "$ac_ct_READELF"; then
8024 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8029 IFS=$as_save_IFS
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_ac_ct_READELF="readelf"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 break 2
8037 done
8038 done
8039 IFS=$as_save_IFS
8043 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8044 if test -n "$ac_ct_READELF"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8046 $as_echo "$ac_ct_READELF" >&6; }
8047 else
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8052 if test "x$ac_ct_READELF" = x; then
8053 READELF="true"
8054 else
8055 case $cross_compiling:$ac_tool_warned in
8056 yes:)
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8059 ac_tool_warned=yes ;;
8060 esac
8061 READELF=$ac_ct_READELF
8063 else
8064 READELF="$ac_cv_prog_READELF"
8067 wine_rules_file=conf$$rules.make
8068 rm -f $wine_rules_file
8069 SUBDIRS=""
8071 DISABLED_SUBDIRS=""
8073 CONFIGURE_TARGETS=""
8076 wine_fn_append_file ()
8078 as_fn_append $1 " \\$as_nl $2"
8081 wine_fn_append_rule ()
8083 $as_echo "$1" >>$wine_rules_file
8086 wine_fn_config_makefile ()
8088 wine_fn_append_file SUBDIRS $1
8089 if eval test \"x\$"$2"\" = x"no"; then :
8090 wine_fn_append_file DISABLED_SUBDIRS $1
8094 wine_fn_config_symlink ()
8096 ac_links=$@
8097 wine_fn_append_rule \
8098 "$ac_links:
8099 @./config.status \$@"
8100 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8103 wine_binary="wine"
8104 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8105 WINELOADER_PROGRAMS="$wine_binary"
8107 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8109 case $host_os in
8110 cygwin*|mingw32*)
8111 if test -n "$ac_tool_prefix"; then
8112 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8113 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115 $as_echo_n "checking for $ac_word... " >&6; }
8116 if ${ac_cv_prog_DLLTOOL+:} false; then :
8117 $as_echo_n "(cached) " >&6
8118 else
8119 if test -n "$DLLTOOL"; then
8120 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8121 else
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 for as_dir in $PATH
8125 IFS=$as_save_IFS
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 break 2
8133 done
8134 done
8135 IFS=$as_save_IFS
8139 DLLTOOL=$ac_cv_prog_DLLTOOL
8140 if test -n "$DLLTOOL"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8142 $as_echo "$DLLTOOL" >&6; }
8143 else
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8150 if test -z "$ac_cv_prog_DLLTOOL"; then
8151 ac_ct_DLLTOOL=$DLLTOOL
8152 # Extract the first word of "dlltool", so it can be a program name with args.
8153 set dummy dlltool; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 if test -n "$ac_ct_DLLTOOL"; then
8160 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8173 done
8174 done
8175 IFS=$as_save_IFS
8179 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8182 $as_echo "$ac_ct_DLLTOOL" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8188 if test "x$ac_ct_DLLTOOL" = x; then
8189 DLLTOOL="false"
8190 else
8191 case $cross_compiling:$ac_tool_warned in
8192 yes:)
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8195 ac_tool_warned=yes ;;
8196 esac
8197 DLLTOOL=$ac_ct_DLLTOOL
8199 else
8200 DLLTOOL="$ac_cv_prog_DLLTOOL"
8203 LIBEXT="dll"
8204 DLLEXT=""
8205 case $host_cpu in
8206 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8207 esac
8208 enable_iphlpapi=${enable_iphlpapi:-no}
8209 enable_kernel32=${enable_kernel32:-no}
8210 enable_ntdll=${enable_ntdll:-no}
8211 enable_ws2_32=${enable_ws2_32:-no}
8212 enable_loader=${enable_loader:-no}
8213 enable_server=${enable_server:-no}
8214 with_x=${with_x:-no}
8215 with_pthread=${with_pthread:-no}
8218 darwin*|macosx*)
8219 ac_ext=m
8220 ac_cpp='$OBJCPP $CPPFLAGS'
8221 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8222 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8223 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8225 ac_ext=m
8226 ac_cpp='$OBJCPP $CPPFLAGS'
8227 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8228 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8229 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8230 if test -n "$ac_tool_prefix"; then
8231 for ac_prog in gcc objcc objc cc CC
8233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8236 $as_echo_n "checking for $ac_word... " >&6; }
8237 if ${ac_cv_prog_OBJC+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 if test -n "$OBJC"; then
8241 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8242 else
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 for as_dir in $PATH
8246 IFS=$as_save_IFS
8247 test -z "$as_dir" && as_dir=.
8248 for ac_exec_ext in '' $ac_executable_extensions; do
8249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8250 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 break 2
8254 done
8255 done
8256 IFS=$as_save_IFS
8260 OBJC=$ac_cv_prog_OBJC
8261 if test -n "$OBJC"; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8263 $as_echo "$OBJC" >&6; }
8264 else
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8266 $as_echo "no" >&6; }
8270 test -n "$OBJC" && break
8271 done
8273 if test -z "$OBJC"; then
8274 ac_ct_OBJC=$OBJC
8275 for ac_prog in gcc objcc objc cc CC
8277 # Extract the first word of "$ac_prog", so it can be a program name with args.
8278 set dummy $ac_prog; ac_word=$2
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280 $as_echo_n "checking for $ac_word... " >&6; }
8281 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 if test -n "$ac_ct_OBJC"; then
8285 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8286 else
8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 for as_dir in $PATH
8290 IFS=$as_save_IFS
8291 test -z "$as_dir" && as_dir=.
8292 for ac_exec_ext in '' $ac_executable_extensions; do
8293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8294 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8296 break 2
8298 done
8299 done
8300 IFS=$as_save_IFS
8304 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8305 if test -n "$ac_ct_OBJC"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8307 $as_echo "$ac_ct_OBJC" >&6; }
8308 else
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8314 test -n "$ac_ct_OBJC" && break
8315 done
8317 if test "x$ac_ct_OBJC" = x; then
8318 OBJC="gcc"
8319 else
8320 case $cross_compiling:$ac_tool_warned in
8321 yes:)
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8324 ac_tool_warned=yes ;;
8325 esac
8326 OBJC=$ac_ct_OBJC
8330 # Provide some information about the compiler.
8331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8332 set X $ac_compile
8333 ac_compiler=$2
8334 for ac_option in --version -v -V -qversion; do
8335 { { ac_try="$ac_compiler $ac_option >&5"
8336 case "(($ac_try" in
8337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8338 *) ac_try_echo=$ac_try;;
8339 esac
8340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8341 $as_echo "$ac_try_echo"; } >&5
8342 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8343 ac_status=$?
8344 if test -s conftest.err; then
8345 sed '10a\
8346 ... rest of stderr output deleted ...
8347 10q' conftest.err >conftest.er1
8348 cat conftest.er1 >&5
8350 rm -f conftest.er1 conftest.err
8351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8352 test $ac_status = 0; }
8353 done
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8356 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8357 if ${ac_cv_objc_compiler_gnu+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8364 main ()
8366 #ifndef __GNUC__
8367 choke me
8368 #endif
8371 return 0;
8373 _ACEOF
8374 if ac_fn_objc_try_compile "$LINENO"; then :
8375 ac_compiler_gnu=yes
8376 else
8377 ac_compiler_gnu=no
8379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8380 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8384 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8385 if test $ac_compiler_gnu = yes; then
8386 GOBJC=yes
8387 else
8388 GOBJC=
8390 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8391 ac_save_OBJCFLAGS=$OBJCFLAGS
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8393 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8394 if ${ac_cv_prog_objc_g+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_save_objc_werror_flag=$ac_objc_werror_flag
8398 ac_objc_werror_flag=yes
8399 ac_cv_prog_objc_g=no
8400 OBJCFLAGS="-g"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8405 main ()
8409 return 0;
8411 _ACEOF
8412 if ac_fn_objc_try_compile "$LINENO"; then :
8413 ac_cv_prog_objc_g=yes
8414 else
8415 OBJCFLAGS=""
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8420 main ()
8424 return 0;
8426 _ACEOF
8427 if ac_fn_objc_try_compile "$LINENO"; then :
8429 else
8430 ac_objc_werror_flag=$ac_save_objc_werror_flag
8431 OBJCFLAGS="-g"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 main ()
8440 return 0;
8442 _ACEOF
8443 if ac_fn_objc_try_compile "$LINENO"; then :
8444 ac_cv_prog_objc_g=yes
8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8451 ac_objc_werror_flag=$ac_save_objc_werror_flag
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8454 $as_echo "$ac_cv_prog_objc_g" >&6; }
8455 if test "$ac_test_OBJCFLAGS" = set; then
8456 OBJCFLAGS=$ac_save_OBJCFLAGS
8457 elif test $ac_cv_prog_objc_g = yes; then
8458 if test "$GOBJC" = yes; then
8459 OBJCFLAGS="-g -O2"
8460 else
8461 OBJCFLAGS="-g"
8463 else
8464 if test "$GOBJC" = yes; then
8465 OBJCFLAGS="-O2"
8466 else
8467 OBJCFLAGS=
8470 ac_ext=m
8471 ac_cpp='$OBJCPP $CPPFLAGS'
8472 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8473 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8474 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8477 ac_ext=m
8478 ac_cpp='$OBJCPP $CPPFLAGS'
8479 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8480 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8481 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8483 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8484 if test -z "$OBJCPP"; then
8485 if ${ac_cv_prog_OBJCPP+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 # Double quotes because OBJCPP needs to be expanded
8489 for OBJCPP in "$OBJC -E" "/lib/cpp"
8491 ac_preproc_ok=false
8492 for ac_objc_preproc_warn_flag in '' yes
8494 # Use a header file that comes with gcc, so configuring glibc
8495 # with a fresh cross-compiler works.
8496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8497 # <limits.h> exists even on freestanding compilers.
8498 # On the NeXT, cc -E runs the code through the compiler's parser,
8499 # not just through cpp. "Syntax error" is here to catch this case.
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 #ifdef __STDC__
8503 # include <limits.h>
8504 #else
8505 # include <assert.h>
8506 #endif
8507 Syntax error
8508 _ACEOF
8509 if ac_fn_objc_try_cpp "$LINENO"; then :
8511 else
8512 # Broken: fails on valid input.
8513 continue
8515 rm -f conftest.err conftest.i conftest.$ac_ext
8517 # OK, works on sane cases. Now check whether nonexistent headers
8518 # can be detected and how.
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 #include <ac_nonexistent.h>
8522 _ACEOF
8523 if ac_fn_objc_try_cpp "$LINENO"; then :
8524 # Broken: success on invalid input.
8525 continue
8526 else
8527 # Passes both tests.
8528 ac_preproc_ok=:
8529 break
8531 rm -f conftest.err conftest.i conftest.$ac_ext
8533 done
8534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8535 rm -f conftest.i conftest.err conftest.$ac_ext
8536 if $ac_preproc_ok; then :
8537 break
8540 done
8541 ac_cv_prog_OBJCPP=$OBJCPP
8544 OBJCPP=$ac_cv_prog_OBJCPP
8545 else
8546 ac_cv_prog_OBJCPP=$OBJCPP
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8549 $as_echo "$OBJCPP" >&6; }
8550 ac_preproc_ok=false
8551 for ac_objc_preproc_warn_flag in '' yes
8553 # Use a header file that comes with gcc, so configuring glibc
8554 # with a fresh cross-compiler works.
8555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8556 # <limits.h> exists even on freestanding compilers.
8557 # On the NeXT, cc -E runs the code through the compiler's parser,
8558 # not just through cpp. "Syntax error" is here to catch this case.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #ifdef __STDC__
8562 # include <limits.h>
8563 #else
8564 # include <assert.h>
8565 #endif
8566 Syntax error
8567 _ACEOF
8568 if ac_fn_objc_try_cpp "$LINENO"; then :
8570 else
8571 # Broken: fails on valid input.
8572 continue
8574 rm -f conftest.err conftest.i conftest.$ac_ext
8576 # OK, works on sane cases. Now check whether nonexistent headers
8577 # can be detected and how.
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 #include <ac_nonexistent.h>
8581 _ACEOF
8582 if ac_fn_objc_try_cpp "$LINENO"; then :
8583 # Broken: success on invalid input.
8584 continue
8585 else
8586 # Passes both tests.
8587 ac_preproc_ok=:
8588 break
8590 rm -f conftest.err conftest.i conftest.$ac_ext
8592 done
8593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8594 rm -f conftest.i conftest.err conftest.$ac_ext
8595 if $ac_preproc_ok; then :
8597 else
8598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8600 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8601 See \`config.log' for more details" "$LINENO" 5; }
8604 ac_ext=m
8605 ac_cpp='$OBJCPP $CPPFLAGS'
8606 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8607 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8608 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8611 for ac_header in Metal/Metal.h
8612 do :
8613 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8614 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8615 cat >>confdefs.h <<_ACEOF
8616 #define HAVE_METAL_METAL_H 1
8617 _ACEOF
8621 done
8623 ac_ext=c
8624 ac_cpp='$CPP $CPPFLAGS'
8625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8629 LIBEXT="dylib"
8630 DLLFLAGS="$DLLFLAGS -fPIC"
8631 LDDLLFLAGS="-fPIC"
8632 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8633 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8634 COREFOUNDATION_LIBS="-framework CoreFoundation"
8636 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8638 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8640 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8642 CORESERVICES_LIBS="-framework CoreServices"
8644 APPKIT_LIBS="-framework AppKit"
8646 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8649 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8651 wine_can_build_preloader=yes
8652 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8654 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8655 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 ac_cv_cflags__Wl__no_new_main__e__main=yes
8666 else
8667 ac_cv_cflags__Wl__no_new_main__e__main=no
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8674 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8675 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8676 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8678 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8679 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8690 else
8691 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8698 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8699 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8700 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8701 else
8702 { $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
8703 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8704 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 ac_wine_try_cflags_saved=$CFLAGS
8708 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8715 else
8716 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8718 rm -f core conftest.err conftest.$ac_objext \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { $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
8723 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8724 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8725 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8726 else
8727 wine_can_build_preloader=no
8730 else
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8732 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8733 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8744 else
8745 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8752 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8753 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8754 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8755 else
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8757 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8758 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8769 else
8770 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8777 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8778 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8779 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8780 else
8781 wine_can_build_preloader=no
8785 if test "$wine_can_build_preloader" = "yes"
8786 then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8788 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8789 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -Wl,-no_pie"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__Wl__no_pie=yes
8800 else
8801 ac_cv_cflags__Wl__no_pie=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8808 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8809 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8810 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8812 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8813 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8814 else
8815 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8818 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8819 then
8820 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8823 if test "$ac_cv_header_Security_Security_h" = "yes"
8824 then
8825 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8827 ac_save_LIBS="$LIBS"
8828 LIBS="$LIBS $SECURITY_LIBS"
8829 for ac_func in SSLCopyPeerCertificates
8830 do :
8831 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8832 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8833 cat >>confdefs.h <<_ACEOF
8834 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8835 _ACEOF
8838 done
8840 LIBS="$ac_save_LIBS"
8842 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8843 then
8844 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8845 then
8846 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8848 else
8849 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8852 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8853 ac_save_LIBS="$LIBS"
8854 LIBS="$LIBS $COREAUDIO_LIBS"
8855 for ac_func in AUGraphAddNode
8856 do :
8857 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8858 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8859 cat >>confdefs.h <<_ACEOF
8860 #define HAVE_AUGRAPHADDNODE 1
8861 _ACEOF
8864 done
8866 LIBS="$ac_save_LIBS"
8868 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8869 then
8870 OPENAL_LIBS="-framework OpenAL"
8873 cat >>confdefs.h <<_ACEOF
8874 #define HAVE_OPENAL 1
8875 _ACEOF
8877 ac_cv_lib_openal=yes
8879 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8880 then
8881 OPENCL_LIBS="-framework OpenCL"
8883 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8885 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8886 then
8887 ac_save_LIBS="$LIBS"
8888 LIBS="$LIBS $IOKIT_LIBS"
8889 for ac_func in IOHIDManagerCreate
8890 do :
8891 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8892 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8893 cat >>confdefs.h <<_ACEOF
8894 #define HAVE_IOHIDMANAGERCREATE 1
8895 _ACEOF
8898 done
8900 LIBS="$ac_save_LIBS"
8902 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8903 then
8904 ac_save_LIBS="$LIBS"
8905 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8907 $as_echo_n "checking for the QuickTime framework... " >&6; }
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8910 #include <QuickTime/ImageCompression.h>
8912 main ()
8914 CodecManagerVersion(NULL);
8916 return 0;
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8921 $as_echo "yes" >&6; }
8922 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8924 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8925 else
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8928 ac_cv_header_QuickTime_ImageCompression_h=no
8930 rm -f core conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS="$ac_save_LIBS"
8934 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8935 then
8936 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8938 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8939 then
8940 CARBON_LIBS="-framework Carbon"
8943 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8944 then
8945 METAL_LIBS="-framework Metal -framework QuartzCore"
8949 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8950 then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8952 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8953 ac_ext=m
8954 ac_cpp='$OBJCPP $CPPFLAGS'
8955 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8956 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8957 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8961 #include <Metal/Metal.h>
8963 main ()
8965 id<MTLDevice> device; device.registryID;
8967 return 0;
8969 _ACEOF
8970 if ac_fn_objc_try_compile "$LINENO"; then :
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8972 $as_echo "yes" >&6; }
8974 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8976 else
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8978 $as_echo "no" >&6; }
8980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8981 ac_ext=c
8982 ac_cpp='$CPP $CPPFLAGS'
8983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8989 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8990 then
8991 ac_save_LIBS="$LIBS"
8992 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8993 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8994 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8995 enable_winemac_drv=${enable_winemac_drv:-yes}
8998 LIBS="$ac_save_LIBS"
9001 if test "x$enable_win16" = "xyes"
9002 then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9004 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9005 if test "$cross_compiling" = yes; then :
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9007 $as_echo "cross-compiling, assuming yes" >&6; }
9008 else
9009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9010 /* end confdefs.h. */
9011 asm(".text\n"
9012 "bad:\tnop;nop\n"
9013 "good:\tnop;nop\n\t"
9014 ".globl _testfunc\n"
9015 "_testfunc:\tcallw good");
9016 extern void testfunc();
9018 main ()
9020 unsigned short *p = (unsigned short *)testfunc;
9021 return p[0] != 0xe866 || p[1] != 0xfffa
9023 return 0;
9025 _ACEOF
9026 if ac_fn_c_try_run "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9029 else
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9032 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
9034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9035 conftest.$ac_objext conftest.beam conftest.$ac_ext
9040 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9042 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9044 WINELOADER_DEPENDS="wine_info.plist"
9046 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9047 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9050 linux-android*)
9051 DLLFLAGS="$DLLFLAGS -fPIC"
9052 LDDLLFLAGS="-fPIC"
9053 LDEXECFLAGS="-Wl,-pie"
9054 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9056 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9057 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9058 $as_echo_n "(cached) " >&6
9059 else
9060 ac_wine_try_cflags_saved=$CFLAGS
9061 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9064 int main(int argc, char **argv) { return 0; }
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9067 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9068 else
9069 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 CFLAGS=$ac_wine_try_cflags_saved
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9076 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9077 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9078 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9080 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9081 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9083 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9084 if eval \${$as_ac_var+:} false; then :
9085 $as_echo_n "(cached) " >&6
9086 else
9087 ac_wine_try_cflags_saved=$CFLAGS
9088 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9091 int main(int argc, char **argv) { return 0; }
9092 _ACEOF
9093 if ac_fn_c_try_link "$LINENO"; then :
9094 eval "$as_ac_var=yes"
9095 else
9096 eval "$as_ac_var=no"
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 CFLAGS=$ac_wine_try_cflags_saved
9102 eval ac_res=\$$as_ac_var
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9104 $as_echo "$ac_res" >&6; }
9105 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9106 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9107 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9108 else
9109 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9112 if eval \${$as_ac_var+:} false; then :
9113 $as_echo_n "(cached) " >&6
9114 else
9115 ac_wine_try_cflags_saved=$CFLAGS
9116 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 int main(int argc, char **argv) { return 0; }
9120 _ACEOF
9121 if ac_fn_c_try_link "$LINENO"; then :
9122 eval "$as_ac_var=yes"
9123 else
9124 eval "$as_ac_var=no"
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 CFLAGS=$ac_wine_try_cflags_saved
9130 eval ac_res=\$$as_ac_var
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9132 $as_echo "$ac_res" >&6; }
9133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9134 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9135 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9139 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9140 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_wine_try_cflags_saved=$CFLAGS
9144 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 int main(int argc, char **argv) { return 0; }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_cflags__Wl___enable_new_dtags=yes
9151 else
9152 ac_cv_cflags__Wl___enable_new_dtags=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 CFLAGS=$ac_wine_try_cflags_saved
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9159 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9160 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9161 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9164 LIBWINE_SHAREDLIB="libwine.so"
9166 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9168 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9171 $as_echo_n "checking for -lEGL... " >&6; }
9172 if ${ac_cv_lib_soname_EGL+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_soname_save_LIBS=$LIBS
9176 LIBS="-lEGL $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char eglGetProcAddress ();
9188 main ()
9190 return eglGetProcAddress ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 case "$LIBEXT" in
9197 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9198 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'` ;;
9199 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9200 if ${ac_cv_lib_soname_EGL:+false} :; then :
9201 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9202 fi ;;
9203 esac
9204 else
9205 ac_cv_lib_soname_EGL=
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_soname_save_LIBS
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9213 $as_echo "not found" >&6; }
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9217 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9219 cat >>confdefs.h <<_ACEOF
9220 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9221 _ACEOF
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9226 $as_echo_n "checking for -lGLESv2... " >&6; }
9227 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9228 $as_echo_n "(cached) " >&6
9229 else
9230 ac_check_soname_save_LIBS=$LIBS
9231 LIBS="-lGLESv2 $LIBS"
9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9235 /* Override any GCC internal prototype to avoid an error.
9236 Use char because int might match the return type of a GCC
9237 builtin and then its argument prototype would still apply. */
9238 #ifdef __cplusplus
9239 extern "C"
9240 #endif
9241 char glFlush ();
9243 main ()
9245 return glFlush ();
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 case "$LIBEXT" in
9252 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9253 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'` ;;
9254 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9255 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9256 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9257 fi ;;
9258 esac
9259 else
9260 ac_cv_lib_soname_GLESv2=
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_soname_save_LIBS
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9268 $as_echo "not found" >&6; }
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9272 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9274 cat >>confdefs.h <<_ACEOF
9275 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9276 _ACEOF
9281 if test "x$exec_prefix" = xNONE
9282 then
9283 case $host_cpu in
9284 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9285 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9286 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9287 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9288 esac
9293 case $host_cpu in
9294 *i[3456789]86*)
9295 DLLFLAGS="$DLLFLAGS -fno-PIC"
9296 LDDLLFLAGS="-fno-PIC" ;;
9298 DLLFLAGS="$DLLFLAGS -fPIC"
9299 LDDLLFLAGS="-fPIC" ;;
9300 esac
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9302 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9303 if ${ac_cv_c_dll_gnuelf+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_wine_try_cflags_saved=$CFLAGS
9307 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9310 void myfunc() {}
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9314 else
9315 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 CFLAGS=$ac_wine_try_cflags_saved
9320 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9321 ac_cv_c_dll_gnuelf="yes"
9322 else
9323 ac_cv_c_dll_gnuelf="no"
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9327 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9328 if test "$ac_cv_c_dll_gnuelf" = "yes"
9329 then
9330 LIBWINE_LDFLAGS="-shared"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9332 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9333 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_wine_try_cflags_saved=$CFLAGS
9337 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9340 int main(int argc, char **argv) { return 0; }
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9344 else
9345 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 CFLAGS=$ac_wine_try_cflags_saved
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9352 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9353 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9354 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9355 else
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9383 echo '{ global: *; };' >conftest.map
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9385 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9386 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_wine_try_cflags_saved=$CFLAGS
9390 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9393 int main(int argc, char **argv) { return 0; }
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9397 else
9398 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 CFLAGS=$ac_wine_try_cflags_saved
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9405 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9406 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9407 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9409 rm -f conftest.map
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9412 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9413 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_cflags__Wl___export_dynamic=yes
9424 else
9425 ac_cv_cflags__Wl___export_dynamic=no
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 CFLAGS=$ac_wine_try_cflags_saved
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9432 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9436 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9438 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9440 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9441 if eval \${$as_ac_var+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_wine_try_cflags_saved=$CFLAGS
9445 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9448 int main(int argc, char **argv) { return 0; }
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 eval "$as_ac_var=yes"
9452 else
9453 eval "$as_ac_var=no"
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 CFLAGS=$ac_wine_try_cflags_saved
9459 eval ac_res=\$$as_ac_var
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9461 $as_echo "$ac_res" >&6; }
9462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9463 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9464 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9465 else
9466 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9468 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9469 if eval \${$as_ac_var+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"; then :
9479 eval "$as_ac_var=yes"
9480 else
9481 eval "$as_ac_var=no"
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 CFLAGS=$ac_wine_try_cflags_saved
9487 eval ac_res=\$$as_ac_var
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9489 $as_echo "$ac_res" >&6; }
9490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9491 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9492 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9497 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9498 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_wine_try_cflags_saved=$CFLAGS
9502 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9505 int main(int argc, char **argv) { return 0; }
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 ac_cv_cflags__Wl___enable_new_dtags=yes
9509 else
9510 ac_cv_cflags__Wl___enable_new_dtags=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 CFLAGS=$ac_wine_try_cflags_saved
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9517 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9518 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9519 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9522 case $host_cpu in
9523 *i[3456789]86* | x86_64 | *aarch64*)
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9525 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9526 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_wine_try_cflags_saved=$CFLAGS
9530 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533 int main(int argc, char **argv) { return 0; }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9537 else
9538 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 CFLAGS=$ac_wine_try_cflags_saved
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9545 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9546 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9547 case $host_os in
9548 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9549 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9550 esac
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9553 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9554 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_wine_try_cflags_saved=$CFLAGS
9558 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 int main(int argc, char **argv) { return 0; }
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9565 else
9566 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 CFLAGS=$ac_wine_try_cflags_saved
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9573 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9574 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9575 case $host_os in
9576 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9577 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9578 esac
9580 # Extract the first word of "prelink", so it can be a program name with args.
9581 set dummy prelink; ac_word=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if ${ac_cv_path_PRELINK+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 case $PRELINK in
9588 [\\/]* | ?:[\\/]*)
9589 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9593 for as_dir in /sbin /usr/sbin $PATH
9595 IFS=$as_save_IFS
9596 test -z "$as_dir" && as_dir=.
9597 for ac_exec_ext in '' $ac_executable_extensions; do
9598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9599 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9601 break 2
9603 done
9604 done
9605 IFS=$as_save_IFS
9607 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9609 esac
9611 PRELINK=$ac_cv_path_PRELINK
9612 if test -n "$PRELINK"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9614 $as_echo "$PRELINK" >&6; }
9615 else
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 $as_echo "no" >&6; }
9621 if test "x$PRELINK" = xfalse
9622 then
9623 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9627 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9628 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 ac_wine_try_cflags_saved=$CFLAGS
9632 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9635 int main(int argc, char **argv) { return 0; }
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9639 else
9640 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 CFLAGS=$ac_wine_try_cflags_saved
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9647 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9648 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9649 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9652 esac
9654 else
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9656 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9657 if ${ac_cv_c_dll_unixware+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_wine_try_cflags_saved=$CFLAGS
9661 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9664 void myfunc() {}
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9668 else
9669 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 CFLAGS=$ac_wine_try_cflags_saved
9674 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9675 ac_cv_c_dll_unixware="yes"
9676 else
9677 ac_cv_c_dll_unixware="no"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9681 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9682 if test "$ac_cv_c_dll_unixware" = "yes"
9683 then
9684 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9687 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9689 LIBWINE_DEPENDS="wine.map"
9691 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9692 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9694 esac
9696 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9697 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9698 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9699 enable_winemac_drv=${enable_winemac_drv:-no}
9700 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9702 CROSSTARGET=""
9704 if test "x$with_mingw" != xno
9705 then
9706 case "x$with_mingw" in
9707 x|xyes) case "$host_cpu" in
9708 aarch64*)
9709 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9710 arm*)
9711 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9712 i[3456789]86*)
9713 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
9714 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9715 mingw32-gcc" ;;
9716 x86_64)
9717 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
9718 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9720 ac_prefix_list="" ;;
9721 esac
9722 for ac_prog in $ac_prefix_list
9724 # Extract the first word of "$ac_prog", so it can be a program name with args.
9725 set dummy $ac_prog; ac_word=$2
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9727 $as_echo_n "checking for $ac_word... " >&6; }
9728 if ${ac_cv_prog_CROSSCC+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 if test -n "$CROSSCC"; then
9732 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9733 else
9734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9735 for as_dir in $PATH
9737 IFS=$as_save_IFS
9738 test -z "$as_dir" && as_dir=.
9739 for ac_exec_ext in '' $ac_executable_extensions; do
9740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9741 ac_cv_prog_CROSSCC="$ac_prog"
9742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9743 break 2
9745 done
9746 done
9747 IFS=$as_save_IFS
9751 CROSSCC=$ac_cv_prog_CROSSCC
9752 if test -n "$CROSSCC"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9754 $as_echo "$CROSSCC" >&6; }
9755 else
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9757 $as_echo "no" >&6; }
9761 test -n "$CROSSCC" && break
9762 done
9763 test -n "$CROSSCC" || CROSSCC="false"
9765 *) CROSSCC=$with_mingw ;;
9766 esac
9767 if test "$CROSSCC" != "false"
9768 then
9769 ac_save_CC="$CC"
9770 saved_CFLAGS=$CFLAGS
9771 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9773 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9777 CC="$CROSSCC"
9778 CFLAGS=$CROSSCFLAGS
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9780 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9781 if ${wine_cv_crosscc+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9788 main ()
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_compile "$LINENO"; then :
9796 wine_cv_crosscc=yes
9797 else
9798 wine_cv_crosscc=no
9800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9803 $as_echo "$wine_cv_crosscc" >&6; }
9804 if test $wine_cv_crosscc = yes
9805 then
9806 set x $CROSSCC
9807 shift
9808 while test $# -ge 1
9810 case "$1" in
9811 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9812 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9813 esac
9814 shift
9815 done
9817 llvm_target=$CROSSTARGET
9818 if test -z "$llvm_target"
9819 then
9820 case $host_cpu in
9821 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9822 *) llvm_target=$host_cpu-windows-gnu ;;
9823 esac
9825 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9827 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9828 if eval \${$as_ac_var+:} false; then :
9829 $as_echo_n "(cached) " >&6
9830 else
9831 ac_wine_try_cflags_saved=$CFLAGS
9832 ac_wine_try_cflags_saved_cc=$CC
9833 ac_wine_try_cflags_saved_exeext=$ac_exeext
9834 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9835 CC="$CROSSCC"
9836 ac_exeext=".exe"
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9839 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9840 _ACEOF
9841 if ac_fn_c_try_link "$LINENO"; then :
9842 eval "$as_ac_var=yes"
9843 else
9844 eval "$as_ac_var=no"
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 CFLAGS=$ac_wine_try_cflags_saved
9849 CC=$ac_wine_try_cflags_saved_cc
9850 ac_exeext=$ac_wine_try_cflags_saved_exeext
9852 eval ac_res=\$$as_ac_var
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9854 $as_echo "$ac_res" >&6; }
9855 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9856 CROSSTARGET=$llvm_target
9857 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9858 CFLAGS="$CFLAGS -fuse-ld=lld"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9862 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9863 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_wine_try_cflags_saved=$CFLAGS
9867 ac_wine_try_cflags_saved_cc=$CC
9868 ac_wine_try_cflags_saved_exeext=$ac_exeext
9869 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9870 CC="$CROSSCC"
9871 ac_exeext=".exe"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9874 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 ac_cv_crosscflags__fno_strict_aliasing=yes
9878 else
9879 ac_cv_crosscflags__fno_strict_aliasing=no
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 CFLAGS=$ac_wine_try_cflags_saved
9884 CC=$ac_wine_try_cflags_saved_cc
9885 ac_exeext=$ac_wine_try_cflags_saved_exeext
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9888 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9889 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9890 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9893 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9894 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_wine_try_cflags_saved=$CFLAGS
9898 ac_wine_try_cflags_saved_cc=$CC
9899 ac_wine_try_cflags_saved_exeext=$ac_exeext
9900 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9901 CC="$CROSSCC"
9902 ac_exeext=".exe"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9905 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9909 else
9910 ac_cv_crosscflags__Werror_unknown_warning_option=no
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 CFLAGS=$ac_wine_try_cflags_saved
9915 CC=$ac_wine_try_cflags_saved_cc
9916 ac_exeext=$ac_wine_try_cflags_saved_exeext
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9919 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9920 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9921 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9924 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9925 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9926 $as_echo_n "(cached) " >&6
9927 else
9928 ac_wine_try_cflags_saved=$CFLAGS
9929 ac_wine_try_cflags_saved_cc=$CC
9930 ac_wine_try_cflags_saved_exeext=$ac_exeext
9931 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9932 CC="$CROSSCC"
9933 ac_exeext=".exe"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"; then :
9939 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9940 else
9941 ac_cv_crosscflags__Wdeclaration_after_statement=no
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9946 CC=$ac_wine_try_cflags_saved_cc
9947 ac_exeext=$ac_wine_try_cflags_saved_exeext
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9950 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9951 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9952 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9955 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9956 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9957 $as_echo_n "(cached) " >&6
9958 else
9959 ac_wine_try_cflags_saved=$CFLAGS
9960 ac_wine_try_cflags_saved_cc=$CC
9961 ac_wine_try_cflags_saved_exeext=$ac_exeext
9962 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9963 CC="$CROSSCC"
9964 ac_exeext=".exe"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 ac_cv_crosscflags__Wempty_body=yes
9971 else
9972 ac_cv_crosscflags__Wempty_body=no
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 CFLAGS=$ac_wine_try_cflags_saved
9977 CC=$ac_wine_try_cflags_saved_cc
9978 ac_exeext=$ac_wine_try_cflags_saved_exeext
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9981 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9982 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9983 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9986 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9987 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_wine_try_cflags_saved=$CFLAGS
9991 ac_wine_try_cflags_saved_cc=$CC
9992 ac_wine_try_cflags_saved_exeext=$ac_exeext
9993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9994 CC="$CROSSCC"
9995 ac_exeext=".exe"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9998 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 ac_cv_crosscflags__Wignored_qualifiers=yes
10002 else
10003 ac_cv_crosscflags__Wignored_qualifiers=no
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 CFLAGS=$ac_wine_try_cflags_saved
10008 CC=$ac_wine_try_cflags_saved_cc
10009 ac_exeext=$ac_wine_try_cflags_saved_exeext
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10012 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10013 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10014 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10017 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10018 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_wine_try_cflags_saved=$CFLAGS
10022 ac_wine_try_cflags_saved_cc=$CC
10023 ac_wine_try_cflags_saved_exeext=$ac_exeext
10024 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10025 CC="$CROSSCC"
10026 ac_exeext=".exe"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10029 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_crosscflags__Wpacked_not_aligned=yes
10033 else
10034 ac_cv_crosscflags__Wpacked_not_aligned=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 CFLAGS=$ac_wine_try_cflags_saved
10039 CC=$ac_wine_try_cflags_saved_cc
10040 ac_exeext=$ac_wine_try_cflags_saved_exeext
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10043 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10044 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10045 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10048 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10049 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_wine_try_cflags_saved=$CFLAGS
10053 ac_wine_try_cflags_saved_cc=$CC
10054 ac_wine_try_cflags_saved_exeext=$ac_exeext
10055 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10056 CC="$CROSSCC"
10057 ac_exeext=".exe"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 ac_cv_crosscflags__Wpragma_pack=yes
10064 else
10065 ac_cv_crosscflags__Wpragma_pack=no
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 CFLAGS=$ac_wine_try_cflags_saved
10070 CC=$ac_wine_try_cflags_saved_cc
10071 ac_exeext=$ac_wine_try_cflags_saved_exeext
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10074 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10075 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10076 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10079 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10080 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_wine_try_cflags_saved=$CFLAGS
10084 ac_wine_try_cflags_saved_cc=$CC
10085 ac_wine_try_cflags_saved_exeext=$ac_exeext
10086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10087 CC="$CROSSCC"
10088 ac_exeext=".exe"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10091 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10092 _ACEOF
10093 if ac_fn_c_try_link "$LINENO"; then :
10094 ac_cv_crosscflags__Wshift_overflow_2=yes
10095 else
10096 ac_cv_crosscflags__Wshift_overflow_2=no
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 CFLAGS=$ac_wine_try_cflags_saved
10101 CC=$ac_wine_try_cflags_saved_cc
10102 ac_exeext=$ac_wine_try_cflags_saved_exeext
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10105 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10106 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10107 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10110 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10111 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_wine_try_cflags_saved=$CFLAGS
10115 ac_wine_try_cflags_saved_cc=$CC
10116 ac_wine_try_cflags_saved_exeext=$ac_exeext
10117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10118 CC="$CROSSCC"
10119 ac_exeext=".exe"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 ac_cv_crosscflags__Wstrict_prototypes=yes
10126 else
10127 ac_cv_crosscflags__Wstrict_prototypes=no
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10132 CC=$ac_wine_try_cflags_saved_cc
10133 ac_exeext=$ac_wine_try_cflags_saved_exeext
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10136 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10137 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10138 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10141 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10142 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_wine_try_cflags_saved=$CFLAGS
10146 ac_wine_try_cflags_saved_cc=$CC
10147 ac_wine_try_cflags_saved_exeext=$ac_exeext
10148 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10149 CC="$CROSSCC"
10150 ac_exeext=".exe"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 ac_cv_crosscflags__Wtype_limits=yes
10157 else
10158 ac_cv_crosscflags__Wtype_limits=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10163 CC=$ac_wine_try_cflags_saved_cc
10164 ac_exeext=$ac_wine_try_cflags_saved_exeext
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10167 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10168 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10169 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10172 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10173 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 ac_wine_try_cflags_saved_cc=$CC
10178 ac_wine_try_cflags_saved_exeext=$ac_exeext
10179 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10180 CC="$CROSSCC"
10181 ac_exeext=".exe"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10188 else
10189 ac_cv_crosscflags__Wunused_but_set_parameter=no
10191 rm -f core conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 CFLAGS=$ac_wine_try_cflags_saved
10194 CC=$ac_wine_try_cflags_saved_cc
10195 ac_exeext=$ac_wine_try_cflags_saved_exeext
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10198 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10199 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10200 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10203 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10204 if ${ac_cv_crosscflags__Wvla+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 ac_wine_try_cflags_saved_cc=$CC
10209 ac_wine_try_cflags_saved_exeext=$ac_exeext
10210 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10211 CC="$CROSSCC"
10212 ac_exeext=".exe"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_crosscflags__Wvla=yes
10219 else
10220 ac_cv_crosscflags__Wvla=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10225 CC=$ac_wine_try_cflags_saved_cc
10226 ac_exeext=$ac_wine_try_cflags_saved_exeext
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10229 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10230 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10234 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10235 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 ac_wine_try_cflags_saved_cc=$CC
10240 ac_wine_try_cflags_saved_exeext=$ac_exeext
10241 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10242 CC="$CROSSCC"
10243 ac_exeext=".exe"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 ac_cv_crosscflags__Wwrite_strings=yes
10250 else
10251 ac_cv_crosscflags__Wwrite_strings=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10256 CC=$ac_wine_try_cflags_saved_cc
10257 ac_exeext=$ac_wine_try_cflags_saved_exeext
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10260 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10261 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10262 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10265 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10266 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 ac_wine_try_cflags_saved_cc=$CC
10271 ac_wine_try_cflags_saved_exeext=$ac_exeext
10272 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10273 CC="$CROSSCC"
10274 ac_exeext=".exe"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_crosscflags__Wpointer_arith=yes
10281 else
10282 ac_cv_crosscflags__Wpointer_arith=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10287 CC=$ac_wine_try_cflags_saved_cc
10288 ac_exeext=$ac_wine_try_cflags_saved_exeext
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10291 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10292 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10293 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10296 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10297 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 ac_wine_try_cflags_saved_cc=$CC
10302 ac_wine_try_cflags_saved_exeext=$ac_exeext
10303 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10304 CC="$CROSSCC"
10305 ac_exeext=".exe"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"; then :
10311 ac_cv_crosscflags__Wlogical_op=yes
10312 else
10313 ac_cv_crosscflags__Wlogical_op=no
10315 rm -f core conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 CFLAGS=$ac_wine_try_cflags_saved
10318 CC=$ac_wine_try_cflags_saved_cc
10319 ac_exeext=$ac_wine_try_cflags_saved_exeext
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10322 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10323 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10324 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10327 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10328 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10329 $as_echo_n "(cached) " >&6
10330 else
10331 ac_wine_try_cflags_saved=$CFLAGS
10332 ac_wine_try_cflags_saved_cc=$CC
10333 ac_wine_try_cflags_saved_exeext=$ac_exeext
10334 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10335 CC="$CROSSCC"
10336 ac_exeext=".exe"
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10340 _ACEOF
10341 if ac_fn_c_try_link "$LINENO"; then :
10342 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10343 else
10344 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10346 rm -f core conftest.err conftest.$ac_objext \
10347 conftest$ac_exeext conftest.$ac_ext
10348 CFLAGS=$ac_wine_try_cflags_saved
10349 CC=$ac_wine_try_cflags_saved_cc
10350 ac_exeext=$ac_wine_try_cflags_saved_exeext
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10353 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10354 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10355 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10358 case $host_cpu in
10359 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10360 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10361 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_wine_try_cflags_saved=$CFLAGS
10365 ac_wine_try_cflags_saved_cc=$CC
10366 ac_wine_try_cflags_saved_exeext=$ac_exeext
10367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10368 CC="$CROSSCC"
10369 ac_exeext=".exe"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10376 else
10377 ac_cv_crosscflags__fno_omit_frame_pointer=no
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10382 CC=$ac_wine_try_cflags_saved_cc
10383 ac_exeext=$ac_wine_try_cflags_saved_exeext
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10386 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10387 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10388 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10389 fi ;;
10390 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10391 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10392 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_wine_try_cflags_saved=$CFLAGS
10396 ac_wine_try_cflags_saved_cc=$CC
10397 ac_wine_try_cflags_saved_exeext=$ac_exeext
10398 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10399 CC="$CROSSCC"
10400 ac_exeext=".exe"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 ac_cv_crosscflags__Wno_format=yes
10407 else
10408 ac_cv_crosscflags__Wno_format=no
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 CFLAGS=$ac_wine_try_cflags_saved
10413 CC=$ac_wine_try_cflags_saved_cc
10414 ac_exeext=$ac_wine_try_cflags_saved_exeext
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10417 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10418 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10419 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10422 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10423 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_wine_try_cflags_saved=$CFLAGS
10427 ac_wine_try_cflags_saved_cc=$CC
10428 ac_wine_try_cflags_saved_exeext=$ac_exeext
10429 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10430 CC="$CROSSCC"
10431 ac_exeext=".exe"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 ac_cv_crosscflags__Wformat_overflow=yes
10438 else
10439 ac_cv_crosscflags__Wformat_overflow=no
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 CFLAGS=$ac_wine_try_cflags_saved
10444 CC=$ac_wine_try_cflags_saved_cc
10445 ac_exeext=$ac_wine_try_cflags_saved_exeext
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10448 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10449 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10450 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10453 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10454 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_wine_try_cflags_saved=$CFLAGS
10458 ac_wine_try_cflags_saved_cc=$CC
10459 ac_wine_try_cflags_saved_exeext=$ac_exeext
10460 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10461 CC="$CROSSCC"
10462 ac_exeext=".exe"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10465 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10466 _ACEOF
10467 if ac_fn_c_try_link "$LINENO"; then :
10468 ac_cv_crosscflags__Wnonnull=yes
10469 else
10470 ac_cv_crosscflags__Wnonnull=no
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 CFLAGS=$ac_wine_try_cflags_saved
10475 CC=$ac_wine_try_cflags_saved_cc
10476 ac_exeext=$ac_wine_try_cflags_saved_exeext
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10479 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10480 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10481 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10482 fi ;;
10483 esac
10485 for ac_flag in $CROSSCFLAGS; do
10486 case $ac_flag in
10487 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10488 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10489 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_wine_try_cflags_saved=$CFLAGS
10493 ac_wine_try_cflags_saved_cc=$CC
10494 ac_wine_try_cflags_saved_exeext=$ac_exeext
10495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10496 CC="$CROSSCC"
10497 ac_exeext=".exe"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_crosscflags__gdwarf_2=yes
10504 else
10505 ac_cv_crosscflags__gdwarf_2=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 CFLAGS=$ac_wine_try_cflags_saved
10510 CC=$ac_wine_try_cflags_saved_cc
10511 ac_exeext=$ac_wine_try_cflags_saved_exeext
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10514 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10515 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10520 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__gstrict_dwarf=yes
10535 else
10536 ac_cv_crosscflags__gstrict_dwarf=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10545 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10546 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10548 fi ;;
10549 esac
10550 done
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10553 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10554 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10555 $as_echo_n "(cached) " >&6
10556 else
10557 ac_wine_try_cflags_saved=$CFLAGS
10558 ac_wine_try_cflags_saved_cc=$CC
10559 ac_wine_try_cflags_saved_exeext=$ac_exeext
10560 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10561 CC="$CROSSCC"
10562 ac_exeext=".exe"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10565 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10569 else
10570 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 CFLAGS=$ac_wine_try_cflags_saved
10575 CC=$ac_wine_try_cflags_saved_cc
10576 ac_exeext=$ac_wine_try_cflags_saved_exeext
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10579 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10580 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10581 DELAYLOADFLAG="-Wl,-delayload,"
10585 if test "x$enable_maintainer_mode" = xyes
10586 then
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10588 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10589 if ${ac_cv_crosscflags__Werror+:} false; then :
10590 $as_echo_n "(cached) " >&6
10591 else
10592 ac_wine_try_cflags_saved=$CFLAGS
10593 ac_wine_try_cflags_saved_cc=$CC
10594 ac_wine_try_cflags_saved_exeext=$ac_exeext
10595 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10596 CC="$CROSSCC"
10597 ac_exeext=".exe"
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10600 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 ac_cv_crosscflags__Werror=yes
10604 else
10605 ac_cv_crosscflags__Werror=no
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 CFLAGS=$ac_wine_try_cflags_saved
10610 CC=$ac_wine_try_cflags_saved_cc
10611 ac_exeext=$ac_wine_try_cflags_saved_exeext
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10614 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10615 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10616 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10620 CFLAGS=$saved_CFLAGS
10621 CC="$ac_save_CC"
10624 if test "x$CROSSTARGET" = "x"; then :
10625 case "x$with_mingw" in
10626 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10627 xno) ;;
10628 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10629 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10630 esac
10635 if test "$ac_cv_header_pthread_h" = "yes"
10636 then
10637 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10638 if test "x$ac_cv_func_pthread_create" = xyes; then :
10640 else
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10642 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10643 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lpthread $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char pthread_create ();
10659 main ()
10661 return pthread_create ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_pthread_pthread_create=yes
10668 else
10669 ac_cv_lib_pthread_pthread_create=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10676 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10677 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10678 PTHREAD_LIBS="-lpthread"
10685 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10686 case "x$with_pthread" in
10687 xno) ;;
10688 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10689 Wine cannot support threads without libpthread.
10690 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10691 esac
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10697 $as_echo_n "checking for X... " >&6; }
10700 # Check whether --with-x was given.
10701 if test "${with_x+set}" = set; then :
10702 withval=$with_x;
10705 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10706 if test "x$with_x" = xno; then
10707 # The user explicitly disabled X.
10708 have_x=disabled
10709 else
10710 case $x_includes,$x_libraries in #(
10711 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10712 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 # One or both of the vars are not set, and there is no cached value.
10716 ac_x_includes=no ac_x_libraries=no
10717 rm -f -r conftest.dir
10718 if mkdir conftest.dir; then
10719 cd conftest.dir
10720 cat >Imakefile <<'_ACEOF'
10721 incroot:
10722 @echo incroot='${INCROOT}'
10723 usrlibdir:
10724 @echo usrlibdir='${USRLIBDIR}'
10725 libdir:
10726 @echo libdir='${LIBDIR}'
10727 _ACEOF
10728 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10729 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10730 for ac_var in incroot usrlibdir libdir; do
10731 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10732 done
10733 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10734 for ac_extension in a so sl dylib la dll; do
10735 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10736 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10737 ac_im_usrlibdir=$ac_im_libdir; break
10739 done
10740 # Screen out bogus values from the imake configuration. They are
10741 # bogus both because they are the default anyway, and because
10742 # using them would break gcc on systems where it needs fixed includes.
10743 case $ac_im_incroot in
10744 /usr/include) ac_x_includes= ;;
10745 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10746 esac
10747 case $ac_im_usrlibdir in
10748 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10749 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10750 esac
10752 cd ..
10753 rm -f -r conftest.dir
10756 # Standard set of common directories for X headers.
10757 # Check X11 before X11Rn because it is often a symlink to the current release.
10758 ac_x_header_dirs='
10759 /usr/X11/include
10760 /usr/X11R7/include
10761 /usr/X11R6/include
10762 /usr/X11R5/include
10763 /usr/X11R4/include
10765 /usr/include/X11
10766 /usr/include/X11R7
10767 /usr/include/X11R6
10768 /usr/include/X11R5
10769 /usr/include/X11R4
10771 /usr/local/X11/include
10772 /usr/local/X11R7/include
10773 /usr/local/X11R6/include
10774 /usr/local/X11R5/include
10775 /usr/local/X11R4/include
10777 /usr/local/include/X11
10778 /usr/local/include/X11R7
10779 /usr/local/include/X11R6
10780 /usr/local/include/X11R5
10781 /usr/local/include/X11R4
10783 /usr/X386/include
10784 /usr/x386/include
10785 /usr/XFree86/include/X11
10787 /usr/include
10788 /usr/local/include
10789 /usr/unsupported/include
10790 /usr/athena/include
10791 /usr/local/x11r5/include
10792 /usr/lpp/Xamples/include
10794 /usr/openwin/include
10795 /usr/openwin/share/include'
10797 if test "$ac_x_includes" = no; then
10798 # Guess where to find include files, by looking for Xlib.h.
10799 # First, try using that file with no special directory specified.
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10802 #include <X11/Xlib.h>
10803 _ACEOF
10804 if ac_fn_c_try_cpp "$LINENO"; then :
10805 # We can compile using X headers with no special include directory.
10806 ac_x_includes=
10807 else
10808 for ac_dir in $ac_x_header_dirs; do
10809 if test -r "$ac_dir/X11/Xlib.h"; then
10810 ac_x_includes=$ac_dir
10811 break
10813 done
10815 rm -f conftest.err conftest.i conftest.$ac_ext
10816 fi # $ac_x_includes = no
10818 if test "$ac_x_libraries" = no; then
10819 # Check for the libraries.
10820 # See if we find them without any special options.
10821 # Don't add to $LIBS permanently.
10822 ac_save_LIBS=$LIBS
10823 LIBS="-lX11 $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 #include <X11/Xlib.h>
10828 main ()
10830 XrmInitialize ()
10832 return 0;
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"; then :
10836 LIBS=$ac_save_LIBS
10837 # We can link X programs with no special library path.
10838 ac_x_libraries=
10839 else
10840 LIBS=$ac_save_LIBS
10841 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10843 # Don't even attempt the hair of trying to link an X program!
10844 for ac_extension in a so sl dylib la dll; do
10845 if test -r "$ac_dir/libX11.$ac_extension"; then
10846 ac_x_libraries=$ac_dir
10847 break 2
10849 done
10850 done
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 fi # $ac_x_libraries = no
10856 case $ac_x_includes,$ac_x_libraries in #(
10857 no,* | *,no | *\'*)
10858 # Didn't find X, or a directory has "'" in its name.
10859 ac_cv_have_x="have_x=no";; #(
10861 # Record where we found X for the cache.
10862 ac_cv_have_x="have_x=yes\
10863 ac_x_includes='$ac_x_includes'\
10864 ac_x_libraries='$ac_x_libraries'"
10865 esac
10867 ;; #(
10868 *) have_x=yes;;
10869 esac
10870 eval "$ac_cv_have_x"
10871 fi # $with_x != no
10873 if test "$have_x" != yes; then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10875 $as_echo "$have_x" >&6; }
10876 no_x=yes
10877 else
10878 # If each of the values was on the command line, it overrides each guess.
10879 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10880 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10881 # Update the cache value to reflect the command line values.
10882 ac_cv_have_x="have_x=yes\
10883 ac_x_includes='$x_includes'\
10884 ac_x_libraries='$x_libraries'"
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10886 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10889 if test "$no_x" = yes; then
10890 # Not all programs may use this symbol, but it does not hurt to define it.
10892 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10894 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10895 else
10896 if test -n "$x_includes"; then
10897 X_CFLAGS="$X_CFLAGS -I$x_includes"
10900 # It would also be nice to do this for all -L options, not just this one.
10901 if test -n "$x_libraries"; then
10902 X_LIBS="$X_LIBS -L$x_libraries"
10903 # For Solaris; some versions of Sun CC require a space after -R and
10904 # others require no space. Words are not sufficient . . . .
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10906 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10907 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10908 ac_xsave_c_werror_flag=$ac_c_werror_flag
10909 ac_c_werror_flag=yes
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10914 main ()
10918 return 0;
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"; then :
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10923 $as_echo "no" >&6; }
10924 X_LIBS="$X_LIBS -R$x_libraries"
10925 else
10926 LIBS="$ac_xsave_LIBS -R $x_libraries"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10931 main ()
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10940 $as_echo "yes" >&6; }
10941 X_LIBS="$X_LIBS -R $x_libraries"
10942 else
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10944 $as_echo "neither works" >&6; }
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 ac_c_werror_flag=$ac_xsave_c_werror_flag
10952 LIBS=$ac_xsave_LIBS
10955 # Check for system-dependent libraries X programs must link with.
10956 # Do this before checking for the system-independent R6 libraries
10957 # (-lICE), since we may need -lsocket or whatever for X linking.
10959 if test "$ISC" = yes; then
10960 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10961 else
10962 # Martyn Johnson says this is needed for Ultrix, if the X
10963 # libraries were built with DECnet support. And Karl Berry says
10964 # the Alpha needs dnet_stub (dnet does not exist).
10965 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char XOpenDisplay ();
10977 main ()
10979 return XOpenDisplay ();
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10986 else
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10988 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10989 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10990 $as_echo_n "(cached) " >&6
10991 else
10992 ac_check_lib_save_LIBS=$LIBS
10993 LIBS="-ldnet $LIBS"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11000 #ifdef __cplusplus
11001 extern "C"
11002 #endif
11003 char dnet_ntoa ();
11005 main ()
11007 return dnet_ntoa ();
11009 return 0;
11011 _ACEOF
11012 if ac_fn_c_try_link "$LINENO"; then :
11013 ac_cv_lib_dnet_dnet_ntoa=yes
11014 else
11015 ac_cv_lib_dnet_dnet_ntoa=no
11017 rm -f core conftest.err conftest.$ac_objext \
11018 conftest$ac_exeext conftest.$ac_ext
11019 LIBS=$ac_check_lib_save_LIBS
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11022 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11023 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11024 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11027 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11029 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11030 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11031 $as_echo_n "(cached) " >&6
11032 else
11033 ac_check_lib_save_LIBS=$LIBS
11034 LIBS="-ldnet_stub $LIBS"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11041 #ifdef __cplusplus
11042 extern "C"
11043 #endif
11044 char dnet_ntoa ();
11046 main ()
11048 return dnet_ntoa ();
11050 return 0;
11052 _ACEOF
11053 if ac_fn_c_try_link "$LINENO"; then :
11054 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11055 else
11056 ac_cv_lib_dnet_stub_dnet_ntoa=no
11058 rm -f core conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_lib_save_LIBS
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11063 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11064 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11065 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11070 rm -f core conftest.err conftest.$ac_objext \
11071 conftest$ac_exeext conftest.$ac_ext
11072 LIBS="$ac_xsave_LIBS"
11074 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11075 # to get the SysV transport functions.
11076 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11077 # needs -lnsl.
11078 # The nsl library prevents programs from opening the X display
11079 # on Irix 5.2, according to T.E. Dickey.
11080 # The functions gethostbyname, getservbyname, and inet_addr are
11081 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11082 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11083 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11087 if test $ac_cv_func_gethostbyname = no; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11089 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11090 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11091 $as_echo_n "(cached) " >&6
11092 else
11093 ac_check_lib_save_LIBS=$LIBS
11094 LIBS="-lnsl $LIBS"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11101 #ifdef __cplusplus
11102 extern "C"
11103 #endif
11104 char gethostbyname ();
11106 main ()
11108 return gethostbyname ();
11110 return 0;
11112 _ACEOF
11113 if ac_fn_c_try_link "$LINENO"; then :
11114 ac_cv_lib_nsl_gethostbyname=yes
11115 else
11116 ac_cv_lib_nsl_gethostbyname=no
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11123 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11124 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11128 if test $ac_cv_lib_nsl_gethostbyname = no; then
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11130 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11131 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-lbsd $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char gethostbyname ();
11147 main ()
11149 return gethostbyname ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_bsd_gethostbyname=yes
11156 else
11157 ac_cv_lib_bsd_gethostbyname=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11164 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11165 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11166 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11172 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11173 # socket/setsockopt and other routines are undefined under SCO ODT
11174 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11175 # on later versions), says Simon Leinen: it contains gethostby*
11176 # variants that don't use the name server (or something). -lsocket
11177 # must be given before -lnsl if both are needed. We assume that
11178 # if connect needs -lnsl, so does gethostbyname.
11179 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11180 if test "x$ac_cv_func_connect" = xyes; then :
11184 if test $ac_cv_func_connect = no; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11186 $as_echo_n "checking for connect in -lsocket... " >&6; }
11187 if ${ac_cv_lib_socket_connect+:} false; then :
11188 $as_echo_n "(cached) " >&6
11189 else
11190 ac_check_lib_save_LIBS=$LIBS
11191 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char connect ();
11203 main ()
11205 return connect ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_socket_connect=yes
11212 else
11213 ac_cv_lib_socket_connect=no
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11220 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11221 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11222 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11227 # Guillermo Gomez says -lposix is necessary on A/UX.
11228 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11229 if test "x$ac_cv_func_remove" = xyes; then :
11233 if test $ac_cv_func_remove = no; then
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11235 $as_echo_n "checking for remove in -lposix... " >&6; }
11236 if ${ac_cv_lib_posix_remove+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lposix $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char remove ();
11252 main ()
11254 return remove ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_posix_remove=yes
11261 else
11262 ac_cv_lib_posix_remove=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11269 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11270 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11276 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11277 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11278 if test "x$ac_cv_func_shmat" = xyes; then :
11282 if test $ac_cv_func_shmat = no; then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11284 $as_echo_n "checking for shmat in -lipc... " >&6; }
11285 if ${ac_cv_lib_ipc_shmat+:} false; then :
11286 $as_echo_n "(cached) " >&6
11287 else
11288 ac_check_lib_save_LIBS=$LIBS
11289 LIBS="-lipc $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char shmat ();
11301 main ()
11303 return shmat ();
11305 return 0;
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 ac_cv_lib_ipc_shmat=yes
11310 else
11311 ac_cv_lib_ipc_shmat=no
11313 rm -f core conftest.err conftest.$ac_objext \
11314 conftest$ac_exeext conftest.$ac_ext
11315 LIBS=$ac_check_lib_save_LIBS
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11318 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11319 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11320 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11326 # Check for libraries that X11R6 Xt/Xaw programs need.
11327 ac_save_LDFLAGS=$LDFLAGS
11328 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11329 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11330 # check for ICE first), but we must link in the order -lSM -lICE or
11331 # we get undefined symbols. So assume we have SM if we have ICE.
11332 # These have to be linked with before -lX11, unlike the other
11333 # libraries we check for below, so use a different variable.
11334 # John Interrante, Karl Berry
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11336 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11337 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char IceConnectionNumber ();
11353 main ()
11355 return IceConnectionNumber ();
11357 return 0;
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_ICE_IceConnectionNumber=yes
11362 else
11363 ac_cv_lib_ICE_IceConnectionNumber=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11370 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11371 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11372 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11375 LDFLAGS=$ac_save_LDFLAGS
11380 if test "$have_x" = "yes"
11381 then
11382 ac_save_CPPFLAGS="$CPPFLAGS"
11383 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11386 $as_echo_n "checking for -lX11... " >&6; }
11387 if ${ac_cv_lib_soname_X11+:} false; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_soname_save_LIBS=$LIBS
11391 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char XCreateWindow ();
11403 main ()
11405 return XCreateWindow ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 case "$LIBEXT" in
11412 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11413 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'` ;;
11414 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11415 if ${ac_cv_lib_soname_X11:+false} :; then :
11416 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 fi ;;
11418 esac
11419 else
11420 ac_cv_lib_soname_X11=
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_soname_save_LIBS
11426 if ${ac_cv_lib_soname_X11:+false} :; then :
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11428 $as_echo "not found" >&6; }
11430 else
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11432 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11434 cat >>confdefs.h <<_ACEOF
11435 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11436 _ACEOF
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11441 $as_echo_n "checking for -lXext... " >&6; }
11442 if ${ac_cv_lib_soname_Xext+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_soname_save_LIBS=$LIBS
11446 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char XextCreateExtension ();
11458 main ()
11460 return XextCreateExtension ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 case "$LIBEXT" in
11467 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11468 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'` ;;
11469 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11470 if ${ac_cv_lib_soname_Xext:+false} :; then :
11471 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11472 fi ;;
11473 esac
11474 else
11475 ac_cv_lib_soname_Xext=
11477 rm -f core conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_soname_save_LIBS
11481 if ${ac_cv_lib_soname_Xext:+false} :; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11483 $as_echo "not found" >&6; }
11485 else
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11487 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11489 cat >>confdefs.h <<_ACEOF
11490 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11491 _ACEOF
11493 X_LIBS="$X_LIBS -lXext"
11495 X_LIBS="$X_LIBS -lX11"
11497 for ac_header in X11/Xlib.h \
11498 X11/XKBlib.h \
11499 X11/Xutil.h \
11500 X11/Xcursor/Xcursor.h \
11501 X11/extensions/shape.h \
11502 X11/extensions/XInput.h \
11503 X11/extensions/XInput2.h \
11504 X11/extensions/XShm.h \
11505 X11/extensions/Xcomposite.h \
11506 X11/extensions/Xfixes.h \
11507 X11/extensions/Xinerama.h \
11508 X11/extensions/Xrandr.h \
11509 X11/extensions/Xrender.h \
11510 X11/extensions/xf86vmode.h \
11511 X11/extensions/xf86vmproto.h
11512 do :
11513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11514 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11515 # include <X11/Xlib.h>
11516 #endif
11517 #ifdef HAVE_X11_XUTIL_H
11518 # include <X11/Xutil.h>
11519 #endif
11521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11522 cat >>confdefs.h <<_ACEOF
11523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11524 _ACEOF
11528 done
11531 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11532 then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11534 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11535 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11536 $as_echo_n "(cached) " >&6
11537 else
11538 ac_check_lib_save_LIBS=$LIBS
11539 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char XkbQueryExtension ();
11551 main ()
11553 return XkbQueryExtension ();
11555 return 0;
11557 _ACEOF
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 ac_cv_lib_X11_XkbQueryExtension=yes
11560 else
11561 ac_cv_lib_X11_XkbQueryExtension=no
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_lib_save_LIBS
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11568 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11569 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11571 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11577 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11578 then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11580 $as_echo_n "checking for -lXcursor... " >&6; }
11581 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_soname_save_LIBS=$LIBS
11585 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char XcursorImageLoadCursor ();
11597 main ()
11599 return XcursorImageLoadCursor ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 case "$LIBEXT" in
11606 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11607 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'` ;;
11608 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11609 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11610 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11611 fi ;;
11612 esac
11613 else
11614 ac_cv_lib_soname_Xcursor=
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11626 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11630 _ACEOF
11635 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11636 case "x$with_xcursor" in
11637 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11638 xno) ;;
11639 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11640 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11641 esac
11645 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11646 then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11648 $as_echo_n "checking for -lXi... " >&6; }
11649 if ${ac_cv_lib_soname_Xi+:} false; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 ac_check_soname_save_LIBS=$LIBS
11653 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11660 #ifdef __cplusplus
11661 extern "C"
11662 #endif
11663 char XOpenDevice ();
11665 main ()
11667 return XOpenDevice ();
11669 return 0;
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"; then :
11673 case "$LIBEXT" in
11674 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11675 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'` ;;
11676 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11677 if ${ac_cv_lib_soname_Xi:+false} :; then :
11678 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11679 fi ;;
11680 esac
11681 else
11682 ac_cv_lib_soname_Xi=
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_soname_save_LIBS
11688 if ${ac_cv_lib_soname_Xi:+false} :; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11690 $as_echo "not found" >&6; }
11692 else
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11694 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11696 cat >>confdefs.h <<_ACEOF
11697 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11698 _ACEOF
11703 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11704 case "x$with_xinput" in
11705 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11706 xno) ;;
11707 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11708 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11709 esac
11713 if test "x$ac_cv_lib_soname_Xi" != x
11714 then
11715 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11716 case "x$with_xinput2" in
11717 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11718 xno) ;;
11719 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11720 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11721 esac
11726 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11727 then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11729 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11730 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11731 $as_echo_n "(cached) " >&6
11732 else
11733 ac_check_lib_save_LIBS=$LIBS
11734 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11741 #ifdef __cplusplus
11742 extern "C"
11743 #endif
11744 char XShmQueryExtension ();
11746 main ()
11748 return XShmQueryExtension ();
11750 return 0;
11752 _ACEOF
11753 if ac_fn_c_try_link "$LINENO"; then :
11754 ac_cv_lib_Xext_XShmQueryExtension=yes
11755 else
11756 ac_cv_lib_Xext_XShmQueryExtension=no
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_lib_save_LIBS
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11763 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11764 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11766 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11771 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11772 case "x$with_xshm" in
11773 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11774 xno) ;;
11775 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11776 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11777 esac
11781 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11782 then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11784 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11785 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char XShapeQueryExtension ();
11801 main ()
11803 return XShapeQueryExtension ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 ac_cv_lib_Xext_XShapeQueryExtension=yes
11810 else
11811 ac_cv_lib_Xext_XShapeQueryExtension=no
11813 rm -f core conftest.err conftest.$ac_objext \
11814 conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_lib_save_LIBS
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11818 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11819 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11821 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11826 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11827 case "x$with_xshape" in
11828 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11829 xno) ;;
11830 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11831 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11832 esac
11836 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11837 then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11839 $as_echo_n "checking for -lXxf86vm... " >&6; }
11840 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char XF86VidModeQueryExtension ();
11856 main ()
11858 return XF86VidModeQueryExtension ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11868 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11869 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11872 else
11873 ac_cv_lib_soname_Xxf86vm=
11875 rm -f core conftest.err conftest.$ac_objext \
11876 conftest$ac_exeext conftest.$ac_ext
11877 LIBS=$ac_check_soname_save_LIBS
11879 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11881 $as_echo "not found" >&6; }
11883 else
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11885 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11887 cat >>confdefs.h <<_ACEOF
11888 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11889 _ACEOF
11894 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11895 case "x$with_xxf86vm" in
11896 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11899 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11900 esac
11904 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11905 then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11907 $as_echo_n "checking for -lXrender... " >&6; }
11908 if ${ac_cv_lib_soname_Xrender+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 ac_check_soname_save_LIBS=$LIBS
11912 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11919 #ifdef __cplusplus
11920 extern "C"
11921 #endif
11922 char XRenderQueryExtension ();
11924 main ()
11926 return XRenderQueryExtension ();
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_link "$LINENO"; then :
11932 case "$LIBEXT" in
11933 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11934 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'` ;;
11935 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11936 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11937 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11938 fi ;;
11939 esac
11940 else
11941 ac_cv_lib_soname_Xrender=
11943 rm -f core conftest.err conftest.$ac_objext \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_soname_save_LIBS
11947 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11949 $as_echo "not found" >&6; }
11951 else
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11953 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11955 cat >>confdefs.h <<_ACEOF
11956 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11957 _ACEOF
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11960 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11961 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_lib_save_LIBS=$LIBS
11965 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char XRenderSetPictureTransform ();
11977 main ()
11979 return XRenderSetPictureTransform ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11986 else
11987 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11994 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11995 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11997 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12002 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12003 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12004 $as_echo_n "(cached) " >&6
12005 else
12006 ac_check_lib_save_LIBS=$LIBS
12007 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12014 #ifdef __cplusplus
12015 extern "C"
12016 #endif
12017 char XRenderCreateLinearGradient ();
12019 main ()
12021 return XRenderCreateLinearGradient ();
12023 return 0;
12025 _ACEOF
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12028 else
12029 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_lib_save_LIBS
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12036 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12037 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12039 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12046 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12047 case "x$with_xrender" in
12048 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12051 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12052 esac
12056 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12057 then
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12060 #include <X11/Xlib.h>
12061 #include <X11/extensions/Xrandr.h>
12063 main ()
12065 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_compile "$LINENO"; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12072 $as_echo_n "checking for -lXrandr... " >&6; }
12073 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_soname_save_LIBS=$LIBS
12077 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char XRRQueryExtension ();
12089 main ()
12091 return XRRQueryExtension ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 case "$LIBEXT" in
12098 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12102 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12103 fi ;;
12104 esac
12105 else
12106 ac_cv_lib_soname_Xrandr=
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_soname_save_LIBS
12112 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12114 $as_echo "not found" >&6; }
12116 else
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12118 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12120 cat >>confdefs.h <<_ACEOF
12121 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12122 _ACEOF
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 #include <X11/Xlib.h>
12127 #include <X11/extensions/Xrandr.h>
12129 main ()
12131 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_compile "$LINENO"; then :
12138 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12144 #include <X11/Xlib.h>
12145 #include <X11/extensions/Xrandr.h>
12147 main ()
12149 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_compile "$LINENO"; then :
12156 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12158 else
12159 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12166 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12167 case "x$with_xrandr" in
12168 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12169 xno) ;;
12170 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12171 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12172 esac
12176 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12177 then
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12180 #include <X11/Xlib.h>
12181 #include <X11/extensions/Xfixes.h>
12183 main ()
12185 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12187 return 0;
12189 _ACEOF
12190 if ac_fn_c_try_compile "$LINENO"; then :
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12192 $as_echo_n "checking for -lXfixes... " >&6; }
12193 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12194 $as_echo_n "(cached) " >&6
12195 else
12196 ac_check_soname_save_LIBS=$LIBS
12197 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12201 /* Override any GCC internal prototype to avoid an error.
12202 Use char because int might match the return type of a GCC
12203 builtin and then its argument prototype would still apply. */
12204 #ifdef __cplusplus
12205 extern "C"
12206 #endif
12207 char XFixesQueryVersion ();
12209 main ()
12211 return XFixesQueryVersion ();
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"; then :
12217 case "$LIBEXT" in
12218 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12219 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'` ;;
12220 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12221 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12222 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12223 fi ;;
12224 esac
12225 else
12226 ac_cv_lib_soname_Xfixes=
12228 rm -f core conftest.err conftest.$ac_objext \
12229 conftest$ac_exeext conftest.$ac_ext
12230 LIBS=$ac_check_soname_save_LIBS
12232 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12234 $as_echo "not found" >&6; }
12236 else
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12238 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12240 cat >>confdefs.h <<_ACEOF
12241 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12242 _ACEOF
12247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12249 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12250 case "x$with_xfixes" in
12251 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12252 xno) ;;
12253 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12254 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12255 esac
12259 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12260 then
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12263 #include <X11/Xlib.h>
12264 #include <X11/extensions/Xinerama.h>
12266 main ()
12268 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_compile "$LINENO"; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12275 $as_echo_n "checking for -lXinerama... " >&6; }
12276 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_check_soname_save_LIBS=$LIBS
12280 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 #ifdef __cplusplus
12288 extern "C"
12289 #endif
12290 char XineramaQueryScreens ();
12292 main ()
12294 return XineramaQueryScreens ();
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 case "$LIBEXT" in
12301 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12302 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'` ;;
12303 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12304 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12305 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12306 fi ;;
12307 esac
12308 else
12309 ac_cv_lib_soname_Xinerama=
12311 rm -f core conftest.err conftest.$ac_objext \
12312 conftest$ac_exeext conftest.$ac_ext
12313 LIBS=$ac_check_soname_save_LIBS
12315 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12317 $as_echo "not found" >&6; }
12319 else
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12321 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12323 cat >>confdefs.h <<_ACEOF
12324 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12325 _ACEOF
12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12332 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12333 case "x$with_xinerama" in
12334 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12335 xno) ;;
12336 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12337 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12338 esac
12342 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12343 then
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12345 $as_echo_n "checking for -lXcomposite... " >&6; }
12346 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12347 $as_echo_n "(cached) " >&6
12348 else
12349 ac_check_soname_save_LIBS=$LIBS
12350 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12354 /* Override any GCC internal prototype to avoid an error.
12355 Use char because int might match the return type of a GCC
12356 builtin and then its argument prototype would still apply. */
12357 #ifdef __cplusplus
12358 extern "C"
12359 #endif
12360 char XCompositeRedirectWindow ();
12362 main ()
12364 return XCompositeRedirectWindow ();
12366 return 0;
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"; then :
12370 case "$LIBEXT" in
12371 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12372 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'` ;;
12373 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12374 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12375 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12376 fi ;;
12377 esac
12378 else
12379 ac_cv_lib_soname_Xcomposite=
12381 rm -f core conftest.err conftest.$ac_objext \
12382 conftest$ac_exeext conftest.$ac_ext
12383 LIBS=$ac_check_soname_save_LIBS
12385 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12387 $as_echo "not found" >&6; }
12389 else
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12391 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12393 cat >>confdefs.h <<_ACEOF
12394 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12395 _ACEOF
12400 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12401 case "x$with_xcomposite" in
12402 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12403 xno) ;;
12404 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12405 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12406 esac
12410 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12411 #include <X11/Xlib.h>
12412 #endif
12414 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12416 cat >>confdefs.h <<_ACEOF
12417 #define HAVE_XICCALLBACK_CALLBACK 1
12418 _ACEOF
12422 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12423 #include <X11/Xlib.h>
12424 #endif
12426 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_XEVENT_XCOOKIE 1
12430 _ACEOF
12437 opengl_msg=""
12438 if test "x$with_opengl" != "xno"
12439 then
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12441 $as_echo_n "checking for -lGL... " >&6; }
12442 if ${ac_cv_lib_soname_GL+:} false; then :
12443 $as_echo_n "(cached) " >&6
12444 else
12445 ac_check_soname_save_LIBS=$LIBS
12446 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12453 #ifdef __cplusplus
12454 extern "C"
12455 #endif
12456 char glXCreateContext ();
12458 main ()
12460 return glXCreateContext ();
12462 return 0;
12464 _ACEOF
12465 if ac_fn_c_try_link "$LINENO"; then :
12466 case "$LIBEXT" in
12467 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12468 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'` ;;
12469 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12470 if ${ac_cv_lib_soname_GL:+false} :; then :
12471 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12472 fi ;;
12473 esac
12474 else
12475 ac_cv_lib_soname_GL=
12477 rm -f core conftest.err conftest.$ac_objext \
12478 conftest$ac_exeext conftest.$ac_ext
12479 LIBS=$ac_check_soname_save_LIBS
12481 if ${ac_cv_lib_soname_GL:+false} :; then :
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12483 $as_echo "not found" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12485 $as_echo_n "checking for -lGL... " >&6; }
12486 if ${ac_cv_lib_soname_GL+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_soname_save_LIBS=$LIBS
12490 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"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char glXCreateContext ();
12502 main ()
12504 return glXCreateContext ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 case "$LIBEXT" in
12511 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12512 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'` ;;
12513 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12514 if ${ac_cv_lib_soname_GL:+false} :; then :
12515 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12516 fi ;;
12517 esac
12518 else
12519 ac_cv_lib_soname_GL=
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 LIBS=$ac_check_soname_save_LIBS
12525 if ${ac_cv_lib_soname_GL:+false} :; then :
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12527 $as_echo "not found" >&6; }
12528 if test -f /usr/X11R6/lib/libGL.a
12529 then
12530 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12531 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12532 else
12533 opengl_msg="No OpenGL library found on this system."
12535 else
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12537 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12539 cat >>confdefs.h <<_ACEOF
12540 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12541 _ACEOF
12543 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"
12545 else
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12547 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12549 cat >>confdefs.h <<_ACEOF
12550 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12551 _ACEOF
12553 OPENGL_LIBS="-lGL"
12555 if test "x$with_glu" != "xno"
12556 then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12558 $as_echo_n "checking for -lGLU... " >&6; }
12559 if ${ac_cv_lib_soname_GLU+:} false; then :
12560 $as_echo_n "(cached) " >&6
12561 else
12562 ac_check_soname_save_LIBS=$LIBS
12563 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12570 #ifdef __cplusplus
12571 extern "C"
12572 #endif
12573 char gluLookAt ();
12575 main ()
12577 return gluLookAt ();
12579 return 0;
12581 _ACEOF
12582 if ac_fn_c_try_link "$LINENO"; then :
12583 case "$LIBEXT" in
12584 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12585 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'` ;;
12586 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12587 if ${ac_cv_lib_soname_GLU:+false} :; then :
12588 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12589 fi ;;
12590 esac
12591 else
12592 ac_cv_lib_soname_GLU=
12594 rm -f core conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12596 LIBS=$ac_check_soname_save_LIBS
12598 if ${ac_cv_lib_soname_GLU:+false} :; then :
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12600 $as_echo "not found" >&6; }
12602 else
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12604 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12606 cat >>confdefs.h <<_ACEOF
12607 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12608 _ACEOF
12612 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12613 case "x$with_glu" in
12614 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12615 xno) ;;
12616 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12617 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12618 esac
12623 if test "x$with_osmesa" != "xno"
12624 then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12626 $as_echo_n "checking for -lOSMesa... " >&6; }
12627 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_soname_save_LIBS=$LIBS
12631 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char OSMesaGetProcAddress ();
12643 main ()
12645 return OSMesaGetProcAddress ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 case "$LIBEXT" in
12652 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12653 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'` ;;
12654 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12655 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12656 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12657 fi ;;
12658 esac
12659 else
12660 ac_cv_lib_soname_OSMesa=
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_soname_save_LIBS
12666 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12668 $as_echo "not found" >&6; }
12670 else
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12672 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12674 cat >>confdefs.h <<_ACEOF
12675 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12676 _ACEOF
12680 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12681 case "x$with_osmesa" in
12682 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12683 xno) ;;
12684 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12685 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12686 esac
12691 if test -n "$opengl_msg"; then :
12692 case "x$with_opengl" in
12693 x) as_fn_append wine_warnings "|$opengl_msg
12694 OpenGL and Direct3D won't be supported." ;;
12695 xno) ;;
12696 *) as_fn_error $? "$opengl_msg
12697 OpenGL and Direct3D won't be supported.
12698 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12699 esac
12703 CPPFLAGS="$ac_save_CPPFLAGS"
12704 else
12705 X_CFLAGS=""
12706 X_LIBS=""
12709 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12710 then
12711 if test "x$X_LIBS" = "x"; then :
12712 case "x$with_x" in
12713 xno) ;;
12714 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12715 without X support, which probably isn't what you want. You will need
12716 to install ${notice_platform}development packages of Xlib at the very least.
12717 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12718 esac
12719 enable_winex11_drv=${enable_winex11_drv:-no}
12721 else
12722 if test "x$X_LIBS" = "x"; then :
12723 case "x$with_x" in
12724 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12725 xno) ;;
12726 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12727 This is an error since --with-x was requested." "$LINENO" 5 ;;
12728 esac
12729 enable_winex11_drv=${enable_winex11_drv:-no}
12733 if test "$ac_cv_header_CL_cl_h" = "yes"
12734 then
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12736 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12737 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12738 $as_echo_n "(cached) " >&6
12739 else
12740 ac_check_lib_save_LIBS=$LIBS
12741 LIBS="-lOpenCL $LIBS"
12742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12748 #ifdef __cplusplus
12749 extern "C"
12750 #endif
12751 char clGetPlatformInfo ();
12753 main ()
12755 return clGetPlatformInfo ();
12757 return 0;
12759 _ACEOF
12760 if ac_fn_c_try_link "$LINENO"; then :
12761 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12762 else
12763 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_lib_save_LIBS
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12770 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12771 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12772 OPENCL_LIBS="-lOpenCL"
12777 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12778 case "x$with_opencl" in
12779 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12780 xno) ;;
12781 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12782 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12783 esac
12784 enable_opencl=${enable_opencl:-no}
12787 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12788 then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12790 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12791 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 ac_check_lib_save_LIBS=$LIBS
12795 LIBS="-lpcap $LIBS"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char pcap_create ();
12807 main ()
12809 return pcap_create ();
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_link "$LINENO"; then :
12815 ac_cv_lib_pcap_pcap_create=yes
12816 else
12817 ac_cv_lib_pcap_pcap_create=no
12819 rm -f core conftest.err conftest.$ac_objext \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12824 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12825 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12826 PCAP_LIBS="-lpcap"
12831 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12832 case "x$with_pcap" in
12833 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12834 xno) ;;
12835 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12836 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12837 esac
12838 enable_wpcap=${enable_wpcap:-no}
12842 if test "x$with_xml" != "xno"
12843 then
12844 if ${XML2_CFLAGS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12849 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12850 if ${XML2_LIBS:+false} :; then :
12851 if ${PKG_CONFIG+:} false; then :
12852 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12855 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12856 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12858 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12859 ac_save_CPPFLAGS=$CPPFLAGS
12860 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12861 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12862 do :
12863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12864 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12865 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12868 _ACEOF
12872 done
12874 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"
12875 then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12877 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12878 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_check_lib_save_LIBS=$LIBS
12882 LIBS="-lxml2 $XML2_LIBS $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char xmlParseMemory ();
12894 main ()
12896 return xmlParseMemory ();
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 ac_cv_lib_xml2_xmlParseMemory=yes
12903 else
12904 ac_cv_lib_xml2_xmlParseMemory=no
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12911 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12912 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12914 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12916 else
12917 XML2_LIBS=""
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12921 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12922 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12923 $as_echo_n "(cached) " >&6
12924 else
12925 ac_check_lib_save_LIBS=$LIBS
12926 LIBS="-lxml2 $XML2_LIBS $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char xmlReadMemory ();
12938 main ()
12940 return xmlReadMemory ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 ac_cv_lib_xml2_xmlReadMemory=yes
12947 else
12948 ac_cv_lib_xml2_xmlReadMemory=no
12950 rm -f core conftest.err conftest.$ac_objext \
12951 conftest$ac_exeext conftest.$ac_ext
12952 LIBS=$ac_check_lib_save_LIBS
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12955 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12956 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12958 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12963 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12964 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12965 $as_echo_n "(cached) " >&6
12966 else
12967 ac_check_lib_save_LIBS=$LIBS
12968 LIBS="-lxml2 $XML2_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char xmlNewDocPI ();
12980 main ()
12982 return xmlNewDocPI ();
12984 return 0;
12986 _ACEOF
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 ac_cv_lib_xml2_xmlNewDocPI=yes
12989 else
12990 ac_cv_lib_xml2_xmlNewDocPI=no
12992 rm -f core conftest.err conftest.$ac_objext \
12993 conftest$ac_exeext conftest.$ac_ext
12994 LIBS=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12997 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12998 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13000 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13005 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13006 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_lib_save_LIBS=$LIBS
13010 LIBS="-lxml2 $XML2_LIBS $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char xmlSchemaSetParserStructuredErrors ();
13022 main ()
13024 return xmlSchemaSetParserStructuredErrors ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13031 else
13032 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13034 rm -f core conftest.err conftest.$ac_objext \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13039 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13040 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13042 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13047 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13048 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13049 $as_echo_n "(cached) " >&6
13050 else
13051 ac_check_lib_save_LIBS=$LIBS
13052 LIBS="-lxml2 $XML2_LIBS $LIBS"
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13059 #ifdef __cplusplus
13060 extern "C"
13061 #endif
13062 char xmlSchemaSetValidStructuredErrors ();
13064 main ()
13066 return xmlSchemaSetValidStructuredErrors ();
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"; then :
13072 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13073 else
13074 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13076 rm -f core conftest.err conftest.$ac_objext \
13077 conftest$ac_exeext conftest.$ac_ext
13078 LIBS=$ac_check_lib_save_LIBS
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13081 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13082 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13084 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13089 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13090 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13091 $as_echo_n "(cached) " >&6
13092 else
13093 ac_check_lib_save_LIBS=$LIBS
13094 LIBS="-lxml2 $XML2_LIBS $LIBS"
13095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13098 /* Override any GCC internal prototype to avoid an error.
13099 Use char because int might match the return type of a GCC
13100 builtin and then its argument prototype would still apply. */
13101 #ifdef __cplusplus
13102 extern "C"
13103 #endif
13104 char xmlFirstElementChild ();
13106 main ()
13108 return xmlFirstElementChild ();
13110 return 0;
13112 _ACEOF
13113 if ac_fn_c_try_link "$LINENO"; then :
13114 ac_cv_lib_xml2_xmlFirstElementChild=yes
13115 else
13116 ac_cv_lib_xml2_xmlFirstElementChild=no
13118 rm -f core conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13120 LIBS=$ac_check_lib_save_LIBS
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13123 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13124 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13126 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13130 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13132 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13134 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13138 else
13139 XML2_CFLAGS=""
13140 XML2_LIBS=""
13142 CPPFLAGS=$ac_save_CPPFLAGS
13143 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13144 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13147 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13148 case "x$with_xml" in
13149 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13150 xno) ;;
13151 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13152 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13153 esac
13157 if test "x$with_xslt" != "xno"
13158 then
13159 if ${XSLT_CFLAGS:+false} :; then :
13160 if ${PKG_CONFIG+:} false; then :
13161 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13164 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13165 if ${XSLT_LIBS:+false} :; then :
13166 if ${PKG_CONFIG+:} false; then :
13167 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13170 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13171 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13172 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13173 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13174 ac_save_CPPFLAGS=$CPPFLAGS
13175 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13176 for ac_header in libxslt/pattern.h libxslt/transform.h
13177 do :
13178 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13179 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13180 # include <libxslt/pattern.h>
13181 #endif
13183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13184 cat >>confdefs.h <<_ACEOF
13185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13186 _ACEOF
13190 done
13192 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13193 then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13195 $as_echo_n "checking for -lxslt... " >&6; }
13196 if ${ac_cv_lib_soname_xslt+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 ac_check_soname_save_LIBS=$LIBS
13200 LIBS="-lxslt $XSLT_LIBS $LIBS"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 #ifdef __cplusplus
13208 extern "C"
13209 #endif
13210 char xsltCompilePattern ();
13212 main ()
13214 return xsltCompilePattern ();
13216 return 0;
13218 _ACEOF
13219 if ac_fn_c_try_link "$LINENO"; then :
13220 case "$LIBEXT" in
13221 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13222 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'` ;;
13223 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13224 if ${ac_cv_lib_soname_xslt:+false} :; then :
13225 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13226 fi ;;
13227 esac
13228 else
13229 ac_cv_lib_soname_xslt=
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_xslt:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13239 else
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13241 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13245 _ACEOF
13249 else
13250 XSLT_CFLAGS=""
13252 CPPFLAGS=$ac_save_CPPFLAGS
13253 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13254 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13257 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13258 case "x$with_xslt" in
13259 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13260 xno) ;;
13261 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13262 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13263 esac
13267 if test "x$with_inotify" != "xno"
13268 then
13269 if ${INOTIFY_CFLAGS:+false} :; then :
13270 if ${PKG_CONFIG+:} false; then :
13271 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13275 if ${INOTIFY_LIBS:+false} :; then :
13276 if ${PKG_CONFIG+:} false; then :
13277 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13282 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13283 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13284 ac_save_CPPFLAGS=$CPPFLAGS
13285 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13286 for ac_header in sys/inotify.h
13287 do :
13288 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13289 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13290 cat >>confdefs.h <<_ACEOF
13291 #define HAVE_SYS_INOTIFY_H 1
13292 _ACEOF
13296 done
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13299 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13300 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13301 $as_echo_n "(cached) " >&6
13302 else
13303 ac_check_lib_save_LIBS=$LIBS
13304 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13308 /* Override any GCC internal prototype to avoid an error.
13309 Use char because int might match the return type of a GCC
13310 builtin and then its argument prototype would still apply. */
13311 #ifdef __cplusplus
13312 extern "C"
13313 #endif
13314 char inotify_add_watch ();
13316 main ()
13318 return inotify_add_watch ();
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_link "$LINENO"; then :
13324 ac_cv_lib_inotify_inotify_add_watch=yes
13325 else
13326 ac_cv_lib_inotify_inotify_add_watch=no
13328 rm -f core conftest.err conftest.$ac_objext \
13329 conftest$ac_exeext conftest.$ac_ext
13330 LIBS=$ac_check_lib_save_LIBS
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13333 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13334 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13336 else
13337 INOTIFY_LIBS=""
13340 CPPFLAGS=$ac_save_CPPFLAGS
13341 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13342 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13345 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13346 case "x$with_inotify" in
13347 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13348 xno) ;;
13349 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13350 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13351 esac
13355 if test "x$with_dbus" != "xno"
13356 then
13357 if ${DBUS_CFLAGS:+false} :; then :
13358 if ${PKG_CONFIG+:} false; then :
13359 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13363 if ${DBUS_LIBS:+false} :; then :
13364 if ${PKG_CONFIG+:} false; then :
13365 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13371 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13372 ac_save_CPPFLAGS=$CPPFLAGS
13373 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13374 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13375 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13377 $as_echo_n "checking for -ldbus-1... " >&6; }
13378 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13379 $as_echo_n "(cached) " >&6
13380 else
13381 ac_check_soname_save_LIBS=$LIBS
13382 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13389 #ifdef __cplusplus
13390 extern "C"
13391 #endif
13392 char dbus_connection_close ();
13394 main ()
13396 return dbus_connection_close ();
13398 return 0;
13400 _ACEOF
13401 if ac_fn_c_try_link "$LINENO"; then :
13402 case "$LIBEXT" in
13403 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13404 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'` ;;
13405 *) 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'`
13406 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13407 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13408 fi ;;
13409 esac
13410 else
13411 ac_cv_lib_soname_dbus_1=
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_soname_save_LIBS
13417 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13419 $as_echo "not found" >&6; }
13420 DBUS_CFLAGS=""
13421 else
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13423 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13427 _ACEOF
13431 else
13432 DBUS_CFLAGS=""
13436 CPPFLAGS=$ac_save_CPPFLAGS
13437 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13438 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13441 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13442 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13443 case "x$with_dbus" in
13444 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13445 xno) ;;
13446 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13447 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13448 esac
13452 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13453 then
13454 if ${HAL_CFLAGS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13460 if ${HAL_LIBS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13466 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13467 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13469 ac_save_CPPFLAGS=$CPPFLAGS
13470 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13471 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13472 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13474 $as_echo_n "checking for -lhal... " >&6; }
13475 if ${ac_cv_lib_soname_hal+:} false; then :
13476 $as_echo_n "(cached) " >&6
13477 else
13478 ac_check_soname_save_LIBS=$LIBS
13479 LIBS="-lhal $HAL_LIBS $LIBS"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 #ifdef __cplusplus
13487 extern "C"
13488 #endif
13489 char libhal_ctx_new ();
13491 main ()
13493 return libhal_ctx_new ();
13495 return 0;
13497 _ACEOF
13498 if ac_fn_c_try_link "$LINENO"; then :
13499 case "$LIBEXT" in
13500 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13501 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'` ;;
13502 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13503 if ${ac_cv_lib_soname_hal:+false} :; then :
13504 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 fi ;;
13506 esac
13507 else
13508 ac_cv_lib_soname_hal=
13510 rm -f core conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512 LIBS=$ac_check_soname_save_LIBS
13514 if ${ac_cv_lib_soname_hal:+false} :; then :
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13516 $as_echo "not found" >&6; }
13517 HAL_CFLAGS=""
13518 else
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13520 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13522 cat >>confdefs.h <<_ACEOF
13523 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13524 _ACEOF
13528 else
13529 HAL_CFLAGS=""
13533 CPPFLAGS=$ac_save_CPPFLAGS
13534 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13535 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13537 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13538 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13539 case "x$with_hal" in
13540 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13541 xno) ;;
13542 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13543 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13544 esac
13549 if test "x$with_gnutls" != "xno"
13550 then
13551 if ${GNUTLS_CFLAGS:+false} :; then :
13552 if ${PKG_CONFIG+:} false; then :
13553 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13557 if ${GNUTLS_LIBS:+false} :; then :
13558 if ${PKG_CONFIG+:} false; then :
13559 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13564 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13565 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13566 ac_save_CPPFLAGS=$CPPFLAGS
13567 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13568 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13569 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 #include <gnutls/gnutls.h>
13573 #include <gnutls/crypto.h>
13575 main ()
13577 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13579 return 0;
13581 _ACEOF
13582 if ac_fn_c_try_compile "$LINENO"; then :
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13584 $as_echo_n "checking for -lgnutls... " >&6; }
13585 if ${ac_cv_lib_soname_gnutls+:} false; then :
13586 $as_echo_n "(cached) " >&6
13587 else
13588 ac_check_soname_save_LIBS=$LIBS
13589 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13593 /* Override any GCC internal prototype to avoid an error.
13594 Use char because int might match the return type of a GCC
13595 builtin and then its argument prototype would still apply. */
13596 #ifdef __cplusplus
13597 extern "C"
13598 #endif
13599 char gnutls_global_init ();
13601 main ()
13603 return gnutls_global_init ();
13605 return 0;
13607 _ACEOF
13608 if ac_fn_c_try_link "$LINENO"; then :
13609 case "$LIBEXT" in
13610 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13611 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'` ;;
13612 *) 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'`
13613 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13614 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'`
13615 fi ;;
13616 esac
13617 else
13618 ac_cv_lib_soname_gnutls=
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 LIBS=$ac_check_soname_save_LIBS
13624 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13626 $as_echo "not found" >&6; }
13627 GNUTLS_CFLAGS=""
13628 else
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13630 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13632 cat >>confdefs.h <<_ACEOF
13633 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13634 _ACEOF
13638 ac_wine_check_funcs_save_LIBS="$LIBS"
13639 LIBS="$LIBS $GNUTLS_LIBS"
13640 for ac_func in gnutls_cipher_init
13641 do :
13642 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13643 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13644 cat >>confdefs.h <<_ACEOF
13645 #define HAVE_GNUTLS_CIPHER_INIT 1
13646 _ACEOF
13648 else
13649 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13651 done
13653 LIBS="$ac_wine_check_funcs_save_LIBS"
13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13656 else
13657 GNUTLS_CFLAGS=""
13661 CPPFLAGS=$ac_save_CPPFLAGS
13662 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13663 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13666 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13667 case "x$with_gnutls" in
13668 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13669 xno) ;;
13670 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13671 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13672 esac
13676 CURSES_LIBS=""
13677 if test "$ac_cv_header_ncurses_h" = "yes"
13678 then
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13680 $as_echo_n "checking for -lncurses... " >&6; }
13681 if ${ac_cv_lib_soname_ncurses+:} false; then :
13682 $as_echo_n "(cached) " >&6
13683 else
13684 ac_check_soname_save_LIBS=$LIBS
13685 LIBS="-lncurses $LIBS"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13689 /* Override any GCC internal prototype to avoid an error.
13690 Use char because int might match the return type of a GCC
13691 builtin and then its argument prototype would still apply. */
13692 #ifdef __cplusplus
13693 extern "C"
13694 #endif
13695 char waddch ();
13697 main ()
13699 return waddch ();
13701 return 0;
13703 _ACEOF
13704 if ac_fn_c_try_link "$LINENO"; then :
13705 case "$LIBEXT" in
13706 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13707 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'` ;;
13708 *) 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'`
13709 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13710 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13711 fi ;;
13712 esac
13713 else
13714 ac_cv_lib_soname_ncurses=
13716 rm -f core conftest.err conftest.$ac_objext \
13717 conftest$ac_exeext conftest.$ac_ext
13718 LIBS=$ac_check_soname_save_LIBS
13720 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13722 $as_echo "not found" >&6; }
13724 else
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13726 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13728 cat >>confdefs.h <<_ACEOF
13729 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13730 _ACEOF
13732 CURSES_LIBS="-lncurses"
13734 elif test "$ac_cv_header_curses_h" = "yes"
13735 then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13737 $as_echo_n "checking for -lcurses... " >&6; }
13738 if ${ac_cv_lib_soname_curses+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 ac_check_soname_save_LIBS=$LIBS
13742 LIBS="-lcurses $LIBS"
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13746 /* Override any GCC internal prototype to avoid an error.
13747 Use char because int might match the return type of a GCC
13748 builtin and then its argument prototype would still apply. */
13749 #ifdef __cplusplus
13750 extern "C"
13751 #endif
13752 char waddch ();
13754 main ()
13756 return waddch ();
13758 return 0;
13760 _ACEOF
13761 if ac_fn_c_try_link "$LINENO"; then :
13762 case "$LIBEXT" in
13763 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13764 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'` ;;
13765 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13766 if ${ac_cv_lib_soname_curses:+false} :; then :
13767 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13768 fi ;;
13769 esac
13770 else
13771 ac_cv_lib_soname_curses=
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 LIBS=$ac_check_soname_save_LIBS
13777 if ${ac_cv_lib_soname_curses:+false} :; then :
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13779 $as_echo "not found" >&6; }
13781 else
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13783 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13785 cat >>confdefs.h <<_ACEOF
13786 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13787 _ACEOF
13789 CURSES_LIBS="-lcurses"
13792 ac_save_LIBS="$LIBS"
13793 LIBS="$LIBS $CURSES_LIBS"
13794 for ac_func in mousemask
13795 do :
13796 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13797 if test "x$ac_cv_func_mousemask" = xyes; then :
13798 cat >>confdefs.h <<_ACEOF
13799 #define HAVE_MOUSEMASK 1
13800 _ACEOF
13803 done
13805 LIBS="$ac_save_LIBS"
13806 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13807 case "x$with_curses" in
13808 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13809 xno) ;;
13810 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13811 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13812 esac
13816 if test "x$with_sane" != "xno"
13817 then
13818 if ${SANE_CFLAGS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13823 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13824 if ${SANE_LIBS:+false} :; then :
13825 if ${PKG_CONFIG+:} false; then :
13826 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13829 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13833 ac_save_CPPFLAGS=$CPPFLAGS
13834 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13835 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13836 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13838 $as_echo_n "checking for -lsane... " >&6; }
13839 if ${ac_cv_lib_soname_sane+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_soname_save_LIBS=$LIBS
13843 LIBS="-lsane $SANE_LIBS $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char sane_init ();
13855 main ()
13857 return sane_init ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 case "$LIBEXT" in
13864 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13867 if ${ac_cv_lib_soname_sane:+false} :; then :
13868 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 fi ;;
13870 esac
13871 else
13872 ac_cv_lib_soname_sane=
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_soname_save_LIBS
13878 if ${ac_cv_lib_soname_sane:+false} :; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13880 $as_echo "not found" >&6; }
13881 SANE_CFLAGS=""
13882 else
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13884 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13886 cat >>confdefs.h <<_ACEOF
13887 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13888 _ACEOF
13892 else
13893 SANE_CFLAGS=""
13897 CPPFLAGS=$ac_save_CPPFLAGS
13898 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13899 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13902 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13903 case "x$with_sane" in
13904 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13905 xno) ;;
13906 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13907 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13908 esac
13912 if test "x$with_v4l2" != "xno"
13913 then
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13915 $as_echo_n "checking for -lv4l2... " >&6; }
13916 if ${ac_cv_lib_soname_v4l2+:} false; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 ac_check_soname_save_LIBS=$LIBS
13920 LIBS="-lv4l2 $LIBS"
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13924 /* Override any GCC internal prototype to avoid an error.
13925 Use char because int might match the return type of a GCC
13926 builtin and then its argument prototype would still apply. */
13927 #ifdef __cplusplus
13928 extern "C"
13929 #endif
13930 char v4l2_open ();
13932 main ()
13934 return v4l2_open ();
13936 return 0;
13938 _ACEOF
13939 if ac_fn_c_try_link "$LINENO"; then :
13940 case "$LIBEXT" in
13941 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13942 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'` ;;
13943 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13944 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13945 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13946 fi ;;
13947 esac
13948 else
13949 ac_cv_lib_soname_v4l2=
13951 rm -f core conftest.err conftest.$ac_objext \
13952 conftest$ac_exeext conftest.$ac_ext
13953 LIBS=$ac_check_soname_save_LIBS
13955 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13957 $as_echo "not found" >&6; }
13959 else
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13961 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13963 cat >>confdefs.h <<_ACEOF
13964 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13965 _ACEOF
13970 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13971 case "x$with_v4l2" in
13972 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13973 xno) ;;
13974 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13975 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13976 esac
13980 if test "x$with_gphoto" != "xno"
13981 then
13982 if ${GPHOTO2_CFLAGS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13987 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13988 if ${GPHOTO2_LIBS:+false} :; then :
13989 if ${PKG_CONFIG+:} false; then :
13990 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13993 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13994 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13995 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13997 ac_save_CPPFLAGS=$CPPFLAGS
13998 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13999 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14000 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14002 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14003 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 ac_check_lib_save_LIBS=$LIBS
14007 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14014 #ifdef __cplusplus
14015 extern "C"
14016 #endif
14017 char gp_camera_new ();
14019 main ()
14021 return gp_camera_new ();
14023 return 0;
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"; then :
14027 ac_cv_lib_gphoto2_gp_camera_new=yes
14028 else
14029 ac_cv_lib_gphoto2_gp_camera_new=no
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 LIBS=$ac_check_lib_save_LIBS
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14036 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14037 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14039 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14041 else
14042 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14045 else
14046 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14050 CPPFLAGS=$ac_save_CPPFLAGS
14051 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14052 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14054 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14059 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14060 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14061 if ${PKG_CONFIG+:} false; then :
14062 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14065 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14066 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14069 ac_save_CPPFLAGS=$CPPFLAGS
14070 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14071 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14072 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14074 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14075 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 #ifdef __cplusplus
14087 extern "C"
14088 #endif
14089 char gp_port_info_list_new ();
14091 main ()
14093 return gp_port_info_list_new ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14100 else
14101 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14108 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14109 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14111 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14113 else
14114 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14117 else
14118 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14122 CPPFLAGS=$ac_save_CPPFLAGS
14123 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14124 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14127 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14128 case "x$with_gphoto" in
14129 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14130 xno) ;;
14131 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14132 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14133 esac
14136 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14137 case "x$with_gphoto" in
14138 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14139 xno) ;;
14140 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14141 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14142 esac
14147 if test "$ac_cv_header_resolv_h" = "yes"
14148 then
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14150 $as_echo_n "checking for resolver library... " >&6; }
14151 if ${ac_cv_have_resolv+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 ac_save_LIBS="$LIBS"
14155 for lib in '' -lresolv
14157 LIBS="$lib $ac_save_LIBS"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 #ifdef HAVE_NETINET_IN_H
14161 #include <netinet/in.h>
14162 #endif
14163 #include <resolv.h>
14165 main ()
14167 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14169 return 0;
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"; then :
14173 ac_cv_have_resolv=${lib:-"none required"}
14174 else
14175 ac_cv_have_resolv="not found"
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14179 test "x$ac_cv_have_resolv" = "xnot found" || break
14180 done
14181 LIBS="$ac_save_LIBS"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14184 $as_echo "$ac_cv_have_resolv" >&6; }
14186 case "$ac_cv_have_resolv" in
14187 "not found") ;;
14188 "none required")
14190 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14193 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14195 RESOLV_LIBS=$ac_cv_have_resolv
14197 esac
14200 if test "x$with_cms" != "xno"
14201 then
14202 if ${LCMS2_CFLAGS:+false} :; then :
14203 if ${PKG_CONFIG+:} false; then :
14204 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14208 if ${LCMS2_LIBS:+false} :; then :
14209 if ${PKG_CONFIG+:} false; then :
14210 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14214 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14215 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14216 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14217 ac_save_CPPFLAGS=$CPPFLAGS
14218 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14219 for ac_header in lcms2.h
14220 do :
14221 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14222 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14223 cat >>confdefs.h <<_ACEOF
14224 #define HAVE_LCMS2_H 1
14225 _ACEOF
14229 done
14231 if test "$ac_cv_header_lcms2_h" = "yes"
14232 then
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14234 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14235 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 ac_check_lib_save_LIBS=$LIBS
14239 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14246 #ifdef __cplusplus
14247 extern "C"
14248 #endif
14249 char cmsOpenProfileFromFile ();
14251 main ()
14253 return cmsOpenProfileFromFile ();
14255 return 0;
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"; then :
14259 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14260 else
14261 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14263 rm -f core conftest.err conftest.$ac_objext \
14264 conftest$ac_exeext conftest.$ac_ext
14265 LIBS=$ac_check_lib_save_LIBS
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14268 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14269 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14271 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14273 else
14274 LCMS2_LIBS=""
14277 else
14278 LCMS2_CFLAGS=""
14279 LCMS2_LIBS=""
14281 CPPFLAGS=$ac_save_CPPFLAGS
14282 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14283 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14286 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14287 case "x$with_cms" in
14288 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14289 xno) ;;
14290 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14291 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14292 esac
14296 if test "x$with_freetype" != "xno"
14297 then
14298 if ${FREETYPE_CFLAGS:+false} :; then :
14299 if ${PKG_CONFIG+:} false; then :
14300 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14303 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14304 if ${FREETYPE_LIBS:+false} :; then :
14305 if ${PKG_CONFIG+:} false; then :
14306 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14309 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14310 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14311 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14312 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14313 ac_save_CPPFLAGS=$CPPFLAGS
14314 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14315 for ac_header in ft2build.h
14316 do :
14317 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14318 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14319 cat >>confdefs.h <<_ACEOF
14320 #define HAVE_FT2BUILD_H 1
14321 _ACEOF
14325 done
14327 if test "$ac_cv_header_ft2build_h" = "yes"
14328 then
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14330 $as_echo_n "checking for -lfreetype... " >&6; }
14331 if ${ac_cv_lib_soname_freetype+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_check_soname_save_LIBS=$LIBS
14335 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14339 /* Override any GCC internal prototype to avoid an error.
14340 Use char because int might match the return type of a GCC
14341 builtin and then its argument prototype would still apply. */
14342 #ifdef __cplusplus
14343 extern "C"
14344 #endif
14345 char FT_Init_FreeType ();
14347 main ()
14349 return FT_Init_FreeType ();
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"; then :
14355 case "$LIBEXT" in
14356 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14357 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'` ;;
14358 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14359 if ${ac_cv_lib_soname_freetype:+false} :; then :
14360 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14361 fi ;;
14362 esac
14363 else
14364 ac_cv_lib_soname_freetype=
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 LIBS=$ac_check_soname_save_LIBS
14370 if ${ac_cv_lib_soname_freetype:+false} :; then :
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14372 $as_echo "not found" >&6; }
14373 FREETYPE_LIBS=""
14374 else
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14376 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14378 cat >>confdefs.h <<_ACEOF
14379 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14380 _ACEOF
14383 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14385 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14386 #include FT_MODULE_H
14388 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14390 cat >>confdefs.h <<_ACEOF
14391 #define HAVE_FT_TRUETYPEENGINETYPE 1
14392 _ACEOF
14398 else
14399 FREETYPE_CFLAGS=""
14400 FREETYPE_LIBS=""
14402 CPPFLAGS=$ac_save_CPPFLAGS
14403 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14404 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14407 if test "x$ac_cv_lib_soname_freetype" = x; then :
14408 case "x$with_freetype" in
14409 xno) ;;
14410 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14411 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14412 esac
14413 enable_fonts=${enable_fonts:-no}
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14417 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14418 if ${ac_cv_c_ppdev+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 #ifdef HAVE_SYS_IOCTL_H
14424 # include <sys/ioctl.h>
14425 #endif
14426 #include <linux/ppdev.h>
14428 main ()
14430 ioctl (1,PPCLAIM,0)
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_compile "$LINENO"; then :
14436 ac_cv_c_ppdev="yes"
14437 else
14438 ac_cv_c_ppdev="no"
14440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14443 $as_echo "$ac_cv_c_ppdev" >&6; }
14444 if test "$ac_cv_c_ppdev" = "yes"
14445 then
14447 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14451 ac_wine_check_funcs_save_LIBS="$LIBS"
14452 LIBS="$LIBS $PTHREAD_LIBS"
14453 for ac_func in \
14454 pthread_getthreadid_np
14455 do :
14456 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14459 cat >>confdefs.h <<_ACEOF
14460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14461 _ACEOF
14464 done
14466 LIBS="$ac_wine_check_funcs_save_LIBS"
14468 if test "x$with_zlib" != "xno"
14469 then
14470 if ${Z_CFLAGS:+false} :; then :
14471 if ${PKG_CONFIG+:} false; then :
14472 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14476 if ${Z_LIBS:+false} :; then :
14477 if ${PKG_CONFIG+:} false; then :
14478 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14482 Z_LIBS=${Z_LIBS:-"-lz"}
14483 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14484 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14485 ac_save_CPPFLAGS=$CPPFLAGS
14486 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14487 for ac_header in zlib.h
14488 do :
14489 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14490 if test "x$ac_cv_header_zlib_h" = xyes; then :
14491 cat >>confdefs.h <<_ACEOF
14492 #define HAVE_ZLIB_H 1
14493 _ACEOF
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14495 $as_echo_n "checking for inflate in -lz... " >&6; }
14496 if ${ac_cv_lib_z_inflate+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_check_lib_save_LIBS=$LIBS
14500 LIBS="-lz $Z_LIBS $LIBS"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14504 /* Override any GCC internal prototype to avoid an error.
14505 Use char because int might match the return type of a GCC
14506 builtin and then its argument prototype would still apply. */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 char inflate ();
14512 main ()
14514 return inflate ();
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_lib_z_inflate=yes
14521 else
14522 ac_cv_lib_z_inflate=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_lib_save_LIBS
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14529 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14530 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14532 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14534 else
14535 Z_LIBS=""
14538 else
14539 Z_LIBS=""
14542 done
14544 CPPFLAGS=$ac_save_CPPFLAGS
14545 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14546 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14549 if test "x$Z_LIBS" = "x"; then :
14550 case "x$with_zlib" in
14551 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14552 xno) ;;
14553 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14554 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14555 esac
14559 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14560 then
14561 if test "$ac_cv_header_gettext_po_h" = "yes"
14562 then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14564 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14565 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_check_lib_save_LIBS=$LIBS
14569 LIBS="-lgettextpo $LIBS"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 #ifdef __cplusplus
14577 extern "C"
14578 #endif
14579 char po_message_msgctxt ();
14581 main ()
14583 return po_message_msgctxt ();
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_link "$LINENO"; then :
14589 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14590 else
14591 ac_cv_lib_gettextpo_po_message_msgctxt=no
14593 rm -f core conftest.err conftest.$ac_objext \
14594 conftest$ac_exeext conftest.$ac_ext
14595 LIBS=$ac_check_lib_save_LIBS
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14598 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14599 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14601 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14603 GETTEXTPO_LIBS="-lgettextpo"
14608 if test "x$GETTEXTPO_LIBS" = "x"; then :
14609 case "x$with_gettextpo" in
14610 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14611 xno) ;;
14612 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14613 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14614 esac
14617 if test "$srcdir" != .; then :
14618 case "x$with_gettextpo" in
14619 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14620 xno) ;;
14621 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14622 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14623 esac
14628 if test "x$with_pulse" != "xno";
14629 then
14630 if ${PULSE_CFLAGS:+false} :; then :
14631 if ${PKG_CONFIG+:} false; then :
14632 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14636 if ${PULSE_LIBS:+false} :; then :
14637 if ${PKG_CONFIG+:} false; then :
14638 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14643 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14644 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14645 ac_save_CPPFLAGS=$CPPFLAGS
14646 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14647 for ac_header in pulse/pulseaudio.h
14648 do :
14649 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14650 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14651 cat >>confdefs.h <<_ACEOF
14652 #define HAVE_PULSE_PULSEAUDIO_H 1
14653 _ACEOF
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14655 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14656 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 ac_check_lib_save_LIBS=$LIBS
14660 LIBS="-lpulse $PULSE_LIBS $LIBS"
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14667 #ifdef __cplusplus
14668 extern "C"
14669 #endif
14670 char pa_stream_is_corked ();
14672 main ()
14674 return pa_stream_is_corked ();
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_lib_pulse_pa_stream_is_corked=yes
14681 else
14682 ac_cv_lib_pulse_pa_stream_is_corked=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_lib_save_LIBS
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14689 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14690 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14692 else
14693 PULSE_LIBS=""
14696 else
14697 PULSE_LIBS=""
14700 done
14702 CPPFLAGS=$ac_save_CPPFLAGS
14703 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14704 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14707 if test -z "$PULSE_LIBS"; then :
14708 case "x$with_pulse" in
14709 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14710 xno) ;;
14711 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14712 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14713 esac
14714 enable_winepulse_drv=${enable_winepulse_drv:-no}
14717 if test "x$with_gstreamer" != "xno"
14718 then
14719 if ${GSTREAMER_CFLAGS:+false} :; then :
14720 if ${PKG_CONFIG+:} false; then :
14721 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14725 if ${GSTREAMER_LIBS:+false} :; then :
14726 if ${PKG_CONFIG+:} false; then :
14727 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14732 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14733 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14734 ac_save_CPPFLAGS=$CPPFLAGS
14735 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14736 ac_gst_incl=""
14737 for i in $GSTREAMER_CFLAGS
14739 case "$i" in
14740 -I*) ac_gst_incl="$ac_gst_incl $i";;
14741 esac
14742 done
14743 GSTREAMER_CFLAGS=$ac_gst_incl
14744 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14745 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14746 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14748 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 #include <gst/gst.h>
14753 main ()
14755 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14757 return 0;
14759 _ACEOF
14760 if ac_fn_c_try_compile "$LINENO"; then :
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14762 $as_echo "yes" >&6; }
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14764 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14765 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14766 $as_echo_n "(cached) " >&6
14767 else
14768 ac_check_lib_save_LIBS=$LIBS
14769 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14776 #ifdef __cplusplus
14777 extern "C"
14778 #endif
14779 char gst_pad_new ();
14781 main ()
14783 return gst_pad_new ();
14785 return 0;
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14790 else
14791 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14795 LIBS=$ac_check_lib_save_LIBS
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14798 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14799 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14803 else
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14805 $as_echo "no" >&6; }
14806 ac_glib2_broken=yes
14807 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14813 CPPFLAGS=$ac_save_CPPFLAGS
14814 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14815 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14818 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 :
14819 case "x$with_gstreamer" in
14820 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14821 xno) ;;
14822 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14823 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14824 esac
14827 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14829 ALSA_LIBS=""
14831 if test "x$with_alsa" != "xno"
14832 then
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14834 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14835 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_check_lib_save_LIBS=$LIBS
14839 LIBS="-lasound $LIBS"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14843 /* Override any GCC internal prototype to avoid an error.
14844 Use char because int might match the return type of a GCC
14845 builtin and then its argument prototype would still apply. */
14846 #ifdef __cplusplus
14847 extern "C"
14848 #endif
14849 char snd_pcm_hw_params_get_access_mask ();
14851 main ()
14853 return snd_pcm_hw_params_get_access_mask ();
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14860 else
14861 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LIBS=$ac_check_lib_save_LIBS
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14868 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14869 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 #include <alsa/asoundlib.h>
14874 main ()
14876 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_compile "$LINENO"; then :
14882 ALSA_LIBS="-lasound"
14884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14888 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14890 if test "x$with_oss" != xno
14891 then
14892 ac_save_CPPFLAGS="$CPPFLAGS"
14893 if test -f /etc/oss.conf
14894 then
14895 . /etc/oss.conf
14897 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14898 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14899 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14900 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14901 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14903 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14905 cat >>confdefs.h <<_ACEOF
14906 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14907 _ACEOF
14909 OSS4_CFLAGS="$ac_oss_incl"
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14912 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14913 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 ac_check_lib_save_LIBS=$LIBS
14917 LIBS="-lossaudio $LIBS"
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14921 /* Override any GCC internal prototype to avoid an error.
14922 Use char because int might match the return type of a GCC
14923 builtin and then its argument prototype would still apply. */
14924 #ifdef __cplusplus
14925 extern "C"
14926 #endif
14927 char _oss_ioctl ();
14929 main ()
14931 return _oss_ioctl ();
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_link "$LINENO"; then :
14937 ac_cv_lib_ossaudio__oss_ioctl=yes
14938 else
14939 ac_cv_lib_ossaudio__oss_ioctl=no
14941 rm -f core conftest.err conftest.$ac_objext \
14942 conftest$ac_exeext conftest.$ac_ext
14943 LIBS=$ac_check_lib_save_LIBS
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14946 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14947 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14948 OSS4_LIBS="-lossaudio"
14957 CPPFLAGS="$ac_save_CPPFLAGS"
14959 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14960 case "x$with_oss" in
14961 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14962 xno) ;;
14963 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14964 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14965 esac
14966 enable_wineoss_drv=${enable_wineoss_drv:-no}
14969 if test "x$with_udev" != "xno"
14970 then
14971 if ${UDEV_CFLAGS:+false} :; then :
14972 if ${PKG_CONFIG+:} false; then :
14973 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14977 if ${UDEV_LIBS:+false} :; then :
14978 if ${PKG_CONFIG+:} false; then :
14979 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14983 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14984 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14985 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14986 ac_save_CPPFLAGS=$CPPFLAGS
14987 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14988 for ac_header in libudev.h
14989 do :
14990 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14991 if test "x$ac_cv_header_libudev_h" = xyes; then :
14992 cat >>confdefs.h <<_ACEOF
14993 #define HAVE_LIBUDEV_H 1
14994 _ACEOF
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14996 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14997 if ${ac_cv_lib_udev_udev_new+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_check_lib_save_LIBS=$LIBS
15001 LIBS="-ludev $UDEV_LIBS $LIBS"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15008 #ifdef __cplusplus
15009 extern "C"
15010 #endif
15011 char udev_new ();
15013 main ()
15015 return udev_new ();
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"; then :
15021 ac_cv_lib_udev_udev_new=yes
15022 else
15023 ac_cv_lib_udev_udev_new=no
15025 rm -f core conftest.err conftest.$ac_objext \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_check_lib_save_LIBS
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15030 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15031 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15033 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15035 else
15036 UDEV_LIBS=""
15039 else
15040 UDEV_LIBS=""
15043 done
15045 CPPFLAGS=$ac_save_CPPFLAGS
15046 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15047 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15050 if test "x$UDEV_LIBS" = "x"; then :
15051 case "x$with_udev" in
15052 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15053 xno) ;;
15054 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15055 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15056 esac
15060 if test "x$with_unwind" != xno
15061 then
15062 if ${UNWIND_CFLAGS:+false} :; then :
15063 if ${PKG_CONFIG+:} false; then :
15064 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15068 if ${UNWIND_LIBS:+false} :; then :
15069 if ${PKG_CONFIG+:} false; then :
15070 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15074 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15075 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15076 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15077 ac_save_CPPFLAGS=$CPPFLAGS
15078 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15080 $as_echo_n "checking for unw_step... " >&6; }
15081 if ${wine_cv_have_unw_step+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 #define UNW_LOCAL_ONLY
15087 #include <libunwind.h>
15089 main ()
15091 unw_cursor_t cursor; unw_step( &cursor );
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 wine_cv_have_unw_step="yes"
15098 else
15099 wine_cv_have_unw_step="no"
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15105 $as_echo "$wine_cv_have_unw_step" >&6; }
15106 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15107 then
15108 save_libs=$LIBS
15109 LIBS="$UNWIND_LIBS $LIBS"
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15111 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15112 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15117 #define UNW_LOCAL_ONLY
15118 #include <libunwind.h>
15120 main ()
15122 unw_cursor_t cursor; unw_step( &cursor );
15124 return 0;
15126 _ACEOF
15127 if ac_fn_c_try_link "$LINENO"; then :
15128 wine_cv_have_libunwind_unw_step="yes"
15129 else
15130 wine_cv_have_libunwind_unw_step="no"
15132 rm -f core conftest.err conftest.$ac_objext \
15133 conftest$ac_exeext conftest.$ac_ext
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15136 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15137 LIBS=$save_libs
15139 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15140 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15141 then
15143 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15146 CPPFLAGS=$ac_save_CPPFLAGS
15147 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15148 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15151 case $host in
15152 aarch64*|*-darwin*)
15153 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15154 case "x$with_unwind" in
15155 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15156 xno) ;;
15157 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15158 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15159 esac
15161 fi ;;
15162 esac
15164 if test "x$with_sdl" != "xno"
15165 then
15166 if ${SDL2_CFLAGS:+false} :; then :
15167 if ${PKG_CONFIG+:} false; then :
15168 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15172 if ${SDL2_LIBS:+false} :; then :
15173 if ${PKG_CONFIG+:} false; then :
15174 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15178 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15179 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15180 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15181 ac_save_CPPFLAGS=$CPPFLAGS
15182 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15183 for ac_header in SDL2/SDL.h
15184 do :
15185 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15186 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15187 cat >>confdefs.h <<_ACEOF
15188 #define HAVE_SDL2_SDL_H 1
15189 _ACEOF
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15191 $as_echo_n "checking for -lSDL2... " >&6; }
15192 if ${ac_cv_lib_soname_SDL2+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 ac_check_soname_save_LIBS=$LIBS
15196 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15200 /* Override any GCC internal prototype to avoid an error.
15201 Use char because int might match the return type of a GCC
15202 builtin and then its argument prototype would still apply. */
15203 #ifdef __cplusplus
15204 extern "C"
15205 #endif
15206 char SDL_Init ();
15208 main ()
15210 return SDL_Init ();
15212 return 0;
15214 _ACEOF
15215 if ac_fn_c_try_link "$LINENO"; then :
15216 case "$LIBEXT" in
15217 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15218 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'` ;;
15219 *) 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'`
15220 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15221 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15222 fi ;;
15223 esac
15224 else
15225 ac_cv_lib_soname_SDL2=
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15229 LIBS=$ac_check_soname_save_LIBS
15231 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15233 $as_echo "not found" >&6; }
15235 else
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15237 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15239 cat >>confdefs.h <<_ACEOF
15240 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15241 _ACEOF
15247 done
15249 CPPFLAGS=$ac_save_CPPFLAGS
15250 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15251 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15254 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15255 case "x$with_sdl" in
15256 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15257 xno) ;;
15258 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15259 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15260 esac
15264 if test "x$with_faudio" != "xno"
15265 then
15266 if ${FAUDIO_CFLAGS:+false} :; then :
15267 if ${PKG_CONFIG+:} false; then :
15268 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15272 if ${FAUDIO_LIBS:+false} :; then :
15273 if ${PKG_CONFIG+:} false; then :
15274 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15278 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15279 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15280 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15281 ac_save_CPPFLAGS=$CPPFLAGS
15282 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15283 for ac_header in FAudio.h
15284 do :
15285 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15286 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15287 cat >>confdefs.h <<_ACEOF
15288 #define HAVE_FAUDIO_H 1
15289 _ACEOF
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15291 $as_echo_n "checking for -lFAudio... " >&6; }
15292 if ${ac_cv_lib_soname_FAudio+:} false; then :
15293 $as_echo_n "(cached) " >&6
15294 else
15295 ac_check_soname_save_LIBS=$LIBS
15296 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15300 /* Override any GCC internal prototype to avoid an error.
15301 Use char because int might match the return type of a GCC
15302 builtin and then its argument prototype would still apply. */
15303 #ifdef __cplusplus
15304 extern "C"
15305 #endif
15306 char FAudioCreate ();
15308 main ()
15310 return FAudioCreate ();
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 case "$LIBEXT" in
15317 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15318 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'` ;;
15319 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15320 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15321 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15322 fi ;;
15323 esac
15324 else
15325 ac_cv_lib_soname_FAudio=
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_soname_save_LIBS
15331 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15333 $as_echo "not found" >&6; }
15335 else
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15337 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15339 cat >>confdefs.h <<_ACEOF
15340 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15341 _ACEOF
15347 done
15349 ac_wine_check_funcs_save_LIBS="$LIBS"
15350 LIBS="$LIBS $FAUDIO_LIBS"
15351 for ac_func in FAudio_CommitOperationSet \
15352 F3DAudioInitialize8
15353 do :
15354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15356 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15357 cat >>confdefs.h <<_ACEOF
15358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15359 _ACEOF
15362 done
15364 LIBS="$ac_wine_check_funcs_save_LIBS"
15366 CPPFLAGS=$ac_save_CPPFLAGS
15367 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15368 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15371 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15372 case "x$with_faudio" in
15373 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15374 xno) ;;
15375 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15376 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15377 esac
15381 if test "x$with_capi" != "xno"
15382 then
15383 if ${CAPI20_CFLAGS:+false} :; then :
15384 if ${PKG_CONFIG+:} false; then :
15385 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15389 if ${CAPI20_LIBS:+false} :; then :
15390 if ${PKG_CONFIG+:} false; then :
15391 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15396 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15397 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15398 ac_save_CPPFLAGS=$CPPFLAGS
15399 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15400 for ac_header in capi20.h linux/capi.h
15401 do :
15402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15403 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15405 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15406 cat >>confdefs.h <<_ACEOF
15407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15408 _ACEOF
15412 done
15414 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15415 then
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15417 $as_echo_n "checking for -lcapi20... " >&6; }
15418 if ${ac_cv_lib_soname_capi20+:} false; then :
15419 $as_echo_n "(cached) " >&6
15420 else
15421 ac_check_soname_save_LIBS=$LIBS
15422 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15424 /* end confdefs.h. */
15426 /* Override any GCC internal prototype to avoid an error.
15427 Use char because int might match the return type of a GCC
15428 builtin and then its argument prototype would still apply. */
15429 #ifdef __cplusplus
15430 extern "C"
15431 #endif
15432 char capi20_register ();
15434 main ()
15436 return capi20_register ();
15438 return 0;
15440 _ACEOF
15441 if ac_fn_c_try_link "$LINENO"; then :
15442 case "$LIBEXT" in
15443 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15444 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'` ;;
15445 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15446 if ${ac_cv_lib_soname_capi20:+false} :; then :
15447 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15448 fi ;;
15449 esac
15450 else
15451 ac_cv_lib_soname_capi20=
15453 rm -f core conftest.err conftest.$ac_objext \
15454 conftest$ac_exeext conftest.$ac_ext
15455 LIBS=$ac_check_soname_save_LIBS
15457 if ${ac_cv_lib_soname_capi20:+false} :; then :
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15459 $as_echo "not found" >&6; }
15461 else
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15463 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15465 cat >>confdefs.h <<_ACEOF
15466 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15467 _ACEOF
15472 CPPFLAGS=$ac_save_CPPFLAGS
15473 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15474 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15477 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15478 case "x$with_capi" in
15479 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15480 xno) ;;
15481 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15482 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15483 esac
15487 if test "x$with_cups" != "xno"
15488 then
15489 if ${CUPS_CFLAGS:+false} :; then :
15490 if ${PKG_CONFIG+:} false; then :
15491 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15494 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15495 if ${CUPS_LIBS:+false} :; then :
15496 if ${PKG_CONFIG+:} false; then :
15497 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15500 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15501 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15502 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15503 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15504 ac_save_CPPFLAGS=$CPPFLAGS
15505 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15506 for ac_header in cups/cups.h cups/ppd.h
15507 do :
15508 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15509 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15510 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15511 cat >>confdefs.h <<_ACEOF
15512 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15513 _ACEOF
15517 done
15519 if test "$ac_cv_header_cups_cups_h" = "yes"
15520 then
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15522 $as_echo_n "checking for -lcups... " >&6; }
15523 if ${ac_cv_lib_soname_cups+:} false; then :
15524 $as_echo_n "(cached) " >&6
15525 else
15526 ac_check_soname_save_LIBS=$LIBS
15527 LIBS="-lcups $CUPS_LIBS $LIBS"
15528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h. */
15531 /* Override any GCC internal prototype to avoid an error.
15532 Use char because int might match the return type of a GCC
15533 builtin and then its argument prototype would still apply. */
15534 #ifdef __cplusplus
15535 extern "C"
15536 #endif
15537 char cupsGetDefault ();
15539 main ()
15541 return cupsGetDefault ();
15543 return 0;
15545 _ACEOF
15546 if ac_fn_c_try_link "$LINENO"; then :
15547 case "$LIBEXT" in
15548 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15549 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'` ;;
15550 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15551 if ${ac_cv_lib_soname_cups:+false} :; then :
15552 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15553 fi ;;
15554 esac
15555 else
15556 ac_cv_lib_soname_cups=
15558 rm -f core conftest.err conftest.$ac_objext \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_check_soname_save_LIBS
15562 if ${ac_cv_lib_soname_cups:+false} :; then :
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15564 $as_echo "not found" >&6; }
15565 CUPS_LIBS=""
15566 else
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15568 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15570 cat >>confdefs.h <<_ACEOF
15571 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15572 _ACEOF
15576 else
15577 CUPS_CFLAGS=""
15578 CUPS_LIBS=""
15580 CPPFLAGS=$ac_save_CPPFLAGS
15581 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15582 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15585 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15586 case "x$with_cups" in
15587 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15588 xno) ;;
15589 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15590 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15591 esac
15595 if test "x$with_fontconfig" != "xno"
15596 then
15597 if ${FONTCONFIG_CFLAGS:+false} :; then :
15598 if ${PKG_CONFIG+:} false; then :
15599 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15602 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15603 if ${FONTCONFIG_LIBS:+false} :; then :
15604 if ${PKG_CONFIG+:} false; then :
15605 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15608 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15610 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15611 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15612 ac_save_CPPFLAGS=$CPPFLAGS
15613 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15614 for ac_header in fontconfig/fontconfig.h
15615 do :
15616 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15617 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15618 cat >>confdefs.h <<_ACEOF
15619 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15620 _ACEOF
15624 done
15626 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15627 then
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15629 $as_echo_n "checking for -lfontconfig... " >&6; }
15630 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15631 $as_echo_n "(cached) " >&6
15632 else
15633 ac_check_soname_save_LIBS=$LIBS
15634 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15638 /* Override any GCC internal prototype to avoid an error.
15639 Use char because int might match the return type of a GCC
15640 builtin and then its argument prototype would still apply. */
15641 #ifdef __cplusplus
15642 extern "C"
15643 #endif
15644 char FcInit ();
15646 main ()
15648 return FcInit ();
15650 return 0;
15652 _ACEOF
15653 if ac_fn_c_try_link "$LINENO"; then :
15654 case "$LIBEXT" in
15655 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15656 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'` ;;
15657 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15658 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15659 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15660 fi ;;
15661 esac
15662 else
15663 ac_cv_lib_soname_fontconfig=
15665 rm -f core conftest.err conftest.$ac_objext \
15666 conftest$ac_exeext conftest.$ac_ext
15667 LIBS=$ac_check_soname_save_LIBS
15669 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15671 $as_echo "not found" >&6; }
15672 FONTCONFIG_CFLAGS=""
15673 else
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15675 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15677 cat >>confdefs.h <<_ACEOF
15678 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15679 _ACEOF
15683 else
15684 FONTCONFIG_CFLAGS=""
15686 CPPFLAGS=$ac_save_CPPFLAGS
15687 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15688 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15691 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15692 case "x$with_fontconfig" in
15693 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15694 xno) ;;
15695 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15696 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15697 esac
15701 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15702 then
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15704 $as_echo_n "checking for -lgsm... " >&6; }
15705 if ${ac_cv_lib_soname_gsm+:} false; then :
15706 $as_echo_n "(cached) " >&6
15707 else
15708 ac_check_soname_save_LIBS=$LIBS
15709 LIBS="-lgsm $LIBS"
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15716 #ifdef __cplusplus
15717 extern "C"
15718 #endif
15719 char gsm_create ();
15721 main ()
15723 return gsm_create ();
15725 return 0;
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 case "$LIBEXT" in
15730 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15731 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'` ;;
15732 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15733 if ${ac_cv_lib_soname_gsm:+false} :; then :
15734 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15735 fi ;;
15736 esac
15737 else
15738 ac_cv_lib_soname_gsm=
15740 rm -f core conftest.err conftest.$ac_objext \
15741 conftest$ac_exeext conftest.$ac_ext
15742 LIBS=$ac_check_soname_save_LIBS
15744 if ${ac_cv_lib_soname_gsm:+false} :; then :
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15746 $as_echo "not found" >&6; }
15748 else
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15750 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15752 cat >>confdefs.h <<_ACEOF
15753 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15754 _ACEOF
15759 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15760 case "x$with_gsm" in
15761 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15762 xno) ;;
15763 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15764 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15765 esac
15769 if test "x$with_krb5" != "xno"
15770 then
15771 if ${KRB5_CFLAGS:+false} :; then :
15772 if ${PKG_CONFIG+:} false; then :
15773 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15776 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15777 if ${KRB5_LIBS:+false} :; then :
15778 if ${PKG_CONFIG+:} false; then :
15779 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15782 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15784 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15785 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15786 ac_save_CPPFLAGS=$CPPFLAGS
15787 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15788 for ac_header in krb5/krb5.h
15789 do :
15790 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15791 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_KRB5_KRB5_H 1
15794 _ACEOF
15798 done
15800 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15801 then
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15803 $as_echo_n "checking for -lkrb5... " >&6; }
15804 if ${ac_cv_lib_soname_krb5+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 ac_check_soname_save_LIBS=$LIBS
15808 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15812 /* Override any GCC internal prototype to avoid an error.
15813 Use char because int might match the return type of a GCC
15814 builtin and then its argument prototype would still apply. */
15815 #ifdef __cplusplus
15816 extern "C"
15817 #endif
15818 char krb5_is_config_principal ();
15820 main ()
15822 return krb5_is_config_principal ();
15824 return 0;
15826 _ACEOF
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 case "$LIBEXT" in
15829 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15830 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'` ;;
15831 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15832 if ${ac_cv_lib_soname_krb5:+false} :; then :
15833 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15834 fi ;;
15835 esac
15836 else
15837 ac_cv_lib_soname_krb5=
15839 rm -f core conftest.err conftest.$ac_objext \
15840 conftest$ac_exeext conftest.$ac_ext
15841 LIBS=$ac_check_soname_save_LIBS
15843 if ${ac_cv_lib_soname_krb5:+false} :; then :
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15845 $as_echo "not found" >&6; }
15846 KRB5_CFLAGS=""
15847 else
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15849 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15851 cat >>confdefs.h <<_ACEOF
15852 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15853 _ACEOF
15857 else
15858 KRB5_CFLAGS=""
15860 CPPFLAGS=$ac_save_CPPFLAGS
15861 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15862 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15865 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15866 case "x$with_krb5" in
15867 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15868 xno) ;;
15869 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15870 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15871 esac
15874 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15876 if test "x$with_gssapi" != "xno"
15877 then
15878 if ${GSSAPI_CFLAGS:+false} :; then :
15879 if ${PKG_CONFIG+:} false; then :
15880 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15883 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15884 if ${GSSAPI_LIBS:+false} :; then :
15885 if ${PKG_CONFIG+:} false; then :
15886 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15889 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15891 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15892 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15893 ac_save_CPPFLAGS=$CPPFLAGS
15894 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15895 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15896 do :
15897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15898 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15899 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15902 _ACEOF
15906 done
15908 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15909 then
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15911 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15912 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15913 $as_echo_n "(cached) " >&6
15914 else
15915 ac_check_soname_save_LIBS=$LIBS
15916 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15920 /* Override any GCC internal prototype to avoid an error.
15921 Use char because int might match the return type of a GCC
15922 builtin and then its argument prototype would still apply. */
15923 #ifdef __cplusplus
15924 extern "C"
15925 #endif
15926 char gss_init_sec_context ();
15928 main ()
15930 return gss_init_sec_context ();
15932 return 0;
15934 _ACEOF
15935 if ac_fn_c_try_link "$LINENO"; then :
15936 case "$LIBEXT" in
15937 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15938 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'` ;;
15939 *) 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'`
15940 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15941 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15942 fi ;;
15943 esac
15944 else
15945 ac_cv_lib_soname_gssapi_krb5=
15947 rm -f core conftest.err conftest.$ac_objext \
15948 conftest$ac_exeext conftest.$ac_ext
15949 LIBS=$ac_check_soname_save_LIBS
15951 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15953 $as_echo "not found" >&6; }
15954 GSSAPI_CFLAGS=""
15955 else
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15957 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15959 cat >>confdefs.h <<_ACEOF
15960 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15961 _ACEOF
15965 else
15966 GSSAPI_CFLAGS=""
15968 CPPFLAGS=$ac_save_CPPFLAGS
15969 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15970 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15973 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15974 case "x$with_gssapi" in
15975 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15976 xno) ;;
15977 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15978 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15979 esac
15983 if test "x$with_jpeg" != "xno"
15984 then
15985 if ${JPEG_CFLAGS:+false} :; then :
15986 if ${PKG_CONFIG+:} false; then :
15987 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15991 if ${JPEG_LIBS:+false} :; then :
15992 if ${PKG_CONFIG+:} false; then :
15993 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15998 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15999 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16000 ac_save_CPPFLAGS=$CPPFLAGS
16001 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16002 for ac_header in jpeglib.h
16003 do :
16004 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16005 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_JPEGLIB_H 1
16008 _ACEOF
16012 done
16014 if test "$ac_cv_header_jpeglib_h" = "yes"
16015 then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16017 $as_echo_n "checking for -ljpeg... " >&6; }
16018 if ${ac_cv_lib_soname_jpeg+:} false; then :
16019 $as_echo_n "(cached) " >&6
16020 else
16021 ac_check_soname_save_LIBS=$LIBS
16022 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16026 /* Override any GCC internal prototype to avoid an error.
16027 Use char because int might match the return type of a GCC
16028 builtin and then its argument prototype would still apply. */
16029 #ifdef __cplusplus
16030 extern "C"
16031 #endif
16032 char jpeg_start_decompress ();
16034 main ()
16036 return jpeg_start_decompress ();
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 case "$LIBEXT" in
16043 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16044 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'` ;;
16045 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16046 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16047 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16048 fi ;;
16049 esac
16050 else
16051 ac_cv_lib_soname_jpeg=
16053 rm -f core conftest.err conftest.$ac_objext \
16054 conftest$ac_exeext conftest.$ac_ext
16055 LIBS=$ac_check_soname_save_LIBS
16057 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16059 $as_echo "not found" >&6; }
16060 JPEG_CFLAGS=""
16061 else
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16063 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16065 cat >>confdefs.h <<_ACEOF
16066 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16067 _ACEOF
16071 else
16072 JPEG_CFLAGS=""
16074 CPPFLAGS=$ac_save_CPPFLAGS
16075 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16076 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16079 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16080 case "x$with_jpeg" in
16081 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16082 xno) ;;
16083 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16084 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16085 esac
16089 if test "x$with_png" != "xno"
16090 then
16091 if ${PNG_CFLAGS:+false} :; then :
16092 if ${PKG_CONFIG+:} false; then :
16093 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16096 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16097 if ${PNG_LIBS:+false} :; then :
16098 if ${PKG_CONFIG+:} false; then :
16099 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16102 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16104 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16105 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16106 ac_save_CPPFLAGS=$CPPFLAGS
16107 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16108 for ac_header in png.h
16109 do :
16110 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16111 if test "x$ac_cv_header_png_h" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_PNG_H 1
16114 _ACEOF
16118 done
16120 if test "$ac_cv_header_png_h" = "yes"
16121 then
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16123 $as_echo_n "checking for -lpng... " >&6; }
16124 if ${ac_cv_lib_soname_png+:} false; then :
16125 $as_echo_n "(cached) " >&6
16126 else
16127 ac_check_soname_save_LIBS=$LIBS
16128 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16132 /* Override any GCC internal prototype to avoid an error.
16133 Use char because int might match the return type of a GCC
16134 builtin and then its argument prototype would still apply. */
16135 #ifdef __cplusplus
16136 extern "C"
16137 #endif
16138 char png_create_read_struct ();
16140 main ()
16142 return png_create_read_struct ();
16144 return 0;
16146 _ACEOF
16147 if ac_fn_c_try_link "$LINENO"; then :
16148 case "$LIBEXT" in
16149 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16150 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'` ;;
16151 *) 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'`
16152 if ${ac_cv_lib_soname_png:+false} :; then :
16153 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16154 fi ;;
16155 esac
16156 else
16157 ac_cv_lib_soname_png=
16159 rm -f core conftest.err conftest.$ac_objext \
16160 conftest$ac_exeext conftest.$ac_ext
16161 LIBS=$ac_check_soname_save_LIBS
16163 if ${ac_cv_lib_soname_png:+false} :; then :
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16165 $as_echo "not found" >&6; }
16166 PNG_CFLAGS=""
16167 else
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16169 $as_echo "$ac_cv_lib_soname_png" >&6; }
16171 cat >>confdefs.h <<_ACEOF
16172 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16173 _ACEOF
16177 else
16178 PNG_CFLAGS=""
16180 CPPFLAGS=$ac_save_CPPFLAGS
16181 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16182 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16185 if test "x$ac_cv_lib_soname_png" = "x"; then :
16186 case "x$with_png" in
16187 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16188 xno) ;;
16189 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16190 This is an error since --with-png was requested." "$LINENO" 5 ;;
16191 esac
16195 if test "x$with_tiff" != "xno"
16196 then
16197 if ${TIFF_CFLAGS:+false} :; then :
16198 if ${PKG_CONFIG+:} false; then :
16199 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16203 if ${TIFF_LIBS:+false} :; then :
16204 if ${PKG_CONFIG+:} false; then :
16205 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16210 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16211 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16212 ac_save_CPPFLAGS=$CPPFLAGS
16213 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16214 for ac_header in tiffio.h
16215 do :
16216 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16217 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16218 cat >>confdefs.h <<_ACEOF
16219 #define HAVE_TIFFIO_H 1
16220 _ACEOF
16224 done
16226 if test "$ac_cv_header_tiffio_h" = "yes"
16227 then
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16229 $as_echo_n "checking for -ltiff... " >&6; }
16230 if ${ac_cv_lib_soname_tiff+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 ac_check_soname_save_LIBS=$LIBS
16234 LIBS="-ltiff $TIFF_LIBS $LIBS"
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16238 /* Override any GCC internal prototype to avoid an error.
16239 Use char because int might match the return type of a GCC
16240 builtin and then its argument prototype would still apply. */
16241 #ifdef __cplusplus
16242 extern "C"
16243 #endif
16244 char TIFFClientOpen ();
16246 main ()
16248 return TIFFClientOpen ();
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_link "$LINENO"; then :
16254 case "$LIBEXT" in
16255 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16256 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'` ;;
16257 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16258 if ${ac_cv_lib_soname_tiff:+false} :; then :
16259 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16260 fi ;;
16261 esac
16262 else
16263 ac_cv_lib_soname_tiff=
16265 rm -f core conftest.err conftest.$ac_objext \
16266 conftest$ac_exeext conftest.$ac_ext
16267 LIBS=$ac_check_soname_save_LIBS
16269 if ${ac_cv_lib_soname_tiff:+false} :; then :
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16271 $as_echo "not found" >&6; }
16273 else
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16275 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16277 cat >>confdefs.h <<_ACEOF
16278 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16279 _ACEOF
16284 CPPFLAGS=$ac_save_CPPFLAGS
16285 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16286 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16289 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16290 case "x$with_tiff" in
16291 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16292 xno) ;;
16293 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16294 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16295 esac
16299 if test "x$with_mpg123" != "xno"
16300 then
16301 if ${MPG123_CFLAGS:+false} :; then :
16302 if ${PKG_CONFIG+:} false; then :
16303 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16307 if ${MPG123_LIBS:+false} :; then :
16308 if ${PKG_CONFIG+:} false; then :
16309 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16313 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16314 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16315 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16316 ac_save_CPPFLAGS=$CPPFLAGS
16317 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16318 for ac_header in mpg123.h
16319 do :
16320 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16321 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_MPG123_H 1
16324 _ACEOF
16328 done
16330 if test "$ac_cv_header_mpg123_h" = "yes"
16331 then
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16333 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16334 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16335 $as_echo_n "(cached) " >&6
16336 else
16337 ac_check_lib_save_LIBS=$LIBS
16338 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16340 /* end confdefs.h. */
16342 /* Override any GCC internal prototype to avoid an error.
16343 Use char because int might match the return type of a GCC
16344 builtin and then its argument prototype would still apply. */
16345 #ifdef __cplusplus
16346 extern "C"
16347 #endif
16348 char mpg123_feed ();
16350 main ()
16352 return mpg123_feed ();
16354 return 0;
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 ac_cv_lib_mpg123_mpg123_feed=yes
16359 else
16360 ac_cv_lib_mpg123_mpg123_feed=no
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16364 LIBS=$ac_check_lib_save_LIBS
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16367 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16368 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16370 else
16371 MPG123_LIBS=""
16374 else
16375 MPG123_CFLAGS=""
16376 MPG123_LIBS=""
16378 CPPFLAGS=$ac_save_CPPFLAGS
16379 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16380 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16383 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16384 case "x$with_mpg123" in
16385 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16386 xno) ;;
16387 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16388 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16389 esac
16390 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16392 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16394 if test "$ac_cv_header_AL_al_h" = "yes"
16395 then
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16397 $as_echo_n "checking for -lopenal... " >&6; }
16398 if ${ac_cv_lib_soname_openal+:} false; then :
16399 $as_echo_n "(cached) " >&6
16400 else
16401 ac_check_soname_save_LIBS=$LIBS
16402 LIBS="-lopenal $LIBS"
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16406 /* Override any GCC internal prototype to avoid an error.
16407 Use char because int might match the return type of a GCC
16408 builtin and then its argument prototype would still apply. */
16409 #ifdef __cplusplus
16410 extern "C"
16411 #endif
16412 char alGetSource3i ();
16414 main ()
16416 return alGetSource3i ();
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_link "$LINENO"; then :
16422 case "$LIBEXT" in
16423 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16424 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'` ;;
16425 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16426 if ${ac_cv_lib_soname_openal:+false} :; then :
16427 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16428 fi ;;
16429 esac
16430 else
16431 ac_cv_lib_soname_openal=
16433 rm -f core conftest.err conftest.$ac_objext \
16434 conftest$ac_exeext conftest.$ac_ext
16435 LIBS=$ac_check_soname_save_LIBS
16437 if ${ac_cv_lib_soname_openal:+false} :; then :
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16439 $as_echo "not found" >&6; }
16441 else
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16443 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16445 cat >>confdefs.h <<_ACEOF
16446 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16447 _ACEOF
16449 OPENAL_LIBS="-lopenal"
16451 ac_cv_lib_openal=yes
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_OPENAL 1
16455 _ACEOF
16459 if test "x$ac_cv_lib_openal" != xyes; then :
16460 case "x$with_openal" in
16461 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16462 xno) ;;
16463 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16464 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16465 esac
16466 enable_openal32=${enable_openal32:-no}
16469 if test "x$ac_cv_lib_soname_FAudio" = "x"
16470 then
16471 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16472 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16473 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16474 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16475 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16476 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16477 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16478 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16479 enable_xapofx1_1=${enable_xapofx1_1:-no}
16480 enable_xapofx1_2=${enable_xapofx1_2:-no}
16481 enable_xapofx1_3=${enable_xapofx1_3:-no}
16482 enable_xapofx1_4=${enable_xapofx1_4:-no}
16483 enable_xapofx1_5=${enable_xapofx1_5:-no}
16484 enable_xaudio2_0=${enable_xaudio2_0:-no}
16485 enable_xaudio2_1=${enable_xaudio2_1:-no}
16486 enable_xaudio2_2=${enable_xaudio2_2:-no}
16487 enable_xaudio2_3=${enable_xaudio2_3:-no}
16488 enable_xaudio2_4=${enable_xaudio2_4:-no}
16489 enable_xaudio2_5=${enable_xaudio2_5:-no}
16490 enable_xaudio2_6=${enable_xaudio2_6:-no}
16491 enable_xaudio2_7=${enable_xaudio2_7:-no}
16492 enable_xaudio2_8=${enable_xaudio2_8:-no}
16493 enable_xaudio2_9=${enable_xaudio2_9:-no}
16496 if test "$ac_cv_header_kstat_h" = "yes"
16497 then
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16499 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16500 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16501 $as_echo_n "(cached) " >&6
16502 else
16503 ac_check_lib_save_LIBS=$LIBS
16504 LIBS="-lkstat $LIBS"
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16508 /* Override any GCC internal prototype to avoid an error.
16509 Use char because int might match the return type of a GCC
16510 builtin and then its argument prototype would still apply. */
16511 #ifdef __cplusplus
16512 extern "C"
16513 #endif
16514 char kstat_open ();
16516 main ()
16518 return kstat_open ();
16520 return 0;
16522 _ACEOF
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 ac_cv_lib_kstat_kstat_open=yes
16525 else
16526 ac_cv_lib_kstat_kstat_open=no
16528 rm -f core conftest.err conftest.$ac_objext \
16529 conftest$ac_exeext conftest.$ac_ext
16530 LIBS=$ac_check_lib_save_LIBS
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16533 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16534 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16536 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16538 KSTAT_LIBS="-lkstat"
16544 if test "$ac_cv_header_libprocstat_h" = "yes"
16545 then
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16547 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16548 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16549 $as_echo_n "(cached) " >&6
16550 else
16551 ac_check_lib_save_LIBS=$LIBS
16552 LIBS="-lprocstat $LIBS"
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16556 /* Override any GCC internal prototype to avoid an error.
16557 Use char because int might match the return type of a GCC
16558 builtin and then its argument prototype would still apply. */
16559 #ifdef __cplusplus
16560 extern "C"
16561 #endif
16562 char procstat_open_sysctl ();
16564 main ()
16566 return procstat_open_sysctl ();
16568 return 0;
16570 _ACEOF
16571 if ac_fn_c_try_link "$LINENO"; then :
16572 ac_cv_lib_procstat_procstat_open_sysctl=yes
16573 else
16574 ac_cv_lib_procstat_procstat_open_sysctl=no
16576 rm -f core conftest.err conftest.$ac_objext \
16577 conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_lib_save_LIBS
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16581 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16582 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16584 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16586 PROCSTAT_LIBS="-lprocstat"
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16593 $as_echo_n "checking for -lodbc... " >&6; }
16594 if ${ac_cv_lib_soname_odbc+:} false; then :
16595 $as_echo_n "(cached) " >&6
16596 else
16597 ac_check_soname_save_LIBS=$LIBS
16598 LIBS="-lodbc $LIBS"
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16602 /* Override any GCC internal prototype to avoid an error.
16603 Use char because int might match the return type of a GCC
16604 builtin and then its argument prototype would still apply. */
16605 #ifdef __cplusplus
16606 extern "C"
16607 #endif
16608 char SQLConnect ();
16610 main ()
16612 return SQLConnect ();
16614 return 0;
16616 _ACEOF
16617 if ac_fn_c_try_link "$LINENO"; then :
16618 case "$LIBEXT" in
16619 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16620 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'` ;;
16621 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16622 if ${ac_cv_lib_soname_odbc:+false} :; then :
16623 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16624 fi ;;
16625 esac
16626 else
16627 ac_cv_lib_soname_odbc=
16629 rm -f core conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_soname_save_LIBS
16633 if ${ac_cv_lib_soname_odbc:+false} :; then :
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16635 $as_echo "not found" >&6; }
16636 cat >>confdefs.h <<_ACEOF
16637 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16638 _ACEOF
16640 else
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16642 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16644 cat >>confdefs.h <<_ACEOF
16645 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16646 _ACEOF
16651 if test "x$with_netapi" != "xno"
16652 then
16653 if ${NETAPI_CFLAGS:+false} :; then :
16654 if ${PKG_CONFIG+:} false; then :
16655 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16659 if ${NETAPI_LIBS:+false} :; then :
16660 if ${PKG_CONFIG+:} false; then :
16661 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16666 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16667 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16668 ac_save_CPPFLAGS=$CPPFLAGS
16669 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16671 $as_echo_n "checking for -lnetapi... " >&6; }
16672 if ${ac_cv_lib_soname_netapi+:} false; then :
16673 $as_echo_n "(cached) " >&6
16674 else
16675 ac_check_soname_save_LIBS=$LIBS
16676 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16678 /* end confdefs.h. */
16680 /* Override any GCC internal prototype to avoid an error.
16681 Use char because int might match the return type of a GCC
16682 builtin and then its argument prototype would still apply. */
16683 #ifdef __cplusplus
16684 extern "C"
16685 #endif
16686 char libnetapi_init ();
16688 main ()
16690 return libnetapi_init ();
16692 return 0;
16694 _ACEOF
16695 if ac_fn_c_try_link "$LINENO"; then :
16696 case "$LIBEXT" in
16697 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16698 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'` ;;
16699 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16700 if ${ac_cv_lib_soname_netapi:+false} :; then :
16701 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16702 fi ;;
16703 esac
16704 else
16705 ac_cv_lib_soname_netapi=
16707 rm -f core conftest.err conftest.$ac_objext \
16708 conftest$ac_exeext conftest.$ac_ext
16709 LIBS=$ac_check_soname_save_LIBS
16711 if ${ac_cv_lib_soname_netapi:+false} :; then :
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16713 $as_echo "not found" >&6; }
16714 cat >>confdefs.h <<_ACEOF
16715 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16716 _ACEOF
16718 else
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16720 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16722 cat >>confdefs.h <<_ACEOF
16723 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16724 _ACEOF
16728 CPPFLAGS=$ac_save_CPPFLAGS
16729 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16730 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16734 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16735 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16736 then
16737 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16740 if test "x$with_vulkan" != "xno"
16741 then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16743 $as_echo_n "checking for -lvulkan... " >&6; }
16744 if ${ac_cv_lib_soname_vulkan+:} false; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747 ac_check_soname_save_LIBS=$LIBS
16748 LIBS="-lvulkan $LIBS"
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16752 /* Override any GCC internal prototype to avoid an error.
16753 Use char because int might match the return type of a GCC
16754 builtin and then its argument prototype would still apply. */
16755 #ifdef __cplusplus
16756 extern "C"
16757 #endif
16758 char vkGetInstanceProcAddr ();
16760 main ()
16762 return vkGetInstanceProcAddr ();
16764 return 0;
16766 _ACEOF
16767 if ac_fn_c_try_link "$LINENO"; then :
16768 case "$LIBEXT" in
16769 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16770 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'` ;;
16771 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16772 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16773 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16774 fi ;;
16775 esac
16776 else
16777 ac_cv_lib_soname_vulkan=
16779 rm -f core conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16781 LIBS=$ac_check_soname_save_LIBS
16783 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16785 $as_echo "not found" >&6; }
16787 else
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16789 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16791 cat >>confdefs.h <<_ACEOF
16792 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16793 _ACEOF
16797 if test "x$ac_cv_lib_soname_vulkan" = "x"
16798 then
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16800 $as_echo_n "checking for -lMoltenVK... " >&6; }
16801 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 ac_check_soname_save_LIBS=$LIBS
16805 LIBS="-lMoltenVK $LIBS"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 /* Override any GCC internal prototype to avoid an error.
16810 Use char because int might match the return type of a GCC
16811 builtin and then its argument prototype would still apply. */
16812 #ifdef __cplusplus
16813 extern "C"
16814 #endif
16815 char vkGetInstanceProcAddr ();
16817 main ()
16819 return vkGetInstanceProcAddr ();
16821 return 0;
16823 _ACEOF
16824 if ac_fn_c_try_link "$LINENO"; then :
16825 case "$LIBEXT" in
16826 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16827 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'` ;;
16828 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16829 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16830 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16831 fi ;;
16832 esac
16833 else
16834 ac_cv_lib_soname_MoltenVK=
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_soname_save_LIBS
16840 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16842 $as_echo "not found" >&6; }
16844 else
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16846 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16848 cat >>confdefs.h <<_ACEOF
16849 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16850 _ACEOF
16856 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16857 case "x$with_vulkan" in
16858 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16859 xno) ;;
16860 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16861 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16862 esac
16866 if test "x$with_vkd3d" != "xno"
16867 then
16868 if ${VKD3D_CFLAGS:+false} :; then :
16869 if ${PKG_CONFIG+:} false; then :
16870 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16874 if ${VKD3D_LIBS:+false} :; then :
16875 if ${PKG_CONFIG+:} false; then :
16876 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16881 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16882 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16883 ac_save_CPPFLAGS=$CPPFLAGS
16884 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16886 $as_echo_n "checking for -lvkd3d... " >&6; }
16887 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16890 ac_check_soname_save_LIBS=$LIBS
16891 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16895 /* Override any GCC internal prototype to avoid an error.
16896 Use char because int might match the return type of a GCC
16897 builtin and then its argument prototype would still apply. */
16898 #ifdef __cplusplus
16899 extern "C"
16900 #endif
16901 char vkd3d_get_dxgi_format ();
16903 main ()
16905 return vkd3d_get_dxgi_format ();
16907 return 0;
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"; then :
16911 case "$LIBEXT" in
16912 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16913 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'` ;;
16914 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16915 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16916 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16917 fi ;;
16918 esac
16919 else
16920 ac_cv_lib_soname_vkd3d=
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 LIBS=$ac_check_soname_save_LIBS
16926 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16928 $as_echo "not found" >&6; }
16930 else
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16932 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16934 cat >>confdefs.h <<_ACEOF
16935 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16936 _ACEOF
16940 CPPFLAGS=$ac_save_CPPFLAGS
16941 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16942 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16945 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16946 case "x$with_vkd3d" in
16947 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16948 xno) ;;
16949 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16950 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16951 esac
16954 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16957 EXTRACFLAGS=""
16959 if test "x${GCC}" = "xyes"
16960 then
16961 EXTRACFLAGS="-Wall -pipe"
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16964 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16965 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16966 $as_echo_n "(cached) " >&6
16967 else
16968 ac_wine_try_cflags_saved=$CFLAGS
16969 CFLAGS="$CFLAGS -fcf-protection=none"
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 int main(int argc, char **argv) { return 0; }
16973 _ACEOF
16974 if ac_fn_c_try_link "$LINENO"; then :
16975 ac_cv_cflags__fcf_protection_none=yes
16976 else
16977 ac_cv_cflags__fcf_protection_none=no
16979 rm -f core conftest.err conftest.$ac_objext \
16980 conftest$ac_exeext conftest.$ac_ext
16981 CFLAGS=$ac_wine_try_cflags_saved
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16984 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16985 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16986 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16989 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16990 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16991 $as_echo_n "(cached) " >&6
16992 else
16993 ac_wine_try_cflags_saved=$CFLAGS
16994 CFLAGS="$CFLAGS -fno-stack-protector"
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 int main(int argc, char **argv) { return 0; }
16998 _ACEOF
16999 if ac_fn_c_try_link "$LINENO"; then :
17000 ac_cv_cflags__fno_stack_protector=yes
17001 else
17002 ac_cv_cflags__fno_stack_protector=no
17004 rm -f core conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17006 CFLAGS=$ac_wine_try_cflags_saved
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17009 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17010 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17011 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17014 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17015 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 ac_wine_try_cflags_saved=$CFLAGS
17019 CFLAGS="$CFLAGS -fno-strict-aliasing"
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 int main(int argc, char **argv) { return 0; }
17023 _ACEOF
17024 if ac_fn_c_try_link "$LINENO"; then :
17025 ac_cv_cflags__fno_strict_aliasing=yes
17026 else
17027 ac_cv_cflags__fno_strict_aliasing=no
17029 rm -f core conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17031 CFLAGS=$ac_wine_try_cflags_saved
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17034 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17035 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17036 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17039 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17040 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17041 $as_echo_n "(cached) " >&6
17042 else
17043 ac_wine_try_cflags_saved=$CFLAGS
17044 CFLAGS="$CFLAGS -fexcess-precision=standard"
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 int main(int argc, char **argv) { return 0; }
17048 _ACEOF
17049 if ac_fn_c_try_link "$LINENO"; then :
17050 ac_cv_cflags__fexcess_precision_standard=yes
17051 else
17052 ac_cv_cflags__fexcess_precision_standard=no
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17056 CFLAGS=$ac_wine_try_cflags_saved
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17059 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17060 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17061 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17064 saved_CFLAGS=$CFLAGS
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17066 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17067 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 ac_wine_try_cflags_saved=$CFLAGS
17071 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 int main(int argc, char **argv) { return 0; }
17075 _ACEOF
17076 if ac_fn_c_try_link "$LINENO"; then :
17077 ac_cv_cflags__Werror_unknown_warning_option=yes
17078 else
17079 ac_cv_cflags__Werror_unknown_warning_option=no
17081 rm -f core conftest.err conftest.$ac_objext \
17082 conftest$ac_exeext conftest.$ac_ext
17083 CFLAGS=$ac_wine_try_cflags_saved
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17086 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17087 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17088 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17091 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17092 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17093 $as_echo_n "(cached) " >&6
17094 else
17095 ac_wine_try_cflags_saved=$CFLAGS
17096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17099 int main(int argc, char **argv) { return 0; }
17100 _ACEOF
17101 if ac_fn_c_try_link "$LINENO"; then :
17102 ac_cv_cflags__Werror_unused_command_line_argument=yes
17103 else
17104 ac_cv_cflags__Werror_unused_command_line_argument=no
17106 rm -f core conftest.err conftest.$ac_objext \
17107 conftest$ac_exeext conftest.$ac_ext
17108 CFLAGS=$ac_wine_try_cflags_saved
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17111 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17112 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17113 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17116 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17117 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 ac_wine_try_cflags_saved=$CFLAGS
17121 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 int main(int argc, char **argv) { return 0; }
17125 _ACEOF
17126 if ac_fn_c_try_link "$LINENO"; then :
17127 ac_cv_cflags__Wdeclaration_after_statement=yes
17128 else
17129 ac_cv_cflags__Wdeclaration_after_statement=no
17131 rm -f core conftest.err conftest.$ac_objext \
17132 conftest$ac_exeext conftest.$ac_ext
17133 CFLAGS=$ac_wine_try_cflags_saved
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17136 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17137 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17138 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17141 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17142 if ${ac_cv_cflags__Wempty_body+:} false; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17145 ac_wine_try_cflags_saved=$CFLAGS
17146 CFLAGS="$CFLAGS -Wempty-body"
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149 int main(int argc, char **argv) { return 0; }
17150 _ACEOF
17151 if ac_fn_c_try_link "$LINENO"; then :
17152 ac_cv_cflags__Wempty_body=yes
17153 else
17154 ac_cv_cflags__Wempty_body=no
17156 rm -f core conftest.err conftest.$ac_objext \
17157 conftest$ac_exeext conftest.$ac_ext
17158 CFLAGS=$ac_wine_try_cflags_saved
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17161 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17162 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17163 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17166 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17167 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170 ac_wine_try_cflags_saved=$CFLAGS
17171 CFLAGS="$CFLAGS -Wignored-qualifiers"
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 int main(int argc, char **argv) { return 0; }
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 ac_cv_cflags__Wignored_qualifiers=yes
17178 else
17179 ac_cv_cflags__Wignored_qualifiers=no
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17183 CFLAGS=$ac_wine_try_cflags_saved
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17186 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17187 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17188 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17191 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17192 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17193 $as_echo_n "(cached) " >&6
17194 else
17195 ac_wine_try_cflags_saved=$CFLAGS
17196 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17199 int main(int argc, char **argv) { return 0; }
17200 _ACEOF
17201 if ac_fn_c_try_link "$LINENO"; then :
17202 ac_cv_cflags__Wpacked_not_aligned=yes
17203 else
17204 ac_cv_cflags__Wpacked_not_aligned=no
17206 rm -f core conftest.err conftest.$ac_objext \
17207 conftest$ac_exeext conftest.$ac_ext
17208 CFLAGS=$ac_wine_try_cflags_saved
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17211 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17212 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17213 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17216 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17217 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17218 $as_echo_n "(cached) " >&6
17219 else
17220 ac_wine_try_cflags_saved=$CFLAGS
17221 CFLAGS="$CFLAGS -Wpragma-pack"
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224 int main(int argc, char **argv) { return 0; }
17225 _ACEOF
17226 if ac_fn_c_try_link "$LINENO"; then :
17227 ac_cv_cflags__Wpragma_pack=yes
17228 else
17229 ac_cv_cflags__Wpragma_pack=no
17231 rm -f core conftest.err conftest.$ac_objext \
17232 conftest$ac_exeext conftest.$ac_ext
17233 CFLAGS=$ac_wine_try_cflags_saved
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17236 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17237 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17238 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17241 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17242 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17243 $as_echo_n "(cached) " >&6
17244 else
17245 ac_wine_try_cflags_saved=$CFLAGS
17246 CFLAGS="$CFLAGS -Wshift-overflow=2"
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 int main(int argc, char **argv) { return 0; }
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 ac_cv_cflags__Wshift_overflow_2=yes
17253 else
17254 ac_cv_cflags__Wshift_overflow_2=no
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17258 CFLAGS=$ac_wine_try_cflags_saved
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17261 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17262 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17263 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17266 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17267 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 ac_wine_try_cflags_saved=$CFLAGS
17271 CFLAGS="$CFLAGS -Wstrict-prototypes"
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 int main(int argc, char **argv) { return 0; }
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"; then :
17277 ac_cv_cflags__Wstrict_prototypes=yes
17278 else
17279 ac_cv_cflags__Wstrict_prototypes=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 CFLAGS=$ac_wine_try_cflags_saved
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17286 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17287 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17288 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17291 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17292 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 ac_wine_try_cflags_saved=$CFLAGS
17296 CFLAGS="$CFLAGS -Wtype-limits"
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 int main(int argc, char **argv) { return 0; }
17300 _ACEOF
17301 if ac_fn_c_try_link "$LINENO"; then :
17302 ac_cv_cflags__Wtype_limits=yes
17303 else
17304 ac_cv_cflags__Wtype_limits=no
17306 rm -f core conftest.err conftest.$ac_objext \
17307 conftest$ac_exeext conftest.$ac_ext
17308 CFLAGS=$ac_wine_try_cflags_saved
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17311 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17312 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17313 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17316 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17317 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 ac_wine_try_cflags_saved=$CFLAGS
17321 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 int main(int argc, char **argv) { return 0; }
17325 _ACEOF
17326 if ac_fn_c_try_link "$LINENO"; then :
17327 ac_cv_cflags__Wunused_but_set_parameter=yes
17328 else
17329 ac_cv_cflags__Wunused_but_set_parameter=no
17331 rm -f core conftest.err conftest.$ac_objext \
17332 conftest$ac_exeext conftest.$ac_ext
17333 CFLAGS=$ac_wine_try_cflags_saved
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17336 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17337 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17338 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17341 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17342 if ${ac_cv_cflags__Wvla+:} false; then :
17343 $as_echo_n "(cached) " >&6
17344 else
17345 ac_wine_try_cflags_saved=$CFLAGS
17346 CFLAGS="$CFLAGS -Wvla"
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 int main(int argc, char **argv) { return 0; }
17350 _ACEOF
17351 if ac_fn_c_try_link "$LINENO"; then :
17352 ac_cv_cflags__Wvla=yes
17353 else
17354 ac_cv_cflags__Wvla=no
17356 rm -f core conftest.err conftest.$ac_objext \
17357 conftest$ac_exeext conftest.$ac_ext
17358 CFLAGS=$ac_wine_try_cflags_saved
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17361 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17362 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17363 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17366 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17367 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17368 $as_echo_n "(cached) " >&6
17369 else
17370 ac_wine_try_cflags_saved=$CFLAGS
17371 CFLAGS="$CFLAGS -Wwrite-strings"
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17374 int main(int argc, char **argv) { return 0; }
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 ac_cv_cflags__Wwrite_strings=yes
17378 else
17379 ac_cv_cflags__Wwrite_strings=no
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17383 CFLAGS=$ac_wine_try_cflags_saved
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17386 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17387 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17388 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17392 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17393 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 ac_wine_try_cflags_saved=$CFLAGS
17397 CFLAGS="$CFLAGS -Wpointer-arith"
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 int main(int argc, char **argv) { return 0; }
17401 _ACEOF
17402 if ac_fn_c_try_link "$LINENO"; then :
17403 ac_cv_cflags__Wpointer_arith=yes
17404 else
17405 ac_cv_cflags__Wpointer_arith=no
17407 rm -f core conftest.err conftest.$ac_objext \
17408 conftest$ac_exeext conftest.$ac_ext
17409 CFLAGS=$ac_wine_try_cflags_saved
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17412 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17413 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17414 saved_string_h_CFLAGS=$CFLAGS
17415 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17417 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17418 if ${ac_cv_c_string_h_warnings+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 #include <string.h>
17425 main ()
17429 return 0;
17431 _ACEOF
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433 ac_cv_c_string_h_warnings=no
17434 else
17435 ac_cv_c_string_h_warnings=yes
17437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17440 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17441 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17442 CFLAGS=$saved_string_h_CFLAGS
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17446 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17447 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 ac_wine_try_cflags_saved=$CFLAGS
17451 CFLAGS="$CFLAGS -Wlogical-op"
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 int main(int argc, char **argv) { return 0; }
17455 _ACEOF
17456 if ac_fn_c_try_link "$LINENO"; then :
17457 ac_cv_cflags__Wlogical_op=yes
17458 else
17459 ac_cv_cflags__Wlogical_op=no
17461 rm -f core conftest.err conftest.$ac_objext \
17462 conftest$ac_exeext conftest.$ac_ext
17463 CFLAGS=$ac_wine_try_cflags_saved
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17466 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17467 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17468 saved_string_h_CFLAGS=$CFLAGS
17469 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17471 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17472 if ${ac_cv_c_logicalop_noisy+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17477 #include <string.h>
17478 char*f(const char *h,char n) {return strchr(h,n);}
17480 main ()
17484 return 0;
17486 _ACEOF
17487 if ac_fn_c_try_compile "$LINENO"; then :
17488 ac_cv_c_logicalop_noisy=no
17489 else
17490 ac_cv_c_logicalop_noisy=yes
17492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17495 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17496 CFLAGS=$saved_string_h_CFLAGS
17497 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17500 for ac_flag in $CFLAGS; do
17501 case $ac_flag in
17502 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17503 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17504 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 ac_wine_try_cflags_saved=$CFLAGS
17508 CFLAGS="$CFLAGS -gdwarf-2"
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 int main(int argc, char **argv) { return 0; }
17512 _ACEOF
17513 if ac_fn_c_try_link "$LINENO"; then :
17514 ac_cv_cflags__gdwarf_2=yes
17515 else
17516 ac_cv_cflags__gdwarf_2=no
17518 rm -f core conftest.err conftest.$ac_objext \
17519 conftest$ac_exeext conftest.$ac_ext
17520 CFLAGS=$ac_wine_try_cflags_saved
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17523 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17524 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17525 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17528 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17529 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17532 ac_wine_try_cflags_saved=$CFLAGS
17533 CFLAGS="$CFLAGS -gstrict-dwarf"
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 int main(int argc, char **argv) { return 0; }
17537 _ACEOF
17538 if ac_fn_c_try_link "$LINENO"; then :
17539 ac_cv_cflags__gstrict_dwarf=yes
17540 else
17541 ac_cv_cflags__gstrict_dwarf=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17545 CFLAGS=$ac_wine_try_cflags_saved
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17548 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17549 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17550 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17551 fi ;;
17552 esac
17553 done
17555 MSVCRTFLAGS=""
17557 case $host_os in
17558 mingw32*) ;;
17559 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17560 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17561 if ${ac_cv_cflags__fno_builtin+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -fno-builtin"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 int main(int argc, char **argv) { return 0; }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_cflags__fno_builtin=yes
17572 else
17573 ac_cv_cflags__fno_builtin=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 CFLAGS=$ac_wine_try_cflags_saved
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17580 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17581 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17582 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17585 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17586 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 ac_wine_try_cflags_saved=$CFLAGS
17590 CFLAGS="$CFLAGS -fshort-wchar"
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 int main(int argc, char **argv) { return 0; }
17594 _ACEOF
17595 if ac_fn_c_try_link "$LINENO"; then :
17596 ac_cv_cflags__fshort_wchar=yes
17597 else
17598 ac_cv_cflags__fshort_wchar=no
17600 rm -f core conftest.err conftest.$ac_objext \
17601 conftest$ac_exeext conftest.$ac_ext
17602 CFLAGS=$ac_wine_try_cflags_saved
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17605 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17606 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17607 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17608 fi ;;
17609 esac
17611 case $host_cpu in
17612 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17613 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17614 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617 ac_wine_try_cflags_saved=$CFLAGS
17618 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 int main(int argc, char **argv) { return 0; }
17622 _ACEOF
17623 if ac_fn_c_try_link "$LINENO"; then :
17624 ac_cv_cflags__fno_omit_frame_pointer=yes
17625 else
17626 ac_cv_cflags__fno_omit_frame_pointer=no
17628 rm -f core conftest.err conftest.$ac_objext \
17629 conftest$ac_exeext conftest.$ac_ext
17630 CFLAGS=$ac_wine_try_cflags_saved
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17633 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17634 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17635 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17636 fi ;;
17637 *x86_64*)
17638 case $host_os in
17639 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17640 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17641 if ${ac_cv_cflags__Wno_format+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 ac_wine_try_cflags_saved=$CFLAGS
17645 CFLAGS="$CFLAGS -Wno-format"
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 int main(int argc, char **argv) { return 0; }
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_cflags__Wno_format=yes
17652 else
17653 ac_cv_cflags__Wno_format=no
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17657 CFLAGS=$ac_wine_try_cflags_saved
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17660 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17661 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17662 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17663 fi ;;
17664 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17665 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17666 if ${ac_cv_cflags__mabi_ms+:} false; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17669 ac_wine_try_cflags_saved=$CFLAGS
17670 CFLAGS="$CFLAGS -mabi=ms"
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 int main(int argc, char **argv) { return 0; }
17674 _ACEOF
17675 if ac_fn_c_try_link "$LINENO"; then :
17676 ac_cv_cflags__mabi_ms=yes
17677 else
17678 ac_cv_cflags__mabi_ms=no
17680 rm -f core conftest.err conftest.$ac_objext \
17681 conftest$ac_exeext conftest.$ac_ext
17682 CFLAGS=$ac_wine_try_cflags_saved
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17685 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17686 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17687 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17688 fi ;;
17689 esac ;;
17690 esac
17692 CFLAGS=$saved_CFLAGS
17694 if test "x$enable_maintainer_mode" = "xyes"
17695 then
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17697 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17698 if ${ac_cv_cflags__Werror+:} false; then :
17699 $as_echo_n "(cached) " >&6
17700 else
17701 ac_wine_try_cflags_saved=$CFLAGS
17702 CFLAGS="$CFLAGS -Werror"
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 int main(int argc, char **argv) { return 0; }
17706 _ACEOF
17707 if ac_fn_c_try_link "$LINENO"; then :
17708 ac_cv_cflags__Werror=yes
17709 else
17710 ac_cv_cflags__Werror=no
17712 rm -f core conftest.err conftest.$ac_objext \
17713 conftest$ac_exeext conftest.$ac_ext
17714 CFLAGS=$ac_wine_try_cflags_saved
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17717 $as_echo "$ac_cv_cflags__Werror" >&6; }
17718 if test "x$ac_cv_cflags__Werror" = xyes; then :
17719 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17726 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17727 if ${ac_cv_c_fortify_enabled+:} false; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 #include <string.h>
17734 main ()
17736 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17737 #error Fortify enabled
17738 #endif
17740 return 0;
17742 _ACEOF
17743 if ac_fn_c_try_compile "$LINENO"; then :
17744 ac_cv_c_fortify_enabled=no
17745 else
17746 ac_cv_c_fortify_enabled=yes
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17751 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17752 if test "$ac_cv_c_fortify_enabled" = yes
17753 then
17754 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17759 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17760 if ${ac_cv_c_cfi_support+:} false; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17767 main ()
17771 return 0;
17773 _ACEOF
17774 if ac_fn_c_try_compile "$LINENO"; then :
17775 ac_cv_c_cfi_support="yes"
17776 else
17777 ac_cv_c_cfi_support="no"
17779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17782 $as_echo "$ac_cv_c_cfi_support" >&6; }
17783 if test "$ac_cv_c_cfi_support" = "yes"
17784 then
17785 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17786 else
17787 if test "x$enable_win64" = "xyes"
17788 then
17789 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17794 case $build_os in
17795 cygwin*|mingw32*) TOOLSEXT=".exe"
17797 esac
17799 case $host_os in
17800 linux*)
17801 case $host_cpu in
17802 *i[3456789]86*|x86_64*|*aarch64*)
17803 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17804 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17806 esac
17808 esac
17811 ac_save_CFLAGS="$CFLAGS"
17812 CFLAGS="$CFLAGS $BUILTINFLAG"
17813 for ac_func in \
17814 __res_get_state \
17815 __res_getservers \
17816 _spawnvp \
17817 dlopen \
17818 epoll_create \
17819 ffs \
17820 finitef \
17821 fnmatch \
17822 fork \
17823 fpclass \
17824 fstatfs \
17825 fstatvfs \
17826 futimens \
17827 futimes \
17828 futimesat \
17829 getattrlist \
17830 getauxval \
17831 getifaddrs \
17832 getopt_long_only \
17833 kqueue \
17834 lstat \
17835 mach_continuous_time \
17836 pipe2 \
17837 poll \
17838 port_create \
17839 prctl \
17840 pread \
17841 proc_pidinfo \
17842 pwrite \
17843 readdir \
17844 readlink \
17845 sched_yield \
17846 select \
17847 setproctitle \
17848 setprogname \
17849 settimeofday \
17850 sigprocmask \
17851 statfs \
17852 statvfs \
17853 strnlen \
17854 strtold \
17855 symlink \
17856 sysinfo \
17857 tcdrain \
17858 thr_kill2 \
17859 timegm \
17860 usleep
17862 do :
17863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17865 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17868 _ACEOF
17871 done
17873 CFLAGS="$ac_save_CFLAGS"
17875 if test "$ac_cv_func_dlopen" = no
17876 then
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17878 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17879 if ${ac_cv_lib_dl_dlopen+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 ac_check_lib_save_LIBS=$LIBS
17883 LIBS="-ldl $LIBS"
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17887 /* Override any GCC internal prototype to avoid an error.
17888 Use char because int might match the return type of a GCC
17889 builtin and then its argument prototype would still apply. */
17890 #ifdef __cplusplus
17891 extern "C"
17892 #endif
17893 char dlopen ();
17895 main ()
17897 return dlopen ();
17899 return 0;
17901 _ACEOF
17902 if ac_fn_c_try_link "$LINENO"; then :
17903 ac_cv_lib_dl_dlopen=yes
17904 else
17905 ac_cv_lib_dl_dlopen=no
17907 rm -f core conftest.err conftest.$ac_objext \
17908 conftest$ac_exeext conftest.$ac_ext
17909 LIBS=$ac_check_lib_save_LIBS
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17912 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17913 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17914 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17915 DL_LIBS="-ldl"
17920 ac_wine_check_funcs_save_LIBS="$LIBS"
17921 LIBS="$LIBS $DL_LIBS"
17922 for ac_func in dladdr
17923 do :
17924 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17925 if test "x$ac_cv_func_dladdr" = xyes; then :
17926 cat >>confdefs.h <<_ACEOF
17927 #define HAVE_DLADDR 1
17928 _ACEOF
17931 done
17933 LIBS="$ac_wine_check_funcs_save_LIBS"
17935 if test "$ac_cv_func_poll" = no
17936 then
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17938 $as_echo_n "checking for poll in -lpoll... " >&6; }
17939 if ${ac_cv_lib_poll_poll+:} false; then :
17940 $as_echo_n "(cached) " >&6
17941 else
17942 ac_check_lib_save_LIBS=$LIBS
17943 LIBS="-lpoll $LIBS"
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17947 /* Override any GCC internal prototype to avoid an error.
17948 Use char because int might match the return type of a GCC
17949 builtin and then its argument prototype would still apply. */
17950 #ifdef __cplusplus
17951 extern "C"
17952 #endif
17953 char poll ();
17955 main ()
17957 return poll ();
17959 return 0;
17961 _ACEOF
17962 if ac_fn_c_try_link "$LINENO"; then :
17963 ac_cv_lib_poll_poll=yes
17964 else
17965 ac_cv_lib_poll_poll=no
17967 rm -f core conftest.err conftest.$ac_objext \
17968 conftest$ac_exeext conftest.$ac_ext
17969 LIBS=$ac_check_lib_save_LIBS
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17972 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17973 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17974 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17975 POLL_LIBS="-lpoll"
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17982 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17983 if ${ac_cv_search_gethostbyname+:} false; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986 ac_func_search_save_LIBS=$LIBS
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 /* Override any GCC internal prototype to avoid an error.
17991 Use char because int might match the return type of a GCC
17992 builtin and then its argument prototype would still apply. */
17993 #ifdef __cplusplus
17994 extern "C"
17995 #endif
17996 char gethostbyname ();
17998 main ()
18000 return gethostbyname ();
18002 return 0;
18004 _ACEOF
18005 for ac_lib in '' nsl; do
18006 if test -z "$ac_lib"; then
18007 ac_res="none required"
18008 else
18009 ac_res=-l$ac_lib
18010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18012 if ac_fn_c_try_link "$LINENO"; then :
18013 ac_cv_search_gethostbyname=$ac_res
18015 rm -f core conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext
18017 if ${ac_cv_search_gethostbyname+:} false; then :
18018 break
18020 done
18021 if ${ac_cv_search_gethostbyname+:} false; then :
18023 else
18024 ac_cv_search_gethostbyname=no
18026 rm conftest.$ac_ext
18027 LIBS=$ac_func_search_save_LIBS
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18030 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18031 ac_res=$ac_cv_search_gethostbyname
18032 if test "$ac_res" != no; then :
18033 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18039 $as_echo_n "checking for library containing connect... " >&6; }
18040 if ${ac_cv_search_connect+:} false; then :
18041 $as_echo_n "(cached) " >&6
18042 else
18043 ac_func_search_save_LIBS=$LIBS
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 #ifdef __cplusplus
18051 extern "C"
18052 #endif
18053 char connect ();
18055 main ()
18057 return connect ();
18059 return 0;
18061 _ACEOF
18062 for ac_lib in '' socket; do
18063 if test -z "$ac_lib"; then
18064 ac_res="none required"
18065 else
18066 ac_res=-l$ac_lib
18067 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18069 if ac_fn_c_try_link "$LINENO"; then :
18070 ac_cv_search_connect=$ac_res
18072 rm -f core conftest.err conftest.$ac_objext \
18073 conftest$ac_exeext
18074 if ${ac_cv_search_connect+:} false; then :
18075 break
18077 done
18078 if ${ac_cv_search_connect+:} false; then :
18080 else
18081 ac_cv_search_connect=no
18083 rm conftest.$ac_ext
18084 LIBS=$ac_func_search_save_LIBS
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18087 $as_echo "$ac_cv_search_connect" >&6; }
18088 ac_res=$ac_cv_search_connect
18089 if test "$ac_res" != no; then :
18090 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18096 $as_echo_n "checking for library containing inet_aton... " >&6; }
18097 if ${ac_cv_search_inet_aton+:} false; then :
18098 $as_echo_n "(cached) " >&6
18099 else
18100 ac_func_search_save_LIBS=$LIBS
18101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102 /* end confdefs.h. */
18104 /* Override any GCC internal prototype to avoid an error.
18105 Use char because int might match the return type of a GCC
18106 builtin and then its argument prototype would still apply. */
18107 #ifdef __cplusplus
18108 extern "C"
18109 #endif
18110 char inet_aton ();
18112 main ()
18114 return inet_aton ();
18116 return 0;
18118 _ACEOF
18119 for ac_lib in '' resolv; do
18120 if test -z "$ac_lib"; then
18121 ac_res="none required"
18122 else
18123 ac_res=-l$ac_lib
18124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18126 if ac_fn_c_try_link "$LINENO"; then :
18127 ac_cv_search_inet_aton=$ac_res
18129 rm -f core conftest.err conftest.$ac_objext \
18130 conftest$ac_exeext
18131 if ${ac_cv_search_inet_aton+:} false; then :
18132 break
18134 done
18135 if ${ac_cv_search_inet_aton+:} false; then :
18137 else
18138 ac_cv_search_inet_aton=no
18140 rm conftest.$ac_ext
18141 LIBS=$ac_func_search_save_LIBS
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18144 $as_echo "$ac_cv_search_inet_aton" >&6; }
18145 ac_res=$ac_cv_search_inet_aton
18146 if test "$ac_res" != no; then :
18147 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18152 for ac_func in \
18153 getaddrinfo \
18154 getnameinfo \
18155 getnetbyname \
18156 getprotobyname \
18157 getprotobynumber \
18158 getservbyport \
18159 inet_addr \
18160 inet_network \
18161 inet_ntop \
18162 inet_pton \
18164 do :
18165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18168 cat >>confdefs.h <<_ACEOF
18169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18170 _ACEOF
18173 done
18176 case $host_os in
18177 darwin*|macosx*) ;;
18178 *) ac_save_LIBS=$LIBS
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18180 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18181 if ${ac_cv_search_clock_gettime+:} false; then :
18182 $as_echo_n "(cached) " >&6
18183 else
18184 ac_func_search_save_LIBS=$LIBS
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18188 /* Override any GCC internal prototype to avoid an error.
18189 Use char because int might match the return type of a GCC
18190 builtin and then its argument prototype would still apply. */
18191 #ifdef __cplusplus
18192 extern "C"
18193 #endif
18194 char clock_gettime ();
18196 main ()
18198 return clock_gettime ();
18200 return 0;
18202 _ACEOF
18203 for ac_lib in '' rt; do
18204 if test -z "$ac_lib"; then
18205 ac_res="none required"
18206 else
18207 ac_res=-l$ac_lib
18208 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18210 if ac_fn_c_try_link "$LINENO"; then :
18211 ac_cv_search_clock_gettime=$ac_res
18213 rm -f core conftest.err conftest.$ac_objext \
18214 conftest$ac_exeext
18215 if ${ac_cv_search_clock_gettime+:} false; then :
18216 break
18218 done
18219 if ${ac_cv_search_clock_gettime+:} false; then :
18221 else
18222 ac_cv_search_clock_gettime=no
18224 rm conftest.$ac_ext
18225 LIBS=$ac_func_search_save_LIBS
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18228 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18229 ac_res=$ac_cv_search_clock_gettime
18230 if test "$ac_res" != no; then :
18231 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18233 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18235 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18239 LIBS=$ac_save_LIBS
18241 esac
18243 if test "x$with_ldap" != "xno"
18244 then
18245 if ${LDAP_CFLAGS:+false} :; then :
18246 if ${PKG_CONFIG+:} false; then :
18247 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18251 if ${LDAP_LIBS:+false} :; then :
18252 if ${PKG_CONFIG+:} false; then :
18253 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18257 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18258 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18259 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18260 ac_save_CPPFLAGS=$CPPFLAGS
18261 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18262 for ac_header in ldap.h lber.h
18263 do :
18264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18265 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18266 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18267 cat >>confdefs.h <<_ACEOF
18268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18269 _ACEOF
18273 done
18275 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18276 then
18277 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18279 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18281 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18282 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18283 $as_echo_n "(cached) " >&6
18284 else
18285 ac_check_lib_save_LIBS=$LIBS
18286 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18290 /* Override any GCC internal prototype to avoid an error.
18291 Use char because int might match the return type of a GCC
18292 builtin and then its argument prototype would still apply. */
18293 #ifdef __cplusplus
18294 extern "C"
18295 #endif
18296 char ldap_initialize ();
18298 main ()
18300 return ldap_initialize ();
18302 return 0;
18304 _ACEOF
18305 if ac_fn_c_try_link "$LINENO"; then :
18306 ac_cv_lib_ldap_r_ldap_initialize=yes
18307 else
18308 ac_cv_lib_ldap_r_ldap_initialize=no
18310 rm -f core conftest.err conftest.$ac_objext \
18311 conftest$ac_exeext conftest.$ac_ext
18312 LIBS=$ac_check_lib_save_LIBS
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18315 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18316 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18318 $as_echo_n "checking for ber_init in -llber... " >&6; }
18319 if ${ac_cv_lib_lber_ber_init+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322 ac_check_lib_save_LIBS=$LIBS
18323 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18330 #ifdef __cplusplus
18331 extern "C"
18332 #endif
18333 char ber_init ();
18335 main ()
18337 return ber_init ();
18339 return 0;
18341 _ACEOF
18342 if ac_fn_c_try_link "$LINENO"; then :
18343 ac_cv_lib_lber_ber_init=yes
18344 else
18345 ac_cv_lib_lber_ber_init=no
18347 rm -f core conftest.err conftest.$ac_objext \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_lib_save_LIBS
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18352 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18353 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18355 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18357 else
18358 LDAP_LIBS=""
18361 else
18362 LDAP_LIBS=""
18365 else
18366 LDAP_LIBS=""
18369 ac_wine_check_funcs_save_LIBS="$LIBS"
18370 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18371 for ac_func in \
18372 ldap_count_references \
18373 ldap_first_reference \
18374 ldap_next_reference \
18375 ldap_parse_reference \
18376 ldap_parse_sort_control \
18377 ldap_parse_sortresponse_control \
18378 ldap_parse_vlv_control \
18379 ldap_parse_vlvresponse_control
18380 do :
18381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18384 cat >>confdefs.h <<_ACEOF
18385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18386 _ACEOF
18389 done
18391 LIBS="$ac_wine_check_funcs_save_LIBS"
18392 else
18393 LDAP_LIBS=""
18395 CPPFLAGS=$ac_save_CPPFLAGS
18396 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18397 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18400 if test "x$LDAP_LIBS" = "x"; then :
18401 case "x$with_ldap" in
18402 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18403 xno) ;;
18404 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18405 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18406 esac
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18411 $as_echo_n "checking for sched_setaffinity... " >&6; }
18412 if ${wine_cv_have_sched_setaffinity+:} false; then :
18413 $as_echo_n "(cached) " >&6
18414 else
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18417 #define _GNU_SOURCE
18418 #include <sched.h>
18420 main ()
18422 sched_setaffinity(0, 0, 0);
18424 return 0;
18426 _ACEOF
18427 if ac_fn_c_try_link "$LINENO"; then :
18428 wine_cv_have_sched_setaffinity=yes
18429 else
18430 wine_cv_have_sched_setaffinity=no
18432 rm -f core conftest.err conftest.$ac_objext \
18433 conftest$ac_exeext conftest.$ac_ext
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18436 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18437 if test "$wine_cv_have_sched_setaffinity" = "yes"
18438 then
18440 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18445 $as_echo_n "checking for fallocate... " >&6; }
18446 if ${wine_cv_have_fallocate+:} false; then :
18447 $as_echo_n "(cached) " >&6
18448 else
18449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18451 #define _GNU_SOURCE
18452 #include <fcntl.h>
18454 main ()
18456 fallocate(-1, 0, 0, 0);
18458 return 0;
18460 _ACEOF
18461 if ac_fn_c_try_link "$LINENO"; then :
18462 wine_cv_have_fallocate=yes
18463 else
18464 wine_cv_have_fallocate=no
18466 rm -f core conftest.err conftest.$ac_objext \
18467 conftest$ac_exeext conftest.$ac_ext
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18470 $as_echo "$wine_cv_have_fallocate" >&6; }
18471 if test "$wine_cv_have_fallocate" = "yes"
18472 then
18474 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18480 $as_echo_n "checking for inline... " >&6; }
18481 if ${ac_cv_c_inline+:} false; then :
18482 $as_echo_n "(cached) " >&6
18483 else
18484 ac_cv_c_inline=no
18485 for ac_kw in inline __inline__ __inline; do
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #ifndef __cplusplus
18489 typedef int foo_t;
18490 static $ac_kw foo_t static_foo () {return 0; }
18491 $ac_kw foo_t foo () {return 0; }
18492 #endif
18494 _ACEOF
18495 if ac_fn_c_try_compile "$LINENO"; then :
18496 ac_cv_c_inline=$ac_kw
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499 test "$ac_cv_c_inline" != no && break
18500 done
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18504 $as_echo "$ac_cv_c_inline" >&6; }
18506 case $ac_cv_c_inline in
18507 inline | yes) ;;
18509 case $ac_cv_c_inline in
18510 no) ac_val=;;
18511 *) ac_val=$ac_cv_c_inline;;
18512 esac
18513 cat >>confdefs.h <<_ACEOF
18514 #ifndef __cplusplus
18515 #define inline $ac_val
18516 #endif
18517 _ACEOF
18519 esac
18521 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18522 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18524 cat >>confdefs.h <<_ACEOF
18525 #define HAVE_FSBLKCNT_T 1
18526 _ACEOF
18530 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18531 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18533 cat >>confdefs.h <<_ACEOF
18534 #define HAVE_FSFILCNT_T 1
18535 _ACEOF
18540 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18541 #include <signal.h>
18543 if test "x$ac_cv_type_sigset_t" = xyes; then :
18545 cat >>confdefs.h <<_ACEOF
18546 #define HAVE_SIGSET_T 1
18547 _ACEOF
18552 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18554 if test "x$ac_cv_type_request_sense" = xyes; then :
18556 cat >>confdefs.h <<_ACEOF
18557 #define HAVE_REQUEST_SENSE 1
18558 _ACEOF
18564 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18565 #ifdef HAVE_SYS_SOCKET_H
18566 #include <sys/socket.h>
18567 #endif
18568 #ifdef HAVE_SYS_SOCKETVAR_H
18569 #include <sys/socketvar.h>
18570 #endif
18571 #ifdef HAVE_NET_ROUTE_H
18572 #include <net/route.h>
18573 #endif
18574 #ifdef HAVE_NETINET_IN_H
18575 #include <netinet/in.h>
18576 #endif
18577 #ifdef HAVE_NETINET_IN_SYSTM_H
18578 #include <netinet/in_systm.h>
18579 #endif
18580 #ifdef HAVE_NETINET_IP_H
18581 #include <netinet/ip.h>
18582 #endif
18583 #ifdef HAVE_NETINET_IN_PCB_H
18584 #include <netinet/in_pcb.h>
18585 #endif
18587 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_STRUCT_XINPGEN 1
18591 _ACEOF
18597 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18598 #include <link.h>
18599 #endif
18600 #ifdef HAVE_SYS_LINK_H
18601 #include <sys/link.h>
18602 #endif
18604 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18606 cat >>confdefs.h <<_ACEOF
18607 #define HAVE_STRUCT_R_DEBUG 1
18608 _ACEOF
18612 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18613 #include <link.h>
18614 #endif
18615 #ifdef HAVE_SYS_LINK_H
18616 #include <sys/link.h>
18617 #endif
18619 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18621 cat >>confdefs.h <<_ACEOF
18622 #define HAVE_STRUCT_LINK_MAP 1
18623 _ACEOF
18629 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18630 #include <linux/input.h>
18631 #endif
18633 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18635 cat >>confdefs.h <<_ACEOF
18636 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18637 _ACEOF
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18644 $as_echo_n "checking for if_nameindex... " >&6; }
18645 if ${wine_cv_have_if_nameindex+:} false; then :
18646 $as_echo_n "(cached) " >&6
18647 else
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #ifdef HAVE_SYS_TYPES_H
18651 #include <sys/types.h>
18652 #endif
18653 #ifdef HAVE_SYS_SOCKET_H
18654 #include <sys/socket.h>
18655 #endif
18656 #ifdef HAVE_NET_IF_H
18657 # include <net/if.h>
18658 #endif
18660 main ()
18662 struct if_nameindex *p = if_nameindex(); return p->if_index;
18664 return 0;
18666 _ACEOF
18667 if ac_fn_c_try_link "$LINENO"; then :
18668 wine_cv_have_if_nameindex=yes
18669 else
18670 wine_cv_have_if_nameindex=no
18672 rm -f core conftest.err conftest.$ac_objext \
18673 conftest$ac_exeext conftest.$ac_ext
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18676 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18677 if test "$wine_cv_have_if_nameindex" = "yes"
18678 then
18680 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18685 $as_echo_n "checking for sigaddset... " >&6; }
18686 if ${wine_cv_have_sigaddset+:} false; then :
18687 $as_echo_n "(cached) " >&6
18688 else
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 #include <signal.h>
18693 main ()
18695 sigset_t set; sigaddset(&set,SIGTERM);
18697 return 0;
18699 _ACEOF
18700 if ac_fn_c_try_link "$LINENO"; then :
18701 wine_cv_have_sigaddset=yes
18702 else
18703 wine_cv_have_sigaddset=no
18705 rm -f core conftest.err conftest.$ac_objext \
18706 conftest$ac_exeext conftest.$ac_ext
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18709 $as_echo "$wine_cv_have_sigaddset" >&6; }
18710 if test "$wine_cv_have_sigaddset" = "yes"
18711 then
18713 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18719 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18720 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18721 $as_echo_n "(cached) " >&6
18722 else
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 #include <netdb.h>
18727 main ()
18730 char *name=0;
18731 struct hostent he;
18732 struct hostent *result;
18733 char *buf=0;
18734 int bufsize=0;
18735 int errnr;
18736 char *addr=0;
18737 int addrlen=0;
18738 int addrtype=0;
18739 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18740 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18743 return 0;
18745 _ACEOF
18746 if ac_fn_c_try_link "$LINENO"; then :
18747 wine_cv_linux_gethostbyname_r_6=yes
18748 else
18749 wine_cv_linux_gethostbyname_r_6=no
18752 rm -f core conftest.err conftest.$ac_objext \
18753 conftest$ac_exeext conftest.$ac_ext
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18757 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18758 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18759 then
18761 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18765 if test "$ac_cv_header_linux_joystick_h" = "yes"
18766 then
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18768 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18769 if ${wine_cv_linux_joystick_22_api+:} false; then :
18770 $as_echo_n "(cached) " >&6
18771 else
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18775 #include <sys/ioctl.h>
18776 #include <sys/types.h>
18777 #include <linux/joystick.h>
18779 struct js_event blub;
18780 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18781 #error "no 2.2 header"
18782 #endif
18785 main ()
18787 /*empty*/
18789 return 0;
18791 _ACEOF
18792 if ac_fn_c_try_compile "$LINENO"; then :
18793 wine_cv_linux_joystick_22_api=yes
18794 else
18795 wine_cv_linux_joystick_22_api=no
18797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18801 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18802 if test "$wine_cv_linux_joystick_22_api" = "yes"
18803 then
18805 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18811 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18814 #endif
18815 #ifdef HAVE_SYS_MOUNT_H
18816 # include <sys/mount.h>
18817 #endif
18818 #ifdef HAVE_SYS_VFS_H
18819 # include <sys/vfs.h>
18820 #endif
18821 #ifdef HAVE_SYS_STATFS_H
18822 # include <sys/statfs.h>
18823 #endif
18825 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_STRUCT_STATFS_F_BFREE 1
18829 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18834 #ifdef HAVE_SYS_PARAM_H
18835 # include <sys/param.h>
18836 #endif
18837 #ifdef HAVE_SYS_MOUNT_H
18838 # include <sys/mount.h>
18839 #endif
18840 #ifdef HAVE_SYS_VFS_H
18841 # include <sys/vfs.h>
18842 #endif
18843 #ifdef HAVE_SYS_STATFS_H
18844 # include <sys/statfs.h>
18845 #endif
18847 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18851 _ACEOF
18855 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18856 #ifdef HAVE_SYS_PARAM_H
18857 # include <sys/param.h>
18858 #endif
18859 #ifdef HAVE_SYS_MOUNT_H
18860 # include <sys/mount.h>
18861 #endif
18862 #ifdef HAVE_SYS_VFS_H
18863 # include <sys/vfs.h>
18864 #endif
18865 #ifdef HAVE_SYS_STATFS_H
18866 # include <sys/statfs.h>
18867 #endif
18869 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18873 _ACEOF
18877 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18878 #ifdef HAVE_SYS_PARAM_H
18879 # include <sys/param.h>
18880 #endif
18881 #ifdef HAVE_SYS_MOUNT_H
18882 # include <sys/mount.h>
18883 #endif
18884 #ifdef HAVE_SYS_VFS_H
18885 # include <sys/vfs.h>
18886 #endif
18887 #ifdef HAVE_SYS_STATFS_H
18888 # include <sys/statfs.h>
18889 #endif
18891 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_STRUCT_STATFS_F_FFREE 1
18895 _ACEOF
18899 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18900 #ifdef HAVE_SYS_PARAM_H
18901 # include <sys/param.h>
18902 #endif
18903 #ifdef HAVE_SYS_MOUNT_H
18904 # include <sys/mount.h>
18905 #endif
18906 #ifdef HAVE_SYS_VFS_H
18907 # include <sys/vfs.h>
18908 #endif
18909 #ifdef HAVE_SYS_STATFS_H
18910 # include <sys/statfs.h>
18911 #endif
18913 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18917 _ACEOF
18921 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18922 #ifdef HAVE_SYS_PARAM_H
18923 # include <sys/param.h>
18924 #endif
18925 #ifdef HAVE_SYS_MOUNT_H
18926 # include <sys/mount.h>
18927 #endif
18928 #ifdef HAVE_SYS_VFS_H
18929 # include <sys/vfs.h>
18930 #endif
18931 #ifdef HAVE_SYS_STATFS_H
18932 # include <sys/statfs.h>
18933 #endif
18935 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18939 _ACEOF
18945 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18946 #include <sys/statvfs.h>
18947 #endif
18949 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18953 _ACEOF
18959 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18960 #include <dirent.h>
18961 #endif
18963 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18967 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_SOCKET_H
18975 # include <sys/socket.h>
18976 #endif
18977 #ifdef HAVE_SYS_UN_H
18978 # include <sys/un.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18990 #ifdef HAVE_SYS_SOCKET_H
18991 # include <sys/socket.h>
18992 #endif
18993 #ifdef HAVE_SYS_UN_H
18994 # include <sys/un.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19001 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19006 #ifdef HAVE_SYS_SOCKET_H
19007 # include <sys/socket.h>
19008 #endif
19009 #ifdef HAVE_SYS_UN_H
19010 # include <sys/un.h>
19011 #endif
19013 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19017 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19024 #ifdef HAVE_SCSI_SG_H
19025 #include <scsi/sg.h>
19026 #endif
19028 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_SCSIREQ_T_CMD 1
19032 _ACEOF
19036 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>
19037 #ifdef HAVE_SCSI_SG_H
19038 #include <scsi/sg.h>
19039 #endif
19041 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19053 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_SIGINFO_T_SI_FD 1
19057 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19064 #ifdef HAVE_SYS_MTIO_H
19065 #include <sys/mtio.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19077 #ifdef HAVE_SYS_MTIO_H
19078 #include <sys/mtio.h>
19079 #endif
19081 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19085 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19090 #ifdef HAVE_SYS_MTIO_H
19091 #include <sys/mtio.h>
19092 #endif
19094 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19105 #include <getopt.h>
19106 #endif
19108 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_OPTION_NAME 1
19112 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_MTIM 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT_ST_CTIM 1
19150 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19155 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19159 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19164 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_STAT_ST_ATIM 1
19168 _ACEOF
19172 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19173 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19177 _ACEOF
19181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19182 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19186 _ACEOF
19190 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19191 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19195 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19200 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19204 _ACEOF
19208 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19209 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19213 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19218 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19222 _ACEOF
19228 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
19229 #include <sys/types.h>
19230 #endif
19231 #ifdef HAVE_NETINET_IN_H
19232 #include <netinet/in.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19239 _ACEOF
19245 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19246 #include <sys/types.h>
19247 #endif
19248 #ifdef HAVE_NETINET_IN_H
19249 #include <netinet/in.h>
19250 #endif
19251 #ifdef HAVE_RESOLV_H
19252 #include <resolv.h>
19253 #endif
19255 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT___RES_STATE 1
19259 _ACEOF
19265 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
19266 #include <resolv.h>
19267 #endif
19269 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19273 _ACEOF
19279 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19280 #include <sys/types.h>
19281 #endif
19282 #ifdef HAVE_NETINET_IN_H
19283 # include <netinet/in.h>
19284 #endif
19285 #ifdef HAVE_ARPA_NAMESER_H
19286 # include <arpa/nameser.h>
19287 #endif
19289 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_NS_MSG__MSG_PTR 1
19293 _ACEOF
19299 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19300 #include <sys/types.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_H
19306 #include <netinet/ip.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IP_ICMP_H
19309 #include <netinet/ip_icmp.h>
19310 #endif
19311 #ifdef HAVE_NETINET_ICMP_VAR_H
19312 #include <netinet/icmp_var.h>
19313 #endif
19315 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19319 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19326 #include <sys/types.h>
19327 #endif
19328 #ifdef HAVE_ALIAS_H
19329 #include <alias.h>
19330 #endif
19331 #ifdef HAVE_SYS_SOCKET_H
19332 #include <sys/socket.h>
19333 #endif
19334 #ifdef HAVE_SYS_SOCKETVAR_H
19335 #include <sys/socketvar.h>
19336 #endif
19337 #ifdef HAVE_SYS_TIMEOUT_H
19338 #include <sys/timeout.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IN_H
19341 #include <netinet/in.h>
19342 #endif
19343 #ifdef HAVE_NETINET_IN_SYSTM_H
19344 #include <netinet/in_systm.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IP_H
19347 #include <netinet/ip.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IP_VAR_H
19350 #include <netinet/ip_var.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_ICMP_H
19353 #include <netinet/ip_icmp.h>
19354 #endif
19355 #ifdef HAVE_NETINET_ICMP_VAR_H
19356 #include <netinet/icmp_var.h>
19357 #endif
19359 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19363 _ACEOF
19369 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19370 #include <sys/types.h>
19371 #endif
19372 #ifdef HAVE_SYS_SOCKETVAR_H
19373 #include <sys/socketvar.h>
19374 #endif
19375 #ifdef HAVE_NETINET_IN_H
19376 #include <netinet/in.h>
19377 #endif
19378 #ifdef HAVE_NETINET_IP_VAR_H
19379 #include <netinet/ip_var.h>
19380 #endif
19382 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19386 _ACEOF
19392 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
19393 #include <netinet/ip_var.h>
19394 #endif
19396 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19400 _ACEOF
19406 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19407 #include <sys/types.h>
19408 #endif
19409 #ifdef HAVE_SYS_SOCKETVAR_H
19410 #include <sys/socketvar.h>
19411 #endif
19412 #ifdef HAVE_NETINET_IN_H
19413 #include <netinet/in.h>
19414 #endif
19415 #ifdef HAVE_NETINET_TCP_H
19416 #include <netinet/tcp.h>
19417 #endif
19418 #ifdef HAVE_NETINET_TCP_VAR_H
19419 #include <netinet/tcp_var.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19426 _ACEOF
19432 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
19433 #include <netinet/tcp_var.h>
19434 #endif
19436 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19438 cat >>confdefs.h <<_ACEOF
19439 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19440 _ACEOF
19446 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19447 #include <sys/types.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IN_H
19450 #include <netinet/in.h>
19451 #endif
19452 #ifdef HAVE_NETINET_IP_VAR_H
19453 #include <netinet/ip_var.h>
19454 #endif
19455 #ifdef HAVE_NETINET_UDP_H
19456 #include <netinet/udp.h>
19457 #endif
19458 #ifdef HAVE_NETINET_UDP_VAR_H
19459 #include <netinet/udp_var.h>
19460 #endif
19462 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19466 _ACEOF
19472 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19473 #include <sys/types.h>
19474 #endif
19475 #ifdef HAVE_NET_IF_H
19476 # include <net/if.h>
19477 #endif
19479 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19481 cat >>confdefs.h <<_ACEOF
19482 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19483 _ACEOF
19489 ac_save_LIBS="$LIBS"
19490 LIBS="$LIBS -lm"
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19492 $as_echo_n "checking for isfinite... " >&6; }
19493 if ${ac_cv_have_isfinite+:} false; then :
19494 $as_echo_n "(cached) " >&6
19495 else
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19498 #define _GNU_SOURCE
19499 #include <math.h>
19501 main ()
19503 float f = 0.0; return isfinite(f)
19505 return 0;
19507 _ACEOF
19508 if ac_fn_c_try_link "$LINENO"; then :
19509 ac_cv_have_isfinite="yes"
19510 else
19511 ac_cv_have_isfinite="no"
19513 rm -f core conftest.err conftest.$ac_objext \
19514 conftest$ac_exeext conftest.$ac_ext
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19517 $as_echo "$ac_cv_have_isfinite" >&6; }
19518 if test "$ac_cv_have_isfinite" = "yes"
19519 then
19521 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19526 $as_echo_n "checking for isinf... " >&6; }
19527 if ${ac_cv_have_isinf+:} false; then :
19528 $as_echo_n "(cached) " >&6
19529 else
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19532 #include <math.h>
19534 main ()
19536 float f = 0.0; return isinf(f)
19538 return 0;
19540 _ACEOF
19541 if ac_fn_c_try_link "$LINENO"; then :
19542 ac_cv_have_isinf="yes"
19543 else
19544 ac_cv_have_isinf="no"
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19550 $as_echo "$ac_cv_have_isinf" >&6; }
19551 if test "$ac_cv_have_isinf" = "yes"
19552 then
19554 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19559 $as_echo_n "checking for isnan... " >&6; }
19560 if ${ac_cv_have_isnan+:} false; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19565 #include <math.h>
19567 main ()
19569 float f = 0.0; return isnan(f)
19571 return 0;
19573 _ACEOF
19574 if ac_fn_c_try_link "$LINENO"; then :
19575 ac_cv_have_isnan="yes"
19576 else
19577 ac_cv_have_isnan="no"
19579 rm -f core conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19583 $as_echo "$ac_cv_have_isnan" >&6; }
19584 if test "$ac_cv_have_isnan" = "yes"
19585 then
19587 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19591 for ac_func in \
19592 acosh \
19593 acoshf \
19594 asinh \
19595 asinhf \
19596 atanh \
19597 atanhf \
19598 cbrt \
19599 cbrtf \
19600 erf \
19601 erfc \
19602 erfcf \
19603 erff \
19604 exp2 \
19605 exp2f \
19606 expm1 \
19607 expm1f \
19608 fma \
19609 fmaf \
19610 ilogb \
19611 ilogbf \
19612 j0 \
19613 j1 \
19614 jn \
19615 lgamma \
19616 lgammaf \
19617 llrint \
19618 llrintf \
19619 llround \
19620 llroundf \
19621 log1p \
19622 log1pf \
19623 log2 \
19624 log2f \
19625 lrint \
19626 lrintf \
19627 lround \
19628 lroundf \
19629 nearbyint \
19630 nearbyintf \
19631 nexttoward \
19632 nexttowardf \
19633 remainder \
19634 remainderf \
19635 remquo \
19636 remquof \
19637 rint \
19638 rintf \
19639 round \
19640 roundf \
19641 tgamma \
19642 tgammaf \
19643 trunc \
19644 truncf \
19645 y0 \
19646 y1 \
19649 do :
19650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19652 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19653 cat >>confdefs.h <<_ACEOF
19654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19655 _ACEOF
19658 done
19660 LIBS="$ac_save_LIBS"
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19663 $as_echo_n "checking for __builtin_popcount... " >&6; }
19664 if ${ac_cv_have___builtin_popcount+:} false; then :
19665 $as_echo_n "(cached) " >&6
19666 else
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19671 main ()
19673 return __builtin_popcount(1)
19675 return 0;
19677 _ACEOF
19678 if ac_fn_c_try_link "$LINENO"; then :
19679 ac_cv_have___builtin_popcount="yes"
19680 else
19681 ac_cv_have___builtin_popcount="no"
19683 rm -f core conftest.err conftest.$ac_objext \
19684 conftest$ac_exeext conftest.$ac_ext
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19687 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19688 if test "$ac_cv_have___builtin_popcount" = "yes"
19689 then
19691 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19696 $as_echo_n "checking for __clear_cache... " >&6; }
19697 if ${ac_cv_have___clear_cache+:} false; then :
19698 $as_echo_n "(cached) " >&6
19699 else
19700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701 /* end confdefs.h. */
19704 main ()
19706 __clear_cache((void*)0, (void*)0); return 0;
19708 return 0;
19710 _ACEOF
19711 if ac_fn_c_try_link "$LINENO"; then :
19712 ac_cv_have___clear_cache="yes"
19713 else
19714 ac_cv_have___clear_cache="no"
19716 rm -f core conftest.err conftest.$ac_objext \
19717 conftest$ac_exeext conftest.$ac_ext
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19720 $as_echo "$ac_cv_have___clear_cache" >&6; }
19721 if test "$ac_cv_have___clear_cache" = "yes"
19722 then
19724 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19729 case $host_cpu in
19730 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19731 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19732 if ${ac_cv_cpp_def___i386__+:} false; then :
19733 $as_echo_n "(cached) " >&6
19734 else
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #ifndef __i386__
19739 #endif
19740 _ACEOF
19741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19742 $EGREP "yes" >/dev/null 2>&1; then :
19743 ac_cv_cpp_def___i386__=yes
19744 else
19745 ac_cv_cpp_def___i386__=no
19747 rm -f conftest*
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19751 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19752 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19753 CFLAGS="$CFLAGS -D__i386__"
19754 LINTFLAGS="$LINTFLAGS -D__i386__"
19755 fi ;;
19756 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19757 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19758 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19759 $as_echo_n "(cached) " >&6
19760 else
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19763 #ifndef __x86_64__
19765 #endif
19766 _ACEOF
19767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19768 $EGREP "yes" >/dev/null 2>&1; then :
19769 ac_cv_cpp_def___x86_64__=yes
19770 else
19771 ac_cv_cpp_def___x86_64__=no
19773 rm -f conftest*
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19777 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19778 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19779 CFLAGS="$CFLAGS -D__x86_64__"
19780 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19781 fi ;;
19782 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19783 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19784 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19785 $as_echo_n "(cached) " >&6
19786 else
19787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19789 #ifndef __sparc64__
19791 #endif
19792 _ACEOF
19793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19794 $EGREP "yes" >/dev/null 2>&1; then :
19795 ac_cv_cpp_def___sparc64__=yes
19796 else
19797 ac_cv_cpp_def___sparc64__=no
19799 rm -f conftest*
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19803 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19804 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19805 CFLAGS="$CFLAGS -D__sparc64__"
19806 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19807 fi ;;
19808 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19809 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19810 if ${ac_cv_cpp_def___sparc__+:} false; then :
19811 $as_echo_n "(cached) " >&6
19812 else
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19815 #ifndef __sparc__
19817 #endif
19818 _ACEOF
19819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19820 $EGREP "yes" >/dev/null 2>&1; then :
19821 ac_cv_cpp_def___sparc__=yes
19822 else
19823 ac_cv_cpp_def___sparc__=no
19825 rm -f conftest*
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19829 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19830 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19831 CFLAGS="$CFLAGS -D__sparc__"
19832 LINTFLAGS="$LINTFLAGS -D__sparc__"
19833 fi ;;
19834 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19835 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19836 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19837 $as_echo_n "(cached) " >&6
19838 else
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841 #ifndef __powerpc64__
19843 #endif
19844 _ACEOF
19845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19846 $EGREP "yes" >/dev/null 2>&1; then :
19847 ac_cv_cpp_def___powerpc64__=yes
19848 else
19849 ac_cv_cpp_def___powerpc64__=no
19851 rm -f conftest*
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19855 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19856 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19857 CFLAGS="$CFLAGS -D__powerpc64__"
19858 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19859 fi ;;
19860 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19861 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19862 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19863 $as_echo_n "(cached) " >&6
19864 else
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #ifndef __powerpc__
19869 #endif
19870 _ACEOF
19871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19872 $EGREP "yes" >/dev/null 2>&1; then :
19873 ac_cv_cpp_def___powerpc__=yes
19874 else
19875 ac_cv_cpp_def___powerpc__=no
19877 rm -f conftest*
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19881 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19882 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19883 CFLAGS="$CFLAGS -D__powerpc__"
19884 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19885 fi ;;
19886 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19887 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19888 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19889 $as_echo_n "(cached) " >&6
19890 else
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #ifndef __aarch64__
19895 #endif
19896 _ACEOF
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898 $EGREP "yes" >/dev/null 2>&1; then :
19899 ac_cv_cpp_def___aarch64__=yes
19900 else
19901 ac_cv_cpp_def___aarch64__=no
19903 rm -f conftest*
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19907 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19908 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19909 CFLAGS="$CFLAGS -D__aarch64__"
19910 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19911 fi ;;
19912 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19913 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19914 if ${ac_cv_cpp_def___arm__+:} false; then :
19915 $as_echo_n "(cached) " >&6
19916 else
19917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19918 /* end confdefs.h. */
19919 #ifndef __arm__
19921 #endif
19922 _ACEOF
19923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19924 $EGREP "yes" >/dev/null 2>&1; then :
19925 ac_cv_cpp_def___arm__=yes
19926 else
19927 ac_cv_cpp_def___arm__=no
19929 rm -f conftest*
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19933 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19934 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19935 CFLAGS="$CFLAGS -D__arm__"
19936 LINTFLAGS="$LINTFLAGS -D__arm__"
19937 fi ;;
19938 esac
19940 case $host_vendor in
19941 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19942 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19943 if ${ac_cv_cpp_def___sun__+:} false; then :
19944 $as_echo_n "(cached) " >&6
19945 else
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #ifndef __sun__
19950 #endif
19951 _ACEOF
19952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19953 $EGREP "yes" >/dev/null 2>&1; then :
19954 ac_cv_cpp_def___sun__=yes
19955 else
19956 ac_cv_cpp_def___sun__=no
19958 rm -f conftest*
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19962 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19963 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19964 CFLAGS="$CFLAGS -D__sun__"
19965 LINTFLAGS="$LINTFLAGS -D__sun__"
19966 fi ;;
19967 esac
19973 ac_config_commands="$ac_config_commands include/stamp-h"
19975 $as_echo_n "creating Makefile rules..." >&6
19977 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19978 OPENGL_LIBS = $OPENGL_LIBS
19979 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19980 IOKIT_LIBS = $IOKIT_LIBS
19981 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19982 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19983 CORESERVICES_LIBS = $CORESERVICES_LIBS
19984 APPKIT_LIBS = $APPKIT_LIBS
19985 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19986 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19987 SECURITY_LIBS = $SECURITY_LIBS
19988 COREAUDIO_LIBS = $COREAUDIO_LIBS
19989 OPENAL_LIBS = $OPENAL_LIBS
19990 OPENCL_LIBS = $OPENCL_LIBS
19991 QUICKTIME_LIBS = $QUICKTIME_LIBS
19992 CARBON_LIBS = $CARBON_LIBS
19993 METAL_LIBS = $METAL_LIBS
19994 PTHREAD_LIBS = $PTHREAD_LIBS
19995 X_CFLAGS = $X_CFLAGS
19996 X_PRE_LIBS = $X_PRE_LIBS
19997 X_LIBS = $X_LIBS
19998 X_EXTRA_LIBS = $X_EXTRA_LIBS
19999 PCAP_LIBS = $PCAP_LIBS
20000 XML2_CFLAGS = $XML2_CFLAGS
20001 XML2_LIBS = $XML2_LIBS
20002 XSLT_CFLAGS = $XSLT_CFLAGS
20003 XSLT_LIBS = $XSLT_LIBS
20004 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20005 INOTIFY_LIBS = $INOTIFY_LIBS
20006 DBUS_CFLAGS = $DBUS_CFLAGS
20007 DBUS_LIBS = $DBUS_LIBS
20008 HAL_CFLAGS = $HAL_CFLAGS
20009 HAL_LIBS = $HAL_LIBS
20010 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20011 GNUTLS_LIBS = $GNUTLS_LIBS
20012 SANE_CFLAGS = $SANE_CFLAGS
20013 SANE_LIBS = $SANE_LIBS
20014 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20015 GPHOTO2_LIBS = $GPHOTO2_LIBS
20016 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20017 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20018 RESOLV_LIBS = $RESOLV_LIBS
20019 LCMS2_CFLAGS = $LCMS2_CFLAGS
20020 LCMS2_LIBS = $LCMS2_LIBS
20021 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20022 FREETYPE_LIBS = $FREETYPE_LIBS
20023 Z_CFLAGS = $Z_CFLAGS
20024 Z_LIBS = $Z_LIBS
20025 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20026 PULSE_CFLAGS = $PULSE_CFLAGS
20027 PULSE_LIBS = $PULSE_LIBS
20028 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20029 GSTREAMER_LIBS = $GSTREAMER_LIBS
20030 ALSA_LIBS = $ALSA_LIBS
20031 OSS4_CFLAGS = $OSS4_CFLAGS
20032 OSS4_LIBS = $OSS4_LIBS
20033 UDEV_CFLAGS = $UDEV_CFLAGS
20034 UDEV_LIBS = $UDEV_LIBS
20035 UNWIND_CFLAGS = $UNWIND_CFLAGS
20036 UNWIND_LIBS = $UNWIND_LIBS
20037 SDL2_CFLAGS = $SDL2_CFLAGS
20038 SDL2_LIBS = $SDL2_LIBS
20039 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20040 FAUDIO_LIBS = $FAUDIO_LIBS
20041 CAPI20_CFLAGS = $CAPI20_CFLAGS
20042 CAPI20_LIBS = $CAPI20_LIBS
20043 CUPS_CFLAGS = $CUPS_CFLAGS
20044 CUPS_LIBS = $CUPS_LIBS
20045 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20046 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20047 KRB5_CFLAGS = $KRB5_CFLAGS
20048 KRB5_LIBS = $KRB5_LIBS
20049 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20050 GSSAPI_LIBS = $GSSAPI_LIBS
20051 JPEG_CFLAGS = $JPEG_CFLAGS
20052 JPEG_LIBS = $JPEG_LIBS
20053 PNG_CFLAGS = $PNG_CFLAGS
20054 PNG_LIBS = $PNG_LIBS
20055 TIFF_CFLAGS = $TIFF_CFLAGS
20056 TIFF_LIBS = $TIFF_LIBS
20057 MPG123_CFLAGS = $MPG123_CFLAGS
20058 MPG123_LIBS = $MPG123_LIBS
20059 KSTAT_LIBS = $KSTAT_LIBS
20060 PROCSTAT_LIBS = $PROCSTAT_LIBS
20061 NETAPI_CFLAGS = $NETAPI_CFLAGS
20062 NETAPI_LIBS = $NETAPI_LIBS
20063 VKD3D_CFLAGS = $VKD3D_CFLAGS
20064 VKD3D_LIBS = $VKD3D_LIBS
20065 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20066 DL_LIBS = $DL_LIBS
20067 POLL_LIBS = $POLL_LIBS
20068 RT_LIBS = $RT_LIBS
20069 LDAP_CFLAGS = $LDAP_CFLAGS
20070 LDAP_LIBS = $LDAP_LIBS
20075 wine_fn_append_rule "
20076 # Rules automatically generated by configure
20078 .INIT: Makefile
20079 .MAKEFILEDEPS:
20080 all: Makefile
20081 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20082 @./config.status Make.tmp Makefile
20083 depend: \$(MAKEDEP) dummy
20084 \$(MAKEDEP)"
20086 ac_config_links="$ac_config_links wine:tools/winewrapper"
20087 wine_fn_config_symlink wine
20088 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20089 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20090 wine_fn_config_symlink wine64
20093 wine_fn_config_makefile dlls/acledit enable_acledit
20094 wine_fn_config_makefile dlls/aclui enable_aclui
20095 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20096 wine_fn_config_makefile dlls/activeds enable_activeds
20097 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20098 wine_fn_config_makefile dlls/adsiid enable_adsiid
20099 wine_fn_config_makefile dlls/adsldp enable_adsldp
20100 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20101 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20102 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20103 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20104 wine_fn_config_makefile dlls/advpack enable_advpack
20105 wine_fn_config_makefile dlls/advpack/tests enable_tests
20106 wine_fn_config_makefile dlls/amsi enable_amsi
20107 wine_fn_config_makefile dlls/amstream enable_amstream
20108 wine_fn_config_makefile dlls/amstream/tests enable_tests
20109 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20112 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20134 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20135 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20141 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20144 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20157 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20158 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20164 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20176 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20188 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20189 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20211 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20215 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20218 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20280 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20291 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20295 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20299 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20300 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20316 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20318 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20320 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20324 wine_fn_config_makefile dlls/apphelp enable_apphelp
20325 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20326 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20327 wine_fn_config_makefile dlls/atl enable_atl
20328 wine_fn_config_makefile dlls/atl/tests enable_tests
20329 wine_fn_config_makefile dlls/atl100 enable_atl100
20330 wine_fn_config_makefile dlls/atl100/tests enable_tests
20331 wine_fn_config_makefile dlls/atl110 enable_atl110
20332 wine_fn_config_makefile dlls/atl80 enable_atl80
20333 wine_fn_config_makefile dlls/atl80/tests enable_tests
20334 wine_fn_config_makefile dlls/atl90 enable_atl90
20335 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20336 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20337 wine_fn_config_makefile dlls/atmlib enable_atmlib
20338 wine_fn_config_makefile dlls/authz enable_authz
20339 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20340 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20341 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20342 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20343 wine_fn_config_makefile dlls/avrt enable_avrt
20344 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20345 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20346 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20347 wine_fn_config_makefile dlls/browseui enable_browseui
20348 wine_fn_config_makefile dlls/browseui/tests enable_tests
20349 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20350 wine_fn_config_makefile dlls/cabinet enable_cabinet
20351 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20352 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20353 wine_fn_config_makefile dlls/cards enable_cards
20354 wine_fn_config_makefile dlls/cdosys enable_cdosys
20355 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20356 wine_fn_config_makefile dlls/clusapi enable_clusapi
20357 wine_fn_config_makefile dlls/combase enable_combase
20358 wine_fn_config_makefile dlls/combase/tests enable_tests
20359 wine_fn_config_makefile dlls/comcat enable_comcat
20360 wine_fn_config_makefile dlls/comcat/tests enable_tests
20361 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20362 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20363 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20364 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20365 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20366 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20367 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20368 wine_fn_config_makefile dlls/compstui enable_compstui
20369 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20370 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20371 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20372 wine_fn_config_makefile dlls/connect enable_connect
20373 wine_fn_config_makefile dlls/credui enable_credui
20374 wine_fn_config_makefile dlls/credui/tests enable_tests
20375 wine_fn_config_makefile dlls/crtdll enable_crtdll
20376 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20377 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20378 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20379 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20380 wine_fn_config_makefile dlls/cryptext enable_cryptext
20381 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20382 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20383 wine_fn_config_makefile dlls/cryptui enable_cryptui
20384 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20385 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20386 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20387 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20388 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20389 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20390 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20391 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20392 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20394 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20395 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20396 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20397 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20398 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20399 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20400 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20401 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20402 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20403 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20404 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20405 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20406 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20407 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20408 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20409 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20410 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20411 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20412 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20413 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20414 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20415 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20416 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20417 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20418 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20419 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20420 wine_fn_config_makefile dlls/d3dim enable_d3dim
20421 wine_fn_config_makefile dlls/d3drm enable_d3drm
20422 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20423 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20424 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20425 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20426 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20427 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20428 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20429 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20430 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20431 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20432 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20433 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20434 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20435 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20436 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20437 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20438 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20439 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20440 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20441 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20442 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20443 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20444 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20445 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20446 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20447 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20448 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20449 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20450 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20451 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20452 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20453 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20454 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20455 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20456 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20457 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20458 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20459 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20460 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20461 wine_fn_config_makefile dlls/davclnt enable_davclnt
20462 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20463 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20464 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20465 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20466 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20467 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20468 wine_fn_config_makefile dlls/ddraw enable_ddraw
20469 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20470 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20471 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20472 wine_fn_config_makefile dlls/devenum enable_devenum
20473 wine_fn_config_makefile dlls/devenum/tests enable_tests
20474 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20475 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20476 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20477 wine_fn_config_makefile dlls/difxapi enable_difxapi
20478 wine_fn_config_makefile dlls/dinput enable_dinput
20479 wine_fn_config_makefile dlls/dinput/tests enable_tests
20480 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20481 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20482 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20483 wine_fn_config_makefile dlls/dispex enable_dispex
20484 wine_fn_config_makefile dlls/dispex/tests enable_tests
20485 wine_fn_config_makefile dlls/display.drv16 enable_win16
20486 wine_fn_config_makefile dlls/dmband enable_dmband
20487 wine_fn_config_makefile dlls/dmband/tests enable_tests
20488 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20489 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20490 wine_fn_config_makefile dlls/dmime enable_dmime
20491 wine_fn_config_makefile dlls/dmime/tests enable_tests
20492 wine_fn_config_makefile dlls/dmloader enable_dmloader
20493 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20494 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20495 wine_fn_config_makefile dlls/dmscript enable_dmscript
20496 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20497 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20498 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20499 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20500 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20501 wine_fn_config_makefile dlls/dmusic enable_dmusic
20502 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20503 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20504 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20505 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20506 wine_fn_config_makefile dlls/dplay enable_dplay
20507 wine_fn_config_makefile dlls/dplayx enable_dplayx
20508 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20509 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20510 wine_fn_config_makefile dlls/dpnet enable_dpnet
20511 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20512 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20513 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20514 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20515 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20516 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20517 wine_fn_config_makefile dlls/drmclien enable_drmclien
20518 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20519 wine_fn_config_makefile dlls/dsound enable_dsound
20520 wine_fn_config_makefile dlls/dsound/tests enable_tests
20521 wine_fn_config_makefile dlls/dsquery enable_dsquery
20522 wine_fn_config_makefile dlls/dssenh enable_dssenh
20523 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20524 wine_fn_config_makefile dlls/dswave enable_dswave
20525 wine_fn_config_makefile dlls/dswave/tests enable_tests
20526 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20527 wine_fn_config_makefile dlls/dwrite enable_dwrite
20528 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20529 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20530 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20531 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20532 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20533 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20534 wine_fn_config_makefile dlls/dxgi enable_dxgi
20535 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20536 wine_fn_config_makefile dlls/dxguid enable_dxguid
20537 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20538 wine_fn_config_makefile dlls/esent enable_esent
20539 wine_fn_config_makefile dlls/evr enable_evr
20540 wine_fn_config_makefile dlls/evr/tests enable_tests
20541 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20542 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20543 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20554 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20577 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20583 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
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20594 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20595 wine_fn_config_makefile dlls/faultrep enable_faultrep
20596 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20597 wine_fn_config_makefile dlls/feclient enable_feclient
20598 wine_fn_config_makefile dlls/fltlib enable_fltlib
20599 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20600 wine_fn_config_makefile dlls/fntcache enable_fntcache
20601 wine_fn_config_makefile dlls/fontsub enable_fontsub
20602 wine_fn_config_makefile dlls/fusion enable_fusion
20603 wine_fn_config_makefile dlls/fusion/tests enable_tests
20604 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20605 wine_fn_config_makefile dlls/gameux enable_gameux
20606 wine_fn_config_makefile dlls/gameux/tests enable_tests
20607 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20608 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20609 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20610 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20611 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20612 wine_fn_config_makefile dlls/glu32 enable_glu32
20613 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20614 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20615 wine_fn_config_makefile dlls/hal enable_hal
20616 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20617 wine_fn_config_makefile dlls/hid enable_hid
20618 wine_fn_config_makefile dlls/hid/tests enable_tests
20619 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20620 wine_fn_config_makefile dlls/hlink enable_hlink
20621 wine_fn_config_makefile dlls/hlink/tests enable_tests
20622 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20623 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20624 wine_fn_config_makefile dlls/http.sys enable_http_sys
20625 wine_fn_config_makefile dlls/httpapi enable_httpapi
20626 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20627 wine_fn_config_makefile dlls/iccvid enable_iccvid
20628 wine_fn_config_makefile dlls/icmp enable_icmp
20629 wine_fn_config_makefile dlls/ieframe enable_ieframe
20630 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20631 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20632 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20633 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20634 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20635 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20636 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20637 wine_fn_config_makefile dlls/imm32 enable_imm32
20638 wine_fn_config_makefile dlls/imm32/tests enable_tests
20639 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20640 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20641 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20642 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20643 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20644 wine_fn_config_makefile dlls/infosoft enable_infosoft
20645 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20646 wine_fn_config_makefile dlls/initpki enable_initpki
20647 wine_fn_config_makefile dlls/inkobj enable_inkobj
20648 wine_fn_config_makefile dlls/inseng enable_inseng
20649 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20650 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20651 wine_fn_config_makefile dlls/iprop enable_iprop
20652 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20653 wine_fn_config_makefile dlls/itircl enable_itircl
20654 wine_fn_config_makefile dlls/itss enable_itss
20655 wine_fn_config_makefile dlls/itss/tests enable_tests
20656 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20657 wine_fn_config_makefile dlls/jscript enable_jscript
20658 wine_fn_config_makefile dlls/jscript/tests enable_tests
20659 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20660 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20661 wine_fn_config_makefile dlls/kerberos enable_kerberos
20662 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20663 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20664 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20665 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20666 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20667 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20668 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20669 wine_fn_config_makefile dlls/ksuser enable_ksuser
20670 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20671 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20672 wine_fn_config_makefile dlls/loadperf enable_loadperf
20673 wine_fn_config_makefile dlls/localspl enable_localspl
20674 wine_fn_config_makefile dlls/localspl/tests enable_tests
20675 wine_fn_config_makefile dlls/localui enable_localui
20676 wine_fn_config_makefile dlls/localui/tests enable_tests
20677 wine_fn_config_makefile dlls/lz32 enable_lz32
20678 wine_fn_config_makefile dlls/lz32/tests enable_tests
20679 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20680 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20681 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20682 wine_fn_config_makefile dlls/mapistub enable_mapistub
20683 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20684 wine_fn_config_makefile dlls/mcicda enable_mcicda
20685 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20686 wine_fn_config_makefile dlls/mciseq enable_mciseq
20687 wine_fn_config_makefile dlls/mciwave enable_mciwave
20688 wine_fn_config_makefile dlls/mf enable_mf
20689 wine_fn_config_makefile dlls/mf/tests enable_tests
20690 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20691 wine_fn_config_makefile dlls/mferror enable_mferror
20692 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20693 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20694 wine_fn_config_makefile dlls/mfplat enable_mfplat
20695 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20696 wine_fn_config_makefile dlls/mfplay enable_mfplay
20697 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20698 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20699 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20700 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20701 wine_fn_config_makefile dlls/midimap enable_midimap
20702 wine_fn_config_makefile dlls/mlang enable_mlang
20703 wine_fn_config_makefile dlls/mlang/tests enable_tests
20704 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20705 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20706 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20707 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20708 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20709 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20710 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20711 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20712 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20713 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20714 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20715 wine_fn_config_makefile dlls/mpr enable_mpr
20716 wine_fn_config_makefile dlls/mpr/tests enable_tests
20717 wine_fn_config_makefile dlls/mprapi enable_mprapi
20718 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20719 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20720 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20721 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20722 wine_fn_config_makefile dlls/msado15 enable_msado15
20723 wine_fn_config_makefile dlls/msado15/tests enable_tests
20724 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20725 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20726 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20727 wine_fn_config_makefile dlls/mscms enable_mscms
20728 wine_fn_config_makefile dlls/mscms/tests enable_tests
20729 wine_fn_config_makefile dlls/mscoree enable_mscoree
20730 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20731 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20732 wine_fn_config_makefile dlls/msctf enable_msctf
20733 wine_fn_config_makefile dlls/msctf/tests enable_tests
20734 wine_fn_config_makefile dlls/msctfp enable_msctfp
20735 wine_fn_config_makefile dlls/msdaps enable_msdaps
20736 wine_fn_config_makefile dlls/msdelta enable_msdelta
20737 wine_fn_config_makefile dlls/msdmo enable_msdmo
20738 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20739 wine_fn_config_makefile dlls/msdrm enable_msdrm
20740 wine_fn_config_makefile dlls/msftedit enable_msftedit
20741 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20742 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20743 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20744 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20745 wine_fn_config_makefile dlls/mshtml enable_mshtml
20746 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20747 wine_fn_config_makefile dlls/msi enable_msi
20748 wine_fn_config_makefile dlls/msi/tests enable_tests
20749 wine_fn_config_makefile dlls/msident enable_msident
20750 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20751 wine_fn_config_makefile dlls/msimsg enable_msimsg
20752 wine_fn_config_makefile dlls/msimtf enable_msimtf
20753 wine_fn_config_makefile dlls/msisip enable_msisip
20754 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20755 wine_fn_config_makefile dlls/msls31 enable_msls31
20756 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20757 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20758 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20759 wine_fn_config_makefile dlls/msports enable_msports
20760 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20761 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20762 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20763 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20764 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20765 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20766 wine_fn_config_makefile dlls/mstask enable_mstask
20767 wine_fn_config_makefile dlls/mstask/tests enable_tests
20768 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20769 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20771 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20772 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20773 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20775 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20777 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20779 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20780 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20782 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20783 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20784 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20785 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20786 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20787 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20789 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20790 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20791 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20792 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20793 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20794 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20795 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20796 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20797 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20798 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20799 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20800 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20801 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20802 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20803 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20804 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20805 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20806 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20807 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20808 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20809 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20810 wine_fn_config_makefile dlls/mswsock enable_mswsock
20811 wine_fn_config_makefile dlls/msxml enable_msxml
20812 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20813 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20814 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20815 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20816 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20817 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20818 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20819 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20820 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20821 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20822 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20823 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20824 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20825 wine_fn_config_makefile dlls/netprofm enable_netprofm
20826 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20827 wine_fn_config_makefile dlls/newdev enable_newdev
20828 wine_fn_config_makefile dlls/ninput enable_ninput
20829 wine_fn_config_makefile dlls/ninput/tests enable_tests
20830 wine_fn_config_makefile dlls/normaliz enable_normaliz
20831 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20832 wine_fn_config_makefile dlls/npptools enable_npptools
20833 wine_fn_config_makefile dlls/ntdll enable_ntdll
20834 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20835 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20836 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20837 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20838 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20839 wine_fn_config_makefile dlls/ntprint enable_ntprint
20840 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20841 wine_fn_config_makefile dlls/objsel enable_objsel
20842 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20843 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20844 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20845 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20846 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20847 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20848 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20849 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20850 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20851 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20852 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20853 wine_fn_config_makefile dlls/ole32 enable_ole32
20854 wine_fn_config_makefile dlls/ole32/tests enable_tests
20855 wine_fn_config_makefile dlls/oleacc enable_oleacc
20856 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20857 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20858 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20859 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20860 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20861 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20862 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20863 wine_fn_config_makefile dlls/oledlg enable_oledlg
20864 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20865 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20866 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20867 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20868 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20869 wine_fn_config_makefile dlls/opcservices enable_opcservices
20870 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20871 wine_fn_config_makefile dlls/openal32 enable_openal32
20872 wine_fn_config_makefile dlls/opencl enable_opencl
20873 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20874 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20875 wine_fn_config_makefile dlls/packager enable_packager
20876 wine_fn_config_makefile dlls/packager/tests enable_tests
20877 wine_fn_config_makefile dlls/pdh enable_pdh
20878 wine_fn_config_makefile dlls/pdh/tests enable_tests
20879 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20880 wine_fn_config_makefile dlls/pidgen enable_pidgen
20881 wine_fn_config_makefile dlls/powrprof enable_powrprof
20882 wine_fn_config_makefile dlls/printui enable_printui
20883 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20884 wine_fn_config_makefile dlls/propsys enable_propsys
20885 wine_fn_config_makefile dlls/propsys/tests enable_tests
20886 wine_fn_config_makefile dlls/psapi enable_psapi
20887 wine_fn_config_makefile dlls/psapi/tests enable_tests
20888 wine_fn_config_makefile dlls/pstorec enable_pstorec
20889 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20890 wine_fn_config_makefile dlls/qasf enable_qasf
20891 wine_fn_config_makefile dlls/qasf/tests enable_tests
20892 wine_fn_config_makefile dlls/qcap enable_qcap
20893 wine_fn_config_makefile dlls/qcap/tests enable_tests
20894 wine_fn_config_makefile dlls/qedit enable_qedit
20895 wine_fn_config_makefile dlls/qedit/tests enable_tests
20896 wine_fn_config_makefile dlls/qmgr enable_qmgr
20897 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20898 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20899 wine_fn_config_makefile dlls/quartz enable_quartz
20900 wine_fn_config_makefile dlls/quartz/tests enable_tests
20901 wine_fn_config_makefile dlls/query enable_query
20902 wine_fn_config_makefile dlls/qwave enable_qwave
20903 wine_fn_config_makefile dlls/qwave/tests enable_tests
20904 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20905 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20906 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20907 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20908 wine_fn_config_makefile dlls/regapi enable_regapi
20909 wine_fn_config_makefile dlls/resutils enable_resutils
20910 wine_fn_config_makefile dlls/riched20 enable_riched20
20911 wine_fn_config_makefile dlls/riched20/tests enable_tests
20912 wine_fn_config_makefile dlls/riched32 enable_riched32
20913 wine_fn_config_makefile dlls/riched32/tests enable_tests
20914 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20915 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20916 wine_fn_config_makefile dlls/rsabase enable_rsabase
20917 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20918 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20919 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20920 wine_fn_config_makefile dlls/rtutils enable_rtutils
20921 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20922 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20923 wine_fn_config_makefile dlls/samlib enable_samlib
20924 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20925 wine_fn_config_makefile dlls/sapi enable_sapi
20926 wine_fn_config_makefile dlls/sapi/tests enable_tests
20927 wine_fn_config_makefile dlls/sas enable_sas
20928 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20929 wine_fn_config_makefile dlls/sccbase enable_sccbase
20930 wine_fn_config_makefile dlls/schannel enable_schannel
20931 wine_fn_config_makefile dlls/schannel/tests enable_tests
20932 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20933 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20934 wine_fn_config_makefile dlls/scrobj enable_scrobj
20935 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20936 wine_fn_config_makefile dlls/scrrun enable_scrrun
20937 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20938 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20939 wine_fn_config_makefile dlls/secur32 enable_secur32
20940 wine_fn_config_makefile dlls/secur32/tests enable_tests
20941 wine_fn_config_makefile dlls/security enable_security
20942 wine_fn_config_makefile dlls/sensapi enable_sensapi
20943 wine_fn_config_makefile dlls/serialui enable_serialui
20944 wine_fn_config_makefile dlls/serialui/tests enable_tests
20945 wine_fn_config_makefile dlls/setupapi enable_setupapi
20946 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20947 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20948 wine_fn_config_makefile dlls/sfc enable_sfc
20949 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20950 wine_fn_config_makefile dlls/shcore enable_shcore
20951 wine_fn_config_makefile dlls/shcore/tests enable_tests
20952 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20953 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20954 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20955 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20956 wine_fn_config_makefile dlls/shell32 enable_shell32
20957 wine_fn_config_makefile dlls/shell32/tests enable_tests
20958 wine_fn_config_makefile dlls/shfolder enable_shfolder
20959 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20960 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20961 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20962 wine_fn_config_makefile dlls/slc enable_slc
20963 wine_fn_config_makefile dlls/slc/tests enable_tests
20964 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20965 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20966 wine_fn_config_makefile dlls/softpub enable_softpub
20967 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20968 wine_fn_config_makefile dlls/spoolss enable_spoolss
20969 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20970 wine_fn_config_makefile dlls/srclient enable_srclient
20971 wine_fn_config_makefile dlls/sspicli enable_sspicli
20972 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20973 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20974 wine_fn_config_makefile dlls/sti enable_sti
20975 wine_fn_config_makefile dlls/sti/tests enable_tests
20976 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20977 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20978 wine_fn_config_makefile dlls/strmbase enable_strmbase
20979 wine_fn_config_makefile dlls/strmdll enable_strmdll
20980 wine_fn_config_makefile dlls/strmiids enable_strmiids
20981 wine_fn_config_makefile dlls/svrapi enable_svrapi
20982 wine_fn_config_makefile dlls/sxs enable_sxs
20983 wine_fn_config_makefile dlls/sxs/tests enable_tests
20984 wine_fn_config_makefile dlls/system.drv16 enable_win16
20985 wine_fn_config_makefile dlls/t2embed enable_t2embed
20986 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20987 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20988 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20989 wine_fn_config_makefile dlls/taskschd enable_taskschd
20990 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20991 wine_fn_config_makefile dlls/tdh enable_tdh
20992 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20993 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20994 wine_fn_config_makefile dlls/traffic enable_traffic
20995 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20996 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20997 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20998 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20999 wine_fn_config_makefile dlls/tzres enable_tzres
21000 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21001 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21002 wine_fn_config_makefile dlls/uianimation enable_uianimation
21003 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21004 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21005 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21006 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21007 wine_fn_config_makefile dlls/unicows enable_unicows
21008 wine_fn_config_makefile dlls/updspapi enable_updspapi
21009 wine_fn_config_makefile dlls/url enable_url
21010 wine_fn_config_makefile dlls/urlmon enable_urlmon
21011 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21012 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21013 wine_fn_config_makefile dlls/user.exe16 enable_win16
21014 wine_fn_config_makefile dlls/user32 enable_user32
21015 wine_fn_config_makefile dlls/user32/tests enable_tests
21016 wine_fn_config_makefile dlls/userenv enable_userenv
21017 wine_fn_config_makefile dlls/userenv/tests enable_tests
21018 wine_fn_config_makefile dlls/usp10 enable_usp10
21019 wine_fn_config_makefile dlls/usp10/tests enable_tests
21020 wine_fn_config_makefile dlls/utildll enable_utildll
21021 wine_fn_config_makefile dlls/uuid enable_uuid
21022 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21023 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21024 wine_fn_config_makefile dlls/vbscript enable_vbscript
21025 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21026 wine_fn_config_makefile dlls/vcomp enable_vcomp
21027 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21028 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21029 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21030 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21031 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21032 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21033 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21034 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21035 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21036 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21037 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21038 wine_fn_config_makefile dlls/version enable_version
21039 wine_fn_config_makefile dlls/version/tests enable_tests
21040 wine_fn_config_makefile dlls/vga enable_vga
21041 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21042 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21043 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21044 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21045 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21046 wine_fn_config_makefile dlls/vssapi enable_vssapi
21047 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21048 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21049 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21050 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21051 wine_fn_config_makefile dlls/w32skrnl enable_win16
21052 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21053 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21054 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21055 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21056 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21057 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21058 wine_fn_config_makefile dlls/wdscore enable_wdscore
21059 wine_fn_config_makefile dlls/webservices enable_webservices
21060 wine_fn_config_makefile dlls/webservices/tests enable_tests
21061 wine_fn_config_makefile dlls/wer enable_wer
21062 wine_fn_config_makefile dlls/wer/tests enable_tests
21063 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21064 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21065 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21066 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21067 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21068 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21069 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21070 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21071 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21072 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21073 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21074 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21075 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21076 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21077 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21078 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21079 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21080 wine_fn_config_makefile dlls/wined3d enable_wined3d
21081 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21082 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21083 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21084 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21085 wine_fn_config_makefile dlls/winemapi enable_winemapi
21086 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21087 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21088 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21089 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21090 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21091 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21092 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21093 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21094 wine_fn_config_makefile dlls/wing32 enable_wing32
21095 wine_fn_config_makefile dlls/winhttp enable_winhttp
21096 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21097 wine_fn_config_makefile dlls/wininet enable_wininet
21098 wine_fn_config_makefile dlls/wininet/tests enable_tests
21099 wine_fn_config_makefile dlls/winmm enable_winmm
21100 wine_fn_config_makefile dlls/winmm/tests enable_tests
21101 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21102 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21103 wine_fn_config_makefile dlls/winscard enable_winscard
21104 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21105 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21106 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21107 wine_fn_config_makefile dlls/winsta enable_winsta
21108 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21109 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21110 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21111 wine_fn_config_makefile dlls/wintrust enable_wintrust
21112 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21113 wine_fn_config_makefile dlls/winusb enable_winusb
21114 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21115 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21116 wine_fn_config_makefile dlls/wlanui enable_wlanui
21117 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21118 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21119 wine_fn_config_makefile dlls/wmasf enable_wmasf
21120 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21121 wine_fn_config_makefile dlls/wmi enable_wmi
21122 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21123 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21124 wine_fn_config_makefile dlls/wmp enable_wmp
21125 wine_fn_config_makefile dlls/wmp/tests enable_tests
21126 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21127 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21128 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21129 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21130 wine_fn_config_makefile dlls/wow32 enable_win16
21131 wine_fn_config_makefile dlls/wpc enable_wpc
21132 wine_fn_config_makefile dlls/wpc/tests enable_tests
21133 wine_fn_config_makefile dlls/wpcap enable_wpcap
21134 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21135 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21136 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21137 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21138 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21139 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21140 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21141 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21142 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21143 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21144 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21145 wine_fn_config_makefile dlls/wuapi enable_wuapi
21146 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21147 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21148 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21149 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21150 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21151 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21152 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21153 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21154 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21155 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21156 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21157 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21158 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21159 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21160 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21161 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21162 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21163 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21164 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21165 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21166 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21167 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21168 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21169 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21170 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21171 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21172 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21173 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21174 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21175 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21176 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21177 wine_fn_config_makefile dlls/xmllite enable_xmllite
21178 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21179 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21180 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21181 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21182 wine_fn_config_makefile fonts enable_fonts
21183 wine_fn_config_makefile include enable_include
21184 wine_fn_config_makefile libs/port enable_port
21185 wine_fn_config_makefile libs/wine enable_wine
21186 wine_fn_config_makefile libs/wpp enable_wpp
21187 wine_fn_config_makefile loader enable_loader
21188 wine_fn_config_makefile nls enable_nls
21189 wine_fn_config_makefile po enable_po
21190 wine_fn_config_makefile programs/arp enable_arp
21191 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21192 wine_fn_config_makefile programs/attrib enable_attrib
21193 wine_fn_config_makefile programs/cabarc enable_cabarc
21194 wine_fn_config_makefile programs/cacls enable_cacls
21195 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21196 wine_fn_config_makefile programs/clock enable_clock
21197 wine_fn_config_makefile programs/cmd enable_cmd
21198 wine_fn_config_makefile programs/cmd/tests enable_tests
21199 wine_fn_config_makefile programs/conhost enable_conhost
21200 wine_fn_config_makefile programs/control enable_control
21201 wine_fn_config_makefile programs/cscript enable_cscript
21202 wine_fn_config_makefile programs/dism enable_dism
21203 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21204 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21205 wine_fn_config_makefile programs/eject enable_eject
21206 wine_fn_config_makefile programs/expand enable_expand
21207 wine_fn_config_makefile programs/explorer enable_explorer
21208 wine_fn_config_makefile programs/extrac32 enable_extrac32
21209 wine_fn_config_makefile programs/fc enable_fc
21210 wine_fn_config_makefile programs/find enable_find
21211 wine_fn_config_makefile programs/find/tests enable_tests
21212 wine_fn_config_makefile programs/findstr enable_findstr
21213 wine_fn_config_makefile programs/fsutil enable_fsutil
21214 wine_fn_config_makefile programs/hh enable_hh
21215 wine_fn_config_makefile programs/hostname enable_hostname
21216 wine_fn_config_makefile programs/icacls enable_icacls
21217 wine_fn_config_makefile programs/icinfo enable_icinfo
21218 wine_fn_config_makefile programs/iexplore enable_iexplore
21219 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21220 wine_fn_config_makefile programs/lodctr enable_lodctr
21221 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21222 wine_fn_config_makefile programs/mshta enable_mshta
21223 wine_fn_config_makefile programs/msidb enable_msidb
21224 wine_fn_config_makefile programs/msiexec enable_msiexec
21225 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21226 wine_fn_config_makefile programs/net enable_net
21227 wine_fn_config_makefile programs/netsh enable_netsh
21228 wine_fn_config_makefile programs/netstat enable_netstat
21229 wine_fn_config_makefile programs/ngen enable_ngen
21230 wine_fn_config_makefile programs/notepad enable_notepad
21231 wine_fn_config_makefile programs/oleview enable_oleview
21232 wine_fn_config_makefile programs/ping enable_ping
21233 wine_fn_config_makefile programs/plugplay enable_plugplay
21234 wine_fn_config_makefile programs/powershell enable_powershell
21235 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21236 wine_fn_config_makefile programs/progman enable_progman
21237 wine_fn_config_makefile programs/reg enable_reg
21238 wine_fn_config_makefile programs/reg/tests enable_tests
21239 wine_fn_config_makefile programs/regasm enable_regasm
21240 wine_fn_config_makefile programs/regedit enable_regedit
21241 wine_fn_config_makefile programs/regedit/tests enable_tests
21242 wine_fn_config_makefile programs/regini enable_regini
21243 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21244 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21245 wine_fn_config_makefile programs/rpcss enable_rpcss
21246 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21247 wine_fn_config_makefile programs/rundll32 enable_rundll32
21248 wine_fn_config_makefile programs/sc enable_sc
21249 wine_fn_config_makefile programs/schtasks enable_schtasks
21250 wine_fn_config_makefile programs/schtasks/tests enable_tests
21251 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21252 wine_fn_config_makefile programs/secedit enable_secedit
21253 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21254 wine_fn_config_makefile programs/services enable_services
21255 wine_fn_config_makefile programs/services/tests enable_tests
21256 wine_fn_config_makefile programs/shutdown enable_shutdown
21257 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21258 wine_fn_config_makefile programs/start enable_start
21259 wine_fn_config_makefile programs/subst enable_subst
21260 wine_fn_config_makefile programs/svchost enable_svchost
21261 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21262 wine_fn_config_makefile programs/taskkill enable_taskkill
21263 wine_fn_config_makefile programs/tasklist enable_tasklist
21264 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21265 wine_fn_config_makefile programs/termsv enable_termsv
21266 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21267 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21268 wine_fn_config_makefile programs/view enable_view
21269 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21270 wine_fn_config_makefile programs/whoami enable_whoami
21271 wine_fn_config_makefile programs/wineboot enable_wineboot
21272 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21273 wine_fn_config_makefile programs/winecfg enable_winecfg
21274 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21275 wine_fn_config_makefile programs/winedbg enable_winedbg
21276 wine_fn_config_makefile programs/winedevice enable_winedevice
21277 wine_fn_config_makefile programs/winefile enable_winefile
21278 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21279 wine_fn_config_makefile programs/winemine enable_winemine
21280 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21281 wine_fn_config_makefile programs/winepath enable_winepath
21282 wine_fn_config_makefile programs/winetest enable_winetest
21283 wine_fn_config_makefile programs/winevdm enable_win16
21284 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21285 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21286 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21287 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21288 wine_fn_config_makefile programs/winver enable_winver
21289 wine_fn_config_makefile programs/wmic enable_wmic
21290 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21291 wine_fn_config_makefile programs/wordpad enable_wordpad
21292 wine_fn_config_makefile programs/write enable_write
21293 wine_fn_config_makefile programs/wscript enable_wscript
21294 wine_fn_config_makefile programs/wscript/tests enable_tests
21295 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21296 wine_fn_config_makefile programs/wusa enable_wusa
21297 wine_fn_config_makefile programs/xcopy enable_xcopy
21298 wine_fn_config_makefile programs/xcopy/tests enable_tests
21299 wine_fn_config_makefile server enable_server
21300 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21301 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21302 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21303 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21304 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21305 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21306 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21307 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21308 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21311 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21312 wine_fn_append_file CONFIGURE_TARGETS "tags"
21313 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21314 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21315 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21316 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21317 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21318 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21320 if test "x$enable_tools" != xno
21321 then
21322 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21323 ac_config_commands="$ac_config_commands tools/makedep"
21327 ac_config_commands="$ac_config_commands Makefile"
21330 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21334 if test "x$enable_maintainer_mode" = xyes
21335 then
21336 wine_fn_append_rule "configure: configure.ac aclocal.m4
21337 autoconf --warnings=all
21338 include/config.h.in: include/stamp-h.in
21339 include/stamp-h.in: configure.ac aclocal.m4
21340 autoheader --warnings=all
21341 @echo timestamp > \$@"
21344 if test "x$enable_tools" != xno
21345 then
21346 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21347 @./config.status tools/makedep
21348 Makefile: tools/makedep$ac_exeext
21349 fonts: tools/sfnt2fon
21350 include: tools tools/widl"
21351 else
21352 wine_fn_append_rule "\$(MAKEDEP):
21353 @echo \"You need to run make in $TOOLSDIR first\" && false"
21356 if test -n "$with_wine64"
21357 then
21358 case "$with_wine64" in
21359 /*) reldir="" ;;
21360 *) reldir="../" ;;
21361 esac
21362 rm -f fonts server 2>/dev/null
21363 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21364 loader/wine64 loader/wine64-preloader:
21365 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21366 $with_wine64/loader/wine:
21367 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21368 $with_wine64/loader/wine-preloader:
21369 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21370 clean::
21371 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21372 else
21373 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21374 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21375 fonts \
21376 loader/wine.inf \
21377 loader/winebus.inf \
21378 loader/winehid.inf \
21379 nls \
21380 programs/msidb/msidb \
21381 programs/msiexec/msiexec \
21382 programs/notepad/notepad \
21383 programs/regedit/regedit \
21384 programs/regsvr32/regsvr32 \
21385 programs/wineboot/wineboot \
21386 programs/winecfg/winecfg \
21387 programs/wineconsole/wineconsole \
21388 programs/winedbg/winedbg \
21389 programs/winefile/winefile \
21390 programs/winemine/winemine \
21391 programs/winepath/winepath \
21392 server/wineserver"
21394 case $host_os in
21395 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21396 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21397 esac
21400 $as_echo " done" >&6
21401 cat >confcache <<\_ACEOF
21402 # This file is a shell script that caches the results of configure
21403 # tests run on this system so they can be shared between configure
21404 # scripts and configure runs, see configure's option --config-cache.
21405 # It is not useful on other systems. If it contains results you don't
21406 # want to keep, you may remove or edit it.
21408 # config.status only pays attention to the cache file if you give it
21409 # the --recheck option to rerun configure.
21411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21413 # following values.
21415 _ACEOF
21417 # The following way of writing the cache mishandles newlines in values,
21418 # but we know of no workaround that is simple, portable, and efficient.
21419 # So, we kill variables containing newlines.
21420 # Ultrix sh set writes to stderr and can't be redirected directly,
21421 # and sets the high bit in the cache file unless we assign to the vars.
21423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21424 eval ac_val=\$$ac_var
21425 case $ac_val in #(
21426 *${as_nl}*)
21427 case $ac_var in #(
21428 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21429 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21430 esac
21431 case $ac_var in #(
21432 _ | IFS | as_nl) ;; #(
21433 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21434 *) { eval $ac_var=; unset $ac_var;} ;;
21435 esac ;;
21436 esac
21437 done
21439 (set) 2>&1 |
21440 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21441 *${as_nl}ac_space=\ *)
21442 # `set' does not quote correctly, so add quotes: double-quote
21443 # substitution turns \\\\ into \\, and sed turns \\ into \.
21444 sed -n \
21445 "s/'/'\\\\''/g;
21446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21447 ;; #(
21449 # `set' quotes correctly as required by POSIX, so do not add quotes.
21450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21452 esac |
21453 sort
21455 sed '
21456 /^ac_cv_env_/b end
21457 t clear
21458 :clear
21459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21460 t end
21461 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21462 :end' >>confcache
21463 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21464 if test -w "$cache_file"; then
21465 if test "x$cache_file" != "x/dev/null"; then
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21467 $as_echo "$as_me: updating cache $cache_file" >&6;}
21468 if test ! -f "$cache_file" || test -h "$cache_file"; then
21469 cat confcache >"$cache_file"
21470 else
21471 case $cache_file in #(
21472 */* | ?:*)
21473 mv -f confcache "$cache_file"$$ &&
21474 mv -f "$cache_file"$$ "$cache_file" ;; #(
21476 mv -f confcache "$cache_file" ;;
21477 esac
21480 else
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21485 rm -f confcache
21487 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21488 # Let make expand exec_prefix.
21489 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21491 DEFS=-DHAVE_CONFIG_H
21493 ac_libobjs=
21494 ac_ltlibobjs=
21496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21497 # 1. Remove the extension, and $U if already installed.
21498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21501 # will be set to the directory where LIBOBJS objects are built.
21502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21504 done
21505 LIBOBJS=$ac_libobjs
21507 LTLIBOBJS=$ac_ltlibobjs
21511 : "${CONFIG_STATUS=./config.status}"
21512 ac_write_fail=0
21513 ac_clean_files_save=$ac_clean_files
21514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21517 as_write_fail=0
21518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21519 #! $SHELL
21520 # Generated by $as_me.
21521 # Run this file to recreate the current configuration.
21522 # Compiler output produced by configure, useful for debugging
21523 # configure, is in config.log if it exists.
21525 debug=false
21526 ac_cs_recheck=false
21527 ac_cs_silent=false
21529 SHELL=\${CONFIG_SHELL-$SHELL}
21530 export SHELL
21531 _ASEOF
21532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21533 ## -------------------- ##
21534 ## M4sh Initialization. ##
21535 ## -------------------- ##
21537 # Be more Bourne compatible
21538 DUALCASE=1; export DUALCASE # for MKS sh
21539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21540 emulate sh
21541 NULLCMD=:
21542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21543 # is contrary to our usage. Disable this feature.
21544 alias -g '${1+"$@"}'='"$@"'
21545 setopt NO_GLOB_SUBST
21546 else
21547 case `(set -o) 2>/dev/null` in #(
21548 *posix*) :
21549 set -o posix ;; #(
21550 *) :
21552 esac
21556 as_nl='
21558 export as_nl
21559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21560 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21563 # Prefer a ksh shell builtin over an external printf program on Solaris,
21564 # but without wasting forks for bash or zsh.
21565 if test -z "$BASH_VERSION$ZSH_VERSION" \
21566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21567 as_echo='print -r --'
21568 as_echo_n='print -rn --'
21569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21570 as_echo='printf %s\n'
21571 as_echo_n='printf %s'
21572 else
21573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21574 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21575 as_echo_n='/usr/ucb/echo -n'
21576 else
21577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21578 as_echo_n_body='eval
21579 arg=$1;
21580 case $arg in #(
21581 *"$as_nl"*)
21582 expr "X$arg" : "X\\(.*\\)$as_nl";
21583 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21584 esac;
21585 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21587 export as_echo_n_body
21588 as_echo_n='sh -c $as_echo_n_body as_echo'
21590 export as_echo_body
21591 as_echo='sh -c $as_echo_body as_echo'
21594 # The user is always right.
21595 if test "${PATH_SEPARATOR+set}" != set; then
21596 PATH_SEPARATOR=:
21597 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21598 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21599 PATH_SEPARATOR=';'
21604 # IFS
21605 # We need space, tab and new line, in precisely that order. Quoting is
21606 # there to prevent editors from complaining about space-tab.
21607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21608 # splitting by setting IFS to empty value.)
21609 IFS=" "" $as_nl"
21611 # Find who we are. Look in the path if we contain no directory separator.
21612 as_myself=
21613 case $0 in #((
21614 *[\\/]* ) as_myself=$0 ;;
21615 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21616 for as_dir in $PATH
21618 IFS=$as_save_IFS
21619 test -z "$as_dir" && as_dir=.
21620 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21621 done
21622 IFS=$as_save_IFS
21625 esac
21626 # We did not find ourselves, most probably we were run as `sh COMMAND'
21627 # in which case we are not to be found in the path.
21628 if test "x$as_myself" = x; then
21629 as_myself=$0
21631 if test ! -f "$as_myself"; then
21632 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21633 exit 1
21636 # Unset variables that we do not need and which cause bugs (e.g. in
21637 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21638 # suppresses any "Segmentation fault" message there. '((' could
21639 # trigger a bug in pdksh 5.2.14.
21640 for as_var in BASH_ENV ENV MAIL MAILPATH
21641 do eval test x\${$as_var+set} = xset \
21642 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21643 done
21644 PS1='$ '
21645 PS2='> '
21646 PS4='+ '
21648 # NLS nuisances.
21649 LC_ALL=C
21650 export LC_ALL
21651 LANGUAGE=C
21652 export LANGUAGE
21654 # CDPATH.
21655 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21658 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21659 # ----------------------------------------
21660 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21661 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21662 # script with STATUS, using 1 if that was 0.
21663 as_fn_error ()
21665 as_status=$1; test $as_status -eq 0 && as_status=1
21666 if test "$4"; then
21667 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21668 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21670 $as_echo "$as_me: error: $2" >&2
21671 as_fn_exit $as_status
21672 } # as_fn_error
21675 # as_fn_set_status STATUS
21676 # -----------------------
21677 # Set $? to STATUS, without forking.
21678 as_fn_set_status ()
21680 return $1
21681 } # as_fn_set_status
21683 # as_fn_exit STATUS
21684 # -----------------
21685 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21686 as_fn_exit ()
21688 set +e
21689 as_fn_set_status $1
21690 exit $1
21691 } # as_fn_exit
21693 # as_fn_unset VAR
21694 # ---------------
21695 # Portably unset VAR.
21696 as_fn_unset ()
21698 { eval $1=; unset $1;}
21700 as_unset=as_fn_unset
21701 # as_fn_append VAR VALUE
21702 # ----------------------
21703 # Append the text in VALUE to the end of the definition contained in VAR. Take
21704 # advantage of any shell optimizations that allow amortized linear growth over
21705 # repeated appends, instead of the typical quadratic growth present in naive
21706 # implementations.
21707 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21708 eval 'as_fn_append ()
21710 eval $1+=\$2
21712 else
21713 as_fn_append ()
21715 eval $1=\$$1\$2
21717 fi # as_fn_append
21719 # as_fn_arith ARG...
21720 # ------------------
21721 # Perform arithmetic evaluation on the ARGs, and store the result in the
21722 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21723 # must be portable across $(()) and expr.
21724 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21725 eval 'as_fn_arith ()
21727 as_val=$(( $* ))
21729 else
21730 as_fn_arith ()
21732 as_val=`expr "$@" || test $? -eq 1`
21734 fi # as_fn_arith
21737 if expr a : '\(a\)' >/dev/null 2>&1 &&
21738 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21739 as_expr=expr
21740 else
21741 as_expr=false
21744 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21745 as_basename=basename
21746 else
21747 as_basename=false
21750 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21751 as_dirname=dirname
21752 else
21753 as_dirname=false
21756 as_me=`$as_basename -- "$0" ||
21757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21758 X"$0" : 'X\(//\)$' \| \
21759 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21760 $as_echo X/"$0" |
21761 sed '/^.*\/\([^/][^/]*\)\/*$/{
21762 s//\1/
21765 /^X\/\(\/\/\)$/{
21766 s//\1/
21769 /^X\/\(\/\).*/{
21770 s//\1/
21773 s/.*/./; q'`
21775 # Avoid depending upon Character Ranges.
21776 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21777 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21778 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21779 as_cr_digits='0123456789'
21780 as_cr_alnum=$as_cr_Letters$as_cr_digits
21782 ECHO_C= ECHO_N= ECHO_T=
21783 case `echo -n x` in #(((((
21784 -n*)
21785 case `echo 'xy\c'` in
21786 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21787 xy) ECHO_C='\c';;
21788 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21789 ECHO_T=' ';;
21790 esac;;
21792 ECHO_N='-n';;
21793 esac
21795 rm -f conf$$ conf$$.exe conf$$.file
21796 if test -d conf$$.dir; then
21797 rm -f conf$$.dir/conf$$.file
21798 else
21799 rm -f conf$$.dir
21800 mkdir conf$$.dir 2>/dev/null
21802 if (echo >conf$$.file) 2>/dev/null; then
21803 if ln -s conf$$.file conf$$ 2>/dev/null; then
21804 as_ln_s='ln -s'
21805 # ... but there are two gotchas:
21806 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21807 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21808 # In both cases, we have to default to `cp -pR'.
21809 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21810 as_ln_s='cp -pR'
21811 elif ln conf$$.file conf$$ 2>/dev/null; then
21812 as_ln_s=ln
21813 else
21814 as_ln_s='cp -pR'
21816 else
21817 as_ln_s='cp -pR'
21819 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21820 rmdir conf$$.dir 2>/dev/null
21823 # as_fn_mkdir_p
21824 # -------------
21825 # Create "$as_dir" as a directory, including parents if necessary.
21826 as_fn_mkdir_p ()
21829 case $as_dir in #(
21830 -*) as_dir=./$as_dir;;
21831 esac
21832 test -d "$as_dir" || eval $as_mkdir_p || {
21833 as_dirs=
21834 while :; do
21835 case $as_dir in #(
21836 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21837 *) as_qdir=$as_dir;;
21838 esac
21839 as_dirs="'$as_qdir' $as_dirs"
21840 as_dir=`$as_dirname -- "$as_dir" ||
21841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21842 X"$as_dir" : 'X\(//\)[^/]' \| \
21843 X"$as_dir" : 'X\(//\)$' \| \
21844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21845 $as_echo X"$as_dir" |
21846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21847 s//\1/
21850 /^X\(\/\/\)[^/].*/{
21851 s//\1/
21854 /^X\(\/\/\)$/{
21855 s//\1/
21858 /^X\(\/\).*/{
21859 s//\1/
21862 s/.*/./; q'`
21863 test -d "$as_dir" && break
21864 done
21865 test -z "$as_dirs" || eval "mkdir $as_dirs"
21866 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21869 } # as_fn_mkdir_p
21870 if mkdir -p . 2>/dev/null; then
21871 as_mkdir_p='mkdir -p "$as_dir"'
21872 else
21873 test -d ./-p && rmdir ./-p
21874 as_mkdir_p=false
21878 # as_fn_executable_p FILE
21879 # -----------------------
21880 # Test if FILE is an executable regular file.
21881 as_fn_executable_p ()
21883 test -f "$1" && test -x "$1"
21884 } # as_fn_executable_p
21885 as_test_x='test -x'
21886 as_executable_p=as_fn_executable_p
21888 # Sed expression to map a string onto a valid CPP name.
21889 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21891 # Sed expression to map a string onto a valid variable name.
21892 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21895 exec 6>&1
21896 ## ----------------------------------- ##
21897 ## Main body of $CONFIG_STATUS script. ##
21898 ## ----------------------------------- ##
21899 _ASEOF
21900 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21903 # Save the log message, to keep $0 and so on meaningful, and to
21904 # report actual input values of CONFIG_FILES etc. instead of their
21905 # values after options handling.
21906 ac_log="
21907 This file was extended by Wine $as_me 5.3, which was
21908 generated by GNU Autoconf 2.69. Invocation command line was
21910 CONFIG_FILES = $CONFIG_FILES
21911 CONFIG_HEADERS = $CONFIG_HEADERS
21912 CONFIG_LINKS = $CONFIG_LINKS
21913 CONFIG_COMMANDS = $CONFIG_COMMANDS
21914 $ $0 $@
21916 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21919 _ACEOF
21921 case $ac_config_files in *"
21922 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21923 esac
21925 case $ac_config_headers in *"
21926 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21927 esac
21930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21931 # Files that config.status was made for.
21932 config_files="$ac_config_files"
21933 config_headers="$ac_config_headers"
21934 config_links="$ac_config_links"
21935 config_commands="$ac_config_commands"
21937 _ACEOF
21939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21940 ac_cs_usage="\
21941 \`$as_me' instantiates files and other configuration actions
21942 from templates according to the current configuration. Unless the files
21943 and actions are specified as TAGs, all are instantiated by default.
21945 Usage: $0 [OPTION]... [TAG]...
21947 -h, --help print this help, then exit
21948 -V, --version print version number and configuration settings, then exit
21949 --config print configuration, then exit
21950 -q, --quiet, --silent
21951 do not print progress messages
21952 -d, --debug don't remove temporary files
21953 --recheck update $as_me by reconfiguring in the same conditions
21954 --file=FILE[:TEMPLATE]
21955 instantiate the configuration file FILE
21956 --header=FILE[:TEMPLATE]
21957 instantiate the configuration header FILE
21959 Configuration files:
21960 $config_files
21962 Configuration headers:
21963 $config_headers
21965 Configuration links:
21966 $config_links
21968 Configuration commands:
21969 $config_commands
21971 Report bugs to <wine-devel@winehq.org>.
21972 Wine home page: <https://www.winehq.org>."
21974 _ACEOF
21975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21976 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21977 ac_cs_version="\\
21978 Wine config.status 5.3
21979 configured by $0, generated by GNU Autoconf 2.69,
21980 with options \\"\$ac_cs_config\\"
21982 Copyright (C) 2012 Free Software Foundation, Inc.
21983 This config.status script is free software; the Free Software Foundation
21984 gives unlimited permission to copy, distribute and modify it."
21986 ac_pwd='$ac_pwd'
21987 srcdir='$srcdir'
21988 test -n "\$AWK" || AWK=awk
21989 _ACEOF
21991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21992 # The default lists apply if the user does not specify any file.
21993 ac_need_defaults=:
21994 while test $# != 0
21996 case $1 in
21997 --*=?*)
21998 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21999 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22000 ac_shift=:
22002 --*=)
22003 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22004 ac_optarg=
22005 ac_shift=:
22008 ac_option=$1
22009 ac_optarg=$2
22010 ac_shift=shift
22012 esac
22014 case $ac_option in
22015 # Handling of the options.
22016 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22017 ac_cs_recheck=: ;;
22018 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22019 $as_echo "$ac_cs_version"; exit ;;
22020 --config | --confi | --conf | --con | --co | --c )
22021 $as_echo "$ac_cs_config"; exit ;;
22022 --debug | --debu | --deb | --de | --d | -d )
22023 debug=: ;;
22024 --file | --fil | --fi | --f )
22025 $ac_shift
22026 case $ac_optarg in
22027 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22028 '') as_fn_error $? "missing file argument" ;;
22029 esac
22030 as_fn_append CONFIG_FILES " '$ac_optarg'"
22031 ac_need_defaults=false;;
22032 --header | --heade | --head | --hea )
22033 $ac_shift
22034 case $ac_optarg in
22035 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22036 esac
22037 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22038 ac_need_defaults=false;;
22039 --he | --h)
22040 # Conflict between --help and --header
22041 as_fn_error $? "ambiguous option: \`$1'
22042 Try \`$0 --help' for more information.";;
22043 --help | --hel | -h )
22044 $as_echo "$ac_cs_usage"; exit ;;
22045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22046 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22047 ac_cs_silent=: ;;
22049 # This is an error.
22050 -*) as_fn_error $? "unrecognized option: \`$1'
22051 Try \`$0 --help' for more information." ;;
22053 *) as_fn_append ac_config_targets " $1"
22054 ac_need_defaults=false ;;
22056 esac
22057 shift
22058 done
22060 ac_configure_extra_args=
22062 if $ac_cs_silent; then
22063 exec 6>/dev/null
22064 ac_configure_extra_args="$ac_configure_extra_args --silent"
22067 _ACEOF
22068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22069 if \$ac_cs_recheck; then
22070 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22071 shift
22072 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22073 CONFIG_SHELL='$SHELL'
22074 export CONFIG_SHELL
22075 exec "\$@"
22078 _ACEOF
22079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22080 exec 5>>config.log
22082 echo
22083 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22084 ## Running $as_me. ##
22085 _ASBOX
22086 $as_echo "$ac_log"
22087 } >&5
22089 _ACEOF
22090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22092 # INIT-COMMANDS
22094 wine_fn_output_makedep ()
22096 as_dir=tools; as_fn_mkdir_p
22097 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22099 wine_fn_output_makefile ()
22101 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22102 `cat $wine_rules_file`
22103 _WINE_EOF
22104 as_fn_error $? "could not create Makefile" "$LINENO" 5
22107 _ACEOF
22109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22111 # Handling of arguments.
22112 for ac_config_target in $ac_config_targets
22114 case $ac_config_target in
22115 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22116 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22117 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22118 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22119 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22120 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22121 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22123 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22124 esac
22125 done
22128 # If the user did not use the arguments to specify the items to instantiate,
22129 # then the envvar interface is used. Set only those that are not.
22130 # We use the long form for the default assignment because of an extremely
22131 # bizarre bug on SunOS 4.1.3.
22132 if $ac_need_defaults; then
22133 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22134 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22135 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22136 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22139 # Have a temporary directory for convenience. Make it in the build tree
22140 # simply because there is no reason against having it here, and in addition,
22141 # creating and moving files from /tmp can sometimes cause problems.
22142 # Hook for its removal unless debugging.
22143 # Note that there is a small window in which the directory will not be cleaned:
22144 # after its creation but before its name has been assigned to `$tmp'.
22145 $debug ||
22147 tmp= ac_tmp=
22148 trap 'exit_status=$?
22149 : "${ac_tmp:=$tmp}"
22150 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22152 trap 'as_fn_exit 1' 1 2 13 15
22154 # Create a (secure) tmp directory for tmp files.
22157 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22158 test -d "$tmp"
22159 } ||
22161 tmp=./conf$$-$RANDOM
22162 (umask 077 && mkdir "$tmp")
22163 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22164 ac_tmp=$tmp
22166 # Set up the scripts for CONFIG_FILES section.
22167 # No need to generate them if there are no CONFIG_FILES.
22168 # This happens for instance with `./config.status config.h'.
22169 if test -n "$CONFIG_FILES"; then
22172 ac_cr=`echo X | tr X '\015'`
22173 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22174 # But we know of no other shell where ac_cr would be empty at this
22175 # point, so we can use a bashism as a fallback.
22176 if test "x$ac_cr" = x; then
22177 eval ac_cr=\$\'\\r\'
22179 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22180 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22181 ac_cs_awk_cr='\\r'
22182 else
22183 ac_cs_awk_cr=$ac_cr
22186 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22187 _ACEOF
22191 echo "cat >conf$$subs.awk <<_ACEOF" &&
22192 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22193 echo "_ACEOF"
22194 } >conf$$subs.sh ||
22195 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22196 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22197 ac_delim='%!_!# '
22198 for ac_last_try in false false false false false :; do
22199 . ./conf$$subs.sh ||
22200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22202 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22203 if test $ac_delim_n = $ac_delim_num; then
22204 break
22205 elif $ac_last_try; then
22206 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22207 else
22208 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22210 done
22211 rm -f conf$$subs.sh
22213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22214 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22215 _ACEOF
22216 sed -n '
22218 s/^/S["/; s/!.*/"]=/
22221 s/^[^!]*!//
22222 :repl
22223 t repl
22224 s/'"$ac_delim"'$//
22225 t delim
22228 s/\(.\{148\}\)..*/\1/
22229 t more1
22230 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22233 b repl
22234 :more1
22235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22238 s/.\{148\}//
22239 t nl
22240 :delim
22242 s/\(.\{148\}\)..*/\1/
22243 t more2
22244 s/["\\]/\\&/g; s/^/"/; s/$/"/
22247 :more2
22248 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22251 s/.\{148\}//
22252 t delim
22253 ' <conf$$subs.awk | sed '
22254 /^[^""]/{
22256 s/\n//
22258 ' >>$CONFIG_STATUS || ac_write_fail=1
22259 rm -f conf$$subs.awk
22260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22261 _ACAWK
22262 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22263 for (key in S) S_is_set[key] = 1
22264 FS = "\a"
22268 line = $ 0
22269 nfields = split(line, field, "@")
22270 substed = 0
22271 len = length(field[1])
22272 for (i = 2; i < nfields; i++) {
22273 key = field[i]
22274 keylen = length(key)
22275 if (S_is_set[key]) {
22276 value = S[key]
22277 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22278 len += length(value) + length(field[++i])
22279 substed = 1
22280 } else
22281 len += 1 + keylen
22284 print line
22287 _ACAWK
22288 _ACEOF
22289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22290 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22291 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22292 else
22294 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22295 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22296 _ACEOF
22298 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22299 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22300 # trailing colons and then remove the whole line if VPATH becomes empty
22301 # (actually we leave an empty line to preserve line numbers).
22302 if test "x$srcdir" = x.; then
22303 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22305 s///
22306 s/^/:/
22307 s/[ ]*$/:/
22308 s/:\$(srcdir):/:/g
22309 s/:\${srcdir}:/:/g
22310 s/:@srcdir@:/:/g
22311 s/^:*//
22312 s/:*$//
22314 s/\(=[ ]*\).*/\1/
22316 s/\n//
22317 s/^[^=]*=[ ]*$//
22321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22322 fi # test -n "$CONFIG_FILES"
22324 # Set up the scripts for CONFIG_HEADERS section.
22325 # No need to generate them if there are no CONFIG_HEADERS.
22326 # This happens for instance with `./config.status Makefile'.
22327 if test -n "$CONFIG_HEADERS"; then
22328 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22329 BEGIN {
22330 _ACEOF
22332 # Transform confdefs.h into an awk script `defines.awk', embedded as
22333 # here-document in config.status, that substitutes the proper values into
22334 # config.h.in to produce config.h.
22336 # Create a delimiter string that does not exist in confdefs.h, to ease
22337 # handling of long lines.
22338 ac_delim='%!_!# '
22339 for ac_last_try in false false :; do
22340 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22341 if test -z "$ac_tt"; then
22342 break
22343 elif $ac_last_try; then
22344 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22345 else
22346 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22348 done
22350 # For the awk script, D is an array of macro values keyed by name,
22351 # likewise P contains macro parameters if any. Preserve backslash
22352 # newline sequences.
22354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22355 sed -n '
22356 s/.\{148\}/&'"$ac_delim"'/g
22357 t rset
22358 :rset
22359 s/^[ ]*#[ ]*define[ ][ ]*/ /
22360 t def
22362 :def
22363 s/\\$//
22364 t bsnl
22365 s/["\\]/\\&/g
22366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22367 D["\1"]=" \3"/p
22368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22370 :bsnl
22371 s/["\\]/\\&/g
22372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22373 D["\1"]=" \3\\\\\\n"\\/p
22374 t cont
22375 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22376 t cont
22378 :cont
22380 s/.\{148\}/&'"$ac_delim"'/g
22381 t clear
22382 :clear
22383 s/\\$//
22384 t bsnlc
22385 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22387 :bsnlc
22388 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22389 b cont
22390 ' <confdefs.h | sed '
22391 s/'"$ac_delim"'/"\\\
22392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22395 for (key in D) D_is_set[key] = 1
22396 FS = "\a"
22398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22399 line = \$ 0
22400 split(line, arg, " ")
22401 if (arg[1] == "#") {
22402 defundef = arg[2]
22403 mac1 = arg[3]
22404 } else {
22405 defundef = substr(arg[1], 2)
22406 mac1 = arg[2]
22408 split(mac1, mac2, "(") #)
22409 macro = mac2[1]
22410 prefix = substr(line, 1, index(line, defundef) - 1)
22411 if (D_is_set[macro]) {
22412 # Preserve the white space surrounding the "#".
22413 print prefix "define", macro P[macro] D[macro]
22414 next
22415 } else {
22416 # Replace #undef with comments. This is necessary, for example,
22417 # in the case of _POSIX_SOURCE, which is predefined and required
22418 # on some systems where configure will not decide to define it.
22419 if (defundef == "undef") {
22420 print "/*", prefix defundef, macro, "*/"
22421 next
22425 { print }
22426 _ACAWK
22427 _ACEOF
22428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22429 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22430 fi # test -n "$CONFIG_HEADERS"
22433 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22434 shift
22435 for ac_tag
22437 case $ac_tag in
22438 :[FHLC]) ac_mode=$ac_tag; continue;;
22439 esac
22440 case $ac_mode$ac_tag in
22441 :[FHL]*:*);;
22442 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22443 :[FH]-) ac_tag=-:-;;
22444 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22445 esac
22446 ac_save_IFS=$IFS
22447 IFS=:
22448 set x $ac_tag
22449 IFS=$ac_save_IFS
22450 shift
22451 ac_file=$1
22452 shift
22454 case $ac_mode in
22455 :L) ac_source=$1;;
22456 :[FH])
22457 ac_file_inputs=
22458 for ac_f
22460 case $ac_f in
22461 -) ac_f="$ac_tmp/stdin";;
22462 *) # Look for the file first in the build tree, then in the source tree
22463 # (if the path is not absolute). The absolute path cannot be DOS-style,
22464 # because $ac_f cannot contain `:'.
22465 test -f "$ac_f" ||
22466 case $ac_f in
22467 [\\/$]*) false;;
22468 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22469 esac ||
22470 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22471 esac
22472 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22473 as_fn_append ac_file_inputs " '$ac_f'"
22474 done
22476 # Let's still pretend it is `configure' which instantiates (i.e., don't
22477 # use $as_me), people would be surprised to read:
22478 # /* config.h. Generated by config.status. */
22479 configure_input='Generated from '`
22480 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22481 `' by configure.'
22482 if test x"$ac_file" != x-; then
22483 configure_input="$ac_file. $configure_input"
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22485 $as_echo "$as_me: creating $ac_file" >&6;}
22487 # Neutralize special characters interpreted by sed in replacement strings.
22488 case $configure_input in #(
22489 *\&* | *\|* | *\\* )
22490 ac_sed_conf_input=`$as_echo "$configure_input" |
22491 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22492 *) ac_sed_conf_input=$configure_input;;
22493 esac
22495 case $ac_tag in
22496 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22498 esac
22500 esac
22502 ac_dir=`$as_dirname -- "$ac_file" ||
22503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22504 X"$ac_file" : 'X\(//\)[^/]' \| \
22505 X"$ac_file" : 'X\(//\)$' \| \
22506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22507 $as_echo X"$ac_file" |
22508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22509 s//\1/
22512 /^X\(\/\/\)[^/].*/{
22513 s//\1/
22516 /^X\(\/\/\)$/{
22517 s//\1/
22520 /^X\(\/\).*/{
22521 s//\1/
22524 s/.*/./; q'`
22525 as_dir="$ac_dir"; as_fn_mkdir_p
22526 ac_builddir=.
22528 case "$ac_dir" in
22529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22532 # A ".." for each directory in $ac_dir_suffix.
22533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22534 case $ac_top_builddir_sub in
22535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22537 esac ;;
22538 esac
22539 ac_abs_top_builddir=$ac_pwd
22540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22541 # for backward compatibility:
22542 ac_top_builddir=$ac_top_build_prefix
22544 case $srcdir in
22545 .) # We are building in place.
22546 ac_srcdir=.
22547 ac_top_srcdir=$ac_top_builddir_sub
22548 ac_abs_top_srcdir=$ac_pwd ;;
22549 [\\/]* | ?:[\\/]* ) # Absolute name.
22550 ac_srcdir=$srcdir$ac_dir_suffix;
22551 ac_top_srcdir=$srcdir
22552 ac_abs_top_srcdir=$srcdir ;;
22553 *) # Relative name.
22554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22555 ac_top_srcdir=$ac_top_build_prefix$srcdir
22556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22557 esac
22558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22561 case $ac_mode in
22564 # CONFIG_FILE
22567 _ACEOF
22569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22570 # If the template does not know about datarootdir, expand it.
22571 # FIXME: This hack should be removed a few years after 2.60.
22572 ac_datarootdir_hack=; ac_datarootdir_seen=
22573 ac_sed_dataroot='
22574 /datarootdir/ {
22578 /@datadir@/p
22579 /@docdir@/p
22580 /@infodir@/p
22581 /@localedir@/p
22582 /@mandir@/p'
22583 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22584 *datarootdir*) ac_datarootdir_seen=yes;;
22585 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22587 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22588 _ACEOF
22589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22590 ac_datarootdir_hack='
22591 s&@datadir@&$datadir&g
22592 s&@docdir@&$docdir&g
22593 s&@infodir@&$infodir&g
22594 s&@localedir@&$localedir&g
22595 s&@mandir@&$mandir&g
22596 s&\\\${datarootdir}&$datarootdir&g' ;;
22597 esac
22598 _ACEOF
22600 # Neutralize VPATH when `$srcdir' = `.'.
22601 # Shell code in configure.ac might set extrasub.
22602 # FIXME: do we really want to maintain this feature?
22603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22604 ac_sed_extra="$ac_vpsub
22605 $extrasub
22606 _ACEOF
22607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22610 s|@configure_input@|$ac_sed_conf_input|;t t
22611 s&@top_builddir@&$ac_top_builddir_sub&;t t
22612 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22613 s&@srcdir@&$ac_srcdir&;t t
22614 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22615 s&@top_srcdir@&$ac_top_srcdir&;t t
22616 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22617 s&@builddir@&$ac_builddir&;t t
22618 s&@abs_builddir@&$ac_abs_builddir&;t t
22619 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22620 $ac_datarootdir_hack
22622 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22623 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22625 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22626 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22627 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22628 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22630 which seems to be undefined. Please make sure it is defined" >&5
22631 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22632 which seems to be undefined. Please make sure it is defined" >&2;}
22634 rm -f "$ac_tmp/stdin"
22635 case $ac_file in
22636 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22637 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22638 esac \
22639 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22643 # CONFIG_HEADER
22645 if test x"$ac_file" != x-; then
22647 $as_echo "/* $configure_input */" \
22648 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22649 } >"$ac_tmp/config.h" \
22650 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22651 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22653 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22654 else
22655 rm -f "$ac_file"
22656 mv "$ac_tmp/config.h" "$ac_file" \
22657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22659 else
22660 $as_echo "/* $configure_input */" \
22661 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22662 || as_fn_error $? "could not create -" "$LINENO" 5
22667 # CONFIG_LINK
22670 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22672 else
22673 # Prefer the file from the source tree if names are identical.
22674 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22675 ac_source=$srcdir/$ac_source
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22679 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22681 if test ! -r "$ac_source"; then
22682 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22684 rm -f "$ac_file"
22686 # Try a relative symlink, then a hard link, then a copy.
22687 case $ac_source in
22688 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22689 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22690 esac
22691 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22692 ln "$ac_source" "$ac_file" 2>/dev/null ||
22693 cp -p "$ac_source" "$ac_file" ||
22694 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22697 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22698 $as_echo "$as_me: executing $ac_file commands" >&6;}
22700 esac
22703 case $ac_file$ac_mode in
22704 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22705 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22706 "Makefile":C) wine_fn_output_makefile Makefile ;;
22708 esac
22709 done # for ac_tag
22712 as_fn_exit 0
22713 _ACEOF
22714 ac_clean_files=$ac_clean_files_save
22716 test $ac_write_fail = 0 ||
22717 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22720 # configure is writing to config.log, and then calls config.status.
22721 # config.status does its own redirection, appending to config.log.
22722 # Unfortunately, on DOS this fails, as config.log is still kept open
22723 # by configure, so config.status won't be able to write to it; its
22724 # output is simply discarded. So we exec the FD to /dev/null,
22725 # effectively closing config.log, so it can be properly (re)opened and
22726 # appended to by config.status. When coming back to configure, we
22727 # need to make the FD available again.
22728 if test "$no_create" != yes; then
22729 ac_cs_success=:
22730 ac_config_status_args=
22731 test "$silent" = yes &&
22732 ac_config_status_args="$ac_config_status_args --quiet"
22733 exec 5>/dev/null
22734 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22735 exec 5>>config.log
22736 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22737 # would make configure fail if this is the last instruction.
22738 $ac_cs_success || as_fn_exit 1
22740 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22742 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22746 if test "$no_create" = "yes"
22747 then
22748 exit 0
22751 ac_save_IFS="$IFS"
22752 if test "x$wine_notices" != x; then
22753 echo >&6
22754 IFS="|"
22755 for msg in $wine_notices; do
22756 IFS="$ac_save_IFS"
22757 if ${msg:+false} :; then :
22759 else
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22761 $as_echo "$as_me: $msg" >&6;}
22763 done
22765 IFS="|"
22766 for msg in $wine_warnings; do
22767 IFS="$ac_save_IFS"
22768 if ${msg:+false} :; then :
22770 else
22771 echo >&2
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22773 $as_echo "$as_me: WARNING: $msg" >&2;}
22775 done
22776 IFS="$ac_save_IFS"
22778 $as_echo "
22779 $as_me: Finished. Do '${ac_make}' to compile Wine.
22780 " >&6