wined3d: Destroy GPU resources from the CS thread in adapter_vk_uninit_3d().
[wine.git] / configure
blob032ba6811c2660fce9c57ff39e163e11d5768fe6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.21.
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='4.21'
584 PACKAGE_STRING='Wine 4.21'
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 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_sane
880 with_sdl
881 with_tiff
882 with_udev
883 with_unwind
884 with_v4l2
885 with_vkd3d
886 with_vulkan
887 with_xcomposite
888 with_xcursor
889 with_xfixes
890 with_xinerama
891 with_xinput
892 with_xinput2
893 with_xml
894 with_xrandr
895 with_xrender
896 with_xshape
897 with_xshm
898 with_xslt
899 with_xxf86vm
900 with_zlib
901 with_wine_tools
902 with_wine64
903 enable_largefile
904 with_x
905 enable_acledit
906 enable_aclui
907 enable_activeds
908 enable_actxprxy
909 enable_adsiid
910 enable_adsldp
911 enable_adsldpc
912 enable_advapi32
913 enable_advpack
914 enable_amsi
915 enable_amstream
916 enable_api_ms_win_appmodel_identity_l1_1_0
917 enable_api_ms_win_appmodel_runtime_l1_1_1
918 enable_api_ms_win_appmodel_runtime_l1_1_2
919 enable_api_ms_win_core_apiquery_l1_1_0
920 enable_api_ms_win_core_appcompat_l1_1_1
921 enable_api_ms_win_core_appinit_l1_1_0
922 enable_api_ms_win_core_atoms_l1_1_0
923 enable_api_ms_win_core_bem_l1_1_0
924 enable_api_ms_win_core_com_l1_1_0
925 enable_api_ms_win_core_com_l1_1_1
926 enable_api_ms_win_core_com_private_l1_1_0
927 enable_api_ms_win_core_comm_l1_1_0
928 enable_api_ms_win_core_console_l1_1_0
929 enable_api_ms_win_core_console_l2_1_0
930 enable_api_ms_win_core_crt_l1_1_0
931 enable_api_ms_win_core_crt_l2_1_0
932 enable_api_ms_win_core_datetime_l1_1_0
933 enable_api_ms_win_core_datetime_l1_1_1
934 enable_api_ms_win_core_debug_l1_1_0
935 enable_api_ms_win_core_debug_l1_1_1
936 enable_api_ms_win_core_delayload_l1_1_0
937 enable_api_ms_win_core_delayload_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_0
939 enable_api_ms_win_core_errorhandling_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_2
941 enable_api_ms_win_core_errorhandling_l1_1_3
942 enable_api_ms_win_core_fibers_l1_1_0
943 enable_api_ms_win_core_fibers_l1_1_1
944 enable_api_ms_win_core_file_l1_1_0
945 enable_api_ms_win_core_file_l1_2_0
946 enable_api_ms_win_core_file_l1_2_1
947 enable_api_ms_win_core_file_l1_2_2
948 enable_api_ms_win_core_file_l2_1_0
949 enable_api_ms_win_core_file_l2_1_1
950 enable_api_ms_win_core_file_l2_1_2
951 enable_api_ms_win_core_handle_l1_1_0
952 enable_api_ms_win_core_heap_l1_1_0
953 enable_api_ms_win_core_heap_l1_2_0
954 enable_api_ms_win_core_heap_l2_1_0
955 enable_api_ms_win_core_heap_obsolete_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_2_0
958 enable_api_ms_win_core_io_l1_1_0
959 enable_api_ms_win_core_io_l1_1_1
960 enable_api_ms_win_core_job_l1_1_0
961 enable_api_ms_win_core_job_l2_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_1
964 enable_api_ms_win_core_kernel32_private_l1_1_1
965 enable_api_ms_win_core_largeinteger_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_1
968 enable_api_ms_win_core_libraryloader_l1_2_0
969 enable_api_ms_win_core_libraryloader_l1_2_1
970 enable_api_ms_win_core_libraryloader_l1_2_2
971 enable_api_ms_win_core_localization_l1_1_0
972 enable_api_ms_win_core_localization_l1_2_0
973 enable_api_ms_win_core_localization_l1_2_1
974 enable_api_ms_win_core_localization_l2_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_2_0
977 enable_api_ms_win_core_localization_obsolete_l1_3_0
978 enable_api_ms_win_core_localization_private_l1_1_0
979 enable_api_ms_win_core_localregistry_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_1
982 enable_api_ms_win_core_memory_l1_1_2
983 enable_api_ms_win_core_misc_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_2_0
986 enable_api_ms_win_core_namespace_l1_1_0
987 enable_api_ms_win_core_normalization_l1_1_0
988 enable_api_ms_win_core_path_l1_1_0
989 enable_api_ms_win_core_privateprofile_l1_1_1
990 enable_api_ms_win_core_processenvironment_l1_1_0
991 enable_api_ms_win_core_processenvironment_l1_2_0
992 enable_api_ms_win_core_processthreads_l1_1_0
993 enable_api_ms_win_core_processthreads_l1_1_1
994 enable_api_ms_win_core_processthreads_l1_1_2
995 enable_api_ms_win_core_processthreads_l1_1_3
996 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
997 enable_api_ms_win_core_profile_l1_1_0
998 enable_api_ms_win_core_psapi_ansi_l1_1_0
999 enable_api_ms_win_core_psapi_l1_1_0
1000 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1001 enable_api_ms_win_core_quirks_l1_1_0
1002 enable_api_ms_win_core_realtime_l1_1_0
1003 enable_api_ms_win_core_registry_l1_1_0
1004 enable_api_ms_win_core_registry_l2_1_0
1005 enable_api_ms_win_core_registryuserspecific_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_2_0
1008 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1011 enable_api_ms_win_core_shutdown_l1_1_0
1012 enable_api_ms_win_core_sidebyside_l1_1_0
1013 enable_api_ms_win_core_string_l1_1_0
1014 enable_api_ms_win_core_string_l2_1_0
1015 enable_api_ms_win_core_string_obsolete_l1_1_0
1016 enable_api_ms_win_core_stringansi_l1_1_0
1017 enable_api_ms_win_core_stringloader_l1_1_1
1018 enable_api_ms_win_core_synch_ansi_l1_1_0
1019 enable_api_ms_win_core_synch_l1_1_0
1020 enable_api_ms_win_core_synch_l1_2_0
1021 enable_api_ms_win_core_synch_l1_2_1
1022 enable_api_ms_win_core_sysinfo_l1_1_0
1023 enable_api_ms_win_core_sysinfo_l1_2_0
1024 enable_api_ms_win_core_sysinfo_l1_2_1
1025 enable_api_ms_win_core_threadpool_l1_1_0
1026 enable_api_ms_win_core_threadpool_l1_2_0
1027 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1028 enable_api_ms_win_core_threadpool_private_l1_1_0
1029 enable_api_ms_win_core_timezone_l1_1_0
1030 enable_api_ms_win_core_toolhelp_l1_1_0
1031 enable_api_ms_win_core_url_l1_1_0
1032 enable_api_ms_win_core_util_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_1
1035 enable_api_ms_win_core_version_private_l1_1_0
1036 enable_api_ms_win_core_versionansi_l1_1_0
1037 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_1
1040 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1041 enable_api_ms_win_core_winrt_l1_1_0
1042 enable_api_ms_win_core_winrt_registration_l1_1_0
1043 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_1
1046 enable_api_ms_win_core_wow64_l1_1_0
1047 enable_api_ms_win_core_wow64_l1_1_1
1048 enable_api_ms_win_core_xstate_l1_1_0
1049 enable_api_ms_win_core_xstate_l2_1_0
1050 enable_api_ms_win_crt_conio_l1_1_0
1051 enable_api_ms_win_crt_convert_l1_1_0
1052 enable_api_ms_win_crt_environment_l1_1_0
1053 enable_api_ms_win_crt_filesystem_l1_1_0
1054 enable_api_ms_win_crt_heap_l1_1_0
1055 enable_api_ms_win_crt_locale_l1_1_0
1056 enable_api_ms_win_crt_math_l1_1_0
1057 enable_api_ms_win_crt_multibyte_l1_1_0
1058 enable_api_ms_win_crt_private_l1_1_0
1059 enable_api_ms_win_crt_process_l1_1_0
1060 enable_api_ms_win_crt_runtime_l1_1_0
1061 enable_api_ms_win_crt_stdio_l1_1_0
1062 enable_api_ms_win_crt_string_l1_1_0
1063 enable_api_ms_win_crt_time_l1_1_0
1064 enable_api_ms_win_crt_utility_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_1
1067 enable_api_ms_win_devices_query_l1_1_1
1068 enable_api_ms_win_downlevel_advapi32_l1_1_0
1069 enable_api_ms_win_downlevel_advapi32_l2_1_0
1070 enable_api_ms_win_downlevel_normaliz_l1_1_0
1071 enable_api_ms_win_downlevel_ole32_l1_1_0
1072 enable_api_ms_win_downlevel_shell32_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1075 enable_api_ms_win_downlevel_user32_l1_1_0
1076 enable_api_ms_win_downlevel_version_l1_1_0
1077 enable_api_ms_win_dx_d3dkmt_l1_1_0
1078 enable_api_ms_win_eventing_classicprovider_l1_1_0
1079 enable_api_ms_win_eventing_consumer_l1_1_0
1080 enable_api_ms_win_eventing_controller_l1_1_0
1081 enable_api_ms_win_eventing_legacy_l1_1_0
1082 enable_api_ms_win_eventing_provider_l1_1_0
1083 enable_api_ms_win_eventlog_legacy_l1_1_0
1084 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1085 enable_api_ms_win_mm_joystick_l1_1_0
1086 enable_api_ms_win_mm_misc_l1_1_1
1087 enable_api_ms_win_mm_mme_l1_1_0
1088 enable_api_ms_win_mm_time_l1_1_0
1089 enable_api_ms_win_ntuser_dc_access_l1_1_0
1090 enable_api_ms_win_ntuser_rectangle_l1_1_0
1091 enable_api_ms_win_ntuser_sysparams_l1_1_0
1092 enable_api_ms_win_perf_legacy_l1_1_0
1093 enable_api_ms_win_power_base_l1_1_0
1094 enable_api_ms_win_power_setting_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1098 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1102 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1103 enable_api_ms_win_security_audit_l1_1_1
1104 enable_api_ms_win_security_base_l1_1_0
1105 enable_api_ms_win_security_base_l1_2_0
1106 enable_api_ms_win_security_base_private_l1_1_1
1107 enable_api_ms_win_security_credentials_l1_1_0
1108 enable_api_ms_win_security_cryptoapi_l1_1_0
1109 enable_api_ms_win_security_grouppolicy_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_1
1112 enable_api_ms_win_security_lsalookup_l2_1_0
1113 enable_api_ms_win_security_lsalookup_l2_1_1
1114 enable_api_ms_win_security_lsapolicy_l1_1_0
1115 enable_api_ms_win_security_provider_l1_1_0
1116 enable_api_ms_win_security_sddl_l1_1_0
1117 enable_api_ms_win_security_systemfunctions_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_1
1120 enable_api_ms_win_service_management_l1_1_0
1121 enable_api_ms_win_service_management_l2_1_0
1122 enable_api_ms_win_service_private_l1_1_1
1123 enable_api_ms_win_service_winsvc_l1_1_0
1124 enable_api_ms_win_service_winsvc_l1_2_0
1125 enable_api_ms_win_shcore_obsolete_l1_1_0
1126 enable_api_ms_win_shcore_scaling_l1_1_1
1127 enable_api_ms_win_shcore_stream_l1_1_0
1128 enable_api_ms_win_shcore_thread_l1_1_0
1129 enable_api_ms_win_shell_shellcom_l1_1_0
1130 enable_api_ms_win_shell_shellfolders_l1_1_0
1131 enable_apphelp
1132 enable_appwiz_cpl
1133 enable_atl
1134 enable_atl100
1135 enable_atl110
1136 enable_atl80
1137 enable_atl90
1138 enable_atlthunk
1139 enable_atmlib
1140 enable_authz
1141 enable_avicap32
1142 enable_avifil32
1143 enable_avrt
1144 enable_bcrypt
1145 enable_bluetoothapis
1146 enable_browseui
1147 enable_bthprops_cpl
1148 enable_cabinet
1149 enable_capi2032
1150 enable_cards
1151 enable_cdosys
1152 enable_cfgmgr32
1153 enable_clusapi
1154 enable_combase
1155 enable_comcat
1156 enable_comctl32
1157 enable_comdlg32
1158 enable_compstui
1159 enable_comsvcs
1160 enable_concrt140
1161 enable_connect
1162 enable_credui
1163 enable_crtdll
1164 enable_crypt32
1165 enable_cryptdlg
1166 enable_cryptdll
1167 enable_cryptext
1168 enable_cryptnet
1169 enable_cryptui
1170 enable_ctapi32
1171 enable_ctl3d32
1172 enable_d2d1
1173 enable_d3d10
1174 enable_d3d10_1
1175 enable_d3d10core
1176 enable_d3d11
1177 enable_d3d12
1178 enable_d3d8
1179 enable_d3d9
1180 enable_d3dcompiler_33
1181 enable_d3dcompiler_34
1182 enable_d3dcompiler_35
1183 enable_d3dcompiler_36
1184 enable_d3dcompiler_37
1185 enable_d3dcompiler_38
1186 enable_d3dcompiler_39
1187 enable_d3dcompiler_40
1188 enable_d3dcompiler_41
1189 enable_d3dcompiler_42
1190 enable_d3dcompiler_43
1191 enable_d3dcompiler_46
1192 enable_d3dcompiler_47
1193 enable_d3dim
1194 enable_d3drm
1195 enable_d3dx10_33
1196 enable_d3dx10_34
1197 enable_d3dx10_35
1198 enable_d3dx10_36
1199 enable_d3dx10_37
1200 enable_d3dx10_38
1201 enable_d3dx10_39
1202 enable_d3dx10_40
1203 enable_d3dx10_41
1204 enable_d3dx10_42
1205 enable_d3dx10_43
1206 enable_d3dx11_42
1207 enable_d3dx11_43
1208 enable_d3dx9_24
1209 enable_d3dx9_25
1210 enable_d3dx9_26
1211 enable_d3dx9_27
1212 enable_d3dx9_28
1213 enable_d3dx9_29
1214 enable_d3dx9_30
1215 enable_d3dx9_31
1216 enable_d3dx9_32
1217 enable_d3dx9_33
1218 enable_d3dx9_34
1219 enable_d3dx9_35
1220 enable_d3dx9_36
1221 enable_d3dx9_37
1222 enable_d3dx9_38
1223 enable_d3dx9_39
1224 enable_d3dx9_40
1225 enable_d3dx9_41
1226 enable_d3dx9_42
1227 enable_d3dx9_43
1228 enable_d3dxof
1229 enable_davclnt
1230 enable_dbgeng
1231 enable_dbghelp
1232 enable_dciman32
1233 enable_ddraw
1234 enable_ddrawex
1235 enable_devenum
1236 enable_dhcpcsvc
1237 enable_dhtmled_ocx
1238 enable_difxapi
1239 enable_dinput
1240 enable_dinput8
1241 enable_dispex
1242 enable_dmband
1243 enable_dmcompos
1244 enable_dmime
1245 enable_dmloader
1246 enable_dmoguids
1247 enable_dmscript
1248 enable_dmstyle
1249 enable_dmsynth
1250 enable_dmusic
1251 enable_dmusic32
1252 enable_dnsapi
1253 enable_dplay
1254 enable_dplayx
1255 enable_dpnaddr
1256 enable_dpnet
1257 enable_dpnhpast
1258 enable_dpnlobby
1259 enable_dpvoice
1260 enable_dpwsockx
1261 enable_drmclien
1262 enable_dsdmo
1263 enable_dsound
1264 enable_dsquery
1265 enable_dssenh
1266 enable_dswave
1267 enable_dwmapi
1268 enable_dwrite
1269 enable_dx8vb
1270 enable_dxdiagn
1271 enable_dxerr8
1272 enable_dxerr9
1273 enable_dxgi
1274 enable_dxguid
1275 enable_dxva2
1276 enable_esent
1277 enable_evr
1278 enable_explorerframe
1279 enable_ext_ms_win_authz_context_l1_1_0
1280 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1281 enable_ext_ms_win_dwmapi_ext_l1_1_0
1282 enable_ext_ms_win_gdi_dc_create_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_1
1284 enable_ext_ms_win_gdi_dc_l1_2_0
1285 enable_ext_ms_win_gdi_devcaps_l1_1_0
1286 enable_ext_ms_win_gdi_draw_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_1
1288 enable_ext_ms_win_gdi_font_l1_1_0
1289 enable_ext_ms_win_gdi_font_l1_1_1
1290 enable_ext_ms_win_gdi_render_l1_1_0
1291 enable_ext_ms_win_kernel32_package_current_l1_1_0
1292 enable_ext_ms_win_kernel32_package_l1_1_1
1293 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1294 enable_ext_ms_win_ntuser_draw_l1_1_0
1295 enable_ext_ms_win_ntuser_gui_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_3_0
1297 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1298 enable_ext_ms_win_ntuser_message_l1_1_0
1299 enable_ext_ms_win_ntuser_message_l1_1_1
1300 enable_ext_ms_win_ntuser_misc_l1_1_0
1301 enable_ext_ms_win_ntuser_misc_l1_2_0
1302 enable_ext_ms_win_ntuser_misc_l1_5_1
1303 enable_ext_ms_win_ntuser_mouse_l1_1_0
1304 enable_ext_ms_win_ntuser_private_l1_1_1
1305 enable_ext_ms_win_ntuser_private_l1_3_1
1306 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1307 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_window_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_1
1310 enable_ext_ms_win_ntuser_window_l1_1_4
1311 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1313 enable_ext_ms_win_oleacc_l1_1_0
1314 enable_ext_ms_win_ras_rasapi32_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1322 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1325 enable_ext_ms_win_security_credui_l1_1_0
1326 enable_ext_ms_win_security_cryptui_l1_1_0
1327 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1328 enable_ext_ms_win_shell_comdlg32_l1_1_0
1329 enable_ext_ms_win_shell_shell32_l1_2_0
1330 enable_ext_ms_win_uxtheme_themes_l1_1_0
1331 enable_faultrep
1332 enable_feclient
1333 enable_fltlib
1334 enable_fltmgr_sys
1335 enable_fntcache
1336 enable_fontsub
1337 enable_fusion
1338 enable_fwpuclnt
1339 enable_gameux
1340 enable_gdi32
1341 enable_gdiplus
1342 enable_glu32
1343 enable_gphoto2_ds
1344 enable_gpkcsp
1345 enable_hal
1346 enable_hhctrl_ocx
1347 enable_hid
1348 enable_hidclass_sys
1349 enable_hlink
1350 enable_hnetcfg
1351 enable_http_sys
1352 enable_httpapi
1353 enable_iccvid
1354 enable_icmp
1355 enable_ieframe
1356 enable_ieproxy
1357 enable_imaadp32_acm
1358 enable_imagehlp
1359 enable_imm32
1360 enable_inetcomm
1361 enable_inetcpl_cpl
1362 enable_inetmib1
1363 enable_infosoft
1364 enable_initpki
1365 enable_inkobj
1366 enable_inseng
1367 enable_iphlpapi
1368 enable_iprop
1369 enable_irprops_cpl
1370 enable_itircl
1371 enable_itss
1372 enable_joy_cpl
1373 enable_jscript
1374 enable_jsproxy
1375 enable_kerberos
1376 enable_kernel32
1377 enable_kernelbase
1378 enable_ksecdd_sys
1379 enable_ksuser
1380 enable_ktmw32
1381 enable_l3codeca_acm
1382 enable_loadperf
1383 enable_localspl
1384 enable_localui
1385 enable_lz32
1386 enable_mapi32
1387 enable_mapistub
1388 enable_mciavi32
1389 enable_mcicda
1390 enable_mciqtz32
1391 enable_mciseq
1392 enable_mciwave
1393 enable_mf
1394 enable_mf3216
1395 enable_mferror
1396 enable_mfmediaengine
1397 enable_mfplat
1398 enable_mfplay
1399 enable_mfreadwrite
1400 enable_mfuuid
1401 enable_mgmtapi
1402 enable_midimap
1403 enable_mlang
1404 enable_mmcndmgr
1405 enable_mmdevapi
1406 enable_mountmgr_sys
1407 enable_mp3dmod
1408 enable_mpr
1409 enable_mprapi
1410 enable_msacm32_drv
1411 enable_msacm32
1412 enable_msado15
1413 enable_msadp32_acm
1414 enable_msasn1
1415 enable_mscat32
1416 enable_mscms
1417 enable_mscoree
1418 enable_mscorwks
1419 enable_msctf
1420 enable_msctfp
1421 enable_msdaps
1422 enable_msdelta
1423 enable_msdmo
1424 enable_msdrm
1425 enable_msftedit
1426 enable_msg711_acm
1427 enable_msgsm32_acm
1428 enable_mshtml_tlb
1429 enable_mshtml
1430 enable_msi
1431 enable_msident
1432 enable_msimg32
1433 enable_msimsg
1434 enable_msimtf
1435 enable_msisip
1436 enable_msisys_ocx
1437 enable_msls31
1438 enable_msnet32
1439 enable_mspatcha
1440 enable_msports
1441 enable_msrle32
1442 enable_msscript_ocx
1443 enable_mssign32
1444 enable_mssip32
1445 enable_mstask
1446 enable_msvcirt
1447 enable_msvcm80
1448 enable_msvcm90
1449 enable_msvcp100
1450 enable_msvcp110
1451 enable_msvcp120
1452 enable_msvcp120_app
1453 enable_msvcp140
1454 enable_msvcp60
1455 enable_msvcp70
1456 enable_msvcp71
1457 enable_msvcp80
1458 enable_msvcp90
1459 enable_msvcr100
1460 enable_msvcr110
1461 enable_msvcr120
1462 enable_msvcr120_app
1463 enable_msvcr70
1464 enable_msvcr71
1465 enable_msvcr80
1466 enable_msvcr90
1467 enable_msvcrt
1468 enable_msvcrt20
1469 enable_msvcrt40
1470 enable_msvcrtd
1471 enable_msvfw32
1472 enable_msvidc32
1473 enable_mswsock
1474 enable_msxml
1475 enable_msxml2
1476 enable_msxml3
1477 enable_msxml4
1478 enable_msxml6
1479 enable_mtxdm
1480 enable_ncrypt
1481 enable_nddeapi
1482 enable_ndis_sys
1483 enable_netapi32
1484 enable_netcfgx
1485 enable_netprofm
1486 enable_newdev
1487 enable_ninput
1488 enable_normaliz
1489 enable_npmshtml
1490 enable_npptools
1491 enable_ntdll
1492 enable_ntdsapi
1493 enable_ntoskrnl_exe
1494 enable_ntprint
1495 enable_objsel
1496 enable_odbc32
1497 enable_odbcbcp
1498 enable_odbccp32
1499 enable_odbccu32
1500 enable_ole32
1501 enable_oleacc
1502 enable_oleaut32
1503 enable_olecli32
1504 enable_oledb32
1505 enable_oledlg
1506 enable_olepro32
1507 enable_olesvr32
1508 enable_olethk32
1509 enable_opcservices
1510 enable_openal32
1511 enable_opencl
1512 enable_opengl32
1513 enable_packager
1514 enable_pdh
1515 enable_photometadatahandler
1516 enable_pidgen
1517 enable_powrprof
1518 enable_printui
1519 enable_prntvpt
1520 enable_propsys
1521 enable_psapi
1522 enable_pstorec
1523 enable_qcap
1524 enable_qedit
1525 enable_qmgr
1526 enable_qmgrprxy
1527 enable_quartz
1528 enable_query
1529 enable_qwave
1530 enable_rasapi32
1531 enable_rasdlg
1532 enable_regapi
1533 enable_resutils
1534 enable_riched20
1535 enable_riched32
1536 enable_rpcrt4
1537 enable_rsabase
1538 enable_rsaenh
1539 enable_rstrtmgr
1540 enable_rtutils
1541 enable_samlib
1542 enable_sane_ds
1543 enable_sapi
1544 enable_sas
1545 enable_scarddlg
1546 enable_sccbase
1547 enable_schannel
1548 enable_schedsvc
1549 enable_scrobj
1550 enable_scrrun
1551 enable_scsiport_sys
1552 enable_secur32
1553 enable_security
1554 enable_sensapi
1555 enable_serialui
1556 enable_setupapi
1557 enable_sfc
1558 enable_sfc_os
1559 enable_shcore
1560 enable_shdoclc
1561 enable_shdocvw
1562 enable_shell32
1563 enable_shfolder
1564 enable_shlwapi
1565 enable_slbcsp
1566 enable_slc
1567 enable_snmpapi
1568 enable_softpub
1569 enable_spoolss
1570 enable_srclient
1571 enable_sspicli
1572 enable_stdole2_tlb
1573 enable_stdole32_tlb
1574 enable_sti
1575 enable_strmbase
1576 enable_strmdll
1577 enable_strmiids
1578 enable_svrapi
1579 enable_sxs
1580 enable_t2embed
1581 enable_tapi32
1582 enable_taskschd
1583 enable_tdh
1584 enable_tdi_sys
1585 enable_traffic
1586 enable_twain_32
1587 enable_tzres
1588 enable_ucrtbase
1589 enable_uianimation
1590 enable_uiautomationcore
1591 enable_uiribbon
1592 enable_unicows
1593 enable_updspapi
1594 enable_url
1595 enable_urlmon
1596 enable_usbd_sys
1597 enable_user32
1598 enable_userenv
1599 enable_usp10
1600 enable_utildll
1601 enable_uuid
1602 enable_uxtheme
1603 enable_vbscript
1604 enable_vcomp
1605 enable_vcomp100
1606 enable_vcomp110
1607 enable_vcomp120
1608 enable_vcomp140
1609 enable_vcomp90
1610 enable_vcruntime140
1611 enable_vdmdbg
1612 enable_version
1613 enable_virtdisk
1614 enable_vssapi
1615 enable_vulkan_1
1616 enable_wbemdisp
1617 enable_wbemprox
1618 enable_wdscore
1619 enable_webservices
1620 enable_wer
1621 enable_wevtapi
1622 enable_wiaservc
1623 enable_wimgapi
1624 enable_windowscodecs
1625 enable_windowscodecsext
1626 enable_winealsa_drv
1627 enable_wineandroid_drv
1628 enable_winebus_sys
1629 enable_winecoreaudio_drv
1630 enable_winecrt0
1631 enable_wined3d
1632 enable_winegstreamer
1633 enable_winehid_sys
1634 enable_winejoystick_drv
1635 enable_winemac_drv
1636 enable_winemapi
1637 enable_wineoss_drv
1638 enable_wineps_drv
1639 enable_winepulse_drv
1640 enable_wineqtdecoder
1641 enable_winevulkan
1642 enable_winex11_drv
1643 enable_wing32
1644 enable_winhttp
1645 enable_wininet
1646 enable_winmm
1647 enable_winnls32
1648 enable_winscard
1649 enable_winspool_drv
1650 enable_winsta
1651 enable_wintab32
1652 enable_wintrust
1653 enable_winusb
1654 enable_wlanapi
1655 enable_wlanui
1656 enable_wldap32
1657 enable_wmasf
1658 enable_wmcodecdspuuid
1659 enable_wmi
1660 enable_wmiutils
1661 enable_wmp
1662 enable_wmphoto
1663 enable_wmvcore
1664 enable_wnaspi32
1665 enable_wpc
1666 enable_wpcap
1667 enable_ws2_32
1668 enable_wsdapi
1669 enable_wshom_ocx
1670 enable_wsnmp32
1671 enable_wsock32
1672 enable_wtsapi32
1673 enable_wuapi
1674 enable_wuaueng
1675 enable_x3daudio1_0
1676 enable_x3daudio1_1
1677 enable_x3daudio1_2
1678 enable_x3daudio1_3
1679 enable_x3daudio1_4
1680 enable_x3daudio1_5
1681 enable_x3daudio1_6
1682 enable_x3daudio1_7
1683 enable_xapofx1_1
1684 enable_xapofx1_2
1685 enable_xapofx1_3
1686 enable_xapofx1_4
1687 enable_xapofx1_5
1688 enable_xaudio2_0
1689 enable_xaudio2_1
1690 enable_xaudio2_2
1691 enable_xaudio2_3
1692 enable_xaudio2_4
1693 enable_xaudio2_5
1694 enable_xaudio2_6
1695 enable_xaudio2_7
1696 enable_xaudio2_8
1697 enable_xaudio2_9
1698 enable_xinput1_1
1699 enable_xinput1_2
1700 enable_xinput1_3
1701 enable_xinput1_4
1702 enable_xinput9_1_0
1703 enable_xmllite
1704 enable_xolehlp
1705 enable_xpsprint
1706 enable_xpssvcs
1707 enable_fonts
1708 enable_include
1709 enable_port
1710 enable_wine
1711 enable_wpp
1712 enable_loader
1713 enable_po
1714 enable_arp
1715 enable_aspnet_regiis
1716 enable_attrib
1717 enable_cabarc
1718 enable_cacls
1719 enable_chcp_com
1720 enable_clock
1721 enable_cmd
1722 enable_conhost
1723 enable_control
1724 enable_cscript
1725 enable_dism
1726 enable_dpnsvr
1727 enable_dxdiag
1728 enable_eject
1729 enable_expand
1730 enable_explorer
1731 enable_extrac32
1732 enable_fc
1733 enable_find
1734 enable_findstr
1735 enable_fsutil
1736 enable_hh
1737 enable_hostname
1738 enable_icacls
1739 enable_icinfo
1740 enable_iexplore
1741 enable_ipconfig
1742 enable_lodctr
1743 enable_mofcomp
1744 enable_mshta
1745 enable_msidb
1746 enable_msiexec
1747 enable_msinfo32
1748 enable_net
1749 enable_netsh
1750 enable_netstat
1751 enable_ngen
1752 enable_notepad
1753 enable_oleview
1754 enable_ping
1755 enable_plugplay
1756 enable_powershell
1757 enable_presentationfontcache
1758 enable_progman
1759 enable_reg
1760 enable_regasm
1761 enable_regedit
1762 enable_regini
1763 enable_regsvcs
1764 enable_regsvr32
1765 enable_rpcss
1766 enable_rundll32
1767 enable_sc
1768 enable_schtasks
1769 enable_sdbinst
1770 enable_secedit
1771 enable_servicemodelreg
1772 enable_services
1773 enable_shutdown
1774 enable_spoolsv
1775 enable_start
1776 enable_subst
1777 enable_svchost
1778 enable_systeminfo
1779 enable_taskkill
1780 enable_tasklist
1781 enable_taskmgr
1782 enable_termsv
1783 enable_uninstaller
1784 enable_unlodctr
1785 enable_view
1786 enable_wevtutil
1787 enable_wineboot
1788 enable_winebrowser
1789 enable_winecfg
1790 enable_wineconsole
1791 enable_winedbg
1792 enable_winedevice
1793 enable_winefile
1794 enable_winemenubuilder
1795 enable_winemine
1796 enable_winemsibuilder
1797 enable_winepath
1798 enable_winetest
1799 enable_winhlp32
1800 enable_winmgmt
1801 enable_winver
1802 enable_wmic
1803 enable_wmplayer
1804 enable_wordpad
1805 enable_write
1806 enable_wscript
1807 enable_wuauserv
1808 enable_wusa
1809 enable_xcopy
1810 enable_server
1811 enable_tools
1812 enable_sfnt2fon
1813 enable_widl
1814 enable_winebuild
1815 enable_winedump
1816 enable_winegcc
1817 enable_winemaker
1818 enable_wmc
1819 enable_wrc
1821 ac_precious_vars='build_alias
1822 host_alias
1823 target_alias
1825 CFLAGS
1826 LDFLAGS
1827 LIBS
1828 CPPFLAGS
1830 CXXFLAGS
1833 OBJC
1834 OBJCFLAGS
1835 OBJCPP
1836 XMKMF
1837 XML2_CFLAGS
1838 XML2_LIBS
1839 XSLT_CFLAGS
1840 XSLT_LIBS
1841 INOTIFY_CFLAGS
1842 INOTIFY_LIBS
1843 DBUS_CFLAGS
1844 DBUS_LIBS
1845 HAL_CFLAGS
1846 HAL_LIBS
1847 GNUTLS_CFLAGS
1848 GNUTLS_LIBS
1849 SANE_CFLAGS
1850 SANE_LIBS
1851 GPHOTO2_CFLAGS
1852 GPHOTO2_LIBS
1853 GPHOTO2_PORT_CFLAGS
1854 GPHOTO2_PORT_LIBS
1855 LCMS2_CFLAGS
1856 LCMS2_LIBS
1857 FREETYPE_CFLAGS
1858 FREETYPE_LIBS
1859 Z_CFLAGS
1860 Z_LIBS
1861 PULSE_CFLAGS
1862 PULSE_LIBS
1863 GSTREAMER_CFLAGS
1864 GSTREAMER_LIBS
1865 UDEV_CFLAGS
1866 UDEV_LIBS
1867 UNWIND_CFLAGS
1868 UNWIND_LIBS
1869 SDL2_CFLAGS
1870 SDL2_LIBS
1871 FAUDIO_CFLAGS
1872 FAUDIO_LIBS
1873 CAPI20_CFLAGS
1874 CAPI20_LIBS
1875 CUPS_CFLAGS
1876 CUPS_LIBS
1877 FONTCONFIG_CFLAGS
1878 FONTCONFIG_LIBS
1879 KRB5_CFLAGS
1880 KRB5_LIBS
1881 GSSAPI_CFLAGS
1882 GSSAPI_LIBS
1883 JPEG_CFLAGS
1884 JPEG_LIBS
1885 PNG_CFLAGS
1886 PNG_LIBS
1887 TIFF_CFLAGS
1888 TIFF_LIBS
1889 MPG123_CFLAGS
1890 MPG123_LIBS
1891 NETAPI_CFLAGS
1892 NETAPI_LIBS
1893 VKD3D_CFLAGS
1894 VKD3D_LIBS
1895 LDAP_CFLAGS
1896 LDAP_LIBS'
1899 # Initialize some variables set by options.
1900 ac_init_help=
1901 ac_init_version=false
1902 ac_unrecognized_opts=
1903 ac_unrecognized_sep=
1904 # The variables have the same names as the options, with
1905 # dashes changed to underlines.
1906 cache_file=/dev/null
1907 exec_prefix=NONE
1908 no_create=
1909 no_recursion=
1910 prefix=NONE
1911 program_prefix=NONE
1912 program_suffix=NONE
1913 program_transform_name=s,x,x,
1914 silent=
1915 site=
1916 srcdir=
1917 verbose=
1918 x_includes=NONE
1919 x_libraries=NONE
1921 # Installation directory options.
1922 # These are left unexpanded so users can "make install exec_prefix=/foo"
1923 # and all the variables that are supposed to be based on exec_prefix
1924 # by default will actually change.
1925 # Use braces instead of parens because sh, perl, etc. also accept them.
1926 # (The list follows the same order as the GNU Coding Standards.)
1927 bindir='${exec_prefix}/bin'
1928 sbindir='${exec_prefix}/sbin'
1929 libexecdir='${exec_prefix}/libexec'
1930 datarootdir='${prefix}/share'
1931 datadir='${datarootdir}'
1932 sysconfdir='${prefix}/etc'
1933 sharedstatedir='${prefix}/com'
1934 localstatedir='${prefix}/var'
1935 runstatedir='${localstatedir}/run'
1936 includedir='${prefix}/include'
1937 oldincludedir='/usr/include'
1938 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1939 infodir='${datarootdir}/info'
1940 htmldir='${docdir}'
1941 dvidir='${docdir}'
1942 pdfdir='${docdir}'
1943 psdir='${docdir}'
1944 libdir='${exec_prefix}/lib'
1945 localedir='${datarootdir}/locale'
1946 mandir='${datarootdir}/man'
1948 ac_prev=
1949 ac_dashdash=
1950 for ac_option
1952 # If the previous option needs an argument, assign it.
1953 if test -n "$ac_prev"; then
1954 eval $ac_prev=\$ac_option
1955 ac_prev=
1956 continue
1959 case $ac_option in
1960 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1961 *=) ac_optarg= ;;
1962 *) ac_optarg=yes ;;
1963 esac
1965 # Accept the important Cygnus configure options, so we can diagnose typos.
1967 case $ac_dashdash$ac_option in
1969 ac_dashdash=yes ;;
1971 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1972 ac_prev=bindir ;;
1973 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1974 bindir=$ac_optarg ;;
1976 -build | --build | --buil | --bui | --bu)
1977 ac_prev=build_alias ;;
1978 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1979 build_alias=$ac_optarg ;;
1981 -cache-file | --cache-file | --cache-fil | --cache-fi \
1982 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1983 ac_prev=cache_file ;;
1984 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1985 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1986 cache_file=$ac_optarg ;;
1988 --config-cache | -C)
1989 cache_file=config.cache ;;
1991 -datadir | --datadir | --datadi | --datad)
1992 ac_prev=datadir ;;
1993 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1994 datadir=$ac_optarg ;;
1996 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1997 | --dataroo | --dataro | --datar)
1998 ac_prev=datarootdir ;;
1999 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2000 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2001 datarootdir=$ac_optarg ;;
2003 -disable-* | --disable-*)
2004 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2005 # Reject names that are not valid shell variable names.
2006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2007 as_fn_error $? "invalid feature name: $ac_useropt"
2008 ac_useropt_orig=$ac_useropt
2009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2010 case $ac_user_opts in
2012 "enable_$ac_useropt"
2013 "*) ;;
2014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2015 ac_unrecognized_sep=', ';;
2016 esac
2017 eval enable_$ac_useropt=no ;;
2019 -docdir | --docdir | --docdi | --doc | --do)
2020 ac_prev=docdir ;;
2021 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2022 docdir=$ac_optarg ;;
2024 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2025 ac_prev=dvidir ;;
2026 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2027 dvidir=$ac_optarg ;;
2029 -enable-* | --enable-*)
2030 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2031 # Reject names that are not valid shell variable names.
2032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2033 as_fn_error $? "invalid feature name: $ac_useropt"
2034 ac_useropt_orig=$ac_useropt
2035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2036 case $ac_user_opts in
2038 "enable_$ac_useropt"
2039 "*) ;;
2040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2041 ac_unrecognized_sep=', ';;
2042 esac
2043 eval enable_$ac_useropt=\$ac_optarg ;;
2045 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2046 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2047 | --exec | --exe | --ex)
2048 ac_prev=exec_prefix ;;
2049 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2050 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2051 | --exec=* | --exe=* | --ex=*)
2052 exec_prefix=$ac_optarg ;;
2054 -gas | --gas | --ga | --g)
2055 # Obsolete; use --with-gas.
2056 with_gas=yes ;;
2058 -help | --help | --hel | --he | -h)
2059 ac_init_help=long ;;
2060 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2061 ac_init_help=recursive ;;
2062 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2063 ac_init_help=short ;;
2065 -host | --host | --hos | --ho)
2066 ac_prev=host_alias ;;
2067 -host=* | --host=* | --hos=* | --ho=*)
2068 host_alias=$ac_optarg ;;
2070 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2071 ac_prev=htmldir ;;
2072 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2073 | --ht=*)
2074 htmldir=$ac_optarg ;;
2076 -includedir | --includedir | --includedi | --included | --include \
2077 | --includ | --inclu | --incl | --inc)
2078 ac_prev=includedir ;;
2079 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2080 | --includ=* | --inclu=* | --incl=* | --inc=*)
2081 includedir=$ac_optarg ;;
2083 -infodir | --infodir | --infodi | --infod | --info | --inf)
2084 ac_prev=infodir ;;
2085 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2086 infodir=$ac_optarg ;;
2088 -libdir | --libdir | --libdi | --libd)
2089 ac_prev=libdir ;;
2090 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2091 libdir=$ac_optarg ;;
2093 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2094 | --libexe | --libex | --libe)
2095 ac_prev=libexecdir ;;
2096 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2097 | --libexe=* | --libex=* | --libe=*)
2098 libexecdir=$ac_optarg ;;
2100 -localedir | --localedir | --localedi | --localed | --locale)
2101 ac_prev=localedir ;;
2102 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2103 localedir=$ac_optarg ;;
2105 -localstatedir | --localstatedir | --localstatedi | --localstated \
2106 | --localstate | --localstat | --localsta | --localst | --locals)
2107 ac_prev=localstatedir ;;
2108 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2109 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2110 localstatedir=$ac_optarg ;;
2112 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2113 ac_prev=mandir ;;
2114 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2115 mandir=$ac_optarg ;;
2117 -nfp | --nfp | --nf)
2118 # Obsolete; use --without-fp.
2119 with_fp=no ;;
2121 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2122 | --no-cr | --no-c | -n)
2123 no_create=yes ;;
2125 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2126 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2127 no_recursion=yes ;;
2129 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2130 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2131 | --oldin | --oldi | --old | --ol | --o)
2132 ac_prev=oldincludedir ;;
2133 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2134 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2135 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2136 oldincludedir=$ac_optarg ;;
2138 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2139 ac_prev=prefix ;;
2140 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2141 prefix=$ac_optarg ;;
2143 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2144 | --program-pre | --program-pr | --program-p)
2145 ac_prev=program_prefix ;;
2146 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2147 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2148 program_prefix=$ac_optarg ;;
2150 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2151 | --program-suf | --program-su | --program-s)
2152 ac_prev=program_suffix ;;
2153 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2154 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2155 program_suffix=$ac_optarg ;;
2157 -program-transform-name | --program-transform-name \
2158 | --program-transform-nam | --program-transform-na \
2159 | --program-transform-n | --program-transform- \
2160 | --program-transform | --program-transfor \
2161 | --program-transfo | --program-transf \
2162 | --program-trans | --program-tran \
2163 | --progr-tra | --program-tr | --program-t)
2164 ac_prev=program_transform_name ;;
2165 -program-transform-name=* | --program-transform-name=* \
2166 | --program-transform-nam=* | --program-transform-na=* \
2167 | --program-transform-n=* | --program-transform-=* \
2168 | --program-transform=* | --program-transfor=* \
2169 | --program-transfo=* | --program-transf=* \
2170 | --program-trans=* | --program-tran=* \
2171 | --progr-tra=* | --program-tr=* | --program-t=*)
2172 program_transform_name=$ac_optarg ;;
2174 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2175 ac_prev=pdfdir ;;
2176 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2177 pdfdir=$ac_optarg ;;
2179 -psdir | --psdir | --psdi | --psd | --ps)
2180 ac_prev=psdir ;;
2181 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2182 psdir=$ac_optarg ;;
2184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2185 | -silent | --silent | --silen | --sile | --sil)
2186 silent=yes ;;
2188 -runstatedir | --runstatedir | --runstatedi | --runstated \
2189 | --runstate | --runstat | --runsta | --runst | --runs \
2190 | --run | --ru | --r)
2191 ac_prev=runstatedir ;;
2192 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2193 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2194 | --run=* | --ru=* | --r=*)
2195 runstatedir=$ac_optarg ;;
2197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2198 ac_prev=sbindir ;;
2199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2200 | --sbi=* | --sb=*)
2201 sbindir=$ac_optarg ;;
2203 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2205 | --sharedst | --shareds | --shared | --share | --shar \
2206 | --sha | --sh)
2207 ac_prev=sharedstatedir ;;
2208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2211 | --sha=* | --sh=*)
2212 sharedstatedir=$ac_optarg ;;
2214 -site | --site | --sit)
2215 ac_prev=site ;;
2216 -site=* | --site=* | --sit=*)
2217 site=$ac_optarg ;;
2219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2220 ac_prev=srcdir ;;
2221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2222 srcdir=$ac_optarg ;;
2224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2225 | --syscon | --sysco | --sysc | --sys | --sy)
2226 ac_prev=sysconfdir ;;
2227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2229 sysconfdir=$ac_optarg ;;
2231 -target | --target | --targe | --targ | --tar | --ta | --t)
2232 ac_prev=target_alias ;;
2233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2234 target_alias=$ac_optarg ;;
2236 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2237 verbose=yes ;;
2239 -version | --version | --versio | --versi | --vers | -V)
2240 ac_init_version=: ;;
2242 -with-* | --with-*)
2243 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2244 # Reject names that are not valid shell variable names.
2245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2246 as_fn_error $? "invalid package name: $ac_useropt"
2247 ac_useropt_orig=$ac_useropt
2248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2249 case $ac_user_opts in
2251 "with_$ac_useropt"
2252 "*) ;;
2253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2254 ac_unrecognized_sep=', ';;
2255 esac
2256 eval with_$ac_useropt=\$ac_optarg ;;
2258 -without-* | --without-*)
2259 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2260 # Reject names that are not valid shell variable names.
2261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2262 as_fn_error $? "invalid package name: $ac_useropt"
2263 ac_useropt_orig=$ac_useropt
2264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2265 case $ac_user_opts in
2267 "with_$ac_useropt"
2268 "*) ;;
2269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2270 ac_unrecognized_sep=', ';;
2271 esac
2272 eval with_$ac_useropt=no ;;
2274 --x)
2275 # Obsolete; use --with-x.
2276 with_x=yes ;;
2278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2279 | --x-incl | --x-inc | --x-in | --x-i)
2280 ac_prev=x_includes ;;
2281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2283 x_includes=$ac_optarg ;;
2285 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2287 ac_prev=x_libraries ;;
2288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2290 x_libraries=$ac_optarg ;;
2292 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2293 Try \`$0 --help' for more information"
2296 *=*)
2297 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2298 # Reject names that are not valid shell variable names.
2299 case $ac_envvar in #(
2300 '' | [0-9]* | *[!_$as_cr_alnum]* )
2301 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2302 esac
2303 eval $ac_envvar=\$ac_optarg
2304 export $ac_envvar ;;
2307 # FIXME: should be removed in autoconf 3.0.
2308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2311 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2314 esac
2315 done
2317 if test -n "$ac_prev"; then
2318 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2319 as_fn_error $? "missing argument to $ac_option"
2322 if test -n "$ac_unrecognized_opts"; then
2323 case $enable_option_checking in
2324 no) ;;
2325 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2327 esac
2330 # Check all directory arguments for consistency.
2331 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2332 datadir sysconfdir sharedstatedir localstatedir includedir \
2333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2334 libdir localedir mandir runstatedir
2336 eval ac_val=\$$ac_var
2337 # Remove trailing slashes.
2338 case $ac_val in
2339 */ )
2340 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2341 eval $ac_var=\$ac_val;;
2342 esac
2343 # Be sure to have absolute directory names.
2344 case $ac_val in
2345 [\\/$]* | ?:[\\/]* ) continue;;
2346 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2347 esac
2348 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2349 done
2351 # There might be people who depend on the old broken behavior: `$host'
2352 # used to hold the argument of --host etc.
2353 # FIXME: To remove some day.
2354 build=$build_alias
2355 host=$host_alias
2356 target=$target_alias
2358 # FIXME: To remove some day.
2359 if test "x$host_alias" != x; then
2360 if test "x$build_alias" = x; then
2361 cross_compiling=maybe
2362 elif test "x$build_alias" != "x$host_alias"; then
2363 cross_compiling=yes
2367 ac_tool_prefix=
2368 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2370 test "$silent" = yes && exec 6>/dev/null
2373 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2374 ac_ls_di=`ls -di .` &&
2375 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2376 as_fn_error $? "working directory cannot be determined"
2377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2378 as_fn_error $? "pwd does not report name of working directory"
2381 # Find the source files, if location was not specified.
2382 if test -z "$srcdir"; then
2383 ac_srcdir_defaulted=yes
2384 # Try the directory containing this script, then the parent directory.
2385 ac_confdir=`$as_dirname -- "$as_myself" ||
2386 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2387 X"$as_myself" : 'X\(//\)[^/]' \| \
2388 X"$as_myself" : 'X\(//\)$' \| \
2389 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2390 $as_echo X"$as_myself" |
2391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2392 s//\1/
2395 /^X\(\/\/\)[^/].*/{
2396 s//\1/
2399 /^X\(\/\/\)$/{
2400 s//\1/
2403 /^X\(\/\).*/{
2404 s//\1/
2407 s/.*/./; q'`
2408 srcdir=$ac_confdir
2409 if test ! -r "$srcdir/$ac_unique_file"; then
2410 srcdir=..
2412 else
2413 ac_srcdir_defaulted=no
2415 if test ! -r "$srcdir/$ac_unique_file"; then
2416 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2417 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2419 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2420 ac_abs_confdir=`(
2421 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2422 pwd)`
2423 # When building in place, set srcdir=.
2424 if test "$ac_abs_confdir" = "$ac_pwd"; then
2425 srcdir=.
2427 # Remove unnecessary trailing slashes from srcdir.
2428 # Double slashes in file names in object file debugging info
2429 # mess up M-x gdb in Emacs.
2430 case $srcdir in
2431 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2432 esac
2433 for ac_var in $ac_precious_vars; do
2434 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2435 eval ac_env_${ac_var}_value=\$${ac_var}
2436 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2437 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2438 done
2441 # Report the --help message.
2443 if test "$ac_init_help" = "long"; then
2444 # Omit some internal or obsolete options to make the list less imposing.
2445 # This message is too long to be a string in the A/UX 3.1 sh.
2446 cat <<_ACEOF
2447 \`configure' configures Wine 4.21 to adapt to many kinds of systems.
2449 Usage: $0 [OPTION]... [VAR=VALUE]...
2451 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2452 VAR=VALUE. See below for descriptions of some of the useful variables.
2454 Defaults for the options are specified in brackets.
2456 Configuration:
2457 -h, --help display this help and exit
2458 --help=short display options specific to this package
2459 --help=recursive display the short help of all the included packages
2460 -V, --version display version information and exit
2461 -q, --quiet, --silent do not print \`checking ...' messages
2462 --cache-file=FILE cache test results in FILE [disabled]
2463 -C, --config-cache alias for \`--cache-file=config.cache'
2464 -n, --no-create do not create output files
2465 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2467 Installation directories:
2468 --prefix=PREFIX install architecture-independent files in PREFIX
2469 [$ac_default_prefix]
2470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2471 [PREFIX]
2473 By default, \`make install' will install all the files in
2474 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2475 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2476 for instance \`--prefix=\$HOME'.
2478 For better control, use the options below.
2480 Fine tuning of the installation directories:
2481 --bindir=DIR user executables [EPREFIX/bin]
2482 --sbindir=DIR system admin executables [EPREFIX/sbin]
2483 --libexecdir=DIR program executables [EPREFIX/libexec]
2484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2486 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2487 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2488 --libdir=DIR object code libraries [EPREFIX/lib]
2489 --includedir=DIR C header files [PREFIX/include]
2490 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2491 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2492 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2493 --infodir=DIR info documentation [DATAROOTDIR/info]
2494 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2495 --mandir=DIR man documentation [DATAROOTDIR/man]
2496 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2497 --htmldir=DIR html documentation [DOCDIR]
2498 --dvidir=DIR dvi documentation [DOCDIR]
2499 --pdfdir=DIR pdf documentation [DOCDIR]
2500 --psdir=DIR ps documentation [DOCDIR]
2501 _ACEOF
2503 cat <<\_ACEOF
2505 X features:
2506 --x-includes=DIR X include files are in DIR
2507 --x-libraries=DIR X library files are in DIR
2509 System types:
2510 --build=BUILD configure for building on BUILD [guessed]
2511 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2512 _ACEOF
2515 if test -n "$ac_init_help"; then
2516 case $ac_init_help in
2517 short | recursive ) echo "Configuration of Wine 4.21:";;
2518 esac
2519 cat <<\_ACEOF
2521 Optional Features:
2522 --disable-option-checking ignore unrecognized --enable/--with options
2523 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2524 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2525 --disable-win16 do not include Win16 support
2526 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2527 binaries)
2528 --disable-tests do not build the regression tests
2529 --enable-maintainer-mode
2530 enable maintainer-specific build rules
2531 --disable-largefile omit support for large files
2533 Optional Packages:
2534 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2535 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2536 --without-alsa do not use the Alsa sound support
2537 --without-capi do not use CAPI (ISDN support)
2538 --without-cms do not use CMS (color management support)
2539 --without-coreaudio do not use the CoreAudio sound support
2540 --without-cups do not use CUPS
2541 --without-curses do not use (n)curses
2542 --without-dbus do not use DBus (dynamic device support)
2543 --without-faudio do not use FAudio (XAudio2 support)
2544 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2545 --without-fontconfig do not use fontconfig
2546 --without-freetype do not use the FreeType library
2547 --without-gettext do not use gettext
2548 --with-gettextpo use the GetTextPO library to rebuild po files
2549 --without-gphoto do not use gphoto (Digital Camera support)
2550 --without-glu do not use the GLU library
2551 --without-gnutls do not use GnuTLS (schannel support)
2552 --without-gsm do not use libgsm (GSM 06.10 codec support)
2553 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2554 --without-gstreamer do not use GStreamer (codecs support)
2555 --without-hal do not use HAL (dynamic device support)
2556 --without-inotify do not use inotify (filesystem change notifications)
2557 --without-jpeg do not use JPEG
2558 --without-krb5 do not use krb5 (Kerberos)
2559 --without-ldap do not use LDAP
2560 --without-mingw do not use the MinGW cross-compiler
2561 --without-mpg123 do not use the mpg123 library
2562 --without-netapi do not use the Samba NetAPI library
2563 --without-openal do not use OpenAL
2564 --without-opencl do not use OpenCL
2565 --without-opengl do not use OpenGL
2566 --without-osmesa do not use the OSMesa library
2567 --without-oss do not use the OSS sound support
2568 --without-pcap do not use the Packet Capture library
2569 --without-png do not use PNG
2570 --without-pthread do not use the pthread library
2571 --without-pulse do not use PulseAudio sound support
2572 --without-sane do not use SANE (scanner support)
2573 --without-sdl do not use SDL
2574 --without-tiff do not use TIFF
2575 --without-udev do not use udev (plug and play support)
2576 --without-unwind do not use the libunwind library (exception
2577 handling)
2578 --without-v4l2 do not use v4l2 (video capture)
2579 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2580 --without-vulkan do not use Vulkan
2581 --without-xcomposite do not use the Xcomposite extension
2582 --without-xcursor do not use the Xcursor extension
2583 --without-xfixes do not use Xfixes for clipboard change notifications
2584 --without-xinerama do not use Xinerama (multi-monitor support)
2585 --without-xinput do not use the Xinput extension
2586 --without-xinput2 do not use the Xinput 2 extension
2587 --without-xml do not use XML
2588 --without-xrandr do not use Xrandr (resolution changes)
2589 --without-xrender do not use the Xrender extension
2590 --without-xshape do not use the Xshape extension
2591 --without-xshm do not use XShm (shared memory extension)
2592 --without-xslt do not use XSLT
2593 --without-xxf86vm do not use XFree video mode extension
2594 --without-zlib do not use Zlib (data compression)
2595 --with-wine-tools=DIR use Wine tools from directory DIR
2596 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2597 --with-x use the X Window System
2599 Some influential environment variables:
2600 CC C compiler command
2601 CFLAGS C compiler flags
2602 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2603 nonstandard directory <lib dir>
2604 LIBS libraries to pass to the linker, e.g. -l<library>
2605 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2606 you have headers in a nonstandard directory <include dir>
2607 CXX C++ compiler command
2608 CXXFLAGS C++ compiler flags
2609 CPP C preprocessor
2610 OBJC Objective C compiler command
2611 OBJCFLAGS Objective C compiler flags
2612 OBJCPP Objective C preprocessor
2613 XMKMF Path to xmkmf, Makefile generator for X Window System
2614 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2615 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2616 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2617 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2618 INOTIFY_CFLAGS
2619 C compiler flags for libinotify, overriding pkg-config
2620 INOTIFY_LIBS
2621 Linker flags for libinotify, overriding pkg-config
2622 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2623 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2624 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2625 HAL_LIBS Linker flags for hal, overriding pkg-config
2626 GNUTLS_CFLAGS
2627 C compiler flags for gnutls, overriding pkg-config
2628 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2629 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2630 SANE_LIBS Linker flags for libsane, overriding pkg-config
2631 GPHOTO2_CFLAGS
2632 C compiler flags for libgphoto2, overriding pkg-config
2633 GPHOTO2_LIBS
2634 Linker flags for libgphoto2, overriding pkg-config
2635 GPHOTO2_PORT_CFLAGS
2636 C compiler flags for libgphoto2_port, overriding pkg-config
2637 GPHOTO2_PORT_LIBS
2638 Linker flags for libgphoto2_port, overriding pkg-config
2639 LCMS2_CFLAGS
2640 C compiler flags for lcms2, overriding pkg-config
2641 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2642 FREETYPE_CFLAGS
2643 C compiler flags for freetype2, overriding pkg-config
2644 FREETYPE_LIBS
2645 Linker flags for freetype2, overriding pkg-config
2646 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2647 Z_LIBS Linker flags for libz, overriding pkg-config
2648 PULSE_CFLAGS
2649 C compiler flags for libpulse, overriding pkg-config
2650 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2651 GSTREAMER_CFLAGS
2652 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2653 gstreamer-audio-1.0, overriding pkg-config
2654 GSTREAMER_LIBS
2655 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2656 gstreamer-audio-1.0, overriding pkg-config
2657 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2658 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2659 UNWIND_CFLAGS
2660 C compiler flags for libunwind, overriding pkg-config
2661 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2662 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2663 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2664 FAUDIO_CFLAGS
2665 C compiler flags for faudio, overriding pkg-config
2666 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2667 CAPI20_CFLAGS
2668 C compiler flags for capi20, overriding pkg-config
2669 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2670 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2671 CUPS_LIBS Linker flags for cups, overriding pkg-config
2672 FONTCONFIG_CFLAGS
2673 C compiler flags for fontconfig, overriding pkg-config
2674 FONTCONFIG_LIBS
2675 Linker flags for fontconfig, overriding pkg-config
2676 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2677 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2678 GSSAPI_CFLAGS
2679 C compiler flags for krb5-gssapi, overriding pkg-config
2680 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2681 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2682 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2683 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2684 PNG_LIBS Linker flags for libpng, overriding pkg-config
2685 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2686 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2687 MPG123_CFLAGS
2688 C compiler flags for libmpg123, overriding pkg-config
2689 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2690 NETAPI_CFLAGS
2691 C compiler flags for netapi, overriding pkg-config
2692 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2693 VKD3D_CFLAGS
2694 C compiler flags for libvkd3d, overriding pkg-config
2695 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2696 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2697 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2699 Use these variables to override the choices made by `configure' or to help
2700 it to find libraries and programs with nonstandard names/locations.
2702 Report bugs to <wine-devel@winehq.org>.
2703 Wine home page: <https://www.winehq.org>.
2704 _ACEOF
2705 ac_status=$?
2708 if test "$ac_init_help" = "recursive"; then
2709 # If there are subdirs, report their specific --help.
2710 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2711 test -d "$ac_dir" ||
2712 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2713 continue
2714 ac_builddir=.
2716 case "$ac_dir" in
2717 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2719 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2720 # A ".." for each directory in $ac_dir_suffix.
2721 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2722 case $ac_top_builddir_sub in
2723 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2724 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2725 esac ;;
2726 esac
2727 ac_abs_top_builddir=$ac_pwd
2728 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2729 # for backward compatibility:
2730 ac_top_builddir=$ac_top_build_prefix
2732 case $srcdir in
2733 .) # We are building in place.
2734 ac_srcdir=.
2735 ac_top_srcdir=$ac_top_builddir_sub
2736 ac_abs_top_srcdir=$ac_pwd ;;
2737 [\\/]* | ?:[\\/]* ) # Absolute name.
2738 ac_srcdir=$srcdir$ac_dir_suffix;
2739 ac_top_srcdir=$srcdir
2740 ac_abs_top_srcdir=$srcdir ;;
2741 *) # Relative name.
2742 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2743 ac_top_srcdir=$ac_top_build_prefix$srcdir
2744 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2745 esac
2746 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2748 cd "$ac_dir" || { ac_status=$?; continue; }
2749 # Check for guested configure.
2750 if test -f "$ac_srcdir/configure.gnu"; then
2751 echo &&
2752 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2753 elif test -f "$ac_srcdir/configure"; then
2754 echo &&
2755 $SHELL "$ac_srcdir/configure" --help=recursive
2756 else
2757 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2758 fi || ac_status=$?
2759 cd "$ac_pwd" || { ac_status=$?; break; }
2760 done
2763 test -n "$ac_init_help" && exit $ac_status
2764 if $ac_init_version; then
2765 cat <<\_ACEOF
2766 Wine configure 4.21
2767 generated by GNU Autoconf 2.69
2769 Copyright (C) 2012 Free Software Foundation, Inc.
2770 This configure script is free software; the Free Software Foundation
2771 gives unlimited permission to copy, distribute and modify it.
2772 _ACEOF
2773 exit
2776 ## ------------------------ ##
2777 ## Autoconf initialization. ##
2778 ## ------------------------ ##
2780 # ac_fn_c_try_compile LINENO
2781 # --------------------------
2782 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2783 ac_fn_c_try_compile ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 rm -f conftest.$ac_objext
2787 if { { ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_compile") 2>conftest.err
2795 ac_status=$?
2796 if test -s conftest.err; then
2797 grep -v '^ *+' conftest.err >conftest.er1
2798 cat conftest.er1 >&5
2799 mv -f conftest.er1 conftest.err
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then :
2806 ac_retval=0
2807 else
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2811 ac_retval=1
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2814 as_fn_set_status $ac_retval
2816 } # ac_fn_c_try_compile
2818 # ac_fn_cxx_try_compile LINENO
2819 # ----------------------------
2820 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2821 ac_fn_cxx_try_compile ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 rm -f conftest.$ac_objext
2825 if { { ac_try="$ac_compile"
2826 case "(($ac_try" in
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2829 esac
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832 (eval "$ac_compile") 2>conftest.err
2833 ac_status=$?
2834 if test -s conftest.err; then
2835 grep -v '^ *+' conftest.err >conftest.er1
2836 cat conftest.er1 >&5
2837 mv -f conftest.er1 conftest.err
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; } && {
2841 test -z "$ac_cxx_werror_flag" ||
2842 test ! -s conftest.err
2843 } && test -s conftest.$ac_objext; then :
2844 ac_retval=0
2845 else
2846 $as_echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2849 ac_retval=1
2851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 as_fn_set_status $ac_retval
2854 } # ac_fn_cxx_try_compile
2856 # ac_fn_c_try_link LINENO
2857 # -----------------------
2858 # Try to link conftest.$ac_ext, and return whether this succeeded.
2859 ac_fn_c_try_link ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 rm -f conftest.$ac_objext conftest$ac_exeext
2863 if { { ac_try="$ac_link"
2864 case "(($ac_try" in
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2867 esac
2868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2869 $as_echo "$ac_try_echo"; } >&5
2870 (eval "$ac_link") 2>conftest.err
2871 ac_status=$?
2872 if test -s conftest.err; then
2873 grep -v '^ *+' conftest.err >conftest.er1
2874 cat conftest.er1 >&5
2875 mv -f conftest.er1 conftest.err
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; } && {
2879 test -z "$ac_c_werror_flag" ||
2880 test ! -s conftest.err
2881 } && test -s conftest$ac_exeext && {
2882 test "$cross_compiling" = yes ||
2883 test -x conftest$ac_exeext
2884 }; then :
2885 ac_retval=0
2886 else
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 ac_retval=1
2892 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2893 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2894 # interfere with the next link command; also delete a directory that is
2895 # left behind by Apple's compiler. We do this before executing the actions.
2896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 as_fn_set_status $ac_retval
2900 } # ac_fn_c_try_link
2902 # ac_fn_c_try_cpp LINENO
2903 # ----------------------
2904 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2905 ac_fn_c_try_cpp ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 if { { ac_try="$ac_cpp conftest.$ac_ext"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2916 ac_status=$?
2917 if test -s conftest.err; then
2918 grep -v '^ *+' conftest.err >conftest.er1
2919 cat conftest.er1 >&5
2920 mv -f conftest.er1 conftest.err
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; } > conftest.i && {
2924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2925 test ! -s conftest.err
2926 }; then :
2927 ac_retval=0
2928 else
2929 $as_echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.$ac_ext >&5
2932 ac_retval=1
2934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 as_fn_set_status $ac_retval
2937 } # ac_fn_c_try_cpp
2939 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2940 # -------------------------------------------------------
2941 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2942 # the include files in INCLUDES and setting the cache variable VAR
2943 # accordingly.
2944 ac_fn_c_check_header_mongrel ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 if eval \${$3+:} false; then :
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2949 $as_echo_n "checking for $2... " >&6; }
2950 if eval \${$3+:} false; then :
2951 $as_echo_n "(cached) " >&6
2953 eval ac_res=\$$3
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2955 $as_echo "$ac_res" >&6; }
2956 else
2957 # Is the header compilable?
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2959 $as_echo_n "checking $2 usability... " >&6; }
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2963 #include <$2>
2964 _ACEOF
2965 if ac_fn_c_try_compile "$LINENO"; then :
2966 ac_header_compiler=yes
2967 else
2968 ac_header_compiler=no
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2972 $as_echo "$ac_header_compiler" >&6; }
2974 # Is the header present?
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2976 $as_echo_n "checking $2 presence... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2979 #include <$2>
2980 _ACEOF
2981 if ac_fn_c_try_cpp "$LINENO"; then :
2982 ac_header_preproc=yes
2983 else
2984 ac_header_preproc=no
2986 rm -f conftest.err conftest.i conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2988 $as_echo "$ac_header_preproc" >&6; }
2990 # So? What about this header?
2991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2992 yes:no: )
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2994 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2996 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2998 no:yes:* )
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3000 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3002 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3004 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3006 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3008 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3009 ( $as_echo "## ------------------------------------ ##
3010 ## Report this to wine-devel@winehq.org ##
3011 ## ------------------------------------ ##"
3012 ) | sed "s/^/$as_me: WARNING: /" >&2
3014 esac
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3016 $as_echo_n "checking for $2... " >&6; }
3017 if eval \${$3+:} false; then :
3018 $as_echo_n "(cached) " >&6
3019 else
3020 eval "$3=\$ac_header_compiler"
3022 eval ac_res=\$$3
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_header_mongrel
3030 # ac_fn_c_try_run LINENO
3031 # ----------------------
3032 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3033 # that executables *can* be run.
3034 ac_fn_c_try_run ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 if { { ac_try="$ac_link"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_link") 2>&5
3045 ac_status=$?
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3048 { { case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_try") 2>&5
3055 ac_status=$?
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; }; then :
3058 ac_retval=0
3059 else
3060 $as_echo "$as_me: program exited with status $ac_status" >&5
3061 $as_echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3064 ac_retval=$ac_status
3066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 as_fn_set_status $ac_retval
3070 } # ac_fn_c_try_run
3072 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3073 # -------------------------------------------------------
3074 # Tests whether HEADER exists and can be compiled using the include files in
3075 # INCLUDES, setting the cache variable VAR accordingly.
3076 ac_fn_c_check_header_compile ()
3078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3080 $as_echo_n "checking for $2... " >&6; }
3081 if eval \${$3+:} false; then :
3082 $as_echo_n "(cached) " >&6
3083 else
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3087 #include <$2>
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"; then :
3090 eval "$3=yes"
3091 else
3092 eval "$3=no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3096 eval ac_res=\$$3
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3098 $as_echo "$ac_res" >&6; }
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 } # ac_fn_c_check_header_compile
3103 # ac_fn_objc_try_compile LINENO
3104 # -----------------------------
3105 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3106 ac_fn_objc_try_compile ()
3108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3109 rm -f conftest.$ac_objext
3110 if { { ac_try="$ac_compile"
3111 case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_compile") 2>conftest.err
3118 ac_status=$?
3119 if test -s conftest.err; then
3120 grep -v '^ *+' conftest.err >conftest.er1
3121 cat conftest.er1 >&5
3122 mv -f conftest.er1 conftest.err
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; } && {
3126 test -z "$ac_objc_werror_flag" ||
3127 test ! -s conftest.err
3128 } && test -s conftest.$ac_objext; then :
3129 ac_retval=0
3130 else
3131 $as_echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3134 ac_retval=1
3136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 as_fn_set_status $ac_retval
3139 } # ac_fn_objc_try_compile
3141 # ac_fn_objc_try_cpp LINENO
3142 # -------------------------
3143 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3144 ac_fn_objc_try_cpp ()
3146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3147 if { { ac_try="$ac_cpp conftest.$ac_ext"
3148 case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3155 ac_status=$?
3156 if test -s conftest.err; then
3157 grep -v '^ *+' conftest.err >conftest.er1
3158 cat conftest.er1 >&5
3159 mv -f conftest.er1 conftest.err
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162 test $ac_status = 0; } > conftest.i && {
3163 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3164 test ! -s conftest.err
3165 }; then :
3166 ac_retval=0
3167 else
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 ac_retval=1
3173 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3174 as_fn_set_status $ac_retval
3176 } # ac_fn_objc_try_cpp
3178 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3179 # ----------------------------------------------------------
3180 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3181 # the include files in INCLUDES and setting the cache variable VAR
3182 # accordingly.
3183 ac_fn_objc_check_header_mongrel ()
3185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3186 if eval \${$3+:} false; then :
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3188 $as_echo_n "checking for $2... " >&6; }
3189 if eval \${$3+:} false; then :
3190 $as_echo_n "(cached) " >&6
3192 eval ac_res=\$$3
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3194 $as_echo "$ac_res" >&6; }
3195 else
3196 # Is the header compilable?
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3198 $as_echo_n "checking $2 usability... " >&6; }
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3202 #include <$2>
3203 _ACEOF
3204 if ac_fn_objc_try_compile "$LINENO"; then :
3205 ac_header_compiler=yes
3206 else
3207 ac_header_compiler=no
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3211 $as_echo "$ac_header_compiler" >&6; }
3213 # Is the header present?
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3215 $as_echo_n "checking $2 presence... " >&6; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3218 #include <$2>
3219 _ACEOF
3220 if ac_fn_objc_try_cpp "$LINENO"; then :
3221 ac_header_preproc=yes
3222 else
3223 ac_header_preproc=no
3225 rm -f conftest.err conftest.i conftest.$ac_ext
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3227 $as_echo "$ac_header_preproc" >&6; }
3229 # So? What about this header?
3230 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3231 yes:no: )
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3233 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3235 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3237 no:yes:* )
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3239 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3241 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3243 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3245 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3247 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3248 ( $as_echo "## ------------------------------------ ##
3249 ## Report this to wine-devel@winehq.org ##
3250 ## ------------------------------------ ##"
3251 ) | sed "s/^/$as_me: WARNING: /" >&2
3253 esac
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3255 $as_echo_n "checking for $2... " >&6; }
3256 if eval \${$3+:} false; then :
3257 $as_echo_n "(cached) " >&6
3258 else
3259 eval "$3=\$ac_header_compiler"
3261 eval ac_res=\$$3
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3263 $as_echo "$ac_res" >&6; }
3265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3267 } # ac_fn_objc_check_header_mongrel
3269 # ac_fn_c_check_func LINENO FUNC VAR
3270 # ----------------------------------
3271 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3272 ac_fn_c_check_func ()
3274 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3276 $as_echo_n "checking for $2... " >&6; }
3277 if eval \${$3+:} false; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3282 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3284 #define $2 innocuous_$2
3286 /* System header to define __stub macros and hopefully few prototypes,
3287 which can conflict with char $2 (); below.
3288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3289 <limits.h> exists even on freestanding compilers. */
3291 #ifdef __STDC__
3292 # include <limits.h>
3293 #else
3294 # include <assert.h>
3295 #endif
3297 #undef $2
3299 /* Override any GCC internal prototype to avoid an error.
3300 Use char because int might match the return type of a GCC
3301 builtin and then its argument prototype would still apply. */
3302 #ifdef __cplusplus
3303 extern "C"
3304 #endif
3305 char $2 ();
3306 /* The GNU C library defines this for functions which it implements
3307 to always fail with ENOSYS. Some functions are actually named
3308 something starting with __ and the normal name is an alias. */
3309 #if defined __stub_$2 || defined __stub___$2
3310 choke me
3311 #endif
3314 main ()
3316 return $2 ();
3318 return 0;
3320 _ACEOF
3321 if ac_fn_c_try_link "$LINENO"; then :
3322 eval "$3=yes"
3323 else
3324 eval "$3=no"
3326 rm -f core conftest.err conftest.$ac_objext \
3327 conftest$ac_exeext conftest.$ac_ext
3329 eval ac_res=\$$3
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3331 $as_echo "$ac_res" >&6; }
3332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3334 } # ac_fn_c_check_func
3336 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3337 # ----------------------------------------------------
3338 # Tries to find if the field MEMBER exists in type AGGR, after including
3339 # INCLUDES, setting cache variable VAR accordingly.
3340 ac_fn_c_check_member ()
3342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3344 $as_echo_n "checking for $2.$3... " >&6; }
3345 if eval \${$4+:} false; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main ()
3354 static $2 ac_aggr;
3355 if (ac_aggr.$3)
3356 return 0;
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"; then :
3362 eval "$4=yes"
3363 else
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 main ()
3370 static $2 ac_aggr;
3371 if (sizeof ac_aggr.$3)
3372 return 0;
3374 return 0;
3376 _ACEOF
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 eval "$4=yes"
3379 else
3380 eval "$4=no"
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 eval ac_res=\$$4
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3388 $as_echo "$ac_res" >&6; }
3389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3391 } # ac_fn_c_check_member
3393 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3394 # -------------------------------------------
3395 # Tests whether TYPE exists after having included INCLUDES, setting cache
3396 # variable VAR accordingly.
3397 ac_fn_c_check_type ()
3399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3401 $as_echo_n "checking for $2... " >&6; }
3402 if eval \${$3+:} false; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3405 eval "$3=no"
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3410 main ()
3412 if (sizeof ($2))
3413 return 0;
3415 return 0;
3417 _ACEOF
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 main ()
3425 if (sizeof (($2)))
3426 return 0;
3428 return 0;
3430 _ACEOF
3431 if ac_fn_c_try_compile "$LINENO"; then :
3433 else
3434 eval "$3=yes"
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 eval ac_res=\$$3
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3442 $as_echo "$ac_res" >&6; }
3443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3445 } # ac_fn_c_check_type
3446 cat >config.log <<_ACEOF
3447 This file contains any messages produced by compilers while
3448 running configure, to aid debugging if configure makes a mistake.
3450 It was created by Wine $as_me 4.21, which was
3451 generated by GNU Autoconf 2.69. Invocation command line was
3453 $ $0 $@
3455 _ACEOF
3456 exec 5>>config.log
3458 cat <<_ASUNAME
3459 ## --------- ##
3460 ## Platform. ##
3461 ## --------- ##
3463 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3464 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3465 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3466 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3467 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3469 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3470 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3472 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3473 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3474 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3475 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3476 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3477 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3478 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3480 _ASUNAME
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3485 IFS=$as_save_IFS
3486 test -z "$as_dir" && as_dir=.
3487 $as_echo "PATH: $as_dir"
3488 done
3489 IFS=$as_save_IFS
3491 } >&5
3493 cat >&5 <<_ACEOF
3496 ## ----------- ##
3497 ## Core tests. ##
3498 ## ----------- ##
3500 _ACEOF
3503 # Keep a trace of the command line.
3504 # Strip out --no-create and --no-recursion so they do not pile up.
3505 # Strip out --silent because we don't want to record it for future runs.
3506 # Also quote any args containing shell meta-characters.
3507 # Make two passes to allow for proper duplicate-argument suppression.
3508 ac_configure_args=
3509 ac_configure_args0=
3510 ac_configure_args1=
3511 ac_must_keep_next=false
3512 for ac_pass in 1 2
3514 for ac_arg
3516 case $ac_arg in
3517 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3519 | -silent | --silent | --silen | --sile | --sil)
3520 continue ;;
3521 *\'*)
3522 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3523 esac
3524 case $ac_pass in
3525 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3527 as_fn_append ac_configure_args1 " '$ac_arg'"
3528 if test $ac_must_keep_next = true; then
3529 ac_must_keep_next=false # Got value, back to normal.
3530 else
3531 case $ac_arg in
3532 *=* | --config-cache | -C | -disable-* | --disable-* \
3533 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3534 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3535 | -with-* | --with-* | -without-* | --without-* | --x)
3536 case "$ac_configure_args0 " in
3537 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3538 esac
3540 -* ) ac_must_keep_next=true ;;
3541 esac
3543 as_fn_append ac_configure_args " '$ac_arg'"
3545 esac
3546 done
3547 done
3548 { ac_configure_args0=; unset ac_configure_args0;}
3549 { ac_configure_args1=; unset ac_configure_args1;}
3551 # When interrupted or exit'd, cleanup temporary files, and complete
3552 # config.log. We remove comments because anyway the quotes in there
3553 # would cause problems or look ugly.
3554 # WARNING: Use '\'' to represent an apostrophe within the trap.
3555 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3556 trap 'exit_status=$?
3557 # Save into config.log some information that might help in debugging.
3559 echo
3561 $as_echo "## ---------------- ##
3562 ## Cache variables. ##
3563 ## ---------------- ##"
3564 echo
3565 # The following way of writing the cache mishandles newlines in values,
3567 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3568 eval ac_val=\$$ac_var
3569 case $ac_val in #(
3570 *${as_nl}*)
3571 case $ac_var in #(
3572 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3574 esac
3575 case $ac_var in #(
3576 _ | IFS | as_nl) ;; #(
3577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3578 *) { eval $ac_var=; unset $ac_var;} ;;
3579 esac ;;
3580 esac
3581 done
3582 (set) 2>&1 |
3583 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3584 *${as_nl}ac_space=\ *)
3585 sed -n \
3586 "s/'\''/'\''\\\\'\'''\''/g;
3587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3588 ;; #(
3590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3592 esac |
3593 sort
3595 echo
3597 $as_echo "## ----------------- ##
3598 ## Output variables. ##
3599 ## ----------------- ##"
3600 echo
3601 for ac_var in $ac_subst_vars
3603 eval ac_val=\$$ac_var
3604 case $ac_val in
3605 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3606 esac
3607 $as_echo "$ac_var='\''$ac_val'\''"
3608 done | sort
3609 echo
3611 if test -n "$ac_subst_files"; then
3612 $as_echo "## ------------------- ##
3613 ## File substitutions. ##
3614 ## ------------------- ##"
3615 echo
3616 for ac_var in $ac_subst_files
3618 eval ac_val=\$$ac_var
3619 case $ac_val in
3620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3621 esac
3622 $as_echo "$ac_var='\''$ac_val'\''"
3623 done | sort
3624 echo
3627 if test -s confdefs.h; then
3628 $as_echo "## ----------- ##
3629 ## confdefs.h. ##
3630 ## ----------- ##"
3631 echo
3632 cat confdefs.h
3633 echo
3635 test "$ac_signal" != 0 &&
3636 $as_echo "$as_me: caught signal $ac_signal"
3637 $as_echo "$as_me: exit $exit_status"
3638 } >&5
3639 rm -f core *.core core.conftest.* &&
3640 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3641 exit $exit_status
3643 for ac_signal in 1 2 13 15; do
3644 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3645 done
3646 ac_signal=0
3648 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3649 rm -f -r conftest* confdefs.h
3651 $as_echo "/* confdefs.h */" > confdefs.h
3653 # Predefined preprocessor variables.
3655 cat >>confdefs.h <<_ACEOF
3656 #define PACKAGE_NAME "$PACKAGE_NAME"
3657 _ACEOF
3659 cat >>confdefs.h <<_ACEOF
3660 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3661 _ACEOF
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_STRING "$PACKAGE_STRING"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_URL "$PACKAGE_URL"
3677 _ACEOF
3680 # Let the site file select an alternate cache file if it wants to.
3681 # Prefer an explicitly selected file to automatically selected ones.
3682 ac_site_file1=NONE
3683 ac_site_file2=NONE
3684 if test -n "$CONFIG_SITE"; then
3685 # We do not want a PATH search for config.site.
3686 case $CONFIG_SITE in #((
3687 -*) ac_site_file1=./$CONFIG_SITE;;
3688 */*) ac_site_file1=$CONFIG_SITE;;
3689 *) ac_site_file1=./$CONFIG_SITE;;
3690 esac
3691 elif test "x$prefix" != xNONE; then
3692 ac_site_file1=$prefix/share/config.site
3693 ac_site_file2=$prefix/etc/config.site
3694 else
3695 ac_site_file1=$ac_default_prefix/share/config.site
3696 ac_site_file2=$ac_default_prefix/etc/config.site
3698 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3700 test "x$ac_site_file" = xNONE && continue
3701 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3703 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3704 sed 's/^/| /' "$ac_site_file" >&5
3705 . "$ac_site_file" \
3706 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3708 as_fn_error $? "failed to load site script $ac_site_file
3709 See \`config.log' for more details" "$LINENO" 5; }
3711 done
3713 if test -r "$cache_file"; then
3714 # Some versions of bash will fail to source /dev/null (special files
3715 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3716 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3718 $as_echo "$as_me: loading cache $cache_file" >&6;}
3719 case $cache_file in
3720 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3721 *) . "./$cache_file";;
3722 esac
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3726 $as_echo "$as_me: creating cache $cache_file" >&6;}
3727 >$cache_file
3730 # Check that the precious variables saved in the cache have kept the same
3731 # value.
3732 ac_cache_corrupted=false
3733 for ac_var in $ac_precious_vars; do
3734 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3735 eval ac_new_set=\$ac_env_${ac_var}_set
3736 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3737 eval ac_new_val=\$ac_env_${ac_var}_value
3738 case $ac_old_set,$ac_new_set in
3739 set,)
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3741 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3742 ac_cache_corrupted=: ;;
3743 ,set)
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3745 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3746 ac_cache_corrupted=: ;;
3747 ,);;
3749 if test "x$ac_old_val" != "x$ac_new_val"; then
3750 # differences in whitespace do not lead to failure.
3751 ac_old_val_w=`echo x $ac_old_val`
3752 ac_new_val_w=`echo x $ac_new_val`
3753 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3755 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3756 ac_cache_corrupted=:
3757 else
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3759 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3760 eval $ac_var=\$ac_old_val
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3763 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3765 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3766 fi;;
3767 esac
3768 # Pass precious variables to config.status.
3769 if test "$ac_new_set" = set; then
3770 case $ac_new_val in
3771 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3772 *) ac_arg=$ac_var=$ac_new_val ;;
3773 esac
3774 case " $ac_configure_args " in
3775 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3776 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3777 esac
3779 done
3780 if $ac_cache_corrupted; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3784 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3785 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3787 ## -------------------- ##
3788 ## Main body of script. ##
3789 ## -------------------- ##
3791 ac_ext=c
3792 ac_cpp='$CPP $CPPFLAGS'
3793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3799 ac_config_headers="$ac_config_headers include/config.h"
3801 ac_aux_dir=
3802 for ac_dir in tools "$srcdir"/tools; do
3803 if test -f "$ac_dir/install-sh"; then
3804 ac_aux_dir=$ac_dir
3805 ac_install_sh="$ac_aux_dir/install-sh -c"
3806 break
3807 elif test -f "$ac_dir/install.sh"; then
3808 ac_aux_dir=$ac_dir
3809 ac_install_sh="$ac_aux_dir/install.sh -c"
3810 break
3811 elif test -f "$ac_dir/shtool"; then
3812 ac_aux_dir=$ac_dir
3813 ac_install_sh="$ac_aux_dir/shtool install -c"
3814 break
3816 done
3817 if test -z "$ac_aux_dir"; then
3818 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3821 # These three variables are undocumented and unsupported,
3822 # and are intended to be withdrawn in a future Autoconf release.
3823 # They can cause serious problems if a builder's source tree is in a directory
3824 # whose full name contains unusual characters.
3825 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3826 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3827 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3831 libwine_version="1.0"
3835 # Check whether --enable-win16 was given.
3836 if test "${enable_win16+set}" = set; then :
3837 enableval=$enable_win16;
3840 # Check whether --enable-win64 was given.
3841 if test "${enable_win64+set}" = set; then :
3842 enableval=$enable_win64;
3845 # Check whether --enable-tests was given.
3846 if test "${enable_tests+set}" = set; then :
3847 enableval=$enable_tests;
3850 # Check whether --enable-maintainer-mode was given.
3851 if test "${enable_maintainer_mode+set}" = set; then :
3852 enableval=$enable_maintainer_mode;
3857 # Check whether --with-alsa was given.
3858 if test "${with_alsa+set}" = set; then :
3859 withval=$with_alsa;
3863 # Check whether --with-capi was given.
3864 if test "${with_capi+set}" = set; then :
3865 withval=$with_capi;
3869 # Check whether --with-cms was given.
3870 if test "${with_cms+set}" = set; then :
3871 withval=$with_cms;
3875 # Check whether --with-coreaudio was given.
3876 if test "${with_coreaudio+set}" = set; then :
3877 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3881 # Check whether --with-cups was given.
3882 if test "${with_cups+set}" = set; then :
3883 withval=$with_cups;
3887 # Check whether --with-curses was given.
3888 if test "${with_curses+set}" = set; then :
3889 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3893 # Check whether --with-dbus was given.
3894 if test "${with_dbus+set}" = set; then :
3895 withval=$with_dbus;
3899 # Check whether --with-faudio was given.
3900 if test "${with_faudio+set}" = set; then :
3901 withval=$with_faudio;
3905 # Check whether --with-float-abi was given.
3906 if test "${with_float_abi+set}" = set; then :
3907 withval=$with_float_abi;
3911 # Check whether --with-fontconfig was given.
3912 if test "${with_fontconfig+set}" = set; then :
3913 withval=$with_fontconfig;
3917 # Check whether --with-freetype was given.
3918 if test "${with_freetype+set}" = set; then :
3919 withval=$with_freetype;
3923 # Check whether --with-gettext was given.
3924 if test "${with_gettext+set}" = set; then :
3925 withval=$with_gettext;
3929 # Check whether --with-gettextpo was given.
3930 if test "${with_gettextpo+set}" = set; then :
3931 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3935 # Check whether --with-gphoto was given.
3936 if test "${with_gphoto+set}" = set; then :
3937 withval=$with_gphoto;
3941 # Check whether --with-glu was given.
3942 if test "${with_glu+set}" = set; then :
3943 withval=$with_glu;
3947 # Check whether --with-gnutls was given.
3948 if test "${with_gnutls+set}" = set; then :
3949 withval=$with_gnutls;
3953 # Check whether --with-gsm was given.
3954 if test "${with_gsm+set}" = set; then :
3955 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3959 # Check whether --with-gssapi was given.
3960 if test "${with_gssapi+set}" = set; then :
3961 withval=$with_gssapi;
3965 # Check whether --with-gstreamer was given.
3966 if test "${with_gstreamer+set}" = set; then :
3967 withval=$with_gstreamer;
3971 # Check whether --with-hal was given.
3972 if test "${with_hal+set}" = set; then :
3973 withval=$with_hal;
3977 # Check whether --with-inotify was given.
3978 if test "${with_inotify+set}" = set; then :
3979 withval=$with_inotify;
3983 # Check whether --with-jpeg was given.
3984 if test "${with_jpeg+set}" = set; then :
3985 withval=$with_jpeg;
3989 # Check whether --with-krb5 was given.
3990 if test "${with_krb5+set}" = set; then :
3991 withval=$with_krb5;
3995 # Check whether --with-ldap was given.
3996 if test "${with_ldap+set}" = set; then :
3997 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4001 # Check whether --with-mingw was given.
4002 if test "${with_mingw+set}" = set; then :
4003 withval=$with_mingw;
4007 # Check whether --with-mpg123 was given.
4008 if test "${with_mpg123+set}" = set; then :
4009 withval=$with_mpg123;
4013 # Check whether --with-netapi was given.
4014 if test "${with_netapi+set}" = set; then :
4015 withval=$with_netapi;
4019 # Check whether --with-openal was given.
4020 if test "${with_openal+set}" = set; then :
4021 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4025 # Check whether --with-opencl was given.
4026 if test "${with_opencl+set}" = set; then :
4027 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4031 # Check whether --with-opengl was given.
4032 if test "${with_opengl+set}" = set; then :
4033 withval=$with_opengl;
4037 # Check whether --with-osmesa was given.
4038 if test "${with_osmesa+set}" = set; then :
4039 withval=$with_osmesa;
4043 # Check whether --with-oss was given.
4044 if test "${with_oss+set}" = set; then :
4045 withval=$with_oss;
4049 # Check whether --with-pcap was given.
4050 if test "${with_pcap+set}" = set; then :
4051 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4055 # Check whether --with-png was given.
4056 if test "${with_png+set}" = set; then :
4057 withval=$with_png;
4061 # Check whether --with-pthread was given.
4062 if test "${with_pthread+set}" = set; then :
4063 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4067 # Check whether --with-pulse was given.
4068 if test "${with_pulse+set}" = set; then :
4069 withval=$with_pulse;
4073 # Check whether --with-sane was given.
4074 if test "${with_sane+set}" = set; then :
4075 withval=$with_sane;
4079 # Check whether --with-sdl was given.
4080 if test "${with_sdl+set}" = set; then :
4081 withval=$with_sdl;
4085 # Check whether --with-tiff was given.
4086 if test "${with_tiff+set}" = set; then :
4087 withval=$with_tiff;
4091 # Check whether --with-udev was given.
4092 if test "${with_udev+set}" = set; then :
4093 withval=$with_udev;
4097 # Check whether --with-unwind was given.
4098 if test "${with_unwind+set}" = set; then :
4099 withval=$with_unwind;
4103 # Check whether --with-v4l2 was given.
4104 if test "${with_v4l2+set}" = set; then :
4105 withval=$with_v4l2;
4109 # Check whether --with-vkd3d was given.
4110 if test "${with_vkd3d+set}" = set; then :
4111 withval=$with_vkd3d;
4115 # Check whether --with-vulkan was given.
4116 if test "${with_vulkan+set}" = set; then :
4117 withval=$with_vulkan;
4121 # Check whether --with-xcomposite was given.
4122 if test "${with_xcomposite+set}" = set; then :
4123 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4127 # Check whether --with-xcursor was given.
4128 if test "${with_xcursor+set}" = set; then :
4129 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4133 # Check whether --with-xfixes was given.
4134 if test "${with_xfixes+set}" = set; then :
4135 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4139 # Check whether --with-xinerama was given.
4140 if test "${with_xinerama+set}" = set; then :
4141 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4145 # Check whether --with-xinput was given.
4146 if test "${with_xinput+set}" = set; then :
4147 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4151 # Check whether --with-xinput2 was given.
4152 if test "${with_xinput2+set}" = set; then :
4153 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4157 # Check whether --with-xml was given.
4158 if test "${with_xml+set}" = set; then :
4159 withval=$with_xml;
4163 # Check whether --with-xrandr was given.
4164 if test "${with_xrandr+set}" = set; then :
4165 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4169 # Check whether --with-xrender was given.
4170 if test "${with_xrender+set}" = set; then :
4171 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4175 # Check whether --with-xshape was given.
4176 if test "${with_xshape+set}" = set; then :
4177 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4181 # Check whether --with-xshm was given.
4182 if test "${with_xshm+set}" = set; then :
4183 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4187 # Check whether --with-xslt was given.
4188 if test "${with_xslt+set}" = set; then :
4189 withval=$with_xslt;
4193 # Check whether --with-xxf86vm was given.
4194 if test "${with_xxf86vm+set}" = set; then :
4195 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
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then :
4201 withval=$with_zlib;
4206 # Check whether --with-wine-tools was given.
4207 if test "${with_wine_tools+set}" = set; then :
4208 withval=$with_wine_tools;
4212 # Check whether --with-wine64 was given.
4213 if test "${with_wine64+set}" = set; then :
4214 withval=$with_wine64;
4218 # Make sure we can run config.sub.
4219 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4220 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4223 $as_echo_n "checking build system type... " >&6; }
4224 if ${ac_cv_build+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 ac_build_alias=$build_alias
4228 test "x$ac_build_alias" = x &&
4229 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4230 test "x$ac_build_alias" = x &&
4231 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4232 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4233 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4237 $as_echo "$ac_cv_build" >&6; }
4238 case $ac_cv_build in
4239 *-*-*) ;;
4240 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4241 esac
4242 build=$ac_cv_build
4243 ac_save_IFS=$IFS; IFS='-'
4244 set x $ac_cv_build
4245 shift
4246 build_cpu=$1
4247 build_vendor=$2
4248 shift; shift
4249 # Remember, the first character of IFS is used to create $*,
4250 # except with old shells:
4251 build_os=$*
4252 IFS=$ac_save_IFS
4253 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4257 $as_echo_n "checking host system type... " >&6; }
4258 if ${ac_cv_host+:} false; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 if test "x$host_alias" = x; then
4262 ac_cv_host=$ac_cv_build
4263 else
4264 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4265 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4270 $as_echo "$ac_cv_host" >&6; }
4271 case $ac_cv_host in
4272 *-*-*) ;;
4273 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4274 esac
4275 host=$ac_cv_host
4276 ac_save_IFS=$IFS; IFS='-'
4277 set x $ac_cv_host
4278 shift
4279 host_cpu=$1
4280 host_vendor=$2
4281 shift; shift
4282 # Remember, the first character of IFS is used to create $*,
4283 # except with old shells:
4284 host_os=$*
4285 IFS=$ac_save_IFS
4286 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4290 case "$srcdir" in
4291 .) ;;
4292 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4293 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4294 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4295 fi ;;
4296 esac
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4301 set x ${MAKE-make}
4302 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4303 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 cat >conftest.make <<\_ACEOF
4307 SHELL = /bin/sh
4308 all:
4309 @echo '@@@%%%=$(MAKE)=@@@%%%'
4310 _ACEOF
4311 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4312 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4313 *@@@%%%=?*=@@@%%%*)
4314 eval ac_cv_prog_make_${ac_make}_set=yes;;
4316 eval ac_cv_prog_make_${ac_make}_set=no;;
4317 esac
4318 rm -f conftest.make
4320 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4322 $as_echo "yes" >&6; }
4323 SET_MAKE=
4324 else
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4327 SET_MAKE="MAKE=${MAKE-make}"
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 if test -n "$ac_tool_prefix"; then
4336 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4337 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_CC+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test -n "$CC"; then
4344 ac_cv_prog_CC="$CC" # Let the user override the test.
4345 else
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH
4349 IFS=$as_save_IFS
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 break 2
4357 done
4358 done
4359 IFS=$as_save_IFS
4363 CC=$ac_cv_prog_CC
4364 if test -n "$CC"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4366 $as_echo "$CC" >&6; }
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4374 if test -z "$ac_cv_prog_CC"; then
4375 ac_ct_CC=$CC
4376 # Extract the first word of "gcc", so it can be a program name with args.
4377 set dummy gcc; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 if test -n "$ac_ct_CC"; then
4384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4385 else
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH
4389 IFS=$as_save_IFS
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4393 ac_cv_prog_ac_ct_CC="gcc"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 break 2
4397 done
4398 done
4399 IFS=$as_save_IFS
4403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4404 if test -n "$ac_ct_CC"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4406 $as_echo "$ac_ct_CC" >&6; }
4407 else
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4412 if test "x$ac_ct_CC" = x; then
4413 CC=""
4414 else
4415 case $cross_compiling:$ac_tool_warned in
4416 yes:)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4419 ac_tool_warned=yes ;;
4420 esac
4421 CC=$ac_ct_CC
4423 else
4424 CC="$ac_cv_prog_CC"
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4430 set dummy ${ac_tool_prefix}cc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC="$CC" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC="${ac_tool_prefix}cc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4468 if test -z "$CC"; then
4469 # Extract the first word of "cc", so it can be a program name with args.
4470 set dummy cc; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$CC"; then
4477 ac_cv_prog_CC="$CC" # Let the user override the test.
4478 else
4479 ac_prog_rejected=no
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4488 ac_prog_rejected=yes
4489 continue
4491 ac_cv_prog_CC="cc"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4499 if test $ac_prog_rejected = yes; then
4500 # We found a bogon in the path, so make sure we never use it.
4501 set dummy $ac_cv_prog_CC
4502 shift
4503 if test $# != 0; then
4504 # We chose a different compiler from the bogus one.
4505 # However, it has the same basename, so the bogon will be chosen
4506 # first if we set CC to just the basename; use the full file name.
4507 shift
4508 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4513 CC=$ac_cv_prog_CC
4514 if test -n "$CC"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4516 $as_echo "$CC" >&6; }
4517 else
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 $as_echo "no" >&6; }
4524 if test -z "$CC"; then
4525 if test -n "$ac_tool_prefix"; then
4526 for ac_prog in cl.exe
4528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if ${ac_cv_prog_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if test -n "$CC"; then
4536 ac_cv_prog_CC="$CC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4549 done
4550 done
4551 IFS=$as_save_IFS
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4565 test -n "$CC" && break
4566 done
4568 if test -z "$CC"; then
4569 ac_ct_CC=$CC
4570 for ac_prog in cl.exe
4572 # Extract the first word of "$ac_prog", so it can be a program name with args.
4573 set dummy $ac_prog; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 if test -n "$ac_ct_CC"; then
4580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4581 else
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4585 IFS=$as_save_IFS
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_ac_ct_CC="$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 break 2
4593 done
4594 done
4595 IFS=$as_save_IFS
4599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4600 if test -n "$ac_ct_CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4602 $as_echo "$ac_ct_CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$ac_ct_CC" && break
4610 done
4612 if test "x$ac_ct_CC" = x; then
4613 CC=""
4614 else
4615 case $cross_compiling:$ac_tool_warned in
4616 yes:)
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4619 ac_tool_warned=yes ;;
4620 esac
4621 CC=$ac_ct_CC
4628 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4630 as_fn_error $? "no acceptable C compiler found in \$PATH
4631 See \`config.log' for more details" "$LINENO" 5; }
4633 # Provide some information about the compiler.
4634 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4635 set X $ac_compile
4636 ac_compiler=$2
4637 for ac_option in --version -v -V -qversion; do
4638 { { ac_try="$ac_compiler $ac_option >&5"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4644 $as_echo "$ac_try_echo"; } >&5
4645 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4646 ac_status=$?
4647 if test -s conftest.err; then
4648 sed '10a\
4649 ... rest of stderr output deleted ...
4650 10q' conftest.err >conftest.er1
4651 cat conftest.er1 >&5
4653 rm -f conftest.er1 conftest.err
4654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4655 test $ac_status = 0; }
4656 done
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 ac_clean_files_save=$ac_clean_files
4670 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4671 # Try to create an executable without -o first, disregard a.out.
4672 # It will help us diagnose broken compilers, and finding out an intuition
4673 # of exeext.
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4675 $as_echo_n "checking whether the C compiler works... " >&6; }
4676 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4678 # The possible output files:
4679 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4681 ac_rmfiles=
4682 for ac_file in $ac_files
4684 case $ac_file in
4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4686 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4687 esac
4688 done
4689 rm -f $ac_rmfiles
4691 if { { ac_try="$ac_link_default"
4692 case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4695 esac
4696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697 $as_echo "$ac_try_echo"; } >&5
4698 (eval "$ac_link_default") 2>&5
4699 ac_status=$?
4700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4701 test $ac_status = 0; }; then :
4702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4705 # so that the user can short-circuit this test for compilers unknown to
4706 # Autoconf.
4707 for ac_file in $ac_files ''
4709 test -f "$ac_file" || continue
4710 case $ac_file in
4711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4713 [ab].out )
4714 # We found the default executable, but exeext='' is most
4715 # certainly right.
4716 break;;
4717 *.* )
4718 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4719 then :; else
4720 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4722 # We set ac_cv_exeext here because the later test for it is not
4723 # safe: cross compilers may not add the suffix if given an `-o'
4724 # argument, so we may need to know it at that point already.
4725 # Even if this section looks crufty: it has the advantage of
4726 # actually working.
4727 break;;
4729 break;;
4730 esac
4731 done
4732 test "$ac_cv_exeext" = no && ac_cv_exeext=
4734 else
4735 ac_file=''
4737 if test -z "$ac_file"; then :
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 $as_echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.$ac_ext >&5
4743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4745 as_fn_error 77 "C compiler cannot create executables
4746 See \`config.log' for more details" "$LINENO" 5; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4752 $as_echo_n "checking for C compiler default output file name... " >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4754 $as_echo "$ac_file" >&6; }
4755 ac_exeext=$ac_cv_exeext
4757 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4758 ac_clean_files=$ac_clean_files_save
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4760 $as_echo_n "checking for suffix of executables... " >&6; }
4761 if { { ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4767 $as_echo "$ac_try_echo"; } >&5
4768 (eval "$ac_link") 2>&5
4769 ac_status=$?
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }; then :
4772 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4773 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4774 # work properly (i.e., refer to `conftest.exe'), while it won't with
4775 # `rm'.
4776 for ac_file in conftest.exe conftest conftest.*; do
4777 test -f "$ac_file" || continue
4778 case $ac_file in
4779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4780 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4781 break;;
4782 * ) break;;
4783 esac
4784 done
4785 else
4786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4789 See \`config.log' for more details" "$LINENO" 5; }
4791 rm -f conftest conftest$ac_cv_exeext
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4793 $as_echo "$ac_cv_exeext" >&6; }
4795 rm -f conftest.$ac_ext
4796 EXEEXT=$ac_cv_exeext
4797 ac_exeext=$EXEEXT
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <stdio.h>
4802 main ()
4804 FILE *f = fopen ("conftest.out", "w");
4805 return ferror (f) || fclose (f) != 0;
4808 return 0;
4810 _ACEOF
4811 ac_clean_files="$ac_clean_files conftest.out"
4812 # Check that the compiler produces executables we can run. If not, either
4813 # the compiler is broken, or we cross compile.
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4815 $as_echo_n "checking whether we are cross compiling... " >&6; }
4816 if test "$cross_compiling" != yes; then
4817 { { ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4823 $as_echo "$ac_try_echo"; } >&5
4824 (eval "$ac_link") 2>&5
4825 ac_status=$?
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }
4828 if { ac_try='./conftest$ac_cv_exeext'
4829 { { case "(($ac_try" in
4830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831 *) ac_try_echo=$ac_try;;
4832 esac
4833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4834 $as_echo "$ac_try_echo"; } >&5
4835 (eval "$ac_try") 2>&5
4836 ac_status=$?
4837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838 test $ac_status = 0; }; }; then
4839 cross_compiling=no
4840 else
4841 if test "$cross_compiling" = maybe; then
4842 cross_compiling=yes
4843 else
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4846 as_fn_error $? "cannot run C compiled programs.
4847 If you meant to cross compile, use \`--host'.
4848 See \`config.log' for more details" "$LINENO" 5; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4853 $as_echo "$cross_compiling" >&6; }
4855 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4856 ac_clean_files=$ac_clean_files_save
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4858 $as_echo_n "checking for suffix of object files... " >&6; }
4859 if ${ac_cv_objext+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.o conftest.obj
4874 if { { ac_try="$ac_compile"
4875 case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878 esac
4879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4880 $as_echo "$ac_try_echo"; } >&5
4881 (eval "$ac_compile") 2>&5
4882 ac_status=$?
4883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4884 test $ac_status = 0; }; then :
4885 for ac_file in conftest.o conftest.obj conftest.*; do
4886 test -f "$ac_file" || continue;
4887 case $ac_file in
4888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4889 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4890 break;;
4891 esac
4892 done
4893 else
4894 $as_echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.$ac_ext >&5
4897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4899 as_fn_error $? "cannot compute suffix of object files: cannot compile
4900 See \`config.log' for more details" "$LINENO" 5; }
4902 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4905 $as_echo "$ac_cv_objext" >&6; }
4906 OBJEXT=$ac_cv_objext
4907 ac_objext=$OBJEXT
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4910 if ${ac_cv_c_compiler_gnu+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4917 main ()
4919 #ifndef __GNUC__
4920 choke me
4921 #endif
4924 return 0;
4926 _ACEOF
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_compiler_gnu=yes
4929 else
4930 ac_compiler_gnu=no
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4938 if test $ac_compiler_gnu = yes; then
4939 GCC=yes
4940 else
4941 GCC=
4943 ac_test_CFLAGS=${CFLAGS+set}
4944 ac_save_CFLAGS=$CFLAGS
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4947 if ${ac_cv_prog_cc_g+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 ac_save_c_werror_flag=$ac_c_werror_flag
4951 ac_c_werror_flag=yes
4952 ac_cv_prog_cc_g=no
4953 CFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_compile "$LINENO"; then :
4966 ac_cv_prog_cc_g=yes
4967 else
4968 CFLAGS=""
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_compile "$LINENO"; then :
4982 else
4983 ac_c_werror_flag=$ac_save_c_werror_flag
4984 CFLAGS="-g"
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 ac_cv_prog_cc_g=yes
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 ac_c_werror_flag=$ac_save_c_werror_flag
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5007 $as_echo "$ac_cv_prog_cc_g" >&6; }
5008 if test "$ac_test_CFLAGS" = set; then
5009 CFLAGS=$ac_save_CFLAGS
5010 elif test $ac_cv_prog_cc_g = yes; then
5011 if test "$GCC" = yes; then
5012 CFLAGS="-g -O2"
5013 else
5014 CFLAGS="-g"
5016 else
5017 if test "$GCC" = yes; then
5018 CFLAGS="-O2"
5019 else
5020 CFLAGS=
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5025 if ${ac_cv_prog_cc_c89+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 ac_cv_prog_cc_c89=no
5029 ac_save_CC=$CC
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <stdarg.h>
5033 #include <stdio.h>
5034 struct stat;
5035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5036 struct buf { int x; };
5037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5038 static char *e (p, i)
5039 char **p;
5040 int i;
5042 return p[i];
5044 static char *f (char * (*g) (char **, int), char **p, ...)
5046 char *s;
5047 va_list v;
5048 va_start (v,p);
5049 s = g (p, va_arg (v,int));
5050 va_end (v);
5051 return s;
5054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5055 function prototypes and stuff, but not '\xHH' hex character constants.
5056 These don't provoke an error unfortunately, instead are silently treated
5057 as 'x'. The following induces an error, until -std is added to get
5058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5059 array size at least. It's necessary to write '\x00'==0 to get something
5060 that's true only with -std. */
5061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5064 inside strings and character constants. */
5065 #define FOO(x) 'x'
5066 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5068 int test (int i, double x);
5069 struct s1 {int (*f) (int a);};
5070 struct s2 {int (*f) (double a);};
5071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5072 int argc;
5073 char **argv;
5075 main ()
5077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5079 return 0;
5081 _ACEOF
5082 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5083 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5085 CC="$ac_save_CC $ac_arg"
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 ac_cv_prog_cc_c89=$ac_arg
5089 rm -f core conftest.err conftest.$ac_objext
5090 test "x$ac_cv_prog_cc_c89" != "xno" && break
5091 done
5092 rm -f conftest.$ac_ext
5093 CC=$ac_save_CC
5096 # AC_CACHE_VAL
5097 case "x$ac_cv_prog_cc_c89" in
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5100 $as_echo "none needed" >&6; } ;;
5101 xno)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5103 $as_echo "unsupported" >&6; } ;;
5105 CC="$CC $ac_cv_prog_cc_c89"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5107 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5108 esac
5109 if test "x$ac_cv_prog_cc_c89" != xno; then :
5113 ac_ext=c
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 ac_ext=cpp
5120 ac_cpp='$CXXCPP $CPPFLAGS'
5121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5124 if test -z "$CXX"; then
5125 if test -n "$CCC"; then
5126 CXX=$CCC
5127 else
5128 if test -n "$ac_tool_prefix"; then
5129 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_CXX+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$CXX"; then
5139 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 CXX=$ac_cv_prog_CXX
5159 if test -n "$CXX"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5161 $as_echo "$CXX" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$CXX" && break
5169 done
5171 if test -z "$CXX"; then
5172 ac_ct_CXX=$CXX
5173 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$ac_ct_CXX"; then
5183 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5203 if test -n "$ac_ct_CXX"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5205 $as_echo "$ac_ct_CXX" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$ac_ct_CXX" && break
5213 done
5215 if test "x$ac_ct_CXX" = x; then
5216 CXX="g++"
5217 else
5218 case $cross_compiling:$ac_tool_warned in
5219 yes:)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned=yes ;;
5223 esac
5224 CXX=$ac_ct_CXX
5230 # Provide some information about the compiler.
5231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5232 set X $ac_compile
5233 ac_compiler=$2
5234 for ac_option in --version -v -V -qversion; do
5235 { { ac_try="$ac_compiler $ac_option >&5"
5236 case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 $as_echo "$ac_try_echo"; } >&5
5242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5243 ac_status=$?
5244 if test -s conftest.err; then
5245 sed '10a\
5246 ... rest of stderr output deleted ...
5247 10q' conftest.err >conftest.er1
5248 cat conftest.er1 >&5
5250 rm -f conftest.er1 conftest.err
5251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252 test $ac_status = 0; }
5253 done
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5256 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5257 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5264 main ()
5266 #ifndef __GNUC__
5267 choke me
5268 #endif
5271 return 0;
5273 _ACEOF
5274 if ac_fn_cxx_try_compile "$LINENO"; then :
5275 ac_compiler_gnu=yes
5276 else
5277 ac_compiler_gnu=no
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5284 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5285 if test $ac_compiler_gnu = yes; then
5286 GXX=yes
5287 else
5288 GXX=
5290 ac_test_CXXFLAGS=${CXXFLAGS+set}
5291 ac_save_CXXFLAGS=$CXXFLAGS
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5293 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5294 if ${ac_cv_prog_cxx_g+:} false; then :
5295 $as_echo_n "(cached) " >&6
5296 else
5297 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5298 ac_cxx_werror_flag=yes
5299 ac_cv_prog_cxx_g=no
5300 CXXFLAGS="-g"
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5309 return 0;
5311 _ACEOF
5312 if ac_fn_cxx_try_compile "$LINENO"; then :
5313 ac_cv_prog_cxx_g=yes
5314 else
5315 CXXFLAGS=""
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main ()
5324 return 0;
5326 _ACEOF
5327 if ac_fn_cxx_try_compile "$LINENO"; then :
5329 else
5330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5331 CXXFLAGS="-g"
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5340 return 0;
5342 _ACEOF
5343 if ac_fn_cxx_try_compile "$LINENO"; then :
5344 ac_cv_prog_cxx_g=yes
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5354 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5355 if test "$ac_test_CXXFLAGS" = set; then
5356 CXXFLAGS=$ac_save_CXXFLAGS
5357 elif test $ac_cv_prog_cxx_g = yes; then
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-g -O2"
5360 else
5361 CXXFLAGS="-g"
5363 else
5364 if test "$GXX" = yes; then
5365 CXXFLAGS="-O2"
5366 else
5367 CXXFLAGS=
5370 ac_ext=c
5371 ac_cpp='$CPP $CPPFLAGS'
5372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_CPPBIN+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$CPPBIN"; then
5385 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 CPPBIN=$ac_cv_prog_CPPBIN
5405 if test -n "$CPPBIN"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5407 $as_echo "$CPPBIN" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_CPPBIN"; then
5416 ac_ct_CPPBIN=$CPPBIN
5417 # Extract the first word of "cpp", so it can be a program name with args.
5418 set dummy cpp; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_CPPBIN"; then
5425 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_CPPBIN="cpp"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5445 if test -n "$ac_ct_CPPBIN"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5447 $as_echo "$ac_ct_CPPBIN" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_CPPBIN" = x; then
5454 CPPBIN="cpp"
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 CPPBIN=$ac_ct_CPPBIN
5464 else
5465 CPPBIN="$ac_cv_prog_CPPBIN"
5469 cat >>confdefs.h <<_ACEOF
5470 #define EXEEXT "$ac_exeext"
5471 _ACEOF
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}ld; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_LD+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$LD"; then
5482 ac_cv_prog_LD="$LD" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_LD="${ac_tool_prefix}ld"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 LD=$ac_cv_prog_LD
5502 if test -n "$LD"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5504 $as_echo "$LD" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_LD"; then
5513 ac_ct_LD=$LD
5514 # Extract the first word of "ld", so it can be a program name with args.
5515 set dummy ld; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$ac_ct_LD"; then
5522 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_LD="ld"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5542 if test -n "$ac_ct_LD"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5544 $as_echo "$ac_ct_LD" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_LD" = x; then
5551 LD=""
5552 else
5553 case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559 LD=$ac_ct_LD
5561 else
5562 LD="$ac_cv_prog_LD"
5566 case $host in
5567 *-darwin*)
5568 with_fontconfig=${with_fontconfig:-no}
5570 *-mingw32*|*-cygwin*)
5571 enable_win16=${enable_win16:-no}
5572 with_mingw=${with_mingw:-no}
5573 CFLAGS="$CFLAGS -D_WIN32"
5575 esac
5577 case $host in
5578 x86_64*|amd64*)
5579 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5580 then
5581 CC="$CC -m32"
5582 CXX="$CXX -m32"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5585 $as_echo_n "checking whether $CC works... " >&6; }
5586 if ${wine_cv_cc_m32+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5597 return 0;
5599 _ACEOF
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 wine_cv_cc_m32=yes
5602 else
5603 wine_cv_cc_m32=no
5605 rm -f core conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5609 $as_echo "$wine_cv_cc_m32" >&6; }
5610 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5611 host_cpu="i386"
5612 notice_platform="32-bit "
5613 TARGETFLAGS="-m32"
5615 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5616 export PKG_CONFIG_PATH
5617 enable_win16=${enable_win16:-yes}
5618 with_unwind=${with_unwind:-no}
5619 else
5620 if test "x${GCC}" = "xyes"
5621 then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5623 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5624 if ${wine_cv_builtin_ms_va_list+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5629 #include <stdarg.h>
5631 main ()
5633 void func(__builtin_ms_va_list *args);
5635 return 0;
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 wine_cv_builtin_ms_va_list=yes
5640 else
5641 wine_cv_builtin_ms_va_list=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5646 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5647 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5649 CC="$CC -m64"
5650 CXX="$CXX -m64"
5651 host_cpu="x86_64"
5652 notice_platform="64-bit "
5653 TARGETFLAGS="-m64"
5657 arm*)
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5659 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5660 if ${wine_cv_thumb+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 int ac_test(int i) { return i; }
5667 main ()
5669 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_link "$LINENO"; then :
5675 wine_cv_thumb=yes
5676 else
5677 wine_cv_thumb=no
5679 rm -f core conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5683 $as_echo "$wine_cv_thumb" >&6; }
5684 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5685 case $with_float_abi in
5686 soft|softfp|hard)
5687 float_abi=$with_float_abi ;;
5689 case $host_os in
5690 *eabihf)
5691 float_abi=hard ;;
5693 float_abi=softfp
5694 saved_CFLAGS=$CFLAGS
5695 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5697 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5698 if ${wine_cv_float_abi+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5705 main ()
5707 asm("vmrs r2,fpscr");
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_link "$LINENO"; then :
5713 wine_cv_float_abi=yes
5714 else
5715 wine_cv_float_abi=no
5717 rm -f core conftest.err conftest.$ac_objext \
5718 conftest$ac_exeext conftest.$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5721 $as_echo "$wine_cv_float_abi" >&6; }
5722 if test $wine_cv_float_abi = no
5723 then
5724 float_abi=soft
5725 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5727 CFLAGS=$saved_CFLAGS
5728 esac
5730 esac
5731 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5732 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5735 aarch64*)
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5737 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5738 if ${wine_cv_builtin_ms_va_list+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5743 #include <stdarg.h>
5745 main ()
5747 void func(__builtin_ms_va_list *args);
5749 return 0;
5751 _ACEOF
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 wine_cv_builtin_ms_va_list=yes
5754 else
5755 wine_cv_builtin_ms_va_list=no
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5760 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5761 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5763 i[3456789]86*)
5764 enable_win16=${enable_win16:-yes}
5765 with_unwind=${with_unwind:-no}
5767 esac
5769 enable_win16=${enable_win16:-no}
5770 enable_win64=${enable_win64:-no}
5772 enable_winetest=${enable_winetest:-$enable_tests}
5774 if test "x$enable_win64" = "xyes"
5775 then
5776 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5777 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5783 if ${wine_cv_toolsdir+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 wine_cv_toolsdir="$with_wine_tools"
5787 if test -z "$with_wine_tools"; then
5788 if test "$cross_compiling" = "yes"; then
5789 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5790 elif test -n "$with_wine64"; then
5791 wine_cv_toolsdir="$with_wine64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5796 $as_echo "$wine_cv_toolsdir" >&6; }
5797 if test -z "$wine_cv_toolsdir"; then
5798 wine_makedep=tools/makedep
5799 TOOLSDIR="\$(top_builddir)"
5801 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5802 wine_makedep=$wine_cv_toolsdir/tools/makedep
5803 case "$wine_cv_toolsdir" in
5804 /*) TOOLSDIR=$wine_cv_toolsdir
5806 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5808 esac
5809 enable_tools=${enable_tools:-no}
5810 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5811 else
5812 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5814 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5815 then
5816 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5820 for ac_prog in flex
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy $ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_FLEX+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$FLEX"; then
5830 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_FLEX="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 FLEX=$ac_cv_prog_FLEX
5850 if test -n "$FLEX"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5852 $as_echo "$FLEX" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$FLEX" && break
5860 done
5861 test -n "$FLEX" || FLEX="none"
5863 if test "$FLEX" = "none"
5864 then
5865 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5868 $as_echo_n "checking whether flex is recent enough... " >&6; }
5869 if ${wine_cv_recent_flex+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 cat >conftest.l <<EOF
5873 %top{
5874 #include "prediluvian.h"
5878 if $FLEX -t conftest.l >/dev/null 2>&5
5879 then
5880 wine_cv_recent_flex=yes
5881 else
5882 wine_cv_recent_flex=no
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5886 $as_echo "$wine_cv_recent_flex" >&6; }
5887 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5889 for ac_prog in bison
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_BISON+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$BISON"; then
5899 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_BISON="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 BISON=$ac_cv_prog_BISON
5919 if test -n "$BISON"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5921 $as_echo "$BISON" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$BISON" && break
5929 done
5930 test -n "$BISON" || BISON="none"
5932 if test "$BISON" = "none"
5933 then
5934 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5937 $as_echo_n "checking whether bison is recent enough... " >&6; }
5938 if ${wine_cv_recent_bison+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 cat >conftest.y <<EOF
5942 %define parse.error verbose
5944 empty: ;
5946 if $BISON conftest.y >/dev/null 2>&5
5947 then
5948 wine_cv_recent_bison=yes
5949 else
5950 wine_cv_recent_bison=no
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5954 $as_echo "$wine_cv_recent_bison" >&6; }
5955 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5957 if test -n "$ac_tool_prefix"; then
5958 for ac_prog in ar gar
5960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_AR+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 if test -n "$AR"; then
5968 ac_cv_prog_AR="$AR" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 AR=$ac_cv_prog_AR
5988 if test -n "$AR"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5990 $as_echo "$AR" >&6; }
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997 test -n "$AR" && break
5998 done
6000 if test -z "$AR"; then
6001 ac_ct_AR=$AR
6002 for ac_prog in ar gar
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$ac_ct_AR"; then
6012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_ac_ct_AR="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6032 if test -n "$ac_ct_AR"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6034 $as_echo "$ac_ct_AR" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$ac_ct_AR" && break
6042 done
6044 if test "x$ac_ct_AR" = x; then
6045 AR="ar"
6046 else
6047 case $cross_compiling:$ac_tool_warned in
6048 yes:)
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6052 esac
6053 AR=$ac_ct_AR
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_STRIP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$STRIP"; then
6066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 STRIP=$ac_cv_prog_STRIP
6086 if test -n "$STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6088 $as_echo "$STRIP" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6096 if test -z "$ac_cv_prog_STRIP"; then
6097 ac_ct_STRIP=$STRIP
6098 # Extract the first word of "strip", so it can be a program name with args.
6099 set dummy strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ac_ct_STRIP"; then
6106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_STRIP="strip"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6126 if test -n "$ac_ct_STRIP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6128 $as_echo "$ac_ct_STRIP" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 if test "x$ac_ct_STRIP" = x; then
6135 STRIP="strip"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143 STRIP=$ac_ct_STRIP
6145 else
6146 STRIP="$ac_cv_prog_STRIP"
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_RANLIB+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$RANLIB"; then
6158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 RANLIB=$ac_cv_prog_RANLIB
6178 if test -n "$RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6180 $as_echo "$RANLIB" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6195 $as_echo_n "(cached) " >&6
6196 else
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB="ranlib"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6213 IFS=$as_save_IFS
6217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6220 $as_echo "$ac_ct_RANLIB" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_RANLIB" = x; then
6227 RANLIB=":"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 RANLIB=$ac_ct_RANLIB
6237 else
6238 RANLIB="$ac_cv_prog_RANLIB"
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6242 $as_echo_n "checking whether ln -s works... " >&6; }
6243 LN_S=$as_ln_s
6244 if test "$LN_S" = "ln -s"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6246 $as_echo "yes" >&6; }
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6249 $as_echo "no, using $LN_S" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6254 if ${ac_cv_path_GREP+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$GREP"; then
6258 ac_path_GREP_found=false
6259 # Loop through the user's path and test for each of PROGNAME-LIST
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_prog in grep ggrep; do
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6268 as_fn_executable_p "$ac_path_GREP" || continue
6269 # Check for GNU ac_path_GREP and select it if it is found.
6270 # Check for GNU $ac_path_GREP
6271 case `"$ac_path_GREP" --version 2>&1` in
6272 *GNU*)
6273 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6275 ac_count=0
6276 $as_echo_n 0123456789 >"conftest.in"
6277 while :
6279 cat "conftest.in" "conftest.in" >"conftest.tmp"
6280 mv "conftest.tmp" "conftest.in"
6281 cp "conftest.in" "conftest.nl"
6282 $as_echo 'GREP' >> "conftest.nl"
6283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6285 as_fn_arith $ac_count + 1 && ac_count=$as_val
6286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6287 # Best one so far, save it but keep looking for a better one
6288 ac_cv_path_GREP="$ac_path_GREP"
6289 ac_path_GREP_max=$ac_count
6291 # 10*(2^10) chars as input seems more than enough
6292 test $ac_count -gt 10 && break
6293 done
6294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6295 esac
6297 $ac_path_GREP_found && break 3
6298 done
6299 done
6300 done
6301 IFS=$as_save_IFS
6302 if test -z "$ac_cv_path_GREP"; then
6303 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6305 else
6306 ac_cv_path_GREP=$GREP
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6311 $as_echo "$ac_cv_path_GREP" >&6; }
6312 GREP="$ac_cv_path_GREP"
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6316 $as_echo_n "checking for egrep... " >&6; }
6317 if ${ac_cv_path_EGREP+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6321 then ac_cv_path_EGREP="$GREP -E"
6322 else
6323 if test -z "$EGREP"; then
6324 ac_path_EGREP_found=false
6325 # Loop through the user's path and test for each of PROGNAME-LIST
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_prog in egrep; do
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6334 as_fn_executable_p "$ac_path_EGREP" || continue
6335 # Check for GNU ac_path_EGREP and select it if it is found.
6336 # Check for GNU $ac_path_EGREP
6337 case `"$ac_path_EGREP" --version 2>&1` in
6338 *GNU*)
6339 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6341 ac_count=0
6342 $as_echo_n 0123456789 >"conftest.in"
6343 while :
6345 cat "conftest.in" "conftest.in" >"conftest.tmp"
6346 mv "conftest.tmp" "conftest.in"
6347 cp "conftest.in" "conftest.nl"
6348 $as_echo 'EGREP' >> "conftest.nl"
6349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6351 as_fn_arith $ac_count + 1 && ac_count=$as_val
6352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6353 # Best one so far, save it but keep looking for a better one
6354 ac_cv_path_EGREP="$ac_path_EGREP"
6355 ac_path_EGREP_max=$ac_count
6357 # 10*(2^10) chars as input seems more than enough
6358 test $ac_count -gt 10 && break
6359 done
6360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6361 esac
6363 $ac_path_EGREP_found && break 3
6364 done
6365 done
6366 done
6367 IFS=$as_save_IFS
6368 if test -z "$ac_cv_path_EGREP"; then
6369 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6371 else
6372 ac_cv_path_EGREP=$EGREP
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6378 $as_echo "$ac_cv_path_EGREP" >&6; }
6379 EGREP="$ac_cv_path_EGREP"
6382 # Extract the first word of "ldconfig", so it can be a program name with args.
6383 set dummy ldconfig; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_path_LDCONFIG+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 case $LDCONFIG in
6390 [\\/]* | ?:[\\/]*)
6391 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in /sbin /usr/sbin $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6409 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6411 esac
6413 LDCONFIG=$ac_cv_path_LDCONFIG
6414 if test -n "$LDCONFIG"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6416 $as_echo "$LDCONFIG" >&6; }
6417 else
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6423 for ac_prog in msgfmt
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_MSGFMT+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$MSGFMT"; then
6433 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_MSGFMT="$ac_prog"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 MSGFMT=$ac_cv_prog_MSGFMT
6453 if test -n "$MSGFMT"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6455 $as_echo "$MSGFMT" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6462 test -n "$MSGFMT" && break
6463 done
6464 test -n "$MSGFMT" || MSGFMT="false"
6466 if ${ac_tool_prefix+:} false; then :
6467 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$PKG_CONFIG"; then
6475 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6495 if test -n "$PKG_CONFIG"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6497 $as_echo "$PKG_CONFIG" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6506 if test "x$cross_compiling" = xyes; then :
6508 else
6509 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6510 # Extract the first word of "pkg-config", so it can be a program name with args.
6511 set dummy pkg-config; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$PKG_CONFIG"; then
6518 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_PKG_CONFIG="pkg-config"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6538 if test -n "$PKG_CONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6540 $as_echo "$PKG_CONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 else
6549 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test "x$enable_maintainer_mode" != "xyes"
6553 then
6554 FONTFORGE=""
6555 RSVG=""
6556 CONVERT=""
6557 ICOTOOL=""
6558 else
6559 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6560 for ac_prog in fontforge
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy $ac_prog; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_FONTFORGE+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$FONTFORGE"; then
6570 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_FONTFORGE="$ac_prog"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 FONTFORGE=$ac_cv_prog_FONTFORGE
6590 if test -n "$FONTFORGE"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6592 $as_echo "$FONTFORGE" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6599 test -n "$FONTFORGE" && break
6600 done
6601 test -n "$FONTFORGE" || FONTFORGE="false"
6603 for ac_prog in rsvg-convert rsvg
6605 # Extract the first word of "$ac_prog", so it can be a program name with args.
6606 set dummy $ac_prog; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_RSVG+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$RSVG"; then
6613 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622 ac_cv_prog_RSVG="$ac_prog"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 RSVG=$ac_cv_prog_RSVG
6633 if test -n "$RSVG"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6635 $as_echo "$RSVG" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6642 test -n "$RSVG" && break
6643 done
6644 test -n "$RSVG" || RSVG="false"
6646 for ac_prog in convert
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if ${ac_cv_prog_CONVERT+:} false; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$CONVERT"; then
6656 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6665 ac_cv_prog_CONVERT="$ac_prog"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 CONVERT=$ac_cv_prog_CONVERT
6676 if test -n "$CONVERT"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6678 $as_echo "$CONVERT" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6685 test -n "$CONVERT" && break
6686 done
6687 test -n "$CONVERT" || CONVERT="false"
6689 for ac_prog in icotool
6691 # Extract the first word of "$ac_prog", so it can be a program name with args.
6692 set dummy $ac_prog; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ICOTOOL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 if test -n "$ICOTOOL"; then
6699 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6704 IFS=$as_save_IFS
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ICOTOOL="$ac_prog"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 ICOTOOL=$ac_cv_prog_ICOTOOL
6719 if test -n "$ICOTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6721 $as_echo "$ICOTOOL" >&6; }
6722 else
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6728 test -n "$ICOTOOL" && break
6729 done
6730 test -n "$ICOTOOL" || ICOTOOL="false"
6732 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6733 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6735 if test "$CONVERT" = false
6736 then
6737 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6740 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6741 convert_version=`convert --version | head -n1`
6742 if test "x$convert_version" != "x"
6743 then
6744 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6745 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6746 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6747 then
6748 CONVERT=false
6751 if test "$CONVERT" = false
6752 then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6754 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6755 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6756 else
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6758 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6762 if test "$ICOTOOL" = false
6763 then
6764 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6767 $as_echo_n "checking for recent enough icotool... " >&6; }
6768 icotool_version=`icotool --version | head -n1`
6769 if test "x$icotool_version" != "x"
6770 then
6771 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6772 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6773 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6774 then
6775 ICOTOOL=false
6776 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6779 if test "$ICOTOOL" = false
6780 then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6782 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6783 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6786 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6790 with_gettext=yes
6791 with_gettextpo=yes
6794 test "x$with_gettext" != xno || MSGFMT=false
6795 if test "$MSGFMT" != "false"
6796 then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6798 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6799 if ${wine_cv_msgfmt_contexts+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 cat >conftest.po <<EOF
6803 # comment
6804 msgctxt "ctxt"
6805 msgid "id"
6806 msgstr "str"
6808 if $MSGFMT -o /dev/null conftest.po 2>&5
6809 then
6810 wine_cv_msgfmt_contexts=yes
6811 else
6812 wine_cv_msgfmt_contexts=no
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6816 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6817 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6819 if test "$MSGFMT" = false; then :
6820 case "x$with_gettext" in
6821 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6822 xno) ;;
6823 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6824 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6825 esac
6826 enable_po=${enable_po:-no}
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6831 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6832 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6833 $as_echo_n "(cached) " >&6
6834 else
6835 ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-li386 $LIBS"
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6840 /* Override any GCC internal prototype to avoid an error.
6841 Use char because int might match the return type of a GCC
6842 builtin and then its argument prototype would still apply. */
6843 #ifdef __cplusplus
6844 extern "C"
6845 #endif
6846 char i386_set_ldt ();
6848 main ()
6850 return i386_set_ldt ();
6852 return 0;
6854 _ACEOF
6855 if ac_fn_c_try_link "$LINENO"; then :
6856 ac_cv_lib_i386_i386_set_ldt=yes
6857 else
6858 ac_cv_lib_i386_i386_set_ldt=no
6860 rm -f core conftest.err conftest.$ac_objext \
6861 conftest$ac_exeext conftest.$ac_ext
6862 LIBS=$ac_check_lib_save_LIBS
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6865 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6866 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6867 I386_LIBS="-li386"
6872 OPENGL_LIBS=""
6876 # Check whether --enable-largefile was given.
6877 if test "${enable_largefile+set}" = set; then :
6878 enableval=$enable_largefile;
6881 if test "$enable_largefile" != no; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6884 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6885 if ${ac_cv_sys_largefile_CC+:} false; then :
6886 $as_echo_n "(cached) " >&6
6887 else
6888 ac_cv_sys_largefile_CC=no
6889 if test "$GCC" != yes; then
6890 ac_save_CC=$CC
6891 while :; do
6892 # IRIX 6.2 and later do not support large files by default,
6893 # so use the C compiler's -n32 option if that helps.
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6897 /* Check that off_t can represent 2**63 - 1 correctly.
6898 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6899 since some C++ compilers masquerading as C compilers
6900 incorrectly reject 9223372036854775807. */
6901 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6902 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6903 && LARGE_OFF_T % 2147483647 == 1)
6904 ? 1 : -1];
6906 main ()
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 break
6916 rm -f core conftest.err conftest.$ac_objext
6917 CC="$CC -n32"
6918 if ac_fn_c_try_compile "$LINENO"; then :
6919 ac_cv_sys_largefile_CC=' -n32'; break
6921 rm -f core conftest.err conftest.$ac_objext
6922 break
6923 done
6924 CC=$ac_save_CC
6925 rm -f conftest.$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6929 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6930 if test "$ac_cv_sys_largefile_CC" != no; then
6931 CC=$CC$ac_cv_sys_largefile_CC
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6935 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6936 if ${ac_cv_sys_file_offset_bits+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 while :; do
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_file_offset_bits=no; break
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #define _FILE_OFFSET_BITS 64
6966 #include <sys/types.h>
6967 /* Check that off_t can represent 2**63 - 1 correctly.
6968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6969 since some C++ compilers masquerading as C compilers
6970 incorrectly reject 9223372036854775807. */
6971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6973 && LARGE_OFF_T % 2147483647 == 1)
6974 ? 1 : -1];
6976 main ()
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_sys_file_offset_bits=64; break
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 ac_cv_sys_file_offset_bits=unknown
6988 break
6989 done
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6992 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6993 case $ac_cv_sys_file_offset_bits in #(
6994 no | unknown) ;;
6996 cat >>confdefs.h <<_ACEOF
6997 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6998 _ACEOF
7000 esac
7001 rm -rf conftest*
7002 if test $ac_cv_sys_file_offset_bits = unknown; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7004 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7005 if ${ac_cv_sys_large_files+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 while :; do
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 /* Check that off_t can represent 2**63 - 1 correctly.
7013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7014 since some C++ compilers masquerading as C compilers
7015 incorrectly reject 9223372036854775807. */
7016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7018 && LARGE_OFF_T % 2147483647 == 1)
7019 ? 1 : -1];
7021 main ()
7025 return 0;
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_large_files=no; break
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #define _LARGE_FILES 1
7035 #include <sys/types.h>
7036 /* Check that off_t can represent 2**63 - 1 correctly.
7037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7038 since some C++ compilers masquerading as C compilers
7039 incorrectly reject 9223372036854775807. */
7040 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7042 && LARGE_OFF_T % 2147483647 == 1)
7043 ? 1 : -1];
7045 main ()
7049 return 0;
7051 _ACEOF
7052 if ac_fn_c_try_compile "$LINENO"; then :
7053 ac_cv_sys_large_files=1; break
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 ac_cv_sys_large_files=unknown
7057 break
7058 done
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7061 $as_echo "$ac_cv_sys_large_files" >&6; }
7062 case $ac_cv_sys_large_files in #(
7063 no | unknown) ;;
7065 cat >>confdefs.h <<_ACEOF
7066 #define _LARGE_FILES $ac_cv_sys_large_files
7067 _ACEOF
7069 esac
7070 rm -rf conftest*
7077 ac_ext=c
7078 ac_cpp='$CPP $CPPFLAGS'
7079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7084 # On Suns, sometimes $CPP names a directory.
7085 if test -n "$CPP" && test -d "$CPP"; then
7086 CPP=
7088 if test -z "$CPP"; then
7089 if ${ac_cv_prog_CPP+:} false; then :
7090 $as_echo_n "(cached) " >&6
7091 else
7092 # Double quotes because CPP needs to be expanded
7093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7095 ac_preproc_ok=false
7096 for ac_c_preproc_warn_flag in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 #ifdef __STDC__
7107 # include <limits.h>
7108 #else
7109 # include <assert.h>
7110 #endif
7111 Syntax error
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7115 else
7116 # Broken: fails on valid input.
7117 continue
7119 rm -f conftest.err conftest.i conftest.$ac_ext
7121 # OK, works on sane cases. Now check whether nonexistent headers
7122 # can be detected and how.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <ac_nonexistent.h>
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7128 # Broken: success on invalid input.
7129 continue
7130 else
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.i conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then :
7141 break
7144 done
7145 ac_cv_prog_CPP=$CPP
7148 CPP=$ac_cv_prog_CPP
7149 else
7150 ac_cv_prog_CPP=$CPP
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7153 $as_echo "$CPP" >&6; }
7154 ac_preproc_ok=false
7155 for ac_c_preproc_warn_flag in '' yes
7157 # Use a header file that comes with gcc, so configuring glibc
7158 # with a fresh cross-compiler works.
7159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7160 # <limits.h> exists even on freestanding compilers.
7161 # On the NeXT, cc -E runs the code through the compiler's parser,
7162 # not just through cpp. "Syntax error" is here to catch this case.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #ifdef __STDC__
7166 # include <limits.h>
7167 #else
7168 # include <assert.h>
7169 #endif
7170 Syntax error
7171 _ACEOF
7172 if ac_fn_c_try_cpp "$LINENO"; then :
7174 else
7175 # Broken: fails on valid input.
7176 continue
7178 rm -f conftest.err conftest.i conftest.$ac_ext
7180 # OK, works on sane cases. Now check whether nonexistent headers
7181 # can be detected and how.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <ac_nonexistent.h>
7185 _ACEOF
7186 if ac_fn_c_try_cpp "$LINENO"; then :
7187 # Broken: success on invalid input.
7188 continue
7189 else
7190 # Passes both tests.
7191 ac_preproc_ok=:
7192 break
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 done
7197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7198 rm -f conftest.i conftest.err conftest.$ac_ext
7199 if $ac_preproc_ok; then :
7201 else
7202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7204 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7205 See \`config.log' for more details" "$LINENO" 5; }
7208 ac_ext=c
7209 ac_cpp='$CPP $CPPFLAGS'
7210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7216 $as_echo_n "checking for ANSI C header files... " >&6; }
7217 if ${ac_cv_header_stdc+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 #include <stdlib.h>
7223 #include <stdarg.h>
7224 #include <string.h>
7225 #include <float.h>
7228 main ()
7232 return 0;
7234 _ACEOF
7235 if ac_fn_c_try_compile "$LINENO"; then :
7236 ac_cv_header_stdc=yes
7237 else
7238 ac_cv_header_stdc=no
7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 if test $ac_cv_header_stdc = yes; then
7243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <string.h>
7248 _ACEOF
7249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7250 $EGREP "memchr" >/dev/null 2>&1; then :
7252 else
7253 ac_cv_header_stdc=no
7255 rm -f conftest*
7259 if test $ac_cv_header_stdc = yes; then
7260 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <stdlib.h>
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "free" >/dev/null 2>&1; then :
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f conftest*
7276 if test $ac_cv_header_stdc = yes; then
7277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7278 if test "$cross_compiling" = yes; then :
7280 else
7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282 /* end confdefs.h. */
7283 #include <ctype.h>
7284 #include <stdlib.h>
7285 #if ((' ' & 0x0FF) == 0x020)
7286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7288 #else
7289 # define ISLOWER(c) \
7290 (('a' <= (c) && (c) <= 'i') \
7291 || ('j' <= (c) && (c) <= 'r') \
7292 || ('s' <= (c) && (c) <= 'z'))
7293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7294 #endif
7296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7298 main ()
7300 int i;
7301 for (i = 0; i < 256; i++)
7302 if (XOR (islower (i), ISLOWER (i))
7303 || toupper (i) != TOUPPER (i))
7304 return 2;
7305 return 0;
7307 _ACEOF
7308 if ac_fn_c_try_run "$LINENO"; then :
7310 else
7311 ac_cv_header_stdc=no
7313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7314 conftest.$ac_objext conftest.beam conftest.$ac_ext
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7320 $as_echo "$ac_cv_header_stdc" >&6; }
7321 if test $ac_cv_header_stdc = yes; then
7323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7329 inttypes.h stdint.h unistd.h
7330 do :
7331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7335 cat >>confdefs.h <<_ACEOF
7336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7344 for ac_header in \
7345 AL/al.h \
7346 ApplicationServices/ApplicationServices.h \
7347 AudioToolbox/AudioConverter.h \
7348 AudioUnit/AudioUnit.h \
7349 AudioUnit/AudioComponent.h \
7350 CL/cl.h \
7351 Carbon/Carbon.h \
7352 CommonCrypto/CommonCryptor.h \
7353 CoreAudio/CoreAudio.h \
7354 CoreServices/CoreServices.h \
7355 DiskArbitration/DiskArbitration.h \
7356 EGL/egl.h \
7357 IOKit/IOKitLib.h \
7358 IOKit/hid/IOHIDLib.h \
7359 OpenAL/al.h \
7360 OpenCL/opencl.h \
7361 QuickTime/ImageCompression.h \
7362 Security/Security.h \
7363 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7364 SystemConfiguration/SCNetworkConfiguration.h \
7365 alias.h \
7366 arpa/inet.h \
7367 arpa/nameser.h \
7368 asm/types.h \
7369 asm/user.h \
7370 curses.h \
7371 dirent.h \
7372 dlfcn.h \
7373 elf.h \
7374 float.h \
7375 fnmatch.h \
7376 getopt.h \
7377 gettext-po.h \
7378 grp.h \
7379 gsm.h \
7380 gsm/gsm.h \
7381 ieeefp.h \
7382 inet/mib2.h \
7383 kstat.h \
7384 libproc.h \
7385 link.h \
7386 linux/cdrom.h \
7387 linux/compiler.h \
7388 linux/filter.h \
7389 linux/hdreg.h \
7390 linux/hidraw.h \
7391 linux/input.h \
7392 linux/ioctl.h \
7393 linux/joystick.h \
7394 linux/major.h \
7395 linux/param.h \
7396 linux/serial.h \
7397 linux/types.h \
7398 linux/ucdrom.h \
7399 lwp.h \
7400 mach-o/nlist.h \
7401 mach-o/loader.h \
7402 mach/mach.h \
7403 mach/machine.h \
7404 machine/cpu.h \
7405 machine/limits.h \
7406 machine/sysarch.h \
7407 mntent.h \
7408 ncurses.h \
7409 netdb.h \
7410 netinet/in.h \
7411 netinet/in_systm.h \
7412 netinet/tcp.h \
7413 netinet/tcp_fsm.h \
7414 pcap/pcap.h \
7415 poll.h \
7416 port.h \
7417 pthread.h \
7418 pwd.h \
7419 sched.h \
7420 scsi/scsi.h \
7421 scsi/scsi_ioctl.h \
7422 scsi/sg.h \
7423 stdbool.h \
7424 stdint.h \
7425 stropts.h \
7426 sys/attr.h \
7427 sys/auxv.h \
7428 sys/cdio.h \
7429 sys/elf32.h \
7430 sys/epoll.h \
7431 sys/event.h \
7432 sys/exec_elf.h \
7433 sys/filio.h \
7434 sys/ioctl.h \
7435 sys/ipc.h \
7436 sys/limits.h \
7437 sys/link.h \
7438 sys/mman.h \
7439 sys/modem.h \
7440 sys/msg.h \
7441 sys/mtio.h \
7442 sys/param.h \
7443 sys/poll.h \
7444 sys/prctl.h \
7445 sys/protosw.h \
7446 sys/ptrace.h \
7447 sys/queue.h \
7448 sys/resource.h \
7449 sys/scsiio.h \
7450 sys/shm.h \
7451 sys/signal.h \
7452 sys/socket.h \
7453 sys/socketvar.h \
7454 sys/sockio.h \
7455 sys/statvfs.h \
7456 sys/strtio.h \
7457 sys/syscall.h \
7458 sys/sysinfo.h \
7459 sys/tihdr.h \
7460 sys/time.h \
7461 sys/timeout.h \
7462 sys/times.h \
7463 sys/uio.h \
7464 sys/user.h \
7465 sys/utsname.h \
7466 sys/vnode.h \
7467 sys/wait.h \
7468 syscall.h \
7469 termios.h \
7470 unistd.h \
7471 utime.h \
7472 valgrind/memcheck.h \
7473 valgrind/valgrind.h
7475 do :
7476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7478 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7479 cat >>confdefs.h <<_ACEOF
7480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7481 _ACEOF
7485 done
7487 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7488 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7490 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7495 if test $ac_cv_header_sys_mkdev_h = no; then
7496 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7497 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7499 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7506 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7507 if ${ac_cv_header_stat_broken+:} false; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7512 #include <sys/types.h>
7513 #include <sys/stat.h>
7515 #if defined S_ISBLK && defined S_IFDIR
7516 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7517 #endif
7519 #if defined S_ISBLK && defined S_IFCHR
7520 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7521 #endif
7523 #if defined S_ISLNK && defined S_IFREG
7524 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7525 #endif
7527 #if defined S_ISSOCK && defined S_IFREG
7528 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7529 #endif
7531 _ACEOF
7532 if ac_fn_c_try_compile "$LINENO"; then :
7533 ac_cv_header_stat_broken=no
7534 else
7535 ac_cv_header_stat_broken=yes
7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7540 $as_echo "$ac_cv_header_stat_broken" >&6; }
7541 if test $ac_cv_header_stat_broken = yes; then
7543 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7549 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7550 do :
7551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7553 #ifdef HAVE_SYS_PARAM_H
7554 # include <sys/param.h>
7555 #endif
7557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7558 cat >>confdefs.h <<_ACEOF
7559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 _ACEOF
7564 done
7567 for ac_header in \
7568 netinet/ip.h \
7569 net/if.h \
7570 net/if_arp.h \
7571 net/if_dl.h \
7572 net/if_types.h \
7573 net/route.h \
7574 netinet/if_ether.h \
7575 netinet/if_inarp.h \
7576 netinet/in_pcb.h \
7577 netinet/ip_icmp.h \
7578 netinet/ip_var.h \
7579 netinet/udp.h \
7580 netipx/ipx.h \
7581 sys/un.h \
7583 do :
7584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7586 #ifdef HAVE_SYS_SOCKET_H
7587 # include <sys/socket.h>
7588 #endif
7589 #ifdef HAVE_SYS_SOCKETVAR_H
7590 # include <sys/socketvar.h>
7591 #endif
7592 #ifdef HAVE_NET_ROUTE_H
7593 # include <net/route.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_H
7596 # include <netinet/in.h>
7597 #endif
7598 #ifdef HAVE_NETINET_IN_SYSTM_H
7599 # include <netinet/in_systm.h>
7600 #endif
7601 #ifdef HAVE_NET_IF_H
7602 # include <net/if.h>
7603 #endif
7604 #ifdef HAVE_NETINET_IP_H
7605 # include <netinet/ip.h>
7606 #endif
7608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7609 cat >>confdefs.h <<_ACEOF
7610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 _ACEOF
7615 done
7618 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7619 do :
7620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7622 #ifdef HAVE_ALIAS_H
7623 # include <alias.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKET_H
7626 # include <sys/socket.h>
7627 #endif
7628 #ifdef HAVE_SYS_SOCKETVAR_H
7629 # include <sys/socketvar.h>
7630 #endif
7631 #ifdef HAVE_SYS_TIMEOUT_H
7632 # include <sys/timeout.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_H
7635 # include <netinet/in.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IN_SYSTM_H
7638 # include <netinet/in_systm.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_H
7641 # include <netinet/ip.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_VAR_H
7644 # include <netinet/ip_var.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IP_ICMP_H
7647 # include <netinet/ip_icmp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_UDP_H
7650 # include <netinet/udp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_H
7653 # include <netinet/tcp.h>
7654 #endif
7655 #ifdef HAVE_NETINET_TCP_TIMER_H
7656 #include <netinet/tcp_timer.h>
7657 #endif
7659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7660 cat >>confdefs.h <<_ACEOF
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7669 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7670 do :
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7673 #ifdef HAVE_ASM_TYPES_H
7674 # include <asm/types.h>
7675 #endif
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_LINUX_TYPES_H
7680 # include <linux/types.h>
7681 #endif
7683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7686 _ACEOF
7690 done
7693 for ac_header in mach-o/dyld_images.h
7694 do :
7695 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7696 # include <stdbool.h>
7697 #endif
7698 #ifdef HAVE_STDINT_H
7699 # include <stdint.h>
7700 #endif
7702 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7705 _ACEOF
7709 done
7712 for ac_header in resolv.h
7713 do :
7714 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7715 #ifdef HAVE_SYS_SOCKET_H
7716 # include <sys/socket.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IN_H
7719 # include <netinet/in.h>
7720 #endif
7721 #ifdef HAVE_ARPA_NAMESER_H
7722 # include <arpa/nameser.h>
7723 #endif
7725 if test "x$ac_cv_header_resolv_h" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define HAVE_RESOLV_H 1
7728 _ACEOF
7732 done
7735 for ac_header in ifaddrs.h
7736 do :
7737 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7739 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_IFADDRS_H 1
7742 _ACEOF
7746 done
7749 for ac_header in sys/ucontext.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7753 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7754 cat >>confdefs.h <<_ACEOF
7755 #define HAVE_SYS_UCONTEXT_H 1
7756 _ACEOF
7760 done
7763 for ac_header in sys/thr.h
7764 do :
7765 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7766 #ifdef HAVE_SYS_UCONTEXT_H
7767 #include <sys/ucontext.h>
7768 #endif
7770 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_SYS_THR_H 1
7773 _ACEOF
7777 done
7780 for ac_header in pthread_np.h
7781 do :
7782 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7783 #include <pthread.h>
7784 #endif
7786 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7787 cat >>confdefs.h <<_ACEOF
7788 #define HAVE_PTHREAD_NP_H 1
7789 _ACEOF
7793 done
7796 for ac_header in linux/videodev2.h
7797 do :
7798 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7799 #include <sys/time.h>
7800 #endif
7801 #include <sys/types.h>
7802 #ifdef HAVE_ASM_TYPES_H
7803 #include <asm/types.h>
7804 #endif
7806 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_LINUX_VIDEODEV2_H 1
7809 _ACEOF
7813 done
7816 for ac_header in libprocstat.h
7817 do :
7818 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7819 #include <sys/param.h>
7820 #endif
7821 #ifdef HAVE_SYS_QUEUE_H
7822 #include <sys/queue.h>
7823 #endif
7824 #ifdef HAVE_SYS_SOCKET_H
7825 #include <sys/socket.h>
7826 #endif
7828 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7829 cat >>confdefs.h <<_ACEOF
7830 #define HAVE_LIBPROCSTAT_H 1
7831 _ACEOF
7835 done
7839 DLLFLAGS="-D_REENTRANT"
7841 LDRPATH_INSTALL=""
7843 LDRPATH_LOCAL=""
7845 LDDLLFLAGS=""
7847 LDEXECFLAGS=""
7849 TOP_INSTALL_LIB=""
7851 TOP_INSTALL_DEV=""
7853 WINELOADER_LDFLAGS=""
7855 WINEPRELOADER_LDFLAGS=""
7857 LIBEXT="so"
7858 DLLEXT=".so"
7859 # Extract the first word of "ldd", so it can be a program name with args.
7860 set dummy ldd; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if ${ac_cv_path_LDD+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 case $LDD in
7867 [\\/]* | ?:[\\/]*)
7868 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 as_dummy="/sbin:/usr/sbin:$PATH"
7873 for as_dir in $as_dummy
7875 IFS=$as_save_IFS
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881 break 2
7883 done
7884 done
7885 IFS=$as_save_IFS
7887 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7889 esac
7891 LDD=$ac_cv_path_LDD
7892 if test -n "$LDD"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7894 $as_echo "$LDD" >&6; }
7895 else
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7901 if test -n "$ac_tool_prefix"; then
7902 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7903 set dummy ${ac_tool_prefix}otool; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7905 $as_echo_n "checking for $ac_word... " >&6; }
7906 if ${ac_cv_prog_OTOOL+:} false; then :
7907 $as_echo_n "(cached) " >&6
7908 else
7909 if test -n "$OTOOL"; then
7910 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7911 else
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 for as_dir in $PATH
7915 IFS=$as_save_IFS
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7919 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921 break 2
7923 done
7924 done
7925 IFS=$as_save_IFS
7929 OTOOL=$ac_cv_prog_OTOOL
7930 if test -n "$OTOOL"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7932 $as_echo "$OTOOL" >&6; }
7933 else
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 $as_echo "no" >&6; }
7940 if test -z "$ac_cv_prog_OTOOL"; then
7941 ac_ct_OTOOL=$OTOOL
7942 # Extract the first word of "otool", so it can be a program name with args.
7943 set dummy otool; ac_word=$2
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7945 $as_echo_n "checking for $ac_word... " >&6; }
7946 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7947 $as_echo_n "(cached) " >&6
7948 else
7949 if test -n "$ac_ct_OTOOL"; then
7950 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7951 else
7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 for as_dir in $PATH
7955 IFS=$as_save_IFS
7956 test -z "$as_dir" && as_dir=.
7957 for ac_exec_ext in '' $ac_executable_extensions; do
7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7959 ac_cv_prog_ac_ct_OTOOL="otool"
7960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7961 break 2
7963 done
7964 done
7965 IFS=$as_save_IFS
7969 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7970 if test -n "$ac_ct_OTOOL"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7972 $as_echo "$ac_ct_OTOOL" >&6; }
7973 else
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7978 if test "x$ac_ct_OTOOL" = x; then
7979 OTOOL="otool"
7980 else
7981 case $cross_compiling:$ac_tool_warned in
7982 yes:)
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7985 ac_tool_warned=yes ;;
7986 esac
7987 OTOOL=$ac_ct_OTOOL
7989 else
7990 OTOOL="$ac_cv_prog_OTOOL"
7993 if test -n "$ac_tool_prefix"; then
7994 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7995 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7997 $as_echo_n "checking for $ac_word... " >&6; }
7998 if ${ac_cv_prog_READELF+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 if test -n "$READELF"; then
8002 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8003 else
8004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 for as_dir in $PATH
8007 IFS=$as_save_IFS
8008 test -z "$as_dir" && as_dir=.
8009 for ac_exec_ext in '' $ac_executable_extensions; do
8010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8011 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8013 break 2
8015 done
8016 done
8017 IFS=$as_save_IFS
8021 READELF=$ac_cv_prog_READELF
8022 if test -n "$READELF"; then
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8024 $as_echo "$READELF" >&6; }
8025 else
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8027 $as_echo "no" >&6; }
8032 if test -z "$ac_cv_prog_READELF"; then
8033 ac_ct_READELF=$READELF
8034 # Extract the first word of "readelf", so it can be a program name with args.
8035 set dummy readelf; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 $as_echo_n "checking for $ac_word... " >&6; }
8038 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8039 $as_echo_n "(cached) " >&6
8040 else
8041 if test -n "$ac_ct_READELF"; then
8042 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8043 else
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 for as_dir in $PATH
8047 IFS=$as_save_IFS
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_ac_ct_READELF="readelf"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 break 2
8055 done
8056 done
8057 IFS=$as_save_IFS
8061 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8062 if test -n "$ac_ct_READELF"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8064 $as_echo "$ac_ct_READELF" >&6; }
8065 else
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8070 if test "x$ac_ct_READELF" = x; then
8071 READELF="true"
8072 else
8073 case $cross_compiling:$ac_tool_warned in
8074 yes:)
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8077 ac_tool_warned=yes ;;
8078 esac
8079 READELF=$ac_ct_READELF
8081 else
8082 READELF="$ac_cv_prog_READELF"
8085 wine_rules_file=conf$$rules.make
8086 rm -f $wine_rules_file
8087 SUBDIRS=""
8089 DISABLED_SUBDIRS=""
8091 CONFIGURE_TARGETS=""
8094 wine_fn_append_file ()
8096 as_fn_append $1 " \\$as_nl $2"
8099 wine_fn_append_rule ()
8101 $as_echo "$1" >>$wine_rules_file
8104 wine_fn_config_makefile ()
8106 wine_fn_append_file SUBDIRS $1
8107 if eval test \"x\$"$2"\" = x"no"; then :
8108 wine_fn_append_file DISABLED_SUBDIRS $1
8112 wine_fn_config_symlink ()
8114 ac_links=$@
8115 wine_fn_append_rule \
8116 "$ac_links:
8117 @./config.status \$@"
8118 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8121 wine_binary="wine"
8122 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8123 WINELOADER_PROGRAMS="$wine_binary"
8125 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8127 case $host_os in
8128 cygwin*|mingw32*)
8129 if test -n "$ac_tool_prefix"; then
8130 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8131 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133 $as_echo_n "checking for $ac_word... " >&6; }
8134 if ${ac_cv_prog_DLLTOOL+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 if test -n "$DLLTOOL"; then
8138 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8139 else
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 for as_dir in $PATH
8143 IFS=$as_save_IFS
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8149 break 2
8151 done
8152 done
8153 IFS=$as_save_IFS
8157 DLLTOOL=$ac_cv_prog_DLLTOOL
8158 if test -n "$DLLTOOL"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8160 $as_echo "$DLLTOOL" >&6; }
8161 else
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8168 if test -z "$ac_cv_prog_DLLTOOL"; then
8169 ac_ct_DLLTOOL=$DLLTOOL
8170 # Extract the first word of "dlltool", so it can be a program name with args.
8171 set dummy dlltool; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 if test -n "$ac_ct_DLLTOOL"; then
8178 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8179 else
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 for as_dir in $PATH
8183 IFS=$as_save_IFS
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189 break 2
8191 done
8192 done
8193 IFS=$as_save_IFS
8197 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8198 if test -n "$ac_ct_DLLTOOL"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8200 $as_echo "$ac_ct_DLLTOOL" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8206 if test "x$ac_ct_DLLTOOL" = x; then
8207 DLLTOOL="false"
8208 else
8209 case $cross_compiling:$ac_tool_warned in
8210 yes:)
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8213 ac_tool_warned=yes ;;
8214 esac
8215 DLLTOOL=$ac_ct_DLLTOOL
8217 else
8218 DLLTOOL="$ac_cv_prog_DLLTOOL"
8221 LIBEXT="dll"
8222 DLLEXT=""
8223 case $host_cpu in
8224 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8225 esac
8226 enable_iphlpapi=${enable_iphlpapi:-no}
8227 enable_kernel32=${enable_kernel32:-no}
8228 enable_ntdll=${enable_ntdll:-no}
8229 enable_ws2_32=${enable_ws2_32:-no}
8230 enable_loader=${enable_loader:-no}
8231 enable_server=${enable_server:-no}
8232 with_x=${with_x:-no}
8233 with_pthread=${with_pthread:-no}
8236 darwin*|macosx*)
8237 ac_ext=m
8238 ac_cpp='$OBJCPP $CPPFLAGS'
8239 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8240 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8241 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8243 ac_ext=m
8244 ac_cpp='$OBJCPP $CPPFLAGS'
8245 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8246 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8247 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8248 if test -n "$ac_tool_prefix"; then
8249 for ac_prog in gcc objcc objc cc CC
8251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8254 $as_echo_n "checking for $ac_word... " >&6; }
8255 if ${ac_cv_prog_OBJC+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 if test -n "$OBJC"; then
8259 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8260 else
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 for as_dir in $PATH
8264 IFS=$as_save_IFS
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8268 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 break 2
8272 done
8273 done
8274 IFS=$as_save_IFS
8278 OBJC=$ac_cv_prog_OBJC
8279 if test -n "$OBJC"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8281 $as_echo "$OBJC" >&6; }
8282 else
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8288 test -n "$OBJC" && break
8289 done
8291 if test -z "$OBJC"; then
8292 ac_ct_OBJC=$OBJC
8293 for ac_prog in gcc objcc objc cc CC
8295 # Extract the first word of "$ac_prog", so it can be a program name with args.
8296 set dummy $ac_prog; ac_word=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8298 $as_echo_n "checking for $ac_word... " >&6; }
8299 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 if test -n "$ac_ct_OBJC"; then
8303 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8304 else
8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306 for as_dir in $PATH
8308 IFS=$as_save_IFS
8309 test -z "$as_dir" && as_dir=.
8310 for ac_exec_ext in '' $ac_executable_extensions; do
8311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8312 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8314 break 2
8316 done
8317 done
8318 IFS=$as_save_IFS
8322 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8323 if test -n "$ac_ct_OBJC"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8325 $as_echo "$ac_ct_OBJC" >&6; }
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8332 test -n "$ac_ct_OBJC" && break
8333 done
8335 if test "x$ac_ct_OBJC" = x; then
8336 OBJC="gcc"
8337 else
8338 case $cross_compiling:$ac_tool_warned in
8339 yes:)
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8342 ac_tool_warned=yes ;;
8343 esac
8344 OBJC=$ac_ct_OBJC
8348 # Provide some information about the compiler.
8349 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8350 set X $ac_compile
8351 ac_compiler=$2
8352 for ac_option in --version -v -V -qversion; do
8353 { { ac_try="$ac_compiler $ac_option >&5"
8354 case "(($ac_try" in
8355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8356 *) ac_try_echo=$ac_try;;
8357 esac
8358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8359 $as_echo "$ac_try_echo"; } >&5
8360 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8361 ac_status=$?
8362 if test -s conftest.err; then
8363 sed '10a\
8364 ... rest of stderr output deleted ...
8365 10q' conftest.err >conftest.er1
8366 cat conftest.er1 >&5
8368 rm -f conftest.er1 conftest.err
8369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8370 test $ac_status = 0; }
8371 done
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8374 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8375 if ${ac_cv_objc_compiler_gnu+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8382 main ()
8384 #ifndef __GNUC__
8385 choke me
8386 #endif
8389 return 0;
8391 _ACEOF
8392 if ac_fn_objc_try_compile "$LINENO"; then :
8393 ac_compiler_gnu=yes
8394 else
8395 ac_compiler_gnu=no
8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8398 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8402 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8403 if test $ac_compiler_gnu = yes; then
8404 GOBJC=yes
8405 else
8406 GOBJC=
8408 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8409 ac_save_OBJCFLAGS=$OBJCFLAGS
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8411 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8412 if ${ac_cv_prog_objc_g+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 ac_save_objc_werror_flag=$ac_objc_werror_flag
8416 ac_objc_werror_flag=yes
8417 ac_cv_prog_objc_g=no
8418 OBJCFLAGS="-g"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8423 main ()
8427 return 0;
8429 _ACEOF
8430 if ac_fn_objc_try_compile "$LINENO"; then :
8431 ac_cv_prog_objc_g=yes
8432 else
8433 OBJCFLAGS=""
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8438 main ()
8442 return 0;
8444 _ACEOF
8445 if ac_fn_objc_try_compile "$LINENO"; then :
8447 else
8448 ac_objc_werror_flag=$ac_save_objc_werror_flag
8449 OBJCFLAGS="-g"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8454 main ()
8458 return 0;
8460 _ACEOF
8461 if ac_fn_objc_try_compile "$LINENO"; then :
8462 ac_cv_prog_objc_g=yes
8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8469 ac_objc_werror_flag=$ac_save_objc_werror_flag
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8472 $as_echo "$ac_cv_prog_objc_g" >&6; }
8473 if test "$ac_test_OBJCFLAGS" = set; then
8474 OBJCFLAGS=$ac_save_OBJCFLAGS
8475 elif test $ac_cv_prog_objc_g = yes; then
8476 if test "$GOBJC" = yes; then
8477 OBJCFLAGS="-g -O2"
8478 else
8479 OBJCFLAGS="-g"
8481 else
8482 if test "$GOBJC" = yes; then
8483 OBJCFLAGS="-O2"
8484 else
8485 OBJCFLAGS=
8488 ac_ext=m
8489 ac_cpp='$OBJCPP $CPPFLAGS'
8490 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8495 ac_ext=m
8496 ac_cpp='$OBJCPP $CPPFLAGS'
8497 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8498 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8499 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8501 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8502 if test -z "$OBJCPP"; then
8503 if ${ac_cv_prog_OBJCPP+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 # Double quotes because OBJCPP needs to be expanded
8507 for OBJCPP in "$OBJC -E" "/lib/cpp"
8509 ac_preproc_ok=false
8510 for ac_objc_preproc_warn_flag in '' yes
8512 # Use a header file that comes with gcc, so configuring glibc
8513 # with a fresh cross-compiler works.
8514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8515 # <limits.h> exists even on freestanding compilers.
8516 # On the NeXT, cc -E runs the code through the compiler's parser,
8517 # not just through cpp. "Syntax error" is here to catch this case.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 #ifdef __STDC__
8521 # include <limits.h>
8522 #else
8523 # include <assert.h>
8524 #endif
8525 Syntax error
8526 _ACEOF
8527 if ac_fn_objc_try_cpp "$LINENO"; then :
8529 else
8530 # Broken: fails on valid input.
8531 continue
8533 rm -f conftest.err conftest.i conftest.$ac_ext
8535 # OK, works on sane cases. Now check whether nonexistent headers
8536 # can be detected and how.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #include <ac_nonexistent.h>
8540 _ACEOF
8541 if ac_fn_objc_try_cpp "$LINENO"; then :
8542 # Broken: success on invalid input.
8543 continue
8544 else
8545 # Passes both tests.
8546 ac_preproc_ok=:
8547 break
8549 rm -f conftest.err conftest.i conftest.$ac_ext
8551 done
8552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8553 rm -f conftest.i conftest.err conftest.$ac_ext
8554 if $ac_preproc_ok; then :
8555 break
8558 done
8559 ac_cv_prog_OBJCPP=$OBJCPP
8562 OBJCPP=$ac_cv_prog_OBJCPP
8563 else
8564 ac_cv_prog_OBJCPP=$OBJCPP
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8567 $as_echo "$OBJCPP" >&6; }
8568 ac_preproc_ok=false
8569 for ac_objc_preproc_warn_flag in '' yes
8571 # Use a header file that comes with gcc, so configuring glibc
8572 # with a fresh cross-compiler works.
8573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8574 # <limits.h> exists even on freestanding compilers.
8575 # On the NeXT, cc -E runs the code through the compiler's parser,
8576 # not just through cpp. "Syntax error" is here to catch this case.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #ifdef __STDC__
8580 # include <limits.h>
8581 #else
8582 # include <assert.h>
8583 #endif
8584 Syntax error
8585 _ACEOF
8586 if ac_fn_objc_try_cpp "$LINENO"; then :
8588 else
8589 # Broken: fails on valid input.
8590 continue
8592 rm -f conftest.err conftest.i conftest.$ac_ext
8594 # OK, works on sane cases. Now check whether nonexistent headers
8595 # can be detected and how.
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #include <ac_nonexistent.h>
8599 _ACEOF
8600 if ac_fn_objc_try_cpp "$LINENO"; then :
8601 # Broken: success on invalid input.
8602 continue
8603 else
8604 # Passes both tests.
8605 ac_preproc_ok=:
8606 break
8608 rm -f conftest.err conftest.i conftest.$ac_ext
8610 done
8611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8612 rm -f conftest.i conftest.err conftest.$ac_ext
8613 if $ac_preproc_ok; then :
8615 else
8616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8618 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8619 See \`config.log' for more details" "$LINENO" 5; }
8622 ac_ext=m
8623 ac_cpp='$OBJCPP $CPPFLAGS'
8624 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8629 for ac_header in Metal/Metal.h
8630 do :
8631 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8632 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8633 cat >>confdefs.h <<_ACEOF
8634 #define HAVE_METAL_METAL_H 1
8635 _ACEOF
8639 done
8641 ac_ext=c
8642 ac_cpp='$CPP $CPPFLAGS'
8643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8647 LIBEXT="dylib"
8648 DLLFLAGS="$DLLFLAGS -fPIC"
8649 LDDLLFLAGS="-fPIC"
8650 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8651 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8652 COREFOUNDATION_LIBS="-framework CoreFoundation"
8654 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8656 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8658 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8660 CORESERVICES_LIBS="-framework CoreServices"
8662 APPKIT_LIBS="-framework AppKit"
8664 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8667 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8669 wine_can_build_preloader=yes
8670 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8672 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8673 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_cflags__Wl__no_new_main__e__main=yes
8684 else
8685 ac_cv_cflags__Wl__no_new_main__e__main=no
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8692 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8693 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8694 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8696 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8697 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8708 else
8709 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8716 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8717 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8718 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8719 else
8720 { $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
8721 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8722 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8733 else
8734 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $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
8741 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8742 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8743 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8744 else
8745 wine_can_build_preloader=no
8748 else
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8750 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8751 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8762 else
8763 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8770 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8771 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8772 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8773 else
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8775 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8776 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8787 else
8788 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 CFLAGS=$ac_wine_try_cflags_saved
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8795 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8796 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8797 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8798 else
8799 wine_can_build_preloader=no
8803 if test "$wine_can_build_preloader" = "yes"
8804 then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8806 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8807 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -Wl,-no_pie"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 int main(int argc, char **argv) { return 0; }
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 ac_cv_cflags__Wl__no_pie=yes
8818 else
8819 ac_cv_cflags__Wl__no_pie=no
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8826 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8827 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8828 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8830 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8831 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8832 else
8833 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8836 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8837 then
8838 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8841 if test "$ac_cv_header_Security_Security_h" = "yes"
8842 then
8843 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8845 ac_save_LIBS="$LIBS"
8846 LIBS="$LIBS $SECURITY_LIBS"
8847 for ac_func in SSLCopyPeerCertificates
8848 do :
8849 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8850 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8851 cat >>confdefs.h <<_ACEOF
8852 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8853 _ACEOF
8856 done
8858 LIBS="$ac_save_LIBS"
8860 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8861 then
8862 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8863 then
8864 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8866 else
8867 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8870 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8871 ac_save_LIBS="$LIBS"
8872 LIBS="$LIBS $COREAUDIO_LIBS"
8873 for ac_func in AUGraphAddNode
8874 do :
8875 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8876 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8877 cat >>confdefs.h <<_ACEOF
8878 #define HAVE_AUGRAPHADDNODE 1
8879 _ACEOF
8882 done
8884 LIBS="$ac_save_LIBS"
8886 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8887 then
8888 OPENAL_LIBS="-framework OpenAL"
8891 cat >>confdefs.h <<_ACEOF
8892 #define HAVE_OPENAL 1
8893 _ACEOF
8895 ac_cv_lib_openal=yes
8897 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8898 then
8899 OPENCL_LIBS="-framework OpenCL"
8901 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8903 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8904 then
8905 ac_save_LIBS="$LIBS"
8906 LIBS="$LIBS $IOKIT_LIBS"
8907 for ac_func in IOHIDManagerCreate
8908 do :
8909 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8910 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8911 cat >>confdefs.h <<_ACEOF
8912 #define HAVE_IOHIDMANAGERCREATE 1
8913 _ACEOF
8916 done
8918 LIBS="$ac_save_LIBS"
8920 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8921 then
8922 ac_save_LIBS="$LIBS"
8923 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8925 $as_echo_n "checking for the QuickTime framework... " >&6; }
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8928 #include <QuickTime/ImageCompression.h>
8930 main ()
8932 CodecManagerVersion(NULL);
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_link "$LINENO"; then :
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8939 $as_echo "yes" >&6; }
8940 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8942 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8943 else
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8945 $as_echo "no" >&6; }
8946 ac_cv_header_QuickTime_ImageCompression_h=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS="$ac_save_LIBS"
8952 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8953 then
8954 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8956 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8957 then
8958 CARBON_LIBS="-framework Carbon"
8961 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8962 then
8963 METAL_LIBS="-framework Metal -framework QuartzCore"
8967 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8968 then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8970 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8971 ac_ext=m
8972 ac_cpp='$OBJCPP $CPPFLAGS'
8973 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8974 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8975 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8979 #include <Metal/Metal.h>
8981 main ()
8983 id<MTLDevice> device; device.registryID;
8985 return 0;
8987 _ACEOF
8988 if ac_fn_objc_try_compile "$LINENO"; then :
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8990 $as_echo "yes" >&6; }
8992 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8994 else
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8996 $as_echo "no" >&6; }
8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8999 ac_ext=c
9000 ac_cpp='$CPP $CPPFLAGS'
9001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9007 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9008 then
9009 ac_save_LIBS="$LIBS"
9010 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9011 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9012 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9013 enable_winemac_drv=${enable_winemac_drv:-yes}
9016 LIBS="$ac_save_LIBS"
9019 if test "x$enable_win16" = "xyes"
9020 then
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9022 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9023 if test "$cross_compiling" = yes; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9025 $as_echo "cross-compiling, assuming yes" >&6; }
9026 else
9027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9029 asm(".text\n"
9030 "bad:\tnop;nop\n"
9031 "good:\tnop;nop\n\t"
9032 ".globl _testfunc\n"
9033 "_testfunc:\tcallw good");
9034 extern void testfunc();
9036 main ()
9038 unsigned short *p = (unsigned short *)testfunc;
9039 return p[0] != 0xe866 || p[1] != 0xfffa
9041 return 0;
9043 _ACEOF
9044 if ac_fn_c_try_run "$LINENO"; then :
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9046 $as_echo "yes" >&6; }
9047 else
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9049 $as_echo "no" >&6; }
9050 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
9052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9053 conftest.$ac_objext conftest.beam conftest.$ac_ext
9058 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9060 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9062 WINELOADER_DEPENDS="wine_info.plist"
9064 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9065 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9068 linux-android*)
9069 DLLFLAGS="$DLLFLAGS -fPIC"
9070 LDDLLFLAGS="-fPIC"
9071 LDEXECFLAGS="-Wl,-pie"
9072 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9074 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9075 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9076 $as_echo_n "(cached) " >&6
9077 else
9078 ac_wine_try_cflags_saved=$CFLAGS
9079 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9082 int main(int argc, char **argv) { return 0; }
9083 _ACEOF
9084 if ac_fn_c_try_link "$LINENO"; then :
9085 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9086 else
9087 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9089 rm -f core conftest.err conftest.$ac_objext \
9090 conftest$ac_exeext conftest.$ac_ext
9091 CFLAGS=$ac_wine_try_cflags_saved
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9094 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9095 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9096 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9098 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9099 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9101 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9102 if eval \${$as_ac_var+:} false; then :
9103 $as_echo_n "(cached) " >&6
9104 else
9105 ac_wine_try_cflags_saved=$CFLAGS
9106 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 int main(int argc, char **argv) { return 0; }
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112 eval "$as_ac_var=yes"
9113 else
9114 eval "$as_ac_var=no"
9116 rm -f core conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9118 CFLAGS=$ac_wine_try_cflags_saved
9120 eval ac_res=\$$as_ac_var
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9122 $as_echo "$ac_res" >&6; }
9123 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9124 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9125 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9126 else
9127 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9129 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9130 if eval \${$as_ac_var+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 ac_wine_try_cflags_saved=$CFLAGS
9134 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 int main(int argc, char **argv) { return 0; }
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 eval "$as_ac_var=yes"
9141 else
9142 eval "$as_ac_var=no"
9144 rm -f core conftest.err conftest.$ac_objext \
9145 conftest$ac_exeext conftest.$ac_ext
9146 CFLAGS=$ac_wine_try_cflags_saved
9148 eval ac_res=\$$as_ac_var
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9150 $as_echo "$ac_res" >&6; }
9151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9152 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9153 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9157 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9158 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 ac_wine_try_cflags_saved=$CFLAGS
9162 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9165 int main(int argc, char **argv) { return 0; }
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 ac_cv_cflags__Wl___enable_new_dtags=yes
9169 else
9170 ac_cv_cflags__Wl___enable_new_dtags=no
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 CFLAGS=$ac_wine_try_cflags_saved
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9177 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9178 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9179 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9182 LIBWINE_SHAREDLIB="libwine.so"
9184 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9186 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9189 $as_echo_n "checking for -lEGL... " >&6; }
9190 if ${ac_cv_lib_soname_EGL+:} false; then :
9191 $as_echo_n "(cached) " >&6
9192 else
9193 ac_check_soname_save_LIBS=$LIBS
9194 LIBS="-lEGL $LIBS"
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9201 #ifdef __cplusplus
9202 extern "C"
9203 #endif
9204 char eglGetProcAddress ();
9206 main ()
9208 return eglGetProcAddress ();
9210 return 0;
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 case "$LIBEXT" in
9215 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9216 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'` ;;
9217 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9218 if ${ac_cv_lib_soname_EGL:+false} :; then :
9219 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9220 fi ;;
9221 esac
9222 else
9223 ac_cv_lib_soname_EGL=
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9227 LIBS=$ac_check_soname_save_LIBS
9229 if ${ac_cv_lib_soname_EGL:+false} :; then :
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9231 $as_echo "not found" >&6; }
9233 else
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9235 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9237 cat >>confdefs.h <<_ACEOF
9238 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9239 _ACEOF
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9244 $as_echo_n "checking for -lGLESv2... " >&6; }
9245 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
9248 ac_check_soname_save_LIBS=$LIBS
9249 LIBS="-lGLESv2 $LIBS"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char glFlush ();
9261 main ()
9263 return glFlush ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 case "$LIBEXT" in
9270 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9271 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'` ;;
9272 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9273 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9274 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9275 fi ;;
9276 esac
9277 else
9278 ac_cv_lib_soname_GLESv2=
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9282 LIBS=$ac_check_soname_save_LIBS
9284 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9286 $as_echo "not found" >&6; }
9288 else
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9290 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9292 cat >>confdefs.h <<_ACEOF
9293 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9294 _ACEOF
9299 if test "x$exec_prefix" = xNONE
9300 then
9301 case $host_cpu in
9302 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9303 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9304 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9305 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9306 esac
9311 case $host_cpu in
9312 *i[3456789]86*)
9313 DLLFLAGS="$DLLFLAGS -fno-PIC"
9314 LDDLLFLAGS="-fno-PIC" ;;
9316 DLLFLAGS="$DLLFLAGS -fPIC"
9317 LDDLLFLAGS="-fPIC" ;;
9318 esac
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9320 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9321 if ${ac_cv_c_dll_gnuelf+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_wine_try_cflags_saved=$CFLAGS
9325 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9328 void myfunc() {}
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9332 else
9333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 CFLAGS=$ac_wine_try_cflags_saved
9338 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9339 ac_cv_c_dll_gnuelf="yes"
9340 else
9341 ac_cv_c_dll_gnuelf="no"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9345 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9346 if test "$ac_cv_c_dll_gnuelf" = "yes"
9347 then
9348 LIBWINE_LDFLAGS="-shared"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9350 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9351 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9362 else
9363 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9370 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9371 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9372 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9373 else
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9375 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9376 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9387 else
9388 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9395 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9396 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9397 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9401 echo '{ global: *; };' >conftest.map
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9403 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9404 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9415 else
9416 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 CFLAGS=$ac_wine_try_cflags_saved
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9423 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9424 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9425 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9427 rm -f conftest.map
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9431 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_cflags__Wl___export_dynamic=yes
9442 else
9443 ac_cv_cflags__Wl___export_dynamic=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9450 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9451 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9452 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9454 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9456 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9458 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9459 if eval \${$as_ac_var+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_wine_try_cflags_saved=$CFLAGS
9463 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9466 int main(int argc, char **argv) { return 0; }
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 eval "$as_ac_var=yes"
9470 else
9471 eval "$as_ac_var=no"
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 eval ac_res=\$$as_ac_var
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9479 $as_echo "$ac_res" >&6; }
9480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9481 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9482 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9483 else
9484 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9486 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9487 if eval \${$as_ac_var+:} false; then :
9488 $as_echo_n "(cached) " >&6
9489 else
9490 ac_wine_try_cflags_saved=$CFLAGS
9491 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9494 int main(int argc, char **argv) { return 0; }
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"; then :
9497 eval "$as_ac_var=yes"
9498 else
9499 eval "$as_ac_var=no"
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 CFLAGS=$ac_wine_try_cflags_saved
9505 eval ac_res=\$$as_ac_var
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9507 $as_echo "$ac_res" >&6; }
9508 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9509 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9510 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9515 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9516 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9517 $as_echo_n "(cached) " >&6
9518 else
9519 ac_wine_try_cflags_saved=$CFLAGS
9520 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523 int main(int argc, char **argv) { return 0; }
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_cflags__Wl___enable_new_dtags=yes
9527 else
9528 ac_cv_cflags__Wl___enable_new_dtags=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 CFLAGS=$ac_wine_try_cflags_saved
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9535 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9536 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9537 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9540 case $host_cpu in
9541 *i[3456789]86* | x86_64 | *aarch64*)
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9543 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9544 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9555 else
9556 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9563 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9564 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9565 case $host_os in
9566 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9567 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9568 esac
9569 else
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9571 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9572 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9573 $as_echo_n "(cached) " >&6
9574 else
9575 ac_wine_try_cflags_saved=$CFLAGS
9576 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9579 int main(int argc, char **argv) { return 0; }
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"; then :
9582 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9583 else
9584 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9586 rm -f core conftest.err conftest.$ac_objext \
9587 conftest$ac_exeext conftest.$ac_ext
9588 CFLAGS=$ac_wine_try_cflags_saved
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9591 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9592 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9593 case $host_os in
9594 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9595 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9596 esac
9598 # Extract the first word of "prelink", so it can be a program name with args.
9599 set dummy prelink; ac_word=$2
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9601 $as_echo_n "checking for $ac_word... " >&6; }
9602 if ${ac_cv_path_PRELINK+:} false; then :
9603 $as_echo_n "(cached) " >&6
9604 else
9605 case $PRELINK in
9606 [\\/]* | ?:[\\/]*)
9607 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9611 for as_dir in /sbin /usr/sbin $PATH
9613 IFS=$as_save_IFS
9614 test -z "$as_dir" && as_dir=.
9615 for ac_exec_ext in '' $ac_executable_extensions; do
9616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9617 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9619 break 2
9621 done
9622 done
9623 IFS=$as_save_IFS
9625 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9627 esac
9629 PRELINK=$ac_cv_path_PRELINK
9630 if test -n "$PRELINK"; then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9632 $as_echo "$PRELINK" >&6; }
9633 else
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 $as_echo "no" >&6; }
9639 if test "x$PRELINK" = xfalse
9640 then
9641 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9645 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9646 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 ac_wine_try_cflags_saved=$CFLAGS
9650 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9653 int main(int argc, char **argv) { return 0; }
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9656 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9657 else
9658 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9660 rm -f core conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9662 CFLAGS=$ac_wine_try_cflags_saved
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9665 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9666 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9667 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9670 esac
9672 else
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9674 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9675 if ${ac_cv_c_dll_unixware+:} false; then :
9676 $as_echo_n "(cached) " >&6
9677 else
9678 ac_wine_try_cflags_saved=$CFLAGS
9679 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9681 /* end confdefs.h. */
9682 void myfunc() {}
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9686 else
9687 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9689 rm -f core conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9691 CFLAGS=$ac_wine_try_cflags_saved
9692 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9693 ac_cv_c_dll_unixware="yes"
9694 else
9695 ac_cv_c_dll_unixware="no"
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9699 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9700 if test "$ac_cv_c_dll_unixware" = "yes"
9701 then
9702 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9705 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9707 LIBWINE_DEPENDS="wine.map"
9709 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9710 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9712 esac
9714 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9715 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9716 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9717 enable_winemac_drv=${enable_winemac_drv:-no}
9718 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9720 CROSSTARGET=""
9722 if test "x$with_mingw" != xno
9723 then
9724 case "x$with_mingw" in
9725 x|xyes) case "$host_cpu" in
9726 aarch64*)
9727 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9728 arm*)
9729 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9730 i[3456789]86*)
9731 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
9732 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9733 mingw32-gcc" ;;
9734 x86_64)
9735 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
9736 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9738 ac_prefix_list="" ;;
9739 esac
9740 for ac_prog in $ac_prefix_list
9742 # Extract the first word of "$ac_prog", so it can be a program name with args.
9743 set dummy $ac_prog; ac_word=$2
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9745 $as_echo_n "checking for $ac_word... " >&6; }
9746 if ${ac_cv_prog_CROSSCC+:} false; then :
9747 $as_echo_n "(cached) " >&6
9748 else
9749 if test -n "$CROSSCC"; then
9750 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9751 else
9752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753 for as_dir in $PATH
9755 IFS=$as_save_IFS
9756 test -z "$as_dir" && as_dir=.
9757 for ac_exec_ext in '' $ac_executable_extensions; do
9758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9759 ac_cv_prog_CROSSCC="$ac_prog"
9760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9761 break 2
9763 done
9764 done
9765 IFS=$as_save_IFS
9769 CROSSCC=$ac_cv_prog_CROSSCC
9770 if test -n "$CROSSCC"; then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9772 $as_echo "$CROSSCC" >&6; }
9773 else
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9775 $as_echo "no" >&6; }
9779 test -n "$CROSSCC" && break
9780 done
9781 test -n "$CROSSCC" || CROSSCC="false"
9783 *) CROSSCC=$with_mingw ;;
9784 esac
9785 if test "$CROSSCC" != "false"
9786 then
9787 ac_save_CC="$CC"
9788 saved_CFLAGS=$CFLAGS
9789 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9791 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9794 CC="$CROSSCC"
9795 CFLAGS=$CROSSCFLAGS
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9797 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9798 if ${wine_cv_crosscc+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9805 main ()
9809 return 0;
9811 _ACEOF
9812 if ac_fn_c_try_compile "$LINENO"; then :
9813 wine_cv_crosscc=yes
9814 else
9815 wine_cv_crosscc=no
9817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9820 $as_echo "$wine_cv_crosscc" >&6; }
9821 if test $wine_cv_crosscc = yes
9822 then
9823 set x $CROSSCC
9824 shift
9825 while test $# -ge 1
9827 case "$1" in
9828 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9829 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9830 esac
9831 shift
9832 done
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9835 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9836 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_wine_try_cflags_saved=$CFLAGS
9840 ac_wine_try_cflags_saved_cc=$CC
9841 ac_wine_try_cflags_saved_exeext=$ac_exeext
9842 CFLAGS="$CFLAGS -fno-strict-aliasing"
9843 CC="$CROSSCC"
9844 ac_exeext=".exe"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int main(int argc, char **argv) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_crosscflags__fno_strict_aliasing=yes
9851 else
9852 ac_cv_crosscflags__fno_strict_aliasing=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 CFLAGS=$ac_wine_try_cflags_saved
9857 CC=$ac_wine_try_cflags_saved_cc
9858 ac_exeext=$ac_wine_try_cflags_saved_exeext
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9861 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9862 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9863 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9866 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9867 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_wine_try_cflags_saved=$CFLAGS
9871 ac_wine_try_cflags_saved_cc=$CC
9872 ac_wine_try_cflags_saved_exeext=$ac_exeext
9873 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9874 CC="$CROSSCC"
9875 ac_exeext=".exe"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int main(int argc, char **argv) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9882 else
9883 ac_cv_crosscflags__Werror_unknown_warning_option=no
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 CFLAGS=$ac_wine_try_cflags_saved
9888 CC=$ac_wine_try_cflags_saved_cc
9889 ac_exeext=$ac_wine_try_cflags_saved_exeext
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9892 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9893 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9894 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9897 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9898 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 ac_wine_try_cflags_saved_cc=$CC
9903 ac_wine_try_cflags_saved_exeext=$ac_exeext
9904 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9905 CC="$CROSSCC"
9906 ac_exeext=".exe"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int main(int argc, char **argv) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9913 else
9914 ac_cv_crosscflags__Wdeclaration_after_statement=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9919 CC=$ac_wine_try_cflags_saved_cc
9920 ac_exeext=$ac_wine_try_cflags_saved_exeext
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9923 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9924 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9928 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9929 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 ac_wine_try_cflags_saved_cc=$CC
9934 ac_wine_try_cflags_saved_exeext=$ac_exeext
9935 CFLAGS="$CFLAGS -Wempty-body"
9936 CC="$CROSSCC"
9937 ac_exeext=".exe"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int main(int argc, char **argv) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_crosscflags__Wempty_body=yes
9944 else
9945 ac_cv_crosscflags__Wempty_body=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9950 CC=$ac_wine_try_cflags_saved_cc
9951 ac_exeext=$ac_wine_try_cflags_saved_exeext
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9954 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9955 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9959 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9960 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 ac_wine_try_cflags_saved_cc=$CC
9965 ac_wine_try_cflags_saved_exeext=$ac_exeext
9966 CFLAGS="$CFLAGS -Wignored-qualifiers"
9967 CC="$CROSSCC"
9968 ac_exeext=".exe"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int main(int argc, char **argv) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_crosscflags__Wignored_qualifiers=yes
9975 else
9976 ac_cv_crosscflags__Wignored_qualifiers=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 CFLAGS=$ac_wine_try_cflags_saved
9981 CC=$ac_wine_try_cflags_saved_cc
9982 ac_exeext=$ac_wine_try_cflags_saved_exeext
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9985 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9986 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9987 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9990 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9991 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_wine_try_cflags_saved=$CFLAGS
9995 ac_wine_try_cflags_saved_cc=$CC
9996 ac_wine_try_cflags_saved_exeext=$ac_exeext
9997 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9998 CC="$CROSSCC"
9999 ac_exeext=".exe"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int main(int argc, char **argv) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_crosscflags__Wpacked_not_aligned=yes
10006 else
10007 ac_cv_crosscflags__Wpacked_not_aligned=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10012 CC=$ac_wine_try_cflags_saved_cc
10013 ac_exeext=$ac_wine_try_cflags_saved_exeext
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10016 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10017 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10018 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10021 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10022 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_wine_try_cflags_saved=$CFLAGS
10026 ac_wine_try_cflags_saved_cc=$CC
10027 ac_wine_try_cflags_saved_exeext=$ac_exeext
10028 CFLAGS="$CFLAGS -Wpragma-pack"
10029 CC="$CROSSCC"
10030 ac_exeext=".exe"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10033 int main(int argc, char **argv) { return 0; }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_crosscflags__Wpragma_pack=yes
10037 else
10038 ac_cv_crosscflags__Wpragma_pack=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 CFLAGS=$ac_wine_try_cflags_saved
10043 CC=$ac_wine_try_cflags_saved_cc
10044 ac_exeext=$ac_wine_try_cflags_saved_exeext
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10047 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10048 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10052 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10053 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_wine_try_cflags_saved=$CFLAGS
10057 ac_wine_try_cflags_saved_cc=$CC
10058 ac_wine_try_cflags_saved_exeext=$ac_exeext
10059 CFLAGS="$CFLAGS -Wshift-overflow=2"
10060 CC="$CROSSCC"
10061 ac_exeext=".exe"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 int main(int argc, char **argv) { return 0; }
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 ac_cv_crosscflags__Wshift_overflow_2=yes
10068 else
10069 ac_cv_crosscflags__Wshift_overflow_2=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 CFLAGS=$ac_wine_try_cflags_saved
10074 CC=$ac_wine_try_cflags_saved_cc
10075 ac_exeext=$ac_wine_try_cflags_saved_exeext
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10078 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10079 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10083 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10084 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 ac_wine_try_cflags_saved_cc=$CC
10089 ac_wine_try_cflags_saved_exeext=$ac_exeext
10090 CFLAGS="$CFLAGS -Wstrict-prototypes"
10091 CC="$CROSSCC"
10092 ac_exeext=".exe"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int main(int argc, char **argv) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_crosscflags__Wstrict_prototypes=yes
10099 else
10100 ac_cv_crosscflags__Wstrict_prototypes=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10105 CC=$ac_wine_try_cflags_saved_cc
10106 ac_exeext=$ac_wine_try_cflags_saved_exeext
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10109 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10110 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10114 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10115 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 ac_wine_try_cflags_saved_cc=$CC
10120 ac_wine_try_cflags_saved_exeext=$ac_exeext
10121 CFLAGS="$CFLAGS -Wtype-limits"
10122 CC="$CROSSCC"
10123 ac_exeext=".exe"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 int main(int argc, char **argv) { return 0; }
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_crosscflags__Wtype_limits=yes
10130 else
10131 ac_cv_crosscflags__Wtype_limits=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10136 CC=$ac_wine_try_cflags_saved_cc
10137 ac_exeext=$ac_wine_try_cflags_saved_exeext
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10140 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10141 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10145 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10146 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 ac_wine_try_cflags_saved_cc=$CC
10151 ac_wine_try_cflags_saved_exeext=$ac_exeext
10152 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10153 CC="$CROSSCC"
10154 ac_exeext=".exe"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10161 else
10162 ac_cv_crosscflags__Wunused_but_set_parameter=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10167 CC=$ac_wine_try_cflags_saved_cc
10168 ac_exeext=$ac_wine_try_cflags_saved_exeext
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10171 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10172 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10173 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10176 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10177 if ${ac_cv_crosscflags__Wvla+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 ac_wine_try_cflags_saved_cc=$CC
10182 ac_wine_try_cflags_saved_exeext=$ac_exeext
10183 CFLAGS="$CFLAGS -Wvla"
10184 CC="$CROSSCC"
10185 ac_exeext=".exe"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int main(int argc, char **argv) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_crosscflags__Wvla=yes
10192 else
10193 ac_cv_crosscflags__Wvla=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10198 CC=$ac_wine_try_cflags_saved_cc
10199 ac_exeext=$ac_wine_try_cflags_saved_exeext
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10202 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10203 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10204 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10207 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10208 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 ac_wine_try_cflags_saved_cc=$CC
10213 ac_wine_try_cflags_saved_exeext=$ac_exeext
10214 CFLAGS="$CFLAGS -Wwrite-strings"
10215 CC="$CROSSCC"
10216 ac_exeext=".exe"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 int main(int argc, char **argv) { return 0; }
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_crosscflags__Wwrite_strings=yes
10223 else
10224 ac_cv_crosscflags__Wwrite_strings=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 CFLAGS=$ac_wine_try_cflags_saved
10229 CC=$ac_wine_try_cflags_saved_cc
10230 ac_exeext=$ac_wine_try_cflags_saved_exeext
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10233 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10234 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10235 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10238 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10239 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 ac_wine_try_cflags_saved_cc=$CC
10244 ac_wine_try_cflags_saved_exeext=$ac_exeext
10245 CFLAGS="$CFLAGS -Wpointer-arith"
10246 CC="$CROSSCC"
10247 ac_exeext=".exe"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int main(int argc, char **argv) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 ac_cv_crosscflags__Wpointer_arith=yes
10254 else
10255 ac_cv_crosscflags__Wpointer_arith=no
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10260 CC=$ac_wine_try_cflags_saved_cc
10261 ac_exeext=$ac_wine_try_cflags_saved_exeext
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10264 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10265 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10266 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10270 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS -Wlogical-op"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int main(int argc, char **argv) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__Wlogical_op=yes
10285 else
10286 ac_cv_crosscflags__Wlogical_op=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10295 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10296 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10301 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int main(int argc, char **argv) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10316 else
10317 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10326 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10327 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10331 case $host_cpu in
10332 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10333 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10334 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_wine_try_cflags_saved=$CFLAGS
10338 ac_wine_try_cflags_saved_cc=$CC
10339 ac_wine_try_cflags_saved_exeext=$ac_exeext
10340 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10341 CC="$CROSSCC"
10342 ac_exeext=".exe"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10345 int main(int argc, char **argv) { return 0; }
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10349 else
10350 ac_cv_crosscflags__fno_omit_frame_pointer=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 CFLAGS=$ac_wine_try_cflags_saved
10355 CC=$ac_wine_try_cflags_saved_cc
10356 ac_exeext=$ac_wine_try_cflags_saved_exeext
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10359 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10360 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10361 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10362 fi ;;
10363 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10364 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10365 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_wine_try_cflags_saved=$CFLAGS
10369 ac_wine_try_cflags_saved_cc=$CC
10370 ac_wine_try_cflags_saved_exeext=$ac_exeext
10371 CFLAGS="$CFLAGS -Wno-format"
10372 CC="$CROSSCC"
10373 ac_exeext=".exe"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 int main(int argc, char **argv) { return 0; }
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_crosscflags__Wno_format=yes
10380 else
10381 ac_cv_crosscflags__Wno_format=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 CFLAGS=$ac_wine_try_cflags_saved
10386 CC=$ac_wine_try_cflags_saved_cc
10387 ac_exeext=$ac_wine_try_cflags_saved_exeext
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10390 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10391 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10393 fi ;;
10394 esac
10396 for ac_flag in $CROSSCFLAGS; do
10397 case $ac_flag in
10398 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10399 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10400 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_wine_try_cflags_saved=$CFLAGS
10404 ac_wine_try_cflags_saved_cc=$CC
10405 ac_wine_try_cflags_saved_exeext=$ac_exeext
10406 CFLAGS="$CFLAGS -gdwarf-2"
10407 CC="$CROSSCC"
10408 ac_exeext=".exe"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10411 int main(int argc, char **argv) { return 0; }
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 ac_cv_crosscflags__gdwarf_2=yes
10415 else
10416 ac_cv_crosscflags__gdwarf_2=no
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 CFLAGS=$ac_wine_try_cflags_saved
10421 CC=$ac_wine_try_cflags_saved_cc
10422 ac_exeext=$ac_wine_try_cflags_saved_exeext
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10425 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10426 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10427 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10430 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10431 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 ac_wine_try_cflags_saved_cc=$CC
10436 ac_wine_try_cflags_saved_exeext=$ac_exeext
10437 CFLAGS="$CFLAGS -gstrict-dwarf"
10438 CC="$CROSSCC"
10439 ac_exeext=".exe"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10442 int main(int argc, char **argv) { return 0; }
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_crosscflags__gstrict_dwarf=yes
10446 else
10447 ac_cv_crosscflags__gstrict_dwarf=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 CFLAGS=$ac_wine_try_cflags_saved
10452 CC=$ac_wine_try_cflags_saved_cc
10453 ac_exeext=$ac_wine_try_cflags_saved_exeext
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10456 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10457 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10459 fi ;;
10460 esac
10461 done
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10464 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10465 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_wine_try_cflags_saved=$CFLAGS
10469 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int main(int argc, char **argv) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10476 else
10477 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10484 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10485 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10486 DELAYLOADFLAG="-Wl,-delayload,"
10490 if test "x$enable_maintainer_mode" = xyes
10491 then
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10493 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10494 if ${ac_cv_crosscflags__Werror+:} false; then :
10495 $as_echo_n "(cached) " >&6
10496 else
10497 ac_wine_try_cflags_saved=$CFLAGS
10498 ac_wine_try_cflags_saved_cc=$CC
10499 ac_wine_try_cflags_saved_exeext=$ac_exeext
10500 CFLAGS="$CFLAGS -Werror"
10501 CC="$CROSSCC"
10502 ac_exeext=".exe"
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10505 int main(int argc, char **argv) { return 0; }
10506 _ACEOF
10507 if ac_fn_c_try_link "$LINENO"; then :
10508 ac_cv_crosscflags__Werror=yes
10509 else
10510 ac_cv_crosscflags__Werror=no
10512 rm -f core conftest.err conftest.$ac_objext \
10513 conftest$ac_exeext conftest.$ac_ext
10514 CFLAGS=$ac_wine_try_cflags_saved
10515 CC=$ac_wine_try_cflags_saved_cc
10516 ac_exeext=$ac_wine_try_cflags_saved_exeext
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10519 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10520 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10525 CFLAGS=$saved_CFLAGS
10526 CC="$ac_save_CC"
10529 if test "x$CROSSTARGET" = "x"; then :
10530 case "x$with_mingw" in
10531 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10532 xno) ;;
10533 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10534 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10535 esac
10540 if test "$ac_cv_header_pthread_h" = "yes"
10541 then
10542 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10543 if test "x$ac_cv_func_pthread_create" = xyes; then :
10545 else
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10547 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10548 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10549 $as_echo_n "(cached) " >&6
10550 else
10551 ac_check_lib_save_LIBS=$LIBS
10552 LIBS="-lpthread $LIBS"
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10556 /* Override any GCC internal prototype to avoid an error.
10557 Use char because int might match the return type of a GCC
10558 builtin and then its argument prototype would still apply. */
10559 #ifdef __cplusplus
10560 extern "C"
10561 #endif
10562 char pthread_create ();
10564 main ()
10566 return pthread_create ();
10568 return 0;
10570 _ACEOF
10571 if ac_fn_c_try_link "$LINENO"; then :
10572 ac_cv_lib_pthread_pthread_create=yes
10573 else
10574 ac_cv_lib_pthread_pthread_create=no
10576 rm -f core conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 LIBS=$ac_check_lib_save_LIBS
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10581 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10582 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10583 PTHREAD_LIBS="-lpthread"
10590 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10591 case "x$with_pthread" in
10592 xno) ;;
10593 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10594 Wine cannot support threads without libpthread.
10595 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10596 esac
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10602 $as_echo_n "checking for X... " >&6; }
10605 # Check whether --with-x was given.
10606 if test "${with_x+set}" = set; then :
10607 withval=$with_x;
10610 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10611 if test "x$with_x" = xno; then
10612 # The user explicitly disabled X.
10613 have_x=disabled
10614 else
10615 case $x_includes,$x_libraries in #(
10616 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10617 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10618 $as_echo_n "(cached) " >&6
10619 else
10620 # One or both of the vars are not set, and there is no cached value.
10621 ac_x_includes=no ac_x_libraries=no
10622 rm -f -r conftest.dir
10623 if mkdir conftest.dir; then
10624 cd conftest.dir
10625 cat >Imakefile <<'_ACEOF'
10626 incroot:
10627 @echo incroot='${INCROOT}'
10628 usrlibdir:
10629 @echo usrlibdir='${USRLIBDIR}'
10630 libdir:
10631 @echo libdir='${LIBDIR}'
10632 _ACEOF
10633 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10634 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10635 for ac_var in incroot usrlibdir libdir; do
10636 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10637 done
10638 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10639 for ac_extension in a so sl dylib la dll; do
10640 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10641 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10642 ac_im_usrlibdir=$ac_im_libdir; break
10644 done
10645 # Screen out bogus values from the imake configuration. They are
10646 # bogus both because they are the default anyway, and because
10647 # using them would break gcc on systems where it needs fixed includes.
10648 case $ac_im_incroot in
10649 /usr/include) ac_x_includes= ;;
10650 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10651 esac
10652 case $ac_im_usrlibdir in
10653 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10654 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10655 esac
10657 cd ..
10658 rm -f -r conftest.dir
10661 # Standard set of common directories for X headers.
10662 # Check X11 before X11Rn because it is often a symlink to the current release.
10663 ac_x_header_dirs='
10664 /usr/X11/include
10665 /usr/X11R7/include
10666 /usr/X11R6/include
10667 /usr/X11R5/include
10668 /usr/X11R4/include
10670 /usr/include/X11
10671 /usr/include/X11R7
10672 /usr/include/X11R6
10673 /usr/include/X11R5
10674 /usr/include/X11R4
10676 /usr/local/X11/include
10677 /usr/local/X11R7/include
10678 /usr/local/X11R6/include
10679 /usr/local/X11R5/include
10680 /usr/local/X11R4/include
10682 /usr/local/include/X11
10683 /usr/local/include/X11R7
10684 /usr/local/include/X11R6
10685 /usr/local/include/X11R5
10686 /usr/local/include/X11R4
10688 /usr/X386/include
10689 /usr/x386/include
10690 /usr/XFree86/include/X11
10692 /usr/include
10693 /usr/local/include
10694 /usr/unsupported/include
10695 /usr/athena/include
10696 /usr/local/x11r5/include
10697 /usr/lpp/Xamples/include
10699 /usr/openwin/include
10700 /usr/openwin/share/include'
10702 if test "$ac_x_includes" = no; then
10703 # Guess where to find include files, by looking for Xlib.h.
10704 # First, try using that file with no special directory specified.
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 #include <X11/Xlib.h>
10708 _ACEOF
10709 if ac_fn_c_try_cpp "$LINENO"; then :
10710 # We can compile using X headers with no special include directory.
10711 ac_x_includes=
10712 else
10713 for ac_dir in $ac_x_header_dirs; do
10714 if test -r "$ac_dir/X11/Xlib.h"; then
10715 ac_x_includes=$ac_dir
10716 break
10718 done
10720 rm -f conftest.err conftest.i conftest.$ac_ext
10721 fi # $ac_x_includes = no
10723 if test "$ac_x_libraries" = no; then
10724 # Check for the libraries.
10725 # See if we find them without any special options.
10726 # Don't add to $LIBS permanently.
10727 ac_save_LIBS=$LIBS
10728 LIBS="-lX11 $LIBS"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10731 #include <X11/Xlib.h>
10733 main ()
10735 XrmInitialize ()
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 LIBS=$ac_save_LIBS
10742 # We can link X programs with no special library path.
10743 ac_x_libraries=
10744 else
10745 LIBS=$ac_save_LIBS
10746 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10748 # Don't even attempt the hair of trying to link an X program!
10749 for ac_extension in a so sl dylib la dll; do
10750 if test -r "$ac_dir/libX11.$ac_extension"; then
10751 ac_x_libraries=$ac_dir
10752 break 2
10754 done
10755 done
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 fi # $ac_x_libraries = no
10761 case $ac_x_includes,$ac_x_libraries in #(
10762 no,* | *,no | *\'*)
10763 # Didn't find X, or a directory has "'" in its name.
10764 ac_cv_have_x="have_x=no";; #(
10766 # Record where we found X for the cache.
10767 ac_cv_have_x="have_x=yes\
10768 ac_x_includes='$ac_x_includes'\
10769 ac_x_libraries='$ac_x_libraries'"
10770 esac
10772 ;; #(
10773 *) have_x=yes;;
10774 esac
10775 eval "$ac_cv_have_x"
10776 fi # $with_x != no
10778 if test "$have_x" != yes; then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10780 $as_echo "$have_x" >&6; }
10781 no_x=yes
10782 else
10783 # If each of the values was on the command line, it overrides each guess.
10784 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10785 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10786 # Update the cache value to reflect the command line values.
10787 ac_cv_have_x="have_x=yes\
10788 ac_x_includes='$x_includes'\
10789 ac_x_libraries='$x_libraries'"
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10791 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10794 if test "$no_x" = yes; then
10795 # Not all programs may use this symbol, but it does not hurt to define it.
10797 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10799 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10800 else
10801 if test -n "$x_includes"; then
10802 X_CFLAGS="$X_CFLAGS -I$x_includes"
10805 # It would also be nice to do this for all -L options, not just this one.
10806 if test -n "$x_libraries"; then
10807 X_LIBS="$X_LIBS -L$x_libraries"
10808 # For Solaris; some versions of Sun CC require a space after -R and
10809 # others require no space. Words are not sufficient . . . .
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10811 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10812 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10813 ac_xsave_c_werror_flag=$ac_c_werror_flag
10814 ac_c_werror_flag=yes
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10819 main ()
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10828 $as_echo "no" >&6; }
10829 X_LIBS="$X_LIBS -R$x_libraries"
10830 else
10831 LIBS="$ac_xsave_LIBS -R $x_libraries"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10836 main ()
10840 return 0;
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10845 $as_echo "yes" >&6; }
10846 X_LIBS="$X_LIBS -R $x_libraries"
10847 else
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10849 $as_echo "neither works" >&6; }
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 ac_c_werror_flag=$ac_xsave_c_werror_flag
10857 LIBS=$ac_xsave_LIBS
10860 # Check for system-dependent libraries X programs must link with.
10861 # Do this before checking for the system-independent R6 libraries
10862 # (-lICE), since we may need -lsocket or whatever for X linking.
10864 if test "$ISC" = yes; then
10865 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10866 else
10867 # Martyn Johnson says this is needed for Ultrix, if the X
10868 # libraries were built with DECnet support. And Karl Berry says
10869 # the Alpha needs dnet_stub (dnet does not exist).
10870 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10877 #ifdef __cplusplus
10878 extern "C"
10879 #endif
10880 char XOpenDisplay ();
10882 main ()
10884 return XOpenDisplay ();
10886 return 0;
10888 _ACEOF
10889 if ac_fn_c_try_link "$LINENO"; then :
10891 else
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10893 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10894 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10895 $as_echo_n "(cached) " >&6
10896 else
10897 ac_check_lib_save_LIBS=$LIBS
10898 LIBS="-ldnet $LIBS"
10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10905 #ifdef __cplusplus
10906 extern "C"
10907 #endif
10908 char dnet_ntoa ();
10910 main ()
10912 return dnet_ntoa ();
10914 return 0;
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"; then :
10918 ac_cv_lib_dnet_dnet_ntoa=yes
10919 else
10920 ac_cv_lib_dnet_dnet_ntoa=no
10922 rm -f core conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10924 LIBS=$ac_check_lib_save_LIBS
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10927 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10928 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10929 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10932 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10934 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10935 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10936 $as_echo_n "(cached) " >&6
10937 else
10938 ac_check_lib_save_LIBS=$LIBS
10939 LIBS="-ldnet_stub $LIBS"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char dnet_ntoa ();
10951 main ()
10953 return dnet_ntoa ();
10955 return 0;
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10960 else
10961 ac_cv_lib_dnet_stub_dnet_ntoa=no
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 LIBS=$ac_check_lib_save_LIBS
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10968 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10969 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10970 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS="$ac_xsave_LIBS"
10979 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10980 # to get the SysV transport functions.
10981 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10982 # needs -lnsl.
10983 # The nsl library prevents programs from opening the X display
10984 # on Irix 5.2, according to T.E. Dickey.
10985 # The functions gethostbyname, getservbyname, and inet_addr are
10986 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10987 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10988 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10992 if test $ac_cv_func_gethostbyname = no; then
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10994 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10995 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10996 $as_echo_n "(cached) " >&6
10997 else
10998 ac_check_lib_save_LIBS=$LIBS
10999 LIBS="-lnsl $LIBS"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11006 #ifdef __cplusplus
11007 extern "C"
11008 #endif
11009 char gethostbyname ();
11011 main ()
11013 return gethostbyname ();
11015 return 0;
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"; then :
11019 ac_cv_lib_nsl_gethostbyname=yes
11020 else
11021 ac_cv_lib_nsl_gethostbyname=no
11023 rm -f core conftest.err conftest.$ac_objext \
11024 conftest$ac_exeext conftest.$ac_ext
11025 LIBS=$ac_check_lib_save_LIBS
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11028 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11029 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11030 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11033 if test $ac_cv_lib_nsl_gethostbyname = no; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11035 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11036 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-lbsd $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char gethostbyname ();
11052 main ()
11054 return gethostbyname ();
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 ac_cv_lib_bsd_gethostbyname=yes
11061 else
11062 ac_cv_lib_bsd_gethostbyname=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11069 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11070 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11077 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11078 # socket/setsockopt and other routines are undefined under SCO ODT
11079 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11080 # on later versions), says Simon Leinen: it contains gethostby*
11081 # variants that don't use the name server (or something). -lsocket
11082 # must be given before -lnsl if both are needed. We assume that
11083 # if connect needs -lnsl, so does gethostbyname.
11084 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11085 if test "x$ac_cv_func_connect" = xyes; then :
11089 if test $ac_cv_func_connect = no; then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11091 $as_echo_n "checking for connect in -lsocket... " >&6; }
11092 if ${ac_cv_lib_socket_connect+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char connect ();
11108 main ()
11110 return connect ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 ac_cv_lib_socket_connect=yes
11117 else
11118 ac_cv_lib_socket_connect=no
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_lib_save_LIBS
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11125 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11126 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11127 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11132 # Guillermo Gomez says -lposix is necessary on A/UX.
11133 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11134 if test "x$ac_cv_func_remove" = xyes; then :
11138 if test $ac_cv_func_remove = no; then
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11140 $as_echo_n "checking for remove in -lposix... " >&6; }
11141 if ${ac_cv_lib_posix_remove+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-lposix $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char remove ();
11157 main ()
11159 return remove ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_posix_remove=yes
11166 else
11167 ac_cv_lib_posix_remove=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11174 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11175 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11181 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11182 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11183 if test "x$ac_cv_func_shmat" = xyes; then :
11187 if test $ac_cv_func_shmat = no; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11189 $as_echo_n "checking for shmat in -lipc... " >&6; }
11190 if ${ac_cv_lib_ipc_shmat+:} false; then :
11191 $as_echo_n "(cached) " >&6
11192 else
11193 ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-lipc $LIBS"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11201 #ifdef __cplusplus
11202 extern "C"
11203 #endif
11204 char shmat ();
11206 main ()
11208 return shmat ();
11210 return 0;
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"; then :
11214 ac_cv_lib_ipc_shmat=yes
11215 else
11216 ac_cv_lib_ipc_shmat=no
11218 rm -f core conftest.err conftest.$ac_objext \
11219 conftest$ac_exeext conftest.$ac_ext
11220 LIBS=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11223 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11224 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11225 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11231 # Check for libraries that X11R6 Xt/Xaw programs need.
11232 ac_save_LDFLAGS=$LDFLAGS
11233 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11234 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11235 # check for ICE first), but we must link in the order -lSM -lICE or
11236 # we get undefined symbols. So assume we have SM if we have ICE.
11237 # These have to be linked with before -lX11, unlike the other
11238 # libraries we check for below, so use a different variable.
11239 # John Interrante, Karl Berry
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11241 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11242 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char IceConnectionNumber ();
11258 main ()
11260 return IceConnectionNumber ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 ac_cv_lib_ICE_IceConnectionNumber=yes
11267 else
11268 ac_cv_lib_ICE_IceConnectionNumber=no
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11275 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11276 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11277 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11280 LDFLAGS=$ac_save_LDFLAGS
11285 if test "$have_x" = "yes"
11286 then
11287 ac_save_CPPFLAGS="$CPPFLAGS"
11288 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11291 $as_echo_n "checking for -lX11... " >&6; }
11292 if ${ac_cv_lib_soname_X11+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_soname_save_LIBS=$LIBS
11296 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char XCreateWindow ();
11308 main ()
11310 return XCreateWindow ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 case "$LIBEXT" in
11317 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11318 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'` ;;
11319 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11320 if ${ac_cv_lib_soname_X11:+false} :; then :
11321 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11322 fi ;;
11323 esac
11324 else
11325 ac_cv_lib_soname_X11=
11327 rm -f core conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_soname_save_LIBS
11331 if ${ac_cv_lib_soname_X11:+false} :; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11333 $as_echo "not found" >&6; }
11335 else
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11337 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11339 cat >>confdefs.h <<_ACEOF
11340 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11341 _ACEOF
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11346 $as_echo_n "checking for -lXext... " >&6; }
11347 if ${ac_cv_lib_soname_Xext+:} false; then :
11348 $as_echo_n "(cached) " >&6
11349 else
11350 ac_check_soname_save_LIBS=$LIBS
11351 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char XextCreateExtension ();
11363 main ()
11365 return XextCreateExtension ();
11367 return 0;
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 case "$LIBEXT" in
11372 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11373 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'` ;;
11374 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11375 if ${ac_cv_lib_soname_Xext:+false} :; then :
11376 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11377 fi ;;
11378 esac
11379 else
11380 ac_cv_lib_soname_Xext=
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_soname_save_LIBS
11386 if ${ac_cv_lib_soname_Xext:+false} :; then :
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11388 $as_echo "not found" >&6; }
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11392 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11394 cat >>confdefs.h <<_ACEOF
11395 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11396 _ACEOF
11398 X_LIBS="$X_LIBS -lXext"
11400 X_LIBS="$X_LIBS -lX11"
11402 for ac_header in X11/Xlib.h \
11403 X11/XKBlib.h \
11404 X11/Xutil.h \
11405 X11/Xcursor/Xcursor.h \
11406 X11/extensions/shape.h \
11407 X11/extensions/XInput.h \
11408 X11/extensions/XInput2.h \
11409 X11/extensions/XShm.h \
11410 X11/extensions/Xcomposite.h \
11411 X11/extensions/Xfixes.h \
11412 X11/extensions/Xinerama.h \
11413 X11/extensions/Xrandr.h \
11414 X11/extensions/Xrender.h \
11415 X11/extensions/xf86vmode.h \
11416 X11/extensions/xf86vmproto.h
11417 do :
11418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11419 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11420 # include <X11/Xlib.h>
11421 #endif
11422 #ifdef HAVE_X11_XUTIL_H
11423 # include <X11/Xutil.h>
11424 #endif
11426 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11427 cat >>confdefs.h <<_ACEOF
11428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11429 _ACEOF
11433 done
11436 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11437 then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11439 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11440 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char XkbQueryExtension ();
11456 main ()
11458 return XkbQueryExtension ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_X11_XkbQueryExtension=yes
11465 else
11466 ac_cv_lib_X11_XkbQueryExtension=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11473 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11474 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11476 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11482 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11483 then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11485 $as_echo_n "checking for -lXcursor... " >&6; }
11486 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11487 $as_echo_n "(cached) " >&6
11488 else
11489 ac_check_soname_save_LIBS=$LIBS
11490 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char XcursorImageLoadCursor ();
11502 main ()
11504 return XcursorImageLoadCursor ();
11506 return 0;
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 case "$LIBEXT" in
11511 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11514 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11515 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11516 fi ;;
11517 esac
11518 else
11519 ac_cv_lib_soname_Xcursor=
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11531 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11535 _ACEOF
11540 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11541 case "x$with_xcursor" in
11542 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11545 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11546 esac
11550 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11551 then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11553 $as_echo_n "checking for -lXi... " >&6; }
11554 if ${ac_cv_lib_soname_Xi+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_soname_save_LIBS=$LIBS
11558 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char XOpenDevice ();
11570 main ()
11572 return XOpenDevice ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 case "$LIBEXT" in
11579 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11580 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'` ;;
11581 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11582 if ${ac_cv_lib_soname_Xi:+false} :; then :
11583 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11584 fi ;;
11585 esac
11586 else
11587 ac_cv_lib_soname_Xi=
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_soname_save_LIBS
11593 if ${ac_cv_lib_soname_Xi:+false} :; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11597 else
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11599 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11601 cat >>confdefs.h <<_ACEOF
11602 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11603 _ACEOF
11608 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11609 case "x$with_xinput" in
11610 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11611 xno) ;;
11612 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11613 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11614 esac
11618 if test "x$ac_cv_lib_soname_Xi" != x
11619 then
11620 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11621 case "x$with_xinput2" in
11622 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11623 xno) ;;
11624 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11625 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11626 esac
11631 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11632 then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11634 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11635 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11636 $as_echo_n "(cached) " >&6
11637 else
11638 ac_check_lib_save_LIBS=$LIBS
11639 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11646 #ifdef __cplusplus
11647 extern "C"
11648 #endif
11649 char XShmQueryExtension ();
11651 main ()
11653 return XShmQueryExtension ();
11655 return 0;
11657 _ACEOF
11658 if ac_fn_c_try_link "$LINENO"; then :
11659 ac_cv_lib_Xext_XShmQueryExtension=yes
11660 else
11661 ac_cv_lib_Xext_XShmQueryExtension=no
11663 rm -f core conftest.err conftest.$ac_objext \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_lib_save_LIBS
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11668 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11669 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11671 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11676 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11677 case "x$with_xshm" in
11678 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11679 xno) ;;
11680 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11681 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11682 esac
11686 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11687 then
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11689 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11690 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_lib_save_LIBS=$LIBS
11694 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char XShapeQueryExtension ();
11706 main ()
11708 return XShapeQueryExtension ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 ac_cv_lib_Xext_XShapeQueryExtension=yes
11715 else
11716 ac_cv_lib_Xext_XShapeQueryExtension=no
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_lib_save_LIBS
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11723 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11724 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11726 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11731 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11732 case "x$with_xshape" in
11733 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11734 xno) ;;
11735 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11736 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11737 esac
11741 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11742 then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11744 $as_echo_n "checking for -lXxf86vm... " >&6; }
11745 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char XF86VidModeQueryExtension ();
11761 main ()
11763 return XF86VidModeQueryExtension ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11773 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11774 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11777 else
11778 ac_cv_lib_soname_Xxf86vm=
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_soname_save_LIBS
11784 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11786 $as_echo "not found" >&6; }
11788 else
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11790 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11792 cat >>confdefs.h <<_ACEOF
11793 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11794 _ACEOF
11799 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11800 case "x$with_xxf86vm" in
11801 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11802 xno) ;;
11803 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11804 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11805 esac
11809 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11810 then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11812 $as_echo_n "checking for -lXrender... " >&6; }
11813 if ${ac_cv_lib_soname_Xrender+:} false; then :
11814 $as_echo_n "(cached) " >&6
11815 else
11816 ac_check_soname_save_LIBS=$LIBS
11817 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h. */
11821 /* Override any GCC internal prototype to avoid an error.
11822 Use char because int might match the return type of a GCC
11823 builtin and then its argument prototype would still apply. */
11824 #ifdef __cplusplus
11825 extern "C"
11826 #endif
11827 char XRenderQueryExtension ();
11829 main ()
11831 return XRenderQueryExtension ();
11833 return 0;
11835 _ACEOF
11836 if ac_fn_c_try_link "$LINENO"; then :
11837 case "$LIBEXT" in
11838 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11839 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'` ;;
11840 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11841 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11842 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11843 fi ;;
11844 esac
11845 else
11846 ac_cv_lib_soname_Xrender=
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_soname_save_LIBS
11852 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11856 else
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11858 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11860 cat >>confdefs.h <<_ACEOF
11861 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11862 _ACEOF
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11865 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11866 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11867 $as_echo_n "(cached) " >&6
11868 else
11869 ac_check_lib_save_LIBS=$LIBS
11870 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 char XRenderSetPictureTransform ();
11882 main ()
11884 return XRenderSetPictureTransform ();
11886 return 0;
11888 _ACEOF
11889 if ac_fn_c_try_link "$LINENO"; then :
11890 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11891 else
11892 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11894 rm -f core conftest.err conftest.$ac_objext \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11899 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11900 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11902 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11907 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11908 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 ac_check_lib_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 XRenderCreateLinearGradient ();
11924 main ()
11926 return XRenderCreateLinearGradient ();
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_link "$LINENO"; then :
11932 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11933 else
11934 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_lib_save_LIBS
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11941 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11942 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11944 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11951 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11952 case "x$with_xrender" in
11953 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11954 xno) ;;
11955 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11956 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11957 esac
11961 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11962 then
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965 #include <X11/Xlib.h>
11966 #include <X11/extensions/Xrandr.h>
11968 main ()
11970 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_compile "$LINENO"; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11977 $as_echo_n "checking for -lXrandr... " >&6; }
11978 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11979 $as_echo_n "(cached) " >&6
11980 else
11981 ac_check_soname_save_LIBS=$LIBS
11982 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char XRRQueryExtension ();
11994 main ()
11996 return XRRQueryExtension ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002 case "$LIBEXT" in
12003 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12004 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'` ;;
12005 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12006 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12007 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12008 fi ;;
12009 esac
12010 else
12011 ac_cv_lib_soname_Xrandr=
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LIBS=$ac_check_soname_save_LIBS
12017 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12019 $as_echo "not found" >&6; }
12021 else
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12023 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12025 cat >>confdefs.h <<_ACEOF
12026 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12027 _ACEOF
12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12031 #include <X11/Xlib.h>
12032 #include <X11/extensions/Xrandr.h>
12034 main ()
12036 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12038 return 0;
12040 _ACEOF
12041 if ac_fn_c_try_compile "$LINENO"; then :
12043 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12049 #include <X11/Xlib.h>
12050 #include <X11/extensions/Xrandr.h>
12052 main ()
12054 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12056 return 0;
12058 _ACEOF
12059 if ac_fn_c_try_compile "$LINENO"; then :
12061 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12063 else
12064 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12071 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12072 case "x$with_xrandr" in
12073 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12074 xno) ;;
12075 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12076 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12077 esac
12081 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12082 then
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12085 #include <X11/Xlib.h>
12086 #include <X11/extensions/Xfixes.h>
12088 main ()
12090 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_compile "$LINENO"; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12097 $as_echo_n "checking for -lXfixes... " >&6; }
12098 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_soname_save_LIBS=$LIBS
12102 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char XFixesQueryVersion ();
12114 main ()
12116 return XFixesQueryVersion ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 case "$LIBEXT" in
12123 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12124 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'` ;;
12125 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12126 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12127 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12128 fi ;;
12129 esac
12130 else
12131 ac_cv_lib_soname_Xfixes=
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_soname_save_LIBS
12137 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12139 $as_echo "not found" >&6; }
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12143 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12145 cat >>confdefs.h <<_ACEOF
12146 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12147 _ACEOF
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12154 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12155 case "x$with_xfixes" in
12156 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12157 xno) ;;
12158 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12159 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12160 esac
12164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12165 then
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12168 #include <X11/Xlib.h>
12169 #include <X11/extensions/Xinerama.h>
12171 main ()
12173 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_compile "$LINENO"; then :
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12180 $as_echo_n "checking for -lXinerama... " >&6; }
12181 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_soname_save_LIBS=$LIBS
12185 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char XineramaQueryScreens ();
12197 main ()
12199 return XineramaQueryScreens ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 case "$LIBEXT" in
12206 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12207 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'` ;;
12208 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12209 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12210 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12211 fi ;;
12212 esac
12213 else
12214 ac_cv_lib_soname_Xinerama=
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_soname_save_LIBS
12220 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12222 $as_echo "not found" >&6; }
12224 else
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12226 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12228 cat >>confdefs.h <<_ACEOF
12229 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12230 _ACEOF
12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12237 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12238 case "x$with_xinerama" in
12239 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12240 xno) ;;
12241 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12242 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12243 esac
12247 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12248 then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12250 $as_echo_n "checking for -lXcomposite... " >&6; }
12251 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12252 $as_echo_n "(cached) " >&6
12253 else
12254 ac_check_soname_save_LIBS=$LIBS
12255 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 char XCompositeRedirectWindow ();
12267 main ()
12269 return XCompositeRedirectWindow ();
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 case "$LIBEXT" in
12276 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12277 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'` ;;
12278 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12279 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12280 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12281 fi ;;
12282 esac
12283 else
12284 ac_cv_lib_soname_Xcomposite=
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_soname_save_LIBS
12290 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12292 $as_echo "not found" >&6; }
12294 else
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12296 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12298 cat >>confdefs.h <<_ACEOF
12299 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12300 _ACEOF
12305 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12306 case "x$with_xcomposite" in
12307 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12308 xno) ;;
12309 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12310 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12311 esac
12315 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12316 #include <X11/Xlib.h>
12317 #endif
12319 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12321 cat >>confdefs.h <<_ACEOF
12322 #define HAVE_XICCALLBACK_CALLBACK 1
12323 _ACEOF
12327 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12328 #include <X11/Xlib.h>
12329 #endif
12331 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12333 cat >>confdefs.h <<_ACEOF
12334 #define HAVE_XEVENT_XCOOKIE 1
12335 _ACEOF
12342 opengl_msg=""
12343 if test "x$with_opengl" != "xno"
12344 then
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12346 $as_echo_n "checking for -lGL... " >&6; }
12347 if ${ac_cv_lib_soname_GL+:} false; then :
12348 $as_echo_n "(cached) " >&6
12349 else
12350 ac_check_soname_save_LIBS=$LIBS
12351 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12358 #ifdef __cplusplus
12359 extern "C"
12360 #endif
12361 char glXCreateContext ();
12363 main ()
12365 return glXCreateContext ();
12367 return 0;
12369 _ACEOF
12370 if ac_fn_c_try_link "$LINENO"; then :
12371 case "$LIBEXT" in
12372 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12373 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'` ;;
12374 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12375 if ${ac_cv_lib_soname_GL:+false} :; then :
12376 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12377 fi ;;
12378 esac
12379 else
12380 ac_cv_lib_soname_GL=
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_soname_save_LIBS
12386 if ${ac_cv_lib_soname_GL:+false} :; then :
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12388 $as_echo "not found" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12390 $as_echo_n "checking for -lGL... " >&6; }
12391 if ${ac_cv_lib_soname_GL+:} false; then :
12392 $as_echo_n "(cached) " >&6
12393 else
12394 ac_check_soname_save_LIBS=$LIBS
12395 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"
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12402 #ifdef __cplusplus
12403 extern "C"
12404 #endif
12405 char glXCreateContext ();
12407 main ()
12409 return glXCreateContext ();
12411 return 0;
12413 _ACEOF
12414 if ac_fn_c_try_link "$LINENO"; then :
12415 case "$LIBEXT" in
12416 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12417 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'` ;;
12418 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12419 if ${ac_cv_lib_soname_GL:+false} :; then :
12420 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12421 fi ;;
12422 esac
12423 else
12424 ac_cv_lib_soname_GL=
12426 rm -f core conftest.err conftest.$ac_objext \
12427 conftest$ac_exeext conftest.$ac_ext
12428 LIBS=$ac_check_soname_save_LIBS
12430 if ${ac_cv_lib_soname_GL:+false} :; then :
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12432 $as_echo "not found" >&6; }
12433 if test -f /usr/X11R6/lib/libGL.a
12434 then
12435 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12436 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12437 else
12438 opengl_msg="No OpenGL library found on this system."
12440 else
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12442 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12444 cat >>confdefs.h <<_ACEOF
12445 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12446 _ACEOF
12448 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"
12450 else
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12452 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12454 cat >>confdefs.h <<_ACEOF
12455 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12456 _ACEOF
12458 OPENGL_LIBS="-lGL"
12460 if test "x$with_glu" != "xno"
12461 then
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12463 $as_echo_n "checking for -lGLU... " >&6; }
12464 if ${ac_cv_lib_soname_GLU+:} false; then :
12465 $as_echo_n "(cached) " >&6
12466 else
12467 ac_check_soname_save_LIBS=$LIBS
12468 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12475 #ifdef __cplusplus
12476 extern "C"
12477 #endif
12478 char gluLookAt ();
12480 main ()
12482 return gluLookAt ();
12484 return 0;
12486 _ACEOF
12487 if ac_fn_c_try_link "$LINENO"; then :
12488 case "$LIBEXT" in
12489 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12490 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'` ;;
12491 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12492 if ${ac_cv_lib_soname_GLU:+false} :; then :
12493 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12494 fi ;;
12495 esac
12496 else
12497 ac_cv_lib_soname_GLU=
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_soname_save_LIBS
12503 if ${ac_cv_lib_soname_GLU:+false} :; then :
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12505 $as_echo "not found" >&6; }
12507 else
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12509 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12511 cat >>confdefs.h <<_ACEOF
12512 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12513 _ACEOF
12517 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12518 case "x$with_glu" in
12519 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12520 xno) ;;
12521 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12522 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12523 esac
12528 if test "x$with_osmesa" != "xno"
12529 then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12531 $as_echo_n "checking for -lOSMesa... " >&6; }
12532 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12533 $as_echo_n "(cached) " >&6
12534 else
12535 ac_check_soname_save_LIBS=$LIBS
12536 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char OSMesaGetProcAddress ();
12548 main ()
12550 return OSMesaGetProcAddress ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 case "$LIBEXT" in
12557 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12558 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'` ;;
12559 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12560 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12561 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12562 fi ;;
12563 esac
12564 else
12565 ac_cv_lib_soname_OSMesa=
12567 rm -f core conftest.err conftest.$ac_objext \
12568 conftest$ac_exeext conftest.$ac_ext
12569 LIBS=$ac_check_soname_save_LIBS
12571 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12573 $as_echo "not found" >&6; }
12575 else
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12577 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12579 cat >>confdefs.h <<_ACEOF
12580 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12581 _ACEOF
12585 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12586 case "x$with_osmesa" in
12587 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12588 xno) ;;
12589 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12590 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12591 esac
12596 if test -n "$opengl_msg"; then :
12597 case "x$with_opengl" in
12598 x) as_fn_append wine_warnings "|$opengl_msg
12599 OpenGL and Direct3D won't be supported." ;;
12600 xno) ;;
12601 *) as_fn_error $? "$opengl_msg
12602 OpenGL and Direct3D won't be supported.
12603 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12604 esac
12608 CPPFLAGS="$ac_save_CPPFLAGS"
12609 else
12610 X_CFLAGS=""
12611 X_LIBS=""
12614 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12615 then
12616 if test "x$X_LIBS" = "x"; then :
12617 case "x$with_x" in
12618 xno) ;;
12619 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12620 without X support, which probably isn't what you want. You will need
12621 to install ${notice_platform}development packages of Xlib at the very least.
12622 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12623 esac
12624 enable_winex11_drv=${enable_winex11_drv:-no}
12626 else
12627 if test "x$X_LIBS" = "x"; then :
12628 case "x$with_x" in
12629 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12630 xno) ;;
12631 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12632 This is an error since --with-x was requested." "$LINENO" 5 ;;
12633 esac
12634 enable_winex11_drv=${enable_winex11_drv:-no}
12638 if test "$ac_cv_header_CL_cl_h" = "yes"
12639 then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12641 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12642 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12643 $as_echo_n "(cached) " >&6
12644 else
12645 ac_check_lib_save_LIBS=$LIBS
12646 LIBS="-lOpenCL $LIBS"
12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 /* Override any GCC internal prototype to avoid an error.
12651 Use char because int might match the return type of a GCC
12652 builtin and then its argument prototype would still apply. */
12653 #ifdef __cplusplus
12654 extern "C"
12655 #endif
12656 char clGetPlatformInfo ();
12658 main ()
12660 return clGetPlatformInfo ();
12662 return 0;
12664 _ACEOF
12665 if ac_fn_c_try_link "$LINENO"; then :
12666 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12667 else
12668 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_lib_save_LIBS
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12675 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12676 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12677 OPENCL_LIBS="-lOpenCL"
12682 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12683 case "x$with_opencl" in
12684 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12685 xno) ;;
12686 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12687 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12688 esac
12689 enable_opencl=${enable_opencl:-no}
12692 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12693 then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12695 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12696 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12697 $as_echo_n "(cached) " >&6
12698 else
12699 ac_check_lib_save_LIBS=$LIBS
12700 LIBS="-lpcap $LIBS"
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12704 /* Override any GCC internal prototype to avoid an error.
12705 Use char because int might match the return type of a GCC
12706 builtin and then its argument prototype would still apply. */
12707 #ifdef __cplusplus
12708 extern "C"
12709 #endif
12710 char pcap_create ();
12712 main ()
12714 return pcap_create ();
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_link "$LINENO"; then :
12720 ac_cv_lib_pcap_pcap_create=yes
12721 else
12722 ac_cv_lib_pcap_pcap_create=no
12724 rm -f core conftest.err conftest.$ac_objext \
12725 conftest$ac_exeext conftest.$ac_ext
12726 LIBS=$ac_check_lib_save_LIBS
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12729 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12730 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12731 PCAP_LIBS="-lpcap"
12736 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12737 case "x$with_pcap" in
12738 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12739 xno) ;;
12740 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12741 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12742 esac
12743 enable_wpcap=${enable_wpcap:-no}
12747 if test "x$with_xml" != "xno"
12748 then
12749 if ${XML2_CFLAGS:+false} :; then :
12750 if ${PKG_CONFIG+:} false; then :
12751 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12754 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12755 if ${XML2_LIBS:+false} :; then :
12756 if ${PKG_CONFIG+:} false; then :
12757 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12760 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12761 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12762 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12763 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12764 ac_save_CPPFLAGS=$CPPFLAGS
12765 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12766 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12767 do :
12768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12769 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12771 cat >>confdefs.h <<_ACEOF
12772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12773 _ACEOF
12777 done
12779 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"
12780 then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12782 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12783 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12784 $as_echo_n "(cached) " >&6
12785 else
12786 ac_check_lib_save_LIBS=$LIBS
12787 LIBS="-lxml2 $XML2_LIBS $LIBS"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12794 #ifdef __cplusplus
12795 extern "C"
12796 #endif
12797 char xmlParseMemory ();
12799 main ()
12801 return xmlParseMemory ();
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_link "$LINENO"; then :
12807 ac_cv_lib_xml2_xmlParseMemory=yes
12808 else
12809 ac_cv_lib_xml2_xmlParseMemory=no
12811 rm -f core conftest.err conftest.$ac_objext \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LIBS=$ac_check_lib_save_LIBS
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12816 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12817 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12819 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12821 else
12822 XML2_LIBS=""
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12826 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12827 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12828 $as_echo_n "(cached) " >&6
12829 else
12830 ac_check_lib_save_LIBS=$LIBS
12831 LIBS="-lxml2 $XML2_LIBS $LIBS"
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12835 /* Override any GCC internal prototype to avoid an error.
12836 Use char because int might match the return type of a GCC
12837 builtin and then its argument prototype would still apply. */
12838 #ifdef __cplusplus
12839 extern "C"
12840 #endif
12841 char xmlReadMemory ();
12843 main ()
12845 return xmlReadMemory ();
12847 return 0;
12849 _ACEOF
12850 if ac_fn_c_try_link "$LINENO"; then :
12851 ac_cv_lib_xml2_xmlReadMemory=yes
12852 else
12853 ac_cv_lib_xml2_xmlReadMemory=no
12855 rm -f core conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12857 LIBS=$ac_check_lib_save_LIBS
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12860 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12861 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12863 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12868 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12869 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 ac_check_lib_save_LIBS=$LIBS
12873 LIBS="-lxml2 $XML2_LIBS $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12880 #ifdef __cplusplus
12881 extern "C"
12882 #endif
12883 char xmlNewDocPI ();
12885 main ()
12887 return xmlNewDocPI ();
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_link "$LINENO"; then :
12893 ac_cv_lib_xml2_xmlNewDocPI=yes
12894 else
12895 ac_cv_lib_xml2_xmlNewDocPI=no
12897 rm -f core conftest.err conftest.$ac_objext \
12898 conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_lib_save_LIBS
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12902 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12903 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12905 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12910 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12911 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12912 $as_echo_n "(cached) " >&6
12913 else
12914 ac_check_lib_save_LIBS=$LIBS
12915 LIBS="-lxml2 $XML2_LIBS $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 char xmlSchemaSetParserStructuredErrors ();
12927 main ()
12929 return xmlSchemaSetParserStructuredErrors ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12936 else
12937 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12939 rm -f core conftest.err conftest.$ac_objext \
12940 conftest$ac_exeext conftest.$ac_ext
12941 LIBS=$ac_check_lib_save_LIBS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12944 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12945 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12947 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12952 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12953 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12954 $as_echo_n "(cached) " >&6
12955 else
12956 ac_check_lib_save_LIBS=$LIBS
12957 LIBS="-lxml2 $XML2_LIBS $LIBS"
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 #ifdef __cplusplus
12965 extern "C"
12966 #endif
12967 char xmlSchemaSetValidStructuredErrors ();
12969 main ()
12971 return xmlSchemaSetValidStructuredErrors ();
12973 return 0;
12975 _ACEOF
12976 if ac_fn_c_try_link "$LINENO"; then :
12977 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12978 else
12979 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12981 rm -f core conftest.err conftest.$ac_objext \
12982 conftest$ac_exeext conftest.$ac_ext
12983 LIBS=$ac_check_lib_save_LIBS
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12986 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12987 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12989 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12994 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12995 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12996 $as_echo_n "(cached) " >&6
12997 else
12998 ac_check_lib_save_LIBS=$LIBS
12999 LIBS="-lxml2 $XML2_LIBS $LIBS"
13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13003 /* Override any GCC internal prototype to avoid an error.
13004 Use char because int might match the return type of a GCC
13005 builtin and then its argument prototype would still apply. */
13006 #ifdef __cplusplus
13007 extern "C"
13008 #endif
13009 char xmlFirstElementChild ();
13011 main ()
13013 return xmlFirstElementChild ();
13015 return 0;
13017 _ACEOF
13018 if ac_fn_c_try_link "$LINENO"; then :
13019 ac_cv_lib_xml2_xmlFirstElementChild=yes
13020 else
13021 ac_cv_lib_xml2_xmlFirstElementChild=no
13023 rm -f core conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13025 LIBS=$ac_check_lib_save_LIBS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13028 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13029 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13031 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13035 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13037 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13039 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13043 else
13044 XML2_CFLAGS=""
13045 XML2_LIBS=""
13047 CPPFLAGS=$ac_save_CPPFLAGS
13048 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13053 case "x$with_xml" in
13054 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13055 xno) ;;
13056 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13057 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13058 esac
13062 if test "x$with_xslt" != "xno"
13063 then
13064 if ${XSLT_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false; then :
13066 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13069 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13070 if ${XSLT_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13075 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13076 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13077 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13079 ac_save_CPPFLAGS=$CPPFLAGS
13080 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13081 for ac_header in libxslt/pattern.h libxslt/transform.h
13082 do :
13083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13084 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13085 # include <libxslt/pattern.h>
13086 #endif
13088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13089 cat >>confdefs.h <<_ACEOF
13090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13091 _ACEOF
13095 done
13097 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13098 then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13100 $as_echo_n "checking for -lxslt... " >&6; }
13101 if ${ac_cv_lib_soname_xslt+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_soname_save_LIBS=$LIBS
13105 LIBS="-lxslt $XSLT_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xsltCompilePattern ();
13117 main ()
13119 return xsltCompilePattern ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 case "$LIBEXT" in
13126 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13129 if ${ac_cv_lib_soname_xslt:+false} :; then :
13130 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13131 fi ;;
13132 esac
13133 else
13134 ac_cv_lib_soname_xslt=
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_soname_save_LIBS
13140 if ${ac_cv_lib_soname_xslt:+false} :; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13142 $as_echo "not found" >&6; }
13144 else
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13146 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13148 cat >>confdefs.h <<_ACEOF
13149 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13150 _ACEOF
13154 else
13155 XSLT_CFLAGS=""
13157 CPPFLAGS=$ac_save_CPPFLAGS
13158 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13159 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13162 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13163 case "x$with_xslt" in
13164 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13165 xno) ;;
13166 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13167 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13168 esac
13172 if test "x$with_inotify" != "xno"
13173 then
13174 if ${INOTIFY_CFLAGS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13180 if ${INOTIFY_LIBS:+false} :; then :
13181 if ${PKG_CONFIG+:} false; then :
13182 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13188 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13189 ac_save_CPPFLAGS=$CPPFLAGS
13190 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13191 for ac_header in sys/inotify.h
13192 do :
13193 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13194 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_SYS_INOTIFY_H 1
13197 _ACEOF
13201 done
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13204 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13205 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char inotify_add_watch ();
13221 main ()
13223 return inotify_add_watch ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 ac_cv_lib_inotify_inotify_add_watch=yes
13230 else
13231 ac_cv_lib_inotify_inotify_add_watch=no
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13238 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13239 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13241 else
13242 INOTIFY_LIBS=""
13245 CPPFLAGS=$ac_save_CPPFLAGS
13246 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13247 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13250 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13251 case "x$with_inotify" in
13252 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13253 xno) ;;
13254 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13255 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13256 esac
13260 if test "x$with_dbus" != "xno"
13261 then
13262 if ${DBUS_CFLAGS:+false} :; then :
13263 if ${PKG_CONFIG+:} false; then :
13264 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13268 if ${DBUS_LIBS:+false} :; then :
13269 if ${PKG_CONFIG+:} false; then :
13270 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13275 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13276 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13277 ac_save_CPPFLAGS=$CPPFLAGS
13278 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13279 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13280 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13282 $as_echo_n "checking for -ldbus-1... " >&6; }
13283 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13284 $as_echo_n "(cached) " >&6
13285 else
13286 ac_check_soname_save_LIBS=$LIBS
13287 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13291 /* Override any GCC internal prototype to avoid an error.
13292 Use char because int might match the return type of a GCC
13293 builtin and then its argument prototype would still apply. */
13294 #ifdef __cplusplus
13295 extern "C"
13296 #endif
13297 char dbus_connection_close ();
13299 main ()
13301 return dbus_connection_close ();
13303 return 0;
13305 _ACEOF
13306 if ac_fn_c_try_link "$LINENO"; then :
13307 case "$LIBEXT" in
13308 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13309 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'` ;;
13310 *) 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'`
13311 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13312 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13313 fi ;;
13314 esac
13315 else
13316 ac_cv_lib_soname_dbus_1=
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_soname_save_LIBS
13322 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13324 $as_echo "not found" >&6; }
13325 DBUS_CFLAGS=""
13326 else
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13328 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13330 cat >>confdefs.h <<_ACEOF
13331 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13332 _ACEOF
13336 else
13337 DBUS_CFLAGS=""
13341 CPPFLAGS=$ac_save_CPPFLAGS
13342 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13343 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13346 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13347 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13348 case "x$with_dbus" in
13349 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13350 xno) ;;
13351 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13352 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13353 esac
13357 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13358 then
13359 if ${HAL_CFLAGS:+false} :; then :
13360 if ${PKG_CONFIG+:} false; then :
13361 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13365 if ${HAL_LIBS:+false} :; then :
13366 if ${PKG_CONFIG+:} false; then :
13367 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13371 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13372 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13373 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13374 ac_save_CPPFLAGS=$CPPFLAGS
13375 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13376 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13377 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13379 $as_echo_n "checking for -lhal... " >&6; }
13380 if ${ac_cv_lib_soname_hal+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_soname_save_LIBS=$LIBS
13384 LIBS="-lhal $HAL_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char libhal_ctx_new ();
13396 main ()
13398 return libhal_ctx_new ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 case "$LIBEXT" in
13405 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13406 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'` ;;
13407 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13408 if ${ac_cv_lib_soname_hal:+false} :; then :
13409 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13410 fi ;;
13411 esac
13412 else
13413 ac_cv_lib_soname_hal=
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_hal:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13422 HAL_CFLAGS=""
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13425 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13429 _ACEOF
13433 else
13434 HAL_CFLAGS=""
13438 CPPFLAGS=$ac_save_CPPFLAGS
13439 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13440 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13442 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13443 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13444 case "x$with_hal" in
13445 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13446 xno) ;;
13447 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13448 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13449 esac
13454 if test "x$with_gnutls" != "xno"
13455 then
13456 if ${GNUTLS_CFLAGS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13462 if ${GNUTLS_LIBS:+false} :; then :
13463 if ${PKG_CONFIG+:} false; then :
13464 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13469 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13470 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13471 ac_save_CPPFLAGS=$CPPFLAGS
13472 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13473 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13474 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 #include <gnutls/gnutls.h>
13478 #include <gnutls/crypto.h>
13480 main ()
13482 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13484 return 0;
13486 _ACEOF
13487 if ac_fn_c_try_compile "$LINENO"; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13489 $as_echo_n "checking for -lgnutls... " >&6; }
13490 if ${ac_cv_lib_soname_gnutls+:} false; then :
13491 $as_echo_n "(cached) " >&6
13492 else
13493 ac_check_soname_save_LIBS=$LIBS
13494 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13501 #ifdef __cplusplus
13502 extern "C"
13503 #endif
13504 char gnutls_global_init ();
13506 main ()
13508 return gnutls_global_init ();
13510 return 0;
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 case "$LIBEXT" in
13515 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13516 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'` ;;
13517 *) 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'`
13518 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13519 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'`
13520 fi ;;
13521 esac
13522 else
13523 ac_cv_lib_soname_gnutls=
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_soname_save_LIBS
13529 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13531 $as_echo "not found" >&6; }
13532 GNUTLS_CFLAGS=""
13533 else
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13535 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13537 cat >>confdefs.h <<_ACEOF
13538 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13539 _ACEOF
13543 ac_wine_check_funcs_save_LIBS="$LIBS"
13544 LIBS="$LIBS $GNUTLS_LIBS"
13545 for ac_func in gnutls_cipher_init
13546 do :
13547 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13548 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13549 cat >>confdefs.h <<_ACEOF
13550 #define HAVE_GNUTLS_CIPHER_INIT 1
13551 _ACEOF
13553 else
13554 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13556 done
13558 LIBS="$ac_wine_check_funcs_save_LIBS"
13560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13561 else
13562 GNUTLS_CFLAGS=""
13566 CPPFLAGS=$ac_save_CPPFLAGS
13567 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13568 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13571 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13572 case "x$with_gnutls" in
13573 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13574 xno) ;;
13575 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13576 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13577 esac
13581 CURSES_LIBS=""
13582 if test "$ac_cv_header_ncurses_h" = "yes"
13583 then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13585 $as_echo_n "checking for -lncurses... " >&6; }
13586 if ${ac_cv_lib_soname_ncurses+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 ac_check_soname_save_LIBS=$LIBS
13590 LIBS="-lncurses $LIBS"
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char waddch ();
13602 main ()
13604 return waddch ();
13606 return 0;
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 case "$LIBEXT" in
13611 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13612 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'` ;;
13613 *) 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'`
13614 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13615 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13616 fi ;;
13617 esac
13618 else
13619 ac_cv_lib_soname_ncurses=
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 LIBS=$ac_check_soname_save_LIBS
13625 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13627 $as_echo "not found" >&6; }
13629 else
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13631 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13633 cat >>confdefs.h <<_ACEOF
13634 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13635 _ACEOF
13637 CURSES_LIBS="-lncurses"
13639 elif test "$ac_cv_header_curses_h" = "yes"
13640 then
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13642 $as_echo_n "checking for -lcurses... " >&6; }
13643 if ${ac_cv_lib_soname_curses+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_check_soname_save_LIBS=$LIBS
13647 LIBS="-lcurses $LIBS"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13654 #ifdef __cplusplus
13655 extern "C"
13656 #endif
13657 char waddch ();
13659 main ()
13661 return waddch ();
13663 return 0;
13665 _ACEOF
13666 if ac_fn_c_try_link "$LINENO"; then :
13667 case "$LIBEXT" in
13668 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13669 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'` ;;
13670 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13671 if ${ac_cv_lib_soname_curses:+false} :; then :
13672 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13673 fi ;;
13674 esac
13675 else
13676 ac_cv_lib_soname_curses=
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_soname_save_LIBS
13682 if ${ac_cv_lib_soname_curses:+false} :; then :
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13684 $as_echo "not found" >&6; }
13686 else
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13688 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13690 cat >>confdefs.h <<_ACEOF
13691 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13692 _ACEOF
13694 CURSES_LIBS="-lcurses"
13697 ac_save_LIBS="$LIBS"
13698 LIBS="$LIBS $CURSES_LIBS"
13699 for ac_func in mousemask
13700 do :
13701 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13702 if test "x$ac_cv_func_mousemask" = xyes; then :
13703 cat >>confdefs.h <<_ACEOF
13704 #define HAVE_MOUSEMASK 1
13705 _ACEOF
13708 done
13710 LIBS="$ac_save_LIBS"
13711 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13712 case "x$with_curses" in
13713 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13714 xno) ;;
13715 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13716 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13717 esac
13721 if test "x$with_sane" != "xno"
13722 then
13723 if ${SANE_CFLAGS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13728 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13729 if ${SANE_LIBS:+false} :; then :
13730 if ${PKG_CONFIG+:} false; then :
13731 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13734 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13736 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13738 ac_save_CPPFLAGS=$CPPFLAGS
13739 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13740 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13741 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13743 $as_echo_n "checking for -lsane... " >&6; }
13744 if ${ac_cv_lib_soname_sane+:} false; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 ac_check_soname_save_LIBS=$LIBS
13748 LIBS="-lsane $SANE_LIBS $LIBS"
13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13752 /* Override any GCC internal prototype to avoid an error.
13753 Use char because int might match the return type of a GCC
13754 builtin and then its argument prototype would still apply. */
13755 #ifdef __cplusplus
13756 extern "C"
13757 #endif
13758 char sane_init ();
13760 main ()
13762 return sane_init ();
13764 return 0;
13766 _ACEOF
13767 if ac_fn_c_try_link "$LINENO"; then :
13768 case "$LIBEXT" in
13769 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13770 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'` ;;
13771 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13772 if ${ac_cv_lib_soname_sane:+false} :; then :
13773 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13774 fi ;;
13775 esac
13776 else
13777 ac_cv_lib_soname_sane=
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS=$ac_check_soname_save_LIBS
13783 if ${ac_cv_lib_soname_sane:+false} :; then :
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13785 $as_echo "not found" >&6; }
13786 SANE_CFLAGS=""
13787 else
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13789 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13791 cat >>confdefs.h <<_ACEOF
13792 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13793 _ACEOF
13797 else
13798 SANE_CFLAGS=""
13802 CPPFLAGS=$ac_save_CPPFLAGS
13803 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13804 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13807 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13808 case "x$with_sane" in
13809 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13810 xno) ;;
13811 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13812 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13813 esac
13817 if test "x$with_v4l2" != "xno"
13818 then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13820 $as_echo_n "checking for -lv4l2... " >&6; }
13821 if ${ac_cv_lib_soname_v4l2+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_check_soname_save_LIBS=$LIBS
13825 LIBS="-lv4l2 $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 char v4l2_open ();
13837 main ()
13839 return v4l2_open ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 case "$LIBEXT" in
13846 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13849 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13850 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13851 fi ;;
13852 esac
13853 else
13854 ac_cv_lib_soname_v4l2=
13856 rm -f core conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858 LIBS=$ac_check_soname_save_LIBS
13860 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13862 $as_echo "not found" >&6; }
13864 else
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13866 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13868 cat >>confdefs.h <<_ACEOF
13869 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13870 _ACEOF
13875 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13876 case "x$with_v4l2" in
13877 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13878 xno) ;;
13879 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13880 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13881 esac
13885 if test "x$with_gphoto" != "xno"
13886 then
13887 if ${GPHOTO2_CFLAGS:+false} :; then :
13888 if ${PKG_CONFIG+:} false; then :
13889 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13892 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13893 if ${GPHOTO2_LIBS:+false} :; then :
13894 if ${PKG_CONFIG+:} false; then :
13895 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13898 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13899 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13900 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13901 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13902 ac_save_CPPFLAGS=$CPPFLAGS
13903 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13904 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13905 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13907 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13908 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13909 $as_echo_n "(cached) " >&6
13910 else
13911 ac_check_lib_save_LIBS=$LIBS
13912 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13919 #ifdef __cplusplus
13920 extern "C"
13921 #endif
13922 char gp_camera_new ();
13924 main ()
13926 return gp_camera_new ();
13928 return 0;
13930 _ACEOF
13931 if ac_fn_c_try_link "$LINENO"; then :
13932 ac_cv_lib_gphoto2_gp_camera_new=yes
13933 else
13934 ac_cv_lib_gphoto2_gp_camera_new=no
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_lib_save_LIBS
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13941 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13942 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13944 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13946 else
13947 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13950 else
13951 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13955 CPPFLAGS=$ac_save_CPPFLAGS
13956 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13957 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13959 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13960 if ${PKG_CONFIG+:} false; then :
13961 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13964 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13965 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13970 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13971 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13974 ac_save_CPPFLAGS=$CPPFLAGS
13975 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13976 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13977 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13979 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13980 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 ac_check_lib_save_LIBS=$LIBS
13984 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13988 /* Override any GCC internal prototype to avoid an error.
13989 Use char because int might match the return type of a GCC
13990 builtin and then its argument prototype would still apply. */
13991 #ifdef __cplusplus
13992 extern "C"
13993 #endif
13994 char gp_port_info_list_new ();
13996 main ()
13998 return gp_port_info_list_new ();
14000 return 0;
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"; then :
14004 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14005 else
14006 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14008 rm -f core conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 LIBS=$ac_check_lib_save_LIBS
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14013 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14014 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14016 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14018 else
14019 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14022 else
14023 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14027 CPPFLAGS=$ac_save_CPPFLAGS
14028 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14029 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14032 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14033 case "x$with_gphoto" in
14034 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14035 xno) ;;
14036 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14037 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14038 esac
14041 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14042 case "x$with_gphoto" in
14043 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14044 xno) ;;
14045 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14046 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14047 esac
14052 if test "$ac_cv_header_resolv_h" = "yes"
14053 then
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14055 $as_echo_n "checking for resolver library... " >&6; }
14056 if ${ac_cv_have_resolv+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 ac_save_LIBS="$LIBS"
14060 for lib in '' -lresolv
14062 LIBS="$lib $ac_save_LIBS"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14065 #ifdef HAVE_NETINET_IN_H
14066 #include <netinet/in.h>
14067 #endif
14068 #include <resolv.h>
14070 main ()
14072 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14074 return 0;
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_have_resolv=${lib:-"none required"}
14079 else
14080 ac_cv_have_resolv="not found"
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 test "x$ac_cv_have_resolv" = "xnot found" || break
14085 done
14086 LIBS="$ac_save_LIBS"
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14089 $as_echo "$ac_cv_have_resolv" >&6; }
14091 case "$ac_cv_have_resolv" in
14092 "not found") ;;
14093 "none required")
14095 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14098 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14100 RESOLV_LIBS=$ac_cv_have_resolv
14102 esac
14105 if test "x$with_cms" != "xno"
14106 then
14107 if ${LCMS2_CFLAGS:+false} :; then :
14108 if ${PKG_CONFIG+:} false; then :
14109 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14113 if ${LCMS2_LIBS:+false} :; then :
14114 if ${PKG_CONFIG+:} false; then :
14115 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14119 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14120 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14121 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14122 ac_save_CPPFLAGS=$CPPFLAGS
14123 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14124 for ac_header in lcms2.h
14125 do :
14126 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14127 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14128 cat >>confdefs.h <<_ACEOF
14129 #define HAVE_LCMS2_H 1
14130 _ACEOF
14134 done
14136 if test "$ac_cv_header_lcms2_h" = "yes"
14137 then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14139 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14140 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_check_lib_save_LIBS=$LIBS
14144 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 #ifdef __cplusplus
14152 extern "C"
14153 #endif
14154 char cmsOpenProfileFromFile ();
14156 main ()
14158 return cmsOpenProfileFromFile ();
14160 return 0;
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14165 else
14166 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14170 LIBS=$ac_check_lib_save_LIBS
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14173 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14174 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14176 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14178 else
14179 LCMS2_LIBS=""
14182 else
14183 LCMS2_CFLAGS=""
14184 LCMS2_LIBS=""
14186 CPPFLAGS=$ac_save_CPPFLAGS
14187 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14188 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14191 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14192 case "x$with_cms" in
14193 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14194 xno) ;;
14195 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14196 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14197 esac
14201 if test "x$with_freetype" != "xno"
14202 then
14203 if ${FREETYPE_CFLAGS:+false} :; then :
14204 if ${PKG_CONFIG+:} false; then :
14205 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14208 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14209 if ${FREETYPE_LIBS:+false} :; then :
14210 if ${PKG_CONFIG+:} false; then :
14211 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14214 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14215 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14216 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14217 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14218 ac_save_CPPFLAGS=$CPPFLAGS
14219 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14220 for ac_header in ft2build.h
14221 do :
14222 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14223 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14224 cat >>confdefs.h <<_ACEOF
14225 #define HAVE_FT2BUILD_H 1
14226 _ACEOF
14230 done
14232 if test "$ac_cv_header_ft2build_h" = "yes"
14233 then
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14235 $as_echo_n "checking for -lfreetype... " >&6; }
14236 if ${ac_cv_lib_soname_freetype+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 ac_check_soname_save_LIBS=$LIBS
14240 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14247 #ifdef __cplusplus
14248 extern "C"
14249 #endif
14250 char FT_Init_FreeType ();
14252 main ()
14254 return FT_Init_FreeType ();
14256 return 0;
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"; then :
14260 case "$LIBEXT" in
14261 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14262 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'` ;;
14263 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14264 if ${ac_cv_lib_soname_freetype:+false} :; then :
14265 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14266 fi ;;
14267 esac
14268 else
14269 ac_cv_lib_soname_freetype=
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 LIBS=$ac_check_soname_save_LIBS
14275 if ${ac_cv_lib_soname_freetype:+false} :; then :
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14277 $as_echo "not found" >&6; }
14278 FREETYPE_LIBS=""
14279 else
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14281 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14283 cat >>confdefs.h <<_ACEOF
14284 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14285 _ACEOF
14288 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14290 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14291 #include FT_MODULE_H
14293 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14295 cat >>confdefs.h <<_ACEOF
14296 #define HAVE_FT_TRUETYPEENGINETYPE 1
14297 _ACEOF
14303 else
14304 FREETYPE_CFLAGS=""
14305 FREETYPE_LIBS=""
14307 CPPFLAGS=$ac_save_CPPFLAGS
14308 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14309 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14312 if test "x$ac_cv_lib_soname_freetype" = x; then :
14313 case "x$with_freetype" in
14314 xno) ;;
14315 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14316 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14317 esac
14318 enable_fonts=${enable_fonts:-no}
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14322 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14323 if ${ac_cv_c_ppdev+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 #ifdef HAVE_SYS_IOCTL_H
14329 # include <sys/ioctl.h>
14330 #endif
14331 #include <linux/ppdev.h>
14333 main ()
14335 ioctl (1,PPCLAIM,0)
14337 return 0;
14339 _ACEOF
14340 if ac_fn_c_try_compile "$LINENO"; then :
14341 ac_cv_c_ppdev="yes"
14342 else
14343 ac_cv_c_ppdev="no"
14345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14348 $as_echo "$ac_cv_c_ppdev" >&6; }
14349 if test "$ac_cv_c_ppdev" = "yes"
14350 then
14352 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14356 ac_wine_check_funcs_save_LIBS="$LIBS"
14357 LIBS="$LIBS $PTHREAD_LIBS"
14358 for ac_func in \
14359 pthread_getthreadid_np
14360 do :
14361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14363 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14364 cat >>confdefs.h <<_ACEOF
14365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14366 _ACEOF
14369 done
14371 LIBS="$ac_wine_check_funcs_save_LIBS"
14373 if test "x$with_zlib" != "xno"
14374 then
14375 if ${Z_CFLAGS:+false} :; then :
14376 if ${PKG_CONFIG+:} false; then :
14377 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14381 if ${Z_LIBS:+false} :; then :
14382 if ${PKG_CONFIG+:} false; then :
14383 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14387 Z_LIBS=${Z_LIBS:-"-lz"}
14388 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14389 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14390 ac_save_CPPFLAGS=$CPPFLAGS
14391 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14392 for ac_header in zlib.h
14393 do :
14394 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14395 if test "x$ac_cv_header_zlib_h" = xyes; then :
14396 cat >>confdefs.h <<_ACEOF
14397 #define HAVE_ZLIB_H 1
14398 _ACEOF
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14400 $as_echo_n "checking for inflate in -lz... " >&6; }
14401 if ${ac_cv_lib_z_inflate+:} false; then :
14402 $as_echo_n "(cached) " >&6
14403 else
14404 ac_check_lib_save_LIBS=$LIBS
14405 LIBS="-lz $Z_LIBS $LIBS"
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14409 /* Override any GCC internal prototype to avoid an error.
14410 Use char because int might match the return type of a GCC
14411 builtin and then its argument prototype would still apply. */
14412 #ifdef __cplusplus
14413 extern "C"
14414 #endif
14415 char inflate ();
14417 main ()
14419 return inflate ();
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_lib_z_inflate=yes
14426 else
14427 ac_cv_lib_z_inflate=no
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14431 LIBS=$ac_check_lib_save_LIBS
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14434 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14435 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14437 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14439 else
14440 Z_LIBS=""
14443 else
14444 Z_LIBS=""
14447 done
14449 CPPFLAGS=$ac_save_CPPFLAGS
14450 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14451 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14454 if test "x$Z_LIBS" = "x"; then :
14455 case "x$with_zlib" in
14456 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14457 xno) ;;
14458 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14459 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14460 esac
14464 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14465 then
14466 if test "$ac_cv_header_gettext_po_h" = "yes"
14467 then
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14469 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14470 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 ac_check_lib_save_LIBS=$LIBS
14474 LIBS="-lgettextpo $LIBS"
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14481 #ifdef __cplusplus
14482 extern "C"
14483 #endif
14484 char po_message_msgctxt ();
14486 main ()
14488 return po_message_msgctxt ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14495 else
14496 ac_cv_lib_gettextpo_po_message_msgctxt=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 LIBS=$ac_check_lib_save_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14503 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14504 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14506 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14508 GETTEXTPO_LIBS="-lgettextpo"
14513 if test "x$GETTEXTPO_LIBS" = "x"; then :
14514 case "x$with_gettextpo" in
14515 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14516 xno) ;;
14517 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14518 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14519 esac
14522 if test "$srcdir" != .; then :
14523 case "x$with_gettextpo" in
14524 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14525 xno) ;;
14526 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14527 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14528 esac
14533 if test "x$with_pulse" != "xno";
14534 then
14535 if ${PULSE_CFLAGS:+false} :; then :
14536 if ${PKG_CONFIG+:} false; then :
14537 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14541 if ${PULSE_LIBS:+false} :; then :
14542 if ${PKG_CONFIG+:} false; then :
14543 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14548 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14549 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14550 ac_save_CPPFLAGS=$CPPFLAGS
14551 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14552 for ac_header in pulse/pulseaudio.h
14553 do :
14554 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14555 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14556 cat >>confdefs.h <<_ACEOF
14557 #define HAVE_PULSE_PULSEAUDIO_H 1
14558 _ACEOF
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14560 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14561 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 ac_check_lib_save_LIBS=$LIBS
14565 LIBS="-lpulse $PULSE_LIBS $LIBS"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14569 /* Override any GCC internal prototype to avoid an error.
14570 Use char because int might match the return type of a GCC
14571 builtin and then its argument prototype would still apply. */
14572 #ifdef __cplusplus
14573 extern "C"
14574 #endif
14575 char pa_stream_is_corked ();
14577 main ()
14579 return pa_stream_is_corked ();
14581 return 0;
14583 _ACEOF
14584 if ac_fn_c_try_link "$LINENO"; then :
14585 ac_cv_lib_pulse_pa_stream_is_corked=yes
14586 else
14587 ac_cv_lib_pulse_pa_stream_is_corked=no
14589 rm -f core conftest.err conftest.$ac_objext \
14590 conftest$ac_exeext conftest.$ac_ext
14591 LIBS=$ac_check_lib_save_LIBS
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14594 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14595 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14597 else
14598 PULSE_LIBS=""
14601 else
14602 PULSE_LIBS=""
14605 done
14607 CPPFLAGS=$ac_save_CPPFLAGS
14608 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14609 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14612 if test -z "$PULSE_LIBS"; then :
14613 case "x$with_pulse" in
14614 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14615 xno) ;;
14616 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14617 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14618 esac
14619 enable_winepulse_drv=${enable_winepulse_drv:-no}
14622 if test "x$with_gstreamer" != "xno"
14623 then
14624 if ${GSTREAMER_CFLAGS:+false} :; then :
14625 if ${PKG_CONFIG+:} false; then :
14626 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14630 if ${GSTREAMER_LIBS:+false} :; then :
14631 if ${PKG_CONFIG+:} false; then :
14632 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14637 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14638 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14639 ac_save_CPPFLAGS=$CPPFLAGS
14640 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14641 ac_gst_incl=""
14642 for i in $GSTREAMER_CFLAGS
14644 case "$i" in
14645 -I*) ac_gst_incl="$ac_gst_incl $i";;
14646 esac
14647 done
14648 GSTREAMER_CFLAGS=$ac_gst_incl
14649 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14650 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14651 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14653 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #include <gst/gst.h>
14658 main ()
14660 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14662 return 0;
14664 _ACEOF
14665 if ac_fn_c_try_compile "$LINENO"; then :
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14667 $as_echo "yes" >&6; }
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14669 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14670 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14671 $as_echo_n "(cached) " >&6
14672 else
14673 ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14678 /* Override any GCC internal prototype to avoid an error.
14679 Use char because int might match the return type of a GCC
14680 builtin and then its argument prototype would still apply. */
14681 #ifdef __cplusplus
14682 extern "C"
14683 #endif
14684 char gst_pad_new ();
14686 main ()
14688 return gst_pad_new ();
14690 return 0;
14692 _ACEOF
14693 if ac_fn_c_try_link "$LINENO"; then :
14694 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14695 else
14696 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14698 rm -f core conftest.err conftest.$ac_objext \
14699 conftest$ac_exeext conftest.$ac_ext
14700 LIBS=$ac_check_lib_save_LIBS
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14703 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14704 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14708 else
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14710 $as_echo "no" >&6; }
14711 ac_glib2_broken=yes
14712 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14718 CPPFLAGS=$ac_save_CPPFLAGS
14719 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14720 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14723 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 :
14724 case "x$with_gstreamer" in
14725 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14726 xno) ;;
14727 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14728 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14729 esac
14732 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14734 ALSA_LIBS=""
14736 if test "x$with_alsa" != "xno"
14737 then
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14739 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14740 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14741 $as_echo_n "(cached) " >&6
14742 else
14743 ac_check_lib_save_LIBS=$LIBS
14744 LIBS="-lasound $LIBS"
14745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14746 /* end confdefs.h. */
14748 /* Override any GCC internal prototype to avoid an error.
14749 Use char because int might match the return type of a GCC
14750 builtin and then its argument prototype would still apply. */
14751 #ifdef __cplusplus
14752 extern "C"
14753 #endif
14754 char snd_pcm_hw_params_get_access_mask ();
14756 main ()
14758 return snd_pcm_hw_params_get_access_mask ();
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14765 else
14766 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14770 LIBS=$ac_check_lib_save_LIBS
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14773 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14774 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 #include <alsa/asoundlib.h>
14779 main ()
14781 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14783 return 0;
14785 _ACEOF
14786 if ac_fn_c_try_compile "$LINENO"; then :
14787 ALSA_LIBS="-lasound"
14789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14793 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14795 if test "x$with_oss" != xno
14796 then
14797 ac_save_CPPFLAGS="$CPPFLAGS"
14798 if test -f /etc/oss.conf
14799 then
14800 . /etc/oss.conf
14802 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14803 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14804 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14805 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14806 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14808 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14810 cat >>confdefs.h <<_ACEOF
14811 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14812 _ACEOF
14814 OSS4_CFLAGS="$ac_oss_incl"
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14817 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14818 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 ac_check_lib_save_LIBS=$LIBS
14822 LIBS="-lossaudio $LIBS"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14829 #ifdef __cplusplus
14830 extern "C"
14831 #endif
14832 char _oss_ioctl ();
14834 main ()
14836 return _oss_ioctl ();
14838 return 0;
14840 _ACEOF
14841 if ac_fn_c_try_link "$LINENO"; then :
14842 ac_cv_lib_ossaudio__oss_ioctl=yes
14843 else
14844 ac_cv_lib_ossaudio__oss_ioctl=no
14846 rm -f core conftest.err conftest.$ac_objext \
14847 conftest$ac_exeext conftest.$ac_ext
14848 LIBS=$ac_check_lib_save_LIBS
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14851 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14852 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14853 OSS4_LIBS="-lossaudio"
14862 CPPFLAGS="$ac_save_CPPFLAGS"
14864 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14865 case "x$with_oss" in
14866 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14867 xno) ;;
14868 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14869 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14870 esac
14871 enable_wineoss_drv=${enable_wineoss_drv:-no}
14874 if test "x$with_udev" != "xno"
14875 then
14876 if ${UDEV_CFLAGS:+false} :; then :
14877 if ${PKG_CONFIG+:} false; then :
14878 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14882 if ${UDEV_LIBS:+false} :; then :
14883 if ${PKG_CONFIG+:} false; then :
14884 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14888 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14889 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14890 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14891 ac_save_CPPFLAGS=$CPPFLAGS
14892 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14893 for ac_header in libudev.h
14894 do :
14895 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14896 if test "x$ac_cv_header_libudev_h" = xyes; then :
14897 cat >>confdefs.h <<_ACEOF
14898 #define HAVE_LIBUDEV_H 1
14899 _ACEOF
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14901 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14902 if ${ac_cv_lib_udev_udev_new+:} false; then :
14903 $as_echo_n "(cached) " >&6
14904 else
14905 ac_check_lib_save_LIBS=$LIBS
14906 LIBS="-ludev $UDEV_LIBS $LIBS"
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14913 #ifdef __cplusplus
14914 extern "C"
14915 #endif
14916 char udev_new ();
14918 main ()
14920 return udev_new ();
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"; then :
14926 ac_cv_lib_udev_udev_new=yes
14927 else
14928 ac_cv_lib_udev_udev_new=no
14930 rm -f core conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14932 LIBS=$ac_check_lib_save_LIBS
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14935 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14936 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14938 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14940 else
14941 UDEV_LIBS=""
14944 else
14945 UDEV_LIBS=""
14948 done
14950 CPPFLAGS=$ac_save_CPPFLAGS
14951 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14952 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14955 if test "x$UDEV_LIBS" = "x"; then :
14956 case "x$with_udev" in
14957 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14958 xno) ;;
14959 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14960 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14961 esac
14965 if test "x$with_unwind" != xno
14966 then
14967 if ${UNWIND_CFLAGS:+false} :; then :
14968 if ${PKG_CONFIG+:} false; then :
14969 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14973 if ${UNWIND_LIBS:+false} :; then :
14974 if ${PKG_CONFIG+:} false; then :
14975 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14979 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14980 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14981 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14982 ac_save_CPPFLAGS=$CPPFLAGS
14983 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14985 $as_echo_n "checking for unw_step... " >&6; }
14986 if ${wine_cv_have_unw_step+:} false; then :
14987 $as_echo_n "(cached) " >&6
14988 else
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 #define UNW_LOCAL_ONLY
14992 #include <libunwind.h>
14994 main ()
14996 unw_cursor_t cursor; unw_step( &cursor );
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"; then :
15002 wine_cv_have_unw_step="yes"
15003 else
15004 wine_cv_have_unw_step="no"
15006 rm -f core conftest.err conftest.$ac_objext \
15007 conftest$ac_exeext conftest.$ac_ext
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15010 $as_echo "$wine_cv_have_unw_step" >&6; }
15011 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15012 then
15013 save_libs=$LIBS
15014 LIBS="$UNWIND_LIBS $LIBS"
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15016 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15017 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15022 #define UNW_LOCAL_ONLY
15023 #include <libunwind.h>
15025 main ()
15027 unw_cursor_t cursor; unw_step( &cursor );
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_link "$LINENO"; then :
15033 wine_cv_have_libunwind_unw_step="yes"
15034 else
15035 wine_cv_have_libunwind_unw_step="no"
15037 rm -f core conftest.err conftest.$ac_objext \
15038 conftest$ac_exeext conftest.$ac_ext
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15041 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15042 LIBS=$save_libs
15044 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15045 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15046 then
15048 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15051 CPPFLAGS=$ac_save_CPPFLAGS
15052 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15053 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15056 case $host in
15057 aarch64*|*-darwin*)
15058 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15059 case "x$with_unwind" in
15060 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15061 xno) ;;
15062 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15063 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15064 esac
15066 fi ;;
15067 esac
15069 if test "x$with_sdl" != "xno"
15070 then
15071 if ${SDL2_CFLAGS:+false} :; then :
15072 if ${PKG_CONFIG+:} false; then :
15073 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15077 if ${SDL2_LIBS:+false} :; then :
15078 if ${PKG_CONFIG+:} false; then :
15079 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15083 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15084 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15085 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15086 ac_save_CPPFLAGS=$CPPFLAGS
15087 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15088 for ac_header in SDL2/SDL.h
15089 do :
15090 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15091 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15092 cat >>confdefs.h <<_ACEOF
15093 #define HAVE_SDL2_SDL_H 1
15094 _ACEOF
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15096 $as_echo_n "checking for -lSDL2... " >&6; }
15097 if ${ac_cv_lib_soname_SDL2+:} false; then :
15098 $as_echo_n "(cached) " >&6
15099 else
15100 ac_check_soname_save_LIBS=$LIBS
15101 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15108 #ifdef __cplusplus
15109 extern "C"
15110 #endif
15111 char SDL_Init ();
15113 main ()
15115 return SDL_Init ();
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"; then :
15121 case "$LIBEXT" in
15122 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15123 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'` ;;
15124 *) 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'`
15125 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15126 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15127 fi ;;
15128 esac
15129 else
15130 ac_cv_lib_soname_SDL2=
15132 rm -f core conftest.err conftest.$ac_objext \
15133 conftest$ac_exeext conftest.$ac_ext
15134 LIBS=$ac_check_soname_save_LIBS
15136 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15138 $as_echo "not found" >&6; }
15140 else
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15142 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15144 cat >>confdefs.h <<_ACEOF
15145 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15146 _ACEOF
15152 done
15154 CPPFLAGS=$ac_save_CPPFLAGS
15155 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15156 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15159 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15160 case "x$with_sdl" in
15161 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15162 xno) ;;
15163 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15164 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15165 esac
15169 if test "x$with_faudio" != "xno"
15170 then
15171 if ${FAUDIO_CFLAGS:+false} :; then :
15172 if ${PKG_CONFIG+:} false; then :
15173 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15177 if ${FAUDIO_LIBS:+false} :; then :
15178 if ${PKG_CONFIG+:} false; then :
15179 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15183 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15184 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15185 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15186 ac_save_CPPFLAGS=$CPPFLAGS
15187 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15188 for ac_header in FAudio.h
15189 do :
15190 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15191 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15192 cat >>confdefs.h <<_ACEOF
15193 #define HAVE_FAUDIO_H 1
15194 _ACEOF
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15196 $as_echo_n "checking for -lFAudio... " >&6; }
15197 if ${ac_cv_lib_soname_FAudio+:} false; then :
15198 $as_echo_n "(cached) " >&6
15199 else
15200 ac_check_soname_save_LIBS=$LIBS
15201 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15208 #ifdef __cplusplus
15209 extern "C"
15210 #endif
15211 char FAudioCreate ();
15213 main ()
15215 return FAudioCreate ();
15217 return 0;
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"; then :
15221 case "$LIBEXT" in
15222 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15223 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'` ;;
15224 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15225 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15226 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15227 fi ;;
15228 esac
15229 else
15230 ac_cv_lib_soname_FAudio=
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS=$ac_check_soname_save_LIBS
15236 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15238 $as_echo "not found" >&6; }
15240 else
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15242 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15244 cat >>confdefs.h <<_ACEOF
15245 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15246 _ACEOF
15252 done
15254 ac_wine_check_funcs_save_LIBS="$LIBS"
15255 LIBS="$LIBS $FAUDIO_LIBS"
15256 for ac_func in FAudio_CommitOperationSet \
15257 F3DAudioInitialize8
15258 do :
15259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15262 cat >>confdefs.h <<_ACEOF
15263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15264 _ACEOF
15267 done
15269 LIBS="$ac_wine_check_funcs_save_LIBS"
15271 CPPFLAGS=$ac_save_CPPFLAGS
15272 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15273 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15276 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15277 case "x$with_faudio" in
15278 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15279 xno) ;;
15280 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15281 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15282 esac
15286 if test "x$with_capi" != "xno"
15287 then
15288 if ${CAPI20_CFLAGS:+false} :; then :
15289 if ${PKG_CONFIG+:} false; then :
15290 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15294 if ${CAPI20_LIBS:+false} :; then :
15295 if ${PKG_CONFIG+:} false; then :
15296 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15301 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15302 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15303 ac_save_CPPFLAGS=$CPPFLAGS
15304 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15305 for ac_header in capi20.h linux/capi.h
15306 do :
15307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15308 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15311 cat >>confdefs.h <<_ACEOF
15312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15313 _ACEOF
15317 done
15319 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15320 then
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15322 $as_echo_n "checking for -lcapi20... " >&6; }
15323 if ${ac_cv_lib_soname_capi20+:} false; then :
15324 $as_echo_n "(cached) " >&6
15325 else
15326 ac_check_soname_save_LIBS=$LIBS
15327 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329 /* end confdefs.h. */
15331 /* Override any GCC internal prototype to avoid an error.
15332 Use char because int might match the return type of a GCC
15333 builtin and then its argument prototype would still apply. */
15334 #ifdef __cplusplus
15335 extern "C"
15336 #endif
15337 char capi20_register ();
15339 main ()
15341 return capi20_register ();
15343 return 0;
15345 _ACEOF
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 case "$LIBEXT" in
15348 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15349 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'` ;;
15350 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15351 if ${ac_cv_lib_soname_capi20:+false} :; then :
15352 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15353 fi ;;
15354 esac
15355 else
15356 ac_cv_lib_soname_capi20=
15358 rm -f core conftest.err conftest.$ac_objext \
15359 conftest$ac_exeext conftest.$ac_ext
15360 LIBS=$ac_check_soname_save_LIBS
15362 if ${ac_cv_lib_soname_capi20:+false} :; then :
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15364 $as_echo "not found" >&6; }
15366 else
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15368 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15370 cat >>confdefs.h <<_ACEOF
15371 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15372 _ACEOF
15377 CPPFLAGS=$ac_save_CPPFLAGS
15378 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15379 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15382 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15383 case "x$with_capi" in
15384 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15385 xno) ;;
15386 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15387 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15388 esac
15392 if test "x$with_cups" != "xno"
15393 then
15394 if ${CUPS_CFLAGS:+false} :; then :
15395 if ${PKG_CONFIG+:} false; then :
15396 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15399 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15400 if ${CUPS_LIBS:+false} :; then :
15401 if ${PKG_CONFIG+:} false; then :
15402 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15405 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15406 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15407 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15408 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15409 ac_save_CPPFLAGS=$CPPFLAGS
15410 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15411 for ac_header in cups/cups.h cups/ppd.h
15412 do :
15413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15414 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15418 _ACEOF
15422 done
15424 if test "$ac_cv_header_cups_cups_h" = "yes"
15425 then
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15427 $as_echo_n "checking for -lcups... " >&6; }
15428 if ${ac_cv_lib_soname_cups+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lcups $CUPS_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char cupsGetDefault ();
15444 main ()
15446 return cupsGetDefault ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_cups:+false} :; then :
15457 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15458 fi ;;
15459 esac
15460 else
15461 ac_cv_lib_soname_cups=
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_soname_save_LIBS
15467 if ${ac_cv_lib_soname_cups:+false} :; then :
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 $as_echo "not found" >&6; }
15470 CUPS_LIBS=""
15471 else
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15473 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15475 cat >>confdefs.h <<_ACEOF
15476 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15477 _ACEOF
15481 else
15482 CUPS_CFLAGS=""
15483 CUPS_LIBS=""
15485 CPPFLAGS=$ac_save_CPPFLAGS
15486 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15487 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15490 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15491 case "x$with_cups" in
15492 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15493 xno) ;;
15494 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15495 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15496 esac
15500 if test "x$with_fontconfig" != "xno"
15501 then
15502 if ${FONTCONFIG_CFLAGS:+false} :; then :
15503 if ${PKG_CONFIG+:} false; then :
15504 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15507 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15508 if ${FONTCONFIG_LIBS:+false} :; then :
15509 if ${PKG_CONFIG+:} false; then :
15510 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15513 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15515 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15516 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15517 ac_save_CPPFLAGS=$CPPFLAGS
15518 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15519 for ac_header in fontconfig/fontconfig.h
15520 do :
15521 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15522 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15523 cat >>confdefs.h <<_ACEOF
15524 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15525 _ACEOF
15529 done
15531 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15532 then
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15534 $as_echo_n "checking for -lfontconfig... " >&6; }
15535 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15536 $as_echo_n "(cached) " >&6
15537 else
15538 ac_check_soname_save_LIBS=$LIBS
15539 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15541 /* end confdefs.h. */
15543 /* Override any GCC internal prototype to avoid an error.
15544 Use char because int might match the return type of a GCC
15545 builtin and then its argument prototype would still apply. */
15546 #ifdef __cplusplus
15547 extern "C"
15548 #endif
15549 char FcInit ();
15551 main ()
15553 return FcInit ();
15555 return 0;
15557 _ACEOF
15558 if ac_fn_c_try_link "$LINENO"; then :
15559 case "$LIBEXT" in
15560 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15561 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'` ;;
15562 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15563 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15564 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15565 fi ;;
15566 esac
15567 else
15568 ac_cv_lib_soname_fontconfig=
15570 rm -f core conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_check_soname_save_LIBS
15574 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15576 $as_echo "not found" >&6; }
15577 FONTCONFIG_CFLAGS=""
15578 else
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15580 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15582 cat >>confdefs.h <<_ACEOF
15583 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15584 _ACEOF
15588 else
15589 FONTCONFIG_CFLAGS=""
15591 CPPFLAGS=$ac_save_CPPFLAGS
15592 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15593 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15596 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15597 case "x$with_fontconfig" in
15598 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15599 xno) ;;
15600 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15601 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15602 esac
15606 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15607 then
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15609 $as_echo_n "checking for -lgsm... " >&6; }
15610 if ${ac_cv_lib_soname_gsm+:} false; then :
15611 $as_echo_n "(cached) " >&6
15612 else
15613 ac_check_soname_save_LIBS=$LIBS
15614 LIBS="-lgsm $LIBS"
15615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15618 /* Override any GCC internal prototype to avoid an error.
15619 Use char because int might match the return type of a GCC
15620 builtin and then its argument prototype would still apply. */
15621 #ifdef __cplusplus
15622 extern "C"
15623 #endif
15624 char gsm_create ();
15626 main ()
15628 return gsm_create ();
15630 return 0;
15632 _ACEOF
15633 if ac_fn_c_try_link "$LINENO"; then :
15634 case "$LIBEXT" in
15635 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15636 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'` ;;
15637 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15638 if ${ac_cv_lib_soname_gsm:+false} :; then :
15639 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15640 fi ;;
15641 esac
15642 else
15643 ac_cv_lib_soname_gsm=
15645 rm -f core conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_soname_save_LIBS
15649 if ${ac_cv_lib_soname_gsm:+false} :; then :
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15651 $as_echo "not found" >&6; }
15653 else
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15655 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15657 cat >>confdefs.h <<_ACEOF
15658 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15659 _ACEOF
15664 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15665 case "x$with_gsm" in
15666 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15667 xno) ;;
15668 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15669 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15670 esac
15674 if test "x$with_krb5" != "xno"
15675 then
15676 if ${KRB5_CFLAGS:+false} :; then :
15677 if ${PKG_CONFIG+:} false; then :
15678 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15681 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15682 if ${KRB5_LIBS:+false} :; then :
15683 if ${PKG_CONFIG+:} false; then :
15684 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15687 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15689 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15690 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15691 ac_save_CPPFLAGS=$CPPFLAGS
15692 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15693 for ac_header in krb5/krb5.h
15694 do :
15695 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15696 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15697 cat >>confdefs.h <<_ACEOF
15698 #define HAVE_KRB5_KRB5_H 1
15699 _ACEOF
15703 done
15705 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15706 then
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15708 $as_echo_n "checking for -lkrb5... " >&6; }
15709 if ${ac_cv_lib_soname_krb5+:} false; then :
15710 $as_echo_n "(cached) " >&6
15711 else
15712 ac_check_soname_save_LIBS=$LIBS
15713 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15717 /* Override any GCC internal prototype to avoid an error.
15718 Use char because int might match the return type of a GCC
15719 builtin and then its argument prototype would still apply. */
15720 #ifdef __cplusplus
15721 extern "C"
15722 #endif
15723 char krb5_is_config_principal ();
15725 main ()
15727 return krb5_is_config_principal ();
15729 return 0;
15731 _ACEOF
15732 if ac_fn_c_try_link "$LINENO"; then :
15733 case "$LIBEXT" in
15734 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15735 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'` ;;
15736 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15737 if ${ac_cv_lib_soname_krb5:+false} :; then :
15738 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15739 fi ;;
15740 esac
15741 else
15742 ac_cv_lib_soname_krb5=
15744 rm -f core conftest.err conftest.$ac_objext \
15745 conftest$ac_exeext conftest.$ac_ext
15746 LIBS=$ac_check_soname_save_LIBS
15748 if ${ac_cv_lib_soname_krb5:+false} :; then :
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15750 $as_echo "not found" >&6; }
15751 KRB5_CFLAGS=""
15752 else
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15754 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15756 cat >>confdefs.h <<_ACEOF
15757 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15758 _ACEOF
15762 else
15763 KRB5_CFLAGS=""
15765 CPPFLAGS=$ac_save_CPPFLAGS
15766 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15767 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15769 else
15770 with_gssapi=${with_gssapi:-no}
15772 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15773 case "x$with_krb5" in
15774 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15775 xno) ;;
15776 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15777 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15778 esac
15782 if test "x$with_gssapi" != "xno"
15783 then
15784 if ${GSSAPI_CFLAGS:+false} :; then :
15785 if ${PKG_CONFIG+:} false; then :
15786 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15789 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15790 if ${GSSAPI_LIBS:+false} :; then :
15791 if ${PKG_CONFIG+:} false; then :
15792 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15795 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15797 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15798 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15799 ac_save_CPPFLAGS=$CPPFLAGS
15800 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15801 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15802 do :
15803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15804 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15805 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15808 _ACEOF
15812 done
15814 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15815 then
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15817 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15818 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15819 $as_echo_n "(cached) " >&6
15820 else
15821 ac_check_soname_save_LIBS=$LIBS
15822 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15824 /* end confdefs.h. */
15826 /* Override any GCC internal prototype to avoid an error.
15827 Use char because int might match the return type of a GCC
15828 builtin and then its argument prototype would still apply. */
15829 #ifdef __cplusplus
15830 extern "C"
15831 #endif
15832 char gss_init_sec_context ();
15834 main ()
15836 return gss_init_sec_context ();
15838 return 0;
15840 _ACEOF
15841 if ac_fn_c_try_link "$LINENO"; then :
15842 case "$LIBEXT" in
15843 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15844 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'` ;;
15845 *) 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'`
15846 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15847 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15848 fi ;;
15849 esac
15850 else
15851 ac_cv_lib_soname_gssapi_krb5=
15853 rm -f core conftest.err conftest.$ac_objext \
15854 conftest$ac_exeext conftest.$ac_ext
15855 LIBS=$ac_check_soname_save_LIBS
15857 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15859 $as_echo "not found" >&6; }
15860 GSSAPI_CFLAGS=""
15861 else
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15863 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15865 cat >>confdefs.h <<_ACEOF
15866 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15867 _ACEOF
15871 else
15872 GSSAPI_CFLAGS=""
15874 CPPFLAGS=$ac_save_CPPFLAGS
15875 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15876 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15879 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15880 case "x$with_gssapi" in
15881 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15882 xno) ;;
15883 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15884 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15885 esac
15889 if test "x$with_jpeg" != "xno"
15890 then
15891 if ${JPEG_CFLAGS:+false} :; then :
15892 if ${PKG_CONFIG+:} false; then :
15893 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15897 if ${JPEG_LIBS:+false} :; then :
15898 if ${PKG_CONFIG+:} false; then :
15899 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15904 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15905 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15906 ac_save_CPPFLAGS=$CPPFLAGS
15907 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15908 for ac_header in jpeglib.h
15909 do :
15910 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15911 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define HAVE_JPEGLIB_H 1
15914 _ACEOF
15918 done
15920 if test "$ac_cv_header_jpeglib_h" = "yes"
15921 then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15923 $as_echo_n "checking for -ljpeg... " >&6; }
15924 if ${ac_cv_lib_soname_jpeg+:} false; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 ac_check_soname_save_LIBS=$LIBS
15928 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15935 #ifdef __cplusplus
15936 extern "C"
15937 #endif
15938 char jpeg_start_decompress ();
15940 main ()
15942 return jpeg_start_decompress ();
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"; then :
15948 case "$LIBEXT" in
15949 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15950 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'` ;;
15951 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15952 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15953 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15954 fi ;;
15955 esac
15956 else
15957 ac_cv_lib_soname_jpeg=
15959 rm -f core conftest.err conftest.$ac_objext \
15960 conftest$ac_exeext conftest.$ac_ext
15961 LIBS=$ac_check_soname_save_LIBS
15963 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15965 $as_echo "not found" >&6; }
15966 JPEG_CFLAGS=""
15967 else
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15969 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15971 cat >>confdefs.h <<_ACEOF
15972 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15973 _ACEOF
15977 else
15978 JPEG_CFLAGS=""
15980 CPPFLAGS=$ac_save_CPPFLAGS
15981 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15982 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15985 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15986 case "x$with_jpeg" in
15987 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15988 xno) ;;
15989 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15990 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15991 esac
15995 if test "x$with_png" != "xno"
15996 then
15997 if ${PNG_CFLAGS:+false} :; then :
15998 if ${PKG_CONFIG+:} false; then :
15999 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16002 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16003 if ${PNG_LIBS:+false} :; then :
16004 if ${PKG_CONFIG+:} false; then :
16005 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16008 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16010 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16011 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16012 ac_save_CPPFLAGS=$CPPFLAGS
16013 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16014 for ac_header in png.h
16015 do :
16016 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16017 if test "x$ac_cv_header_png_h" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_PNG_H 1
16020 _ACEOF
16024 done
16026 if test "$ac_cv_header_png_h" = "yes"
16027 then
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16029 $as_echo_n "checking for -lpng... " >&6; }
16030 if ${ac_cv_lib_soname_png+:} false; then :
16031 $as_echo_n "(cached) " >&6
16032 else
16033 ac_check_soname_save_LIBS=$LIBS
16034 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16038 /* Override any GCC internal prototype to avoid an error.
16039 Use char because int might match the return type of a GCC
16040 builtin and then its argument prototype would still apply. */
16041 #ifdef __cplusplus
16042 extern "C"
16043 #endif
16044 char png_create_read_struct ();
16046 main ()
16048 return png_create_read_struct ();
16050 return 0;
16052 _ACEOF
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 case "$LIBEXT" in
16055 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16056 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'` ;;
16057 *) 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'`
16058 if ${ac_cv_lib_soname_png:+false} :; then :
16059 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16060 fi ;;
16061 esac
16062 else
16063 ac_cv_lib_soname_png=
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16067 LIBS=$ac_check_soname_save_LIBS
16069 if ${ac_cv_lib_soname_png:+false} :; then :
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16071 $as_echo "not found" >&6; }
16072 PNG_CFLAGS=""
16073 else
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16075 $as_echo "$ac_cv_lib_soname_png" >&6; }
16077 cat >>confdefs.h <<_ACEOF
16078 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16079 _ACEOF
16083 else
16084 PNG_CFLAGS=""
16086 CPPFLAGS=$ac_save_CPPFLAGS
16087 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16088 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16091 if test "x$ac_cv_lib_soname_png" = "x"; then :
16092 case "x$with_png" in
16093 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16094 xno) ;;
16095 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16096 This is an error since --with-png was requested." "$LINENO" 5 ;;
16097 esac
16101 if test "x$with_tiff" != "xno"
16102 then
16103 if ${TIFF_CFLAGS:+false} :; then :
16104 if ${PKG_CONFIG+:} false; then :
16105 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16109 if ${TIFF_LIBS:+false} :; then :
16110 if ${PKG_CONFIG+:} false; then :
16111 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16116 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16117 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16118 ac_save_CPPFLAGS=$CPPFLAGS
16119 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16120 for ac_header in tiffio.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_TIFFIO_H 1
16126 _ACEOF
16130 done
16132 if test "$ac_cv_header_tiffio_h" = "yes"
16133 then
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16135 $as_echo_n "checking for -ltiff... " >&6; }
16136 if ${ac_cv_lib_soname_tiff+:} false; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_check_soname_save_LIBS=$LIBS
16140 LIBS="-ltiff $TIFF_LIBS $LIBS"
16141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142 /* end confdefs.h. */
16144 /* Override any GCC internal prototype to avoid an error.
16145 Use char because int might match the return type of a GCC
16146 builtin and then its argument prototype would still apply. */
16147 #ifdef __cplusplus
16148 extern "C"
16149 #endif
16150 char TIFFClientOpen ();
16152 main ()
16154 return TIFFClientOpen ();
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_link "$LINENO"; then :
16160 case "$LIBEXT" in
16161 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16162 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'` ;;
16163 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16164 if ${ac_cv_lib_soname_tiff:+false} :; then :
16165 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16166 fi ;;
16167 esac
16168 else
16169 ac_cv_lib_soname_tiff=
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16173 LIBS=$ac_check_soname_save_LIBS
16175 if ${ac_cv_lib_soname_tiff:+false} :; then :
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16177 $as_echo "not found" >&6; }
16179 else
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16181 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16183 cat >>confdefs.h <<_ACEOF
16184 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16185 _ACEOF
16190 CPPFLAGS=$ac_save_CPPFLAGS
16191 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16192 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16195 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16196 case "x$with_tiff" in
16197 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16198 xno) ;;
16199 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16200 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16201 esac
16205 if test "x$with_mpg123" != "xno"
16206 then
16207 if ${MPG123_CFLAGS:+false} :; then :
16208 if ${PKG_CONFIG+:} false; then :
16209 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16213 if ${MPG123_LIBS:+false} :; then :
16214 if ${PKG_CONFIG+:} false; then :
16215 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16219 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16220 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16221 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16222 ac_save_CPPFLAGS=$CPPFLAGS
16223 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16224 for ac_header in mpg123.h
16225 do :
16226 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16227 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_MPG123_H 1
16230 _ACEOF
16234 done
16236 if test "$ac_cv_header_mpg123_h" = "yes"
16237 then
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16239 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16240 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 ac_check_lib_save_LIBS=$LIBS
16244 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16251 #ifdef __cplusplus
16252 extern "C"
16253 #endif
16254 char mpg123_feed ();
16256 main ()
16258 return mpg123_feed ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 ac_cv_lib_mpg123_mpg123_feed=yes
16265 else
16266 ac_cv_lib_mpg123_mpg123_feed=no
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 LIBS=$ac_check_lib_save_LIBS
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16273 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16274 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16276 else
16277 MPG123_LIBS=""
16280 else
16281 MPG123_CFLAGS=""
16282 MPG123_LIBS=""
16284 CPPFLAGS=$ac_save_CPPFLAGS
16285 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16286 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16289 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16290 case "x$with_mpg123" in
16291 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16292 xno) ;;
16293 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16294 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16295 esac
16296 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16298 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16300 if test "$ac_cv_header_AL_al_h" = "yes"
16301 then
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16303 $as_echo_n "checking for -lopenal... " >&6; }
16304 if ${ac_cv_lib_soname_openal+:} false; then :
16305 $as_echo_n "(cached) " >&6
16306 else
16307 ac_check_soname_save_LIBS=$LIBS
16308 LIBS="-lopenal $LIBS"
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16312 /* Override any GCC internal prototype to avoid an error.
16313 Use char because int might match the return type of a GCC
16314 builtin and then its argument prototype would still apply. */
16315 #ifdef __cplusplus
16316 extern "C"
16317 #endif
16318 char alGetSource3i ();
16320 main ()
16322 return alGetSource3i ();
16324 return 0;
16326 _ACEOF
16327 if ac_fn_c_try_link "$LINENO"; then :
16328 case "$LIBEXT" in
16329 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16330 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'` ;;
16331 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16332 if ${ac_cv_lib_soname_openal:+false} :; then :
16333 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16334 fi ;;
16335 esac
16336 else
16337 ac_cv_lib_soname_openal=
16339 rm -f core conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16341 LIBS=$ac_check_soname_save_LIBS
16343 if ${ac_cv_lib_soname_openal:+false} :; then :
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16345 $as_echo "not found" >&6; }
16347 else
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16349 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16351 cat >>confdefs.h <<_ACEOF
16352 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16353 _ACEOF
16355 OPENAL_LIBS="-lopenal"
16357 ac_cv_lib_openal=yes
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_OPENAL 1
16361 _ACEOF
16365 if test "x$ac_cv_lib_openal" != xyes; then :
16366 case "x$with_openal" in
16367 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16368 xno) ;;
16369 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16370 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16371 esac
16372 enable_openal32=${enable_openal32:-no}
16375 if test "x$ac_cv_lib_soname_FAudio" = "x"
16376 then
16377 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16378 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16379 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16380 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16381 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16382 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16383 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16384 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16385 enable_xapofx1_1=${enable_xapofx1_1:-no}
16386 enable_xapofx1_2=${enable_xapofx1_2:-no}
16387 enable_xapofx1_3=${enable_xapofx1_3:-no}
16388 enable_xapofx1_4=${enable_xapofx1_4:-no}
16389 enable_xapofx1_5=${enable_xapofx1_5:-no}
16390 enable_xaudio2_0=${enable_xaudio2_0:-no}
16391 enable_xaudio2_1=${enable_xaudio2_1:-no}
16392 enable_xaudio2_2=${enable_xaudio2_2:-no}
16393 enable_xaudio2_3=${enable_xaudio2_3:-no}
16394 enable_xaudio2_4=${enable_xaudio2_4:-no}
16395 enable_xaudio2_5=${enable_xaudio2_5:-no}
16396 enable_xaudio2_6=${enable_xaudio2_6:-no}
16397 enable_xaudio2_7=${enable_xaudio2_7:-no}
16398 enable_xaudio2_8=${enable_xaudio2_8:-no}
16399 enable_xaudio2_9=${enable_xaudio2_9:-no}
16402 if test "$ac_cv_header_kstat_h" = "yes"
16403 then
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16405 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16406 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 ac_check_lib_save_LIBS=$LIBS
16410 LIBS="-lkstat $LIBS"
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16414 /* Override any GCC internal prototype to avoid an error.
16415 Use char because int might match the return type of a GCC
16416 builtin and then its argument prototype would still apply. */
16417 #ifdef __cplusplus
16418 extern "C"
16419 #endif
16420 char kstat_open ();
16422 main ()
16424 return kstat_open ();
16426 return 0;
16428 _ACEOF
16429 if ac_fn_c_try_link "$LINENO"; then :
16430 ac_cv_lib_kstat_kstat_open=yes
16431 else
16432 ac_cv_lib_kstat_kstat_open=no
16434 rm -f core conftest.err conftest.$ac_objext \
16435 conftest$ac_exeext conftest.$ac_ext
16436 LIBS=$ac_check_lib_save_LIBS
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16439 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16440 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16442 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16444 KSTAT_LIBS="-lkstat"
16450 if test "$ac_cv_header_libprocstat_h" = "yes"
16451 then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16453 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16454 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16455 $as_echo_n "(cached) " >&6
16456 else
16457 ac_check_lib_save_LIBS=$LIBS
16458 LIBS="-lprocstat $LIBS"
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16462 /* Override any GCC internal prototype to avoid an error.
16463 Use char because int might match the return type of a GCC
16464 builtin and then its argument prototype would still apply. */
16465 #ifdef __cplusplus
16466 extern "C"
16467 #endif
16468 char procstat_open_sysctl ();
16470 main ()
16472 return procstat_open_sysctl ();
16474 return 0;
16476 _ACEOF
16477 if ac_fn_c_try_link "$LINENO"; then :
16478 ac_cv_lib_procstat_procstat_open_sysctl=yes
16479 else
16480 ac_cv_lib_procstat_procstat_open_sysctl=no
16482 rm -f core conftest.err conftest.$ac_objext \
16483 conftest$ac_exeext conftest.$ac_ext
16484 LIBS=$ac_check_lib_save_LIBS
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16487 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16488 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16490 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16492 PROCSTAT_LIBS="-lprocstat"
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16499 $as_echo_n "checking for -lodbc... " >&6; }
16500 if ${ac_cv_lib_soname_odbc+:} false; then :
16501 $as_echo_n "(cached) " >&6
16502 else
16503 ac_check_soname_save_LIBS=$LIBS
16504 LIBS="-lodbc $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 SQLConnect ();
16516 main ()
16518 return SQLConnect ();
16520 return 0;
16522 _ACEOF
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 case "$LIBEXT" in
16525 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16526 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'` ;;
16527 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16528 if ${ac_cv_lib_soname_odbc:+false} :; then :
16529 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16530 fi ;;
16531 esac
16532 else
16533 ac_cv_lib_soname_odbc=
16535 rm -f core conftest.err conftest.$ac_objext \
16536 conftest$ac_exeext conftest.$ac_ext
16537 LIBS=$ac_check_soname_save_LIBS
16539 if ${ac_cv_lib_soname_odbc:+false} :; then :
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16541 $as_echo "not found" >&6; }
16542 cat >>confdefs.h <<_ACEOF
16543 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16544 _ACEOF
16546 else
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16548 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16550 cat >>confdefs.h <<_ACEOF
16551 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16552 _ACEOF
16557 if test "x$with_netapi" != "xno"
16558 then
16559 if ${NETAPI_CFLAGS:+false} :; then :
16560 if ${PKG_CONFIG+:} false; then :
16561 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16565 if ${NETAPI_LIBS:+false} :; then :
16566 if ${PKG_CONFIG+:} false; then :
16567 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16572 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16573 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16574 ac_save_CPPFLAGS=$CPPFLAGS
16575 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16577 $as_echo_n "checking for -lnetapi... " >&6; }
16578 if ${ac_cv_lib_soname_netapi+:} false; then :
16579 $as_echo_n "(cached) " >&6
16580 else
16581 ac_check_soname_save_LIBS=$LIBS
16582 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16586 /* Override any GCC internal prototype to avoid an error.
16587 Use char because int might match the return type of a GCC
16588 builtin and then its argument prototype would still apply. */
16589 #ifdef __cplusplus
16590 extern "C"
16591 #endif
16592 char libnetapi_init ();
16594 main ()
16596 return libnetapi_init ();
16598 return 0;
16600 _ACEOF
16601 if ac_fn_c_try_link "$LINENO"; then :
16602 case "$LIBEXT" in
16603 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16604 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'` ;;
16605 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16606 if ${ac_cv_lib_soname_netapi:+false} :; then :
16607 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16608 fi ;;
16609 esac
16610 else
16611 ac_cv_lib_soname_netapi=
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 LIBS=$ac_check_soname_save_LIBS
16617 if ${ac_cv_lib_soname_netapi:+false} :; then :
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16619 $as_echo "not found" >&6; }
16620 cat >>confdefs.h <<_ACEOF
16621 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16622 _ACEOF
16624 else
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16626 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16628 cat >>confdefs.h <<_ACEOF
16629 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16630 _ACEOF
16634 CPPFLAGS=$ac_save_CPPFLAGS
16635 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16636 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16640 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16641 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16642 then
16643 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16646 if test "x$with_vulkan" != "xno"
16647 then
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16649 $as_echo_n "checking for -lvulkan... " >&6; }
16650 if ${ac_cv_lib_soname_vulkan+:} false; then :
16651 $as_echo_n "(cached) " >&6
16652 else
16653 ac_check_soname_save_LIBS=$LIBS
16654 LIBS="-lvulkan $LIBS"
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16658 /* Override any GCC internal prototype to avoid an error.
16659 Use char because int might match the return type of a GCC
16660 builtin and then its argument prototype would still apply. */
16661 #ifdef __cplusplus
16662 extern "C"
16663 #endif
16664 char vkGetInstanceProcAddr ();
16666 main ()
16668 return vkGetInstanceProcAddr ();
16670 return 0;
16672 _ACEOF
16673 if ac_fn_c_try_link "$LINENO"; then :
16674 case "$LIBEXT" in
16675 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16676 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'` ;;
16677 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16678 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16679 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16680 fi ;;
16681 esac
16682 else
16683 ac_cv_lib_soname_vulkan=
16685 rm -f core conftest.err conftest.$ac_objext \
16686 conftest$ac_exeext conftest.$ac_ext
16687 LIBS=$ac_check_soname_save_LIBS
16689 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16691 $as_echo "not found" >&6; }
16693 else
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16695 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16697 cat >>confdefs.h <<_ACEOF
16698 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16699 _ACEOF
16703 if test "x$ac_cv_lib_soname_vulkan" = "x"
16704 then
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16706 $as_echo_n "checking for -lMoltenVK... " >&6; }
16707 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16708 $as_echo_n "(cached) " >&6
16709 else
16710 ac_check_soname_save_LIBS=$LIBS
16711 LIBS="-lMoltenVK $LIBS"
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16715 /* Override any GCC internal prototype to avoid an error.
16716 Use char because int might match the return type of a GCC
16717 builtin and then its argument prototype would still apply. */
16718 #ifdef __cplusplus
16719 extern "C"
16720 #endif
16721 char vkGetInstanceProcAddr ();
16723 main ()
16725 return vkGetInstanceProcAddr ();
16727 return 0;
16729 _ACEOF
16730 if ac_fn_c_try_link "$LINENO"; then :
16731 case "$LIBEXT" in
16732 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16733 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'` ;;
16734 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16735 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16736 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16737 fi ;;
16738 esac
16739 else
16740 ac_cv_lib_soname_MoltenVK=
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16744 LIBS=$ac_check_soname_save_LIBS
16746 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16748 $as_echo "not found" >&6; }
16750 else
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16752 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16754 cat >>confdefs.h <<_ACEOF
16755 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16756 _ACEOF
16762 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16763 case "x$with_vulkan" in
16764 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16765 xno) ;;
16766 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16767 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16768 esac
16772 if test "x$with_vkd3d" != "xno"
16773 then
16774 if ${VKD3D_CFLAGS:+false} :; then :
16775 if ${PKG_CONFIG+:} false; then :
16776 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16780 if ${VKD3D_LIBS:+false} :; then :
16781 if ${PKG_CONFIG+:} false; then :
16782 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16787 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16788 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16789 ac_save_CPPFLAGS=$CPPFLAGS
16790 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16792 $as_echo_n "checking for -lvkd3d... " >&6; }
16793 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16794 $as_echo_n "(cached) " >&6
16795 else
16796 ac_check_soname_save_LIBS=$LIBS
16797 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16801 /* Override any GCC internal prototype to avoid an error.
16802 Use char because int might match the return type of a GCC
16803 builtin and then its argument prototype would still apply. */
16804 #ifdef __cplusplus
16805 extern "C"
16806 #endif
16807 char vkd3d_get_dxgi_format ();
16809 main ()
16811 return vkd3d_get_dxgi_format ();
16813 return 0;
16815 _ACEOF
16816 if ac_fn_c_try_link "$LINENO"; then :
16817 case "$LIBEXT" in
16818 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16819 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'` ;;
16820 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16821 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16822 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16823 fi ;;
16824 esac
16825 else
16826 ac_cv_lib_soname_vkd3d=
16828 rm -f core conftest.err conftest.$ac_objext \
16829 conftest$ac_exeext conftest.$ac_ext
16830 LIBS=$ac_check_soname_save_LIBS
16832 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16834 $as_echo "not found" >&6; }
16836 else
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16838 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16840 cat >>confdefs.h <<_ACEOF
16841 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16842 _ACEOF
16846 CPPFLAGS=$ac_save_CPPFLAGS
16847 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16848 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16851 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16852 case "x$with_vkd3d" in
16853 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16854 xno) ;;
16855 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16856 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16857 esac
16860 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16863 EXTRACFLAGS=""
16865 if test "x${GCC}" = "xyes"
16866 then
16867 EXTRACFLAGS="-Wall -pipe"
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16870 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16871 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16872 $as_echo_n "(cached) " >&6
16873 else
16874 ac_wine_try_cflags_saved=$CFLAGS
16875 CFLAGS="$CFLAGS -fcf-protection=none"
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16878 int main(int argc, char **argv) { return 0; }
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 ac_cv_cflags__fcf_protection_none=yes
16882 else
16883 ac_cv_cflags__fcf_protection_none=no
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext conftest.$ac_ext
16887 CFLAGS=$ac_wine_try_cflags_saved
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16890 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16891 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16892 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16895 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16896 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16897 $as_echo_n "(cached) " >&6
16898 else
16899 ac_wine_try_cflags_saved=$CFLAGS
16900 CFLAGS="$CFLAGS -fno-stack-protector"
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 int main(int argc, char **argv) { return 0; }
16904 _ACEOF
16905 if ac_fn_c_try_link "$LINENO"; then :
16906 ac_cv_cflags__fno_stack_protector=yes
16907 else
16908 ac_cv_cflags__fno_stack_protector=no
16910 rm -f core conftest.err conftest.$ac_objext \
16911 conftest$ac_exeext conftest.$ac_ext
16912 CFLAGS=$ac_wine_try_cflags_saved
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16915 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16916 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16917 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16920 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16921 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 ac_wine_try_cflags_saved=$CFLAGS
16925 CFLAGS="$CFLAGS -fno-strict-aliasing"
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16928 int main(int argc, char **argv) { return 0; }
16929 _ACEOF
16930 if ac_fn_c_try_link "$LINENO"; then :
16931 ac_cv_cflags__fno_strict_aliasing=yes
16932 else
16933 ac_cv_cflags__fno_strict_aliasing=no
16935 rm -f core conftest.err conftest.$ac_objext \
16936 conftest$ac_exeext conftest.$ac_ext
16937 CFLAGS=$ac_wine_try_cflags_saved
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16940 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16941 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16942 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16945 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16946 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16947 $as_echo_n "(cached) " >&6
16948 else
16949 ac_wine_try_cflags_saved=$CFLAGS
16950 CFLAGS="$CFLAGS -fexcess-precision=standard"
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16953 int main(int argc, char **argv) { return 0; }
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 ac_cv_cflags__fexcess_precision_standard=yes
16957 else
16958 ac_cv_cflags__fexcess_precision_standard=no
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962 CFLAGS=$ac_wine_try_cflags_saved
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16965 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16966 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16967 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16970 saved_CFLAGS=$CFLAGS
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16972 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16973 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 ac_wine_try_cflags_saved=$CFLAGS
16977 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 int main(int argc, char **argv) { return 0; }
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_cflags__Werror_unknown_warning_option=yes
16984 else
16985 ac_cv_cflags__Werror_unknown_warning_option=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 CFLAGS=$ac_wine_try_cflags_saved
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16992 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16993 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16994 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16997 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16998 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 ac_wine_try_cflags_saved=$CFLAGS
17002 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 int main(int argc, char **argv) { return 0; }
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"; then :
17008 ac_cv_cflags__Werror_unused_command_line_argument=yes
17009 else
17010 ac_cv_cflags__Werror_unused_command_line_argument=no
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext conftest.$ac_ext
17014 CFLAGS=$ac_wine_try_cflags_saved
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17017 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17018 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17019 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17022 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17023 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_wine_try_cflags_saved=$CFLAGS
17027 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 int main(int argc, char **argv) { return 0; }
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_cflags__Wdeclaration_after_statement=yes
17034 else
17035 ac_cv_cflags__Wdeclaration_after_statement=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 CFLAGS=$ac_wine_try_cflags_saved
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17042 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17043 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17044 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17047 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17048 if ${ac_cv_cflags__Wempty_body+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 ac_wine_try_cflags_saved=$CFLAGS
17052 CFLAGS="$CFLAGS -Wempty-body"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 int main(int argc, char **argv) { return 0; }
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_cflags__Wempty_body=yes
17059 else
17060 ac_cv_cflags__Wempty_body=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 CFLAGS=$ac_wine_try_cflags_saved
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17067 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17068 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17069 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17072 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17073 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -Wignored-qualifiers"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__Wignored_qualifiers=yes
17084 else
17085 ac_cv_cflags__Wignored_qualifiers=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17092 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17093 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17097 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17098 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__Wpacked_not_aligned=yes
17109 else
17110 ac_cv_cflags__Wpacked_not_aligned=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17117 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17118 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17122 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17123 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 ac_wine_try_cflags_saved=$CFLAGS
17127 CFLAGS="$CFLAGS -Wpragma-pack"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 int main(int argc, char **argv) { return 0; }
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_cflags__Wpragma_pack=yes
17134 else
17135 ac_cv_cflags__Wpragma_pack=no
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 CFLAGS=$ac_wine_try_cflags_saved
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17142 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17143 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17144 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17147 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17148 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 ac_wine_try_cflags_saved=$CFLAGS
17152 CFLAGS="$CFLAGS -Wshift-overflow=2"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 int main(int argc, char **argv) { return 0; }
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_cflags__Wshift_overflow_2=yes
17159 else
17160 ac_cv_cflags__Wshift_overflow_2=no
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 CFLAGS=$ac_wine_try_cflags_saved
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17167 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17168 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17169 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17172 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17173 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 ac_wine_try_cflags_saved=$CFLAGS
17177 CFLAGS="$CFLAGS -Wstrict-prototypes"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 int main(int argc, char **argv) { return 0; }
17181 _ACEOF
17182 if ac_fn_c_try_link "$LINENO"; then :
17183 ac_cv_cflags__Wstrict_prototypes=yes
17184 else
17185 ac_cv_cflags__Wstrict_prototypes=no
17187 rm -f core conftest.err conftest.$ac_objext \
17188 conftest$ac_exeext conftest.$ac_ext
17189 CFLAGS=$ac_wine_try_cflags_saved
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17192 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17193 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17194 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17197 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17198 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_wine_try_cflags_saved=$CFLAGS
17202 CFLAGS="$CFLAGS -Wtype-limits"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 int main(int argc, char **argv) { return 0; }
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_cflags__Wtype_limits=yes
17209 else
17210 ac_cv_cflags__Wtype_limits=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 CFLAGS=$ac_wine_try_cflags_saved
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17217 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17218 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17219 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17222 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17223 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_wine_try_cflags_saved=$CFLAGS
17227 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 int main(int argc, char **argv) { return 0; }
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"; then :
17233 ac_cv_cflags__Wunused_but_set_parameter=yes
17234 else
17235 ac_cv_cflags__Wunused_but_set_parameter=no
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 CFLAGS=$ac_wine_try_cflags_saved
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17242 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17243 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17244 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17247 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17248 if ${ac_cv_cflags__Wvla+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 ac_wine_try_cflags_saved=$CFLAGS
17252 CFLAGS="$CFLAGS -Wvla"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 int main(int argc, char **argv) { return 0; }
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_cflags__Wvla=yes
17259 else
17260 ac_cv_cflags__Wvla=no
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 CFLAGS=$ac_wine_try_cflags_saved
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17267 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17268 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17269 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17272 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17273 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 ac_wine_try_cflags_saved=$CFLAGS
17277 CFLAGS="$CFLAGS -Wwrite-strings"
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 int main(int argc, char **argv) { return 0; }
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"; then :
17283 ac_cv_cflags__Wwrite_strings=yes
17284 else
17285 ac_cv_cflags__Wwrite_strings=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17289 CFLAGS=$ac_wine_try_cflags_saved
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17292 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17293 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17294 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17298 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17299 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 ac_wine_try_cflags_saved=$CFLAGS
17303 CFLAGS="$CFLAGS -Wpointer-arith"
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 int main(int argc, char **argv) { return 0; }
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_cflags__Wpointer_arith=yes
17310 else
17311 ac_cv_cflags__Wpointer_arith=no
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17315 CFLAGS=$ac_wine_try_cflags_saved
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17318 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17319 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17320 saved_string_h_CFLAGS=$CFLAGS
17321 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17323 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17324 if ${ac_cv_c_string_h_warnings+:} false; then :
17325 $as_echo_n "(cached) " >&6
17326 else
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #include <string.h>
17331 main ()
17335 return 0;
17337 _ACEOF
17338 if ac_fn_c_try_compile "$LINENO"; then :
17339 ac_cv_c_string_h_warnings=no
17340 else
17341 ac_cv_c_string_h_warnings=yes
17343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17346 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17347 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17348 CFLAGS=$saved_string_h_CFLAGS
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17352 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17353 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 ac_wine_try_cflags_saved=$CFLAGS
17357 CFLAGS="$CFLAGS -Wlogical-op"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 int main(int argc, char **argv) { return 0; }
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 ac_cv_cflags__Wlogical_op=yes
17364 else
17365 ac_cv_cflags__Wlogical_op=no
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17369 CFLAGS=$ac_wine_try_cflags_saved
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17372 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17373 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17374 saved_string_h_CFLAGS=$CFLAGS
17375 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17377 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17378 if ${ac_cv_c_logicalop_noisy+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #include <string.h>
17384 char*f(const char *h,char n) {return strchr(h,n);}
17386 main ()
17390 return 0;
17392 _ACEOF
17393 if ac_fn_c_try_compile "$LINENO"; then :
17394 ac_cv_c_logicalop_noisy=no
17395 else
17396 ac_cv_c_logicalop_noisy=yes
17398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17401 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17402 CFLAGS=$saved_string_h_CFLAGS
17403 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17406 for ac_flag in $CFLAGS; do
17407 case $ac_flag in
17408 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17409 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17410 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_wine_try_cflags_saved=$CFLAGS
17414 CFLAGS="$CFLAGS -gdwarf-2"
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 int main(int argc, char **argv) { return 0; }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_cflags__gdwarf_2=yes
17421 else
17422 ac_cv_cflags__gdwarf_2=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 CFLAGS=$ac_wine_try_cflags_saved
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17429 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17430 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17431 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17434 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17435 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 ac_wine_try_cflags_saved=$CFLAGS
17439 CFLAGS="$CFLAGS -gstrict-dwarf"
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 int main(int argc, char **argv) { return 0; }
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_cflags__gstrict_dwarf=yes
17446 else
17447 ac_cv_cflags__gstrict_dwarf=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 CFLAGS=$ac_wine_try_cflags_saved
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17454 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17455 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17456 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17457 fi ;;
17458 esac
17459 done
17461 MSVCRTFLAGS=""
17463 case $host_os in
17464 cygwin*|mingw32*) ;;
17465 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17466 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17467 if ${ac_cv_cflags__fno_builtin+:} false; then :
17468 $as_echo_n "(cached) " >&6
17469 else
17470 ac_wine_try_cflags_saved=$CFLAGS
17471 CFLAGS="$CFLAGS -fno-builtin"
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 int main(int argc, char **argv) { return 0; }
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477 ac_cv_cflags__fno_builtin=yes
17478 else
17479 ac_cv_cflags__fno_builtin=no
17481 rm -f core conftest.err conftest.$ac_objext \
17482 conftest$ac_exeext conftest.$ac_ext
17483 CFLAGS=$ac_wine_try_cflags_saved
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17486 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17487 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17488 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17491 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17492 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 ac_wine_try_cflags_saved=$CFLAGS
17496 CFLAGS="$CFLAGS -fshort-wchar"
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 int main(int argc, char **argv) { return 0; }
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"; then :
17502 ac_cv_cflags__fshort_wchar=yes
17503 else
17504 ac_cv_cflags__fshort_wchar=no
17506 rm -f core conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17508 CFLAGS=$ac_wine_try_cflags_saved
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17511 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17512 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17513 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17514 fi ;;
17515 esac
17517 case $host_cpu in
17518 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17519 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17520 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 ac_wine_try_cflags_saved=$CFLAGS
17524 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 int main(int argc, char **argv) { return 0; }
17528 _ACEOF
17529 if ac_fn_c_try_link "$LINENO"; then :
17530 ac_cv_cflags__fno_omit_frame_pointer=yes
17531 else
17532 ac_cv_cflags__fno_omit_frame_pointer=no
17534 rm -f core conftest.err conftest.$ac_objext \
17535 conftest$ac_exeext conftest.$ac_ext
17536 CFLAGS=$ac_wine_try_cflags_saved
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17539 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17540 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17541 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17542 fi ;;
17543 *x86_64*)
17544 case $host_os in
17545 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17546 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17547 if ${ac_cv_cflags__Wno_format+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 ac_wine_try_cflags_saved=$CFLAGS
17551 CFLAGS="$CFLAGS -Wno-format"
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554 int main(int argc, char **argv) { return 0; }
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"; then :
17557 ac_cv_cflags__Wno_format=yes
17558 else
17559 ac_cv_cflags__Wno_format=no
17561 rm -f core conftest.err conftest.$ac_objext \
17562 conftest$ac_exeext conftest.$ac_ext
17563 CFLAGS=$ac_wine_try_cflags_saved
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17566 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17567 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17568 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17569 fi ;;
17570 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17571 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17572 if ${ac_cv_cflags__mabi_ms+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 ac_wine_try_cflags_saved=$CFLAGS
17576 CFLAGS="$CFLAGS -mabi=ms"
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 int main(int argc, char **argv) { return 0; }
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_cflags__mabi_ms=yes
17583 else
17584 ac_cv_cflags__mabi_ms=no
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17588 CFLAGS=$ac_wine_try_cflags_saved
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17591 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17592 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17593 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17594 fi ;;
17595 esac ;;
17596 esac
17598 CFLAGS=$saved_CFLAGS
17600 if test "x$enable_maintainer_mode" = "xyes"
17601 then
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17603 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17604 if ${ac_cv_cflags__Werror+:} false; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 ac_wine_try_cflags_saved=$CFLAGS
17608 CFLAGS="$CFLAGS -Werror"
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611 int main(int argc, char **argv) { return 0; }
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"; then :
17614 ac_cv_cflags__Werror=yes
17615 else
17616 ac_cv_cflags__Werror=no
17618 rm -f core conftest.err conftest.$ac_objext \
17619 conftest$ac_exeext conftest.$ac_ext
17620 CFLAGS=$ac_wine_try_cflags_saved
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17623 $as_echo "$ac_cv_cflags__Werror" >&6; }
17624 if test "x$ac_cv_cflags__Werror" = xyes; then :
17625 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17632 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17633 if ${ac_cv_c_fortify_enabled+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17638 #include <string.h>
17640 main ()
17642 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17643 #error Fortify enabled
17644 #endif
17646 return 0;
17648 _ACEOF
17649 if ac_fn_c_try_compile "$LINENO"; then :
17650 ac_cv_c_fortify_enabled=no
17651 else
17652 ac_cv_c_fortify_enabled=yes
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17657 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17658 if test "$ac_cv_c_fortify_enabled" = yes
17659 then
17660 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17665 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17666 if ${ac_cv_c_cfi_support+:} false; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17673 main ()
17677 return 0;
17679 _ACEOF
17680 if ac_fn_c_try_compile "$LINENO"; then :
17681 ac_cv_c_cfi_support="yes"
17682 else
17683 ac_cv_c_cfi_support="no"
17685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17688 $as_echo "$ac_cv_c_cfi_support" >&6; }
17689 if test "$ac_cv_c_cfi_support" = "yes"
17690 then
17691 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17692 else
17693 if test "x$enable_win64" = "xyes"
17694 then
17695 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17700 case $build_os in
17701 cygwin*|mingw32*) TOOLSEXT=".exe"
17703 esac
17705 case $host_os in
17706 linux*)
17707 case $host_cpu in
17708 *i[3456789]86*|x86_64*|*aarch64*)
17709 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17710 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17712 esac
17714 esac
17717 ac_save_CFLAGS="$CFLAGS"
17718 CFLAGS="$CFLAGS $BUILTINFLAG"
17719 for ac_func in \
17720 __res_get_state \
17721 __res_getservers \
17722 _spawnvp \
17723 dlopen \
17724 epoll_create \
17725 ffs \
17726 finitef \
17727 fnmatch \
17728 fork \
17729 fpclass \
17730 fstatfs \
17731 fstatvfs \
17732 futimens \
17733 futimes \
17734 futimesat \
17735 getattrlist \
17736 getauxval \
17737 getifaddrs \
17738 getopt_long_only \
17739 kqueue \
17740 lstat \
17741 mach_continuous_time \
17742 pipe2 \
17743 poll \
17744 port_create \
17745 prctl \
17746 pread \
17747 proc_pidinfo \
17748 pwrite \
17749 readdir \
17750 readlink \
17751 sched_yield \
17752 select \
17753 setproctitle \
17754 setprogname \
17755 settimeofday \
17756 sigprocmask \
17757 statfs \
17758 statvfs \
17759 strnlen \
17760 strtold \
17761 symlink \
17762 sysinfo \
17763 tcdrain \
17764 thr_kill2 \
17765 timegm \
17766 usleep
17768 do :
17769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17771 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17772 cat >>confdefs.h <<_ACEOF
17773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17774 _ACEOF
17777 done
17779 CFLAGS="$ac_save_CFLAGS"
17781 if test "$ac_cv_func_dlopen" = no
17782 then
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17784 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17785 if ${ac_cv_lib_dl_dlopen+:} false; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788 ac_check_lib_save_LIBS=$LIBS
17789 LIBS="-ldl $LIBS"
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17793 /* Override any GCC internal prototype to avoid an error.
17794 Use char because int might match the return type of a GCC
17795 builtin and then its argument prototype would still apply. */
17796 #ifdef __cplusplus
17797 extern "C"
17798 #endif
17799 char dlopen ();
17801 main ()
17803 return dlopen ();
17805 return 0;
17807 _ACEOF
17808 if ac_fn_c_try_link "$LINENO"; then :
17809 ac_cv_lib_dl_dlopen=yes
17810 else
17811 ac_cv_lib_dl_dlopen=no
17813 rm -f core conftest.err conftest.$ac_objext \
17814 conftest$ac_exeext conftest.$ac_ext
17815 LIBS=$ac_check_lib_save_LIBS
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17818 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17819 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17820 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17821 DL_LIBS="-ldl"
17826 ac_wine_check_funcs_save_LIBS="$LIBS"
17827 LIBS="$LIBS $DL_LIBS"
17828 for ac_func in dladdr
17829 do :
17830 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17831 if test "x$ac_cv_func_dladdr" = xyes; then :
17832 cat >>confdefs.h <<_ACEOF
17833 #define HAVE_DLADDR 1
17834 _ACEOF
17837 done
17839 LIBS="$ac_wine_check_funcs_save_LIBS"
17841 if test "$ac_cv_func_poll" = no
17842 then
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17844 $as_echo_n "checking for poll in -lpoll... " >&6; }
17845 if ${ac_cv_lib_poll_poll+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 ac_check_lib_save_LIBS=$LIBS
17849 LIBS="-lpoll $LIBS"
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17853 /* Override any GCC internal prototype to avoid an error.
17854 Use char because int might match the return type of a GCC
17855 builtin and then its argument prototype would still apply. */
17856 #ifdef __cplusplus
17857 extern "C"
17858 #endif
17859 char poll ();
17861 main ()
17863 return poll ();
17865 return 0;
17867 _ACEOF
17868 if ac_fn_c_try_link "$LINENO"; then :
17869 ac_cv_lib_poll_poll=yes
17870 else
17871 ac_cv_lib_poll_poll=no
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 LIBS=$ac_check_lib_save_LIBS
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17878 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17879 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17880 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17881 POLL_LIBS="-lpoll"
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17888 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17889 if ${ac_cv_search_gethostbyname+:} false; then :
17890 $as_echo_n "(cached) " >&6
17891 else
17892 ac_func_search_save_LIBS=$LIBS
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17896 /* Override any GCC internal prototype to avoid an error.
17897 Use char because int might match the return type of a GCC
17898 builtin and then its argument prototype would still apply. */
17899 #ifdef __cplusplus
17900 extern "C"
17901 #endif
17902 char gethostbyname ();
17904 main ()
17906 return gethostbyname ();
17908 return 0;
17910 _ACEOF
17911 for ac_lib in '' nsl; do
17912 if test -z "$ac_lib"; then
17913 ac_res="none required"
17914 else
17915 ac_res=-l$ac_lib
17916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17918 if ac_fn_c_try_link "$LINENO"; then :
17919 ac_cv_search_gethostbyname=$ac_res
17921 rm -f core conftest.err conftest.$ac_objext \
17922 conftest$ac_exeext
17923 if ${ac_cv_search_gethostbyname+:} false; then :
17924 break
17926 done
17927 if ${ac_cv_search_gethostbyname+:} false; then :
17929 else
17930 ac_cv_search_gethostbyname=no
17932 rm conftest.$ac_ext
17933 LIBS=$ac_func_search_save_LIBS
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17936 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17937 ac_res=$ac_cv_search_gethostbyname
17938 if test "$ac_res" != no; then :
17939 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17945 $as_echo_n "checking for library containing connect... " >&6; }
17946 if ${ac_cv_search_connect+:} false; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 ac_func_search_save_LIBS=$LIBS
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17953 /* Override any GCC internal prototype to avoid an error.
17954 Use char because int might match the return type of a GCC
17955 builtin and then its argument prototype would still apply. */
17956 #ifdef __cplusplus
17957 extern "C"
17958 #endif
17959 char connect ();
17961 main ()
17963 return connect ();
17965 return 0;
17967 _ACEOF
17968 for ac_lib in '' socket; do
17969 if test -z "$ac_lib"; then
17970 ac_res="none required"
17971 else
17972 ac_res=-l$ac_lib
17973 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17975 if ac_fn_c_try_link "$LINENO"; then :
17976 ac_cv_search_connect=$ac_res
17978 rm -f core conftest.err conftest.$ac_objext \
17979 conftest$ac_exeext
17980 if ${ac_cv_search_connect+:} false; then :
17981 break
17983 done
17984 if ${ac_cv_search_connect+:} false; then :
17986 else
17987 ac_cv_search_connect=no
17989 rm conftest.$ac_ext
17990 LIBS=$ac_func_search_save_LIBS
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17993 $as_echo "$ac_cv_search_connect" >&6; }
17994 ac_res=$ac_cv_search_connect
17995 if test "$ac_res" != no; then :
17996 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18002 $as_echo_n "checking for library containing inet_aton... " >&6; }
18003 if ${ac_cv_search_inet_aton+:} false; then :
18004 $as_echo_n "(cached) " >&6
18005 else
18006 ac_func_search_save_LIBS=$LIBS
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18010 /* Override any GCC internal prototype to avoid an error.
18011 Use char because int might match the return type of a GCC
18012 builtin and then its argument prototype would still apply. */
18013 #ifdef __cplusplus
18014 extern "C"
18015 #endif
18016 char inet_aton ();
18018 main ()
18020 return inet_aton ();
18022 return 0;
18024 _ACEOF
18025 for ac_lib in '' resolv; do
18026 if test -z "$ac_lib"; then
18027 ac_res="none required"
18028 else
18029 ac_res=-l$ac_lib
18030 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18032 if ac_fn_c_try_link "$LINENO"; then :
18033 ac_cv_search_inet_aton=$ac_res
18035 rm -f core conftest.err conftest.$ac_objext \
18036 conftest$ac_exeext
18037 if ${ac_cv_search_inet_aton+:} false; then :
18038 break
18040 done
18041 if ${ac_cv_search_inet_aton+:} false; then :
18043 else
18044 ac_cv_search_inet_aton=no
18046 rm conftest.$ac_ext
18047 LIBS=$ac_func_search_save_LIBS
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18050 $as_echo "$ac_cv_search_inet_aton" >&6; }
18051 ac_res=$ac_cv_search_inet_aton
18052 if test "$ac_res" != no; then :
18053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18058 for ac_func in \
18059 getaddrinfo \
18060 getnameinfo \
18061 getnetbyname \
18062 getprotobyname \
18063 getprotobynumber \
18064 getservbyport \
18065 inet_addr \
18066 inet_network \
18067 inet_ntop \
18068 inet_pton \
18070 do :
18071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18076 _ACEOF
18079 done
18082 case $host_os in
18083 darwin*|macosx*) ;;
18084 *) ac_save_LIBS=$LIBS
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18086 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18087 if ${ac_cv_search_clock_gettime+:} false; then :
18088 $as_echo_n "(cached) " >&6
18089 else
18090 ac_func_search_save_LIBS=$LIBS
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18094 /* Override any GCC internal prototype to avoid an error.
18095 Use char because int might match the return type of a GCC
18096 builtin and then its argument prototype would still apply. */
18097 #ifdef __cplusplus
18098 extern "C"
18099 #endif
18100 char clock_gettime ();
18102 main ()
18104 return clock_gettime ();
18106 return 0;
18108 _ACEOF
18109 for ac_lib in '' rt; do
18110 if test -z "$ac_lib"; then
18111 ac_res="none required"
18112 else
18113 ac_res=-l$ac_lib
18114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18116 if ac_fn_c_try_link "$LINENO"; then :
18117 ac_cv_search_clock_gettime=$ac_res
18119 rm -f core conftest.err conftest.$ac_objext \
18120 conftest$ac_exeext
18121 if ${ac_cv_search_clock_gettime+:} false; then :
18122 break
18124 done
18125 if ${ac_cv_search_clock_gettime+:} false; then :
18127 else
18128 ac_cv_search_clock_gettime=no
18130 rm conftest.$ac_ext
18131 LIBS=$ac_func_search_save_LIBS
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18134 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18135 ac_res=$ac_cv_search_clock_gettime
18136 if test "$ac_res" != no; then :
18137 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18139 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18141 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18145 LIBS=$ac_save_LIBS
18147 esac
18149 if test "x$with_ldap" != "xno"
18150 then
18151 if ${LDAP_CFLAGS:+false} :; then :
18152 if ${PKG_CONFIG+:} false; then :
18153 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18157 if ${LDAP_LIBS:+false} :; then :
18158 if ${PKG_CONFIG+:} false; then :
18159 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18163 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18164 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18165 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18166 ac_save_CPPFLAGS=$CPPFLAGS
18167 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18168 for ac_header in ldap.h lber.h
18169 do :
18170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18171 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18172 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18173 cat >>confdefs.h <<_ACEOF
18174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18175 _ACEOF
18179 done
18181 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18182 then
18183 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18185 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18187 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18188 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18189 $as_echo_n "(cached) " >&6
18190 else
18191 ac_check_lib_save_LIBS=$LIBS
18192 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18196 /* Override any GCC internal prototype to avoid an error.
18197 Use char because int might match the return type of a GCC
18198 builtin and then its argument prototype would still apply. */
18199 #ifdef __cplusplus
18200 extern "C"
18201 #endif
18202 char ldap_initialize ();
18204 main ()
18206 return ldap_initialize ();
18208 return 0;
18210 _ACEOF
18211 if ac_fn_c_try_link "$LINENO"; then :
18212 ac_cv_lib_ldap_r_ldap_initialize=yes
18213 else
18214 ac_cv_lib_ldap_r_ldap_initialize=no
18216 rm -f core conftest.err conftest.$ac_objext \
18217 conftest$ac_exeext conftest.$ac_ext
18218 LIBS=$ac_check_lib_save_LIBS
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18221 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18222 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18224 $as_echo_n "checking for ber_init in -llber... " >&6; }
18225 if ${ac_cv_lib_lber_ber_init+:} false; then :
18226 $as_echo_n "(cached) " >&6
18227 else
18228 ac_check_lib_save_LIBS=$LIBS
18229 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h. */
18233 /* Override any GCC internal prototype to avoid an error.
18234 Use char because int might match the return type of a GCC
18235 builtin and then its argument prototype would still apply. */
18236 #ifdef __cplusplus
18237 extern "C"
18238 #endif
18239 char ber_init ();
18241 main ()
18243 return ber_init ();
18245 return 0;
18247 _ACEOF
18248 if ac_fn_c_try_link "$LINENO"; then :
18249 ac_cv_lib_lber_ber_init=yes
18250 else
18251 ac_cv_lib_lber_ber_init=no
18253 rm -f core conftest.err conftest.$ac_objext \
18254 conftest$ac_exeext conftest.$ac_ext
18255 LIBS=$ac_check_lib_save_LIBS
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18258 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18259 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18261 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18263 else
18264 LDAP_LIBS=""
18267 else
18268 LDAP_LIBS=""
18271 else
18272 LDAP_LIBS=""
18275 ac_wine_check_funcs_save_LIBS="$LIBS"
18276 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18277 for ac_func in \
18278 ldap_count_references \
18279 ldap_first_reference \
18280 ldap_next_reference \
18281 ldap_parse_reference \
18282 ldap_parse_sort_control \
18283 ldap_parse_sortresponse_control \
18284 ldap_parse_vlv_control \
18285 ldap_parse_vlvresponse_control
18286 do :
18287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18290 cat >>confdefs.h <<_ACEOF
18291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18292 _ACEOF
18295 done
18297 LIBS="$ac_wine_check_funcs_save_LIBS"
18298 else
18299 LDAP_LIBS=""
18301 CPPFLAGS=$ac_save_CPPFLAGS
18302 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18303 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18306 if test "x$LDAP_LIBS" = "x"; then :
18307 case "x$with_ldap" in
18308 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18309 xno) ;;
18310 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18311 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18312 esac
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18317 $as_echo_n "checking for sched_setaffinity... " >&6; }
18318 if ${wine_cv_have_sched_setaffinity+:} false; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18323 #define _GNU_SOURCE
18324 #include <sched.h>
18326 main ()
18328 sched_setaffinity(0, 0, 0);
18330 return 0;
18332 _ACEOF
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 wine_cv_have_sched_setaffinity=yes
18335 else
18336 wine_cv_have_sched_setaffinity=no
18338 rm -f core conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext conftest.$ac_ext
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18342 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18343 if test "$wine_cv_have_sched_setaffinity" = "yes"
18344 then
18346 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18351 $as_echo_n "checking for fallocate... " >&6; }
18352 if ${wine_cv_have_fallocate+:} false; then :
18353 $as_echo_n "(cached) " >&6
18354 else
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #define _GNU_SOURCE
18358 #include <fcntl.h>
18360 main ()
18362 fallocate(-1, 0, 0, 0);
18364 return 0;
18366 _ACEOF
18367 if ac_fn_c_try_link "$LINENO"; then :
18368 wine_cv_have_fallocate=yes
18369 else
18370 wine_cv_have_fallocate=no
18372 rm -f core conftest.err conftest.$ac_objext \
18373 conftest$ac_exeext conftest.$ac_ext
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18376 $as_echo "$wine_cv_have_fallocate" >&6; }
18377 if test "$wine_cv_have_fallocate" = "yes"
18378 then
18380 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18386 $as_echo_n "checking for inline... " >&6; }
18387 if ${ac_cv_c_inline+:} false; then :
18388 $as_echo_n "(cached) " >&6
18389 else
18390 ac_cv_c_inline=no
18391 for ac_kw in inline __inline__ __inline; do
18392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #ifndef __cplusplus
18395 typedef int foo_t;
18396 static $ac_kw foo_t static_foo () {return 0; }
18397 $ac_kw foo_t foo () {return 0; }
18398 #endif
18400 _ACEOF
18401 if ac_fn_c_try_compile "$LINENO"; then :
18402 ac_cv_c_inline=$ac_kw
18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18405 test "$ac_cv_c_inline" != no && break
18406 done
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18410 $as_echo "$ac_cv_c_inline" >&6; }
18412 case $ac_cv_c_inline in
18413 inline | yes) ;;
18415 case $ac_cv_c_inline in
18416 no) ac_val=;;
18417 *) ac_val=$ac_cv_c_inline;;
18418 esac
18419 cat >>confdefs.h <<_ACEOF
18420 #ifndef __cplusplus
18421 #define inline $ac_val
18422 #endif
18423 _ACEOF
18425 esac
18427 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18428 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18430 cat >>confdefs.h <<_ACEOF
18431 #define HAVE_FSBLKCNT_T 1
18432 _ACEOF
18436 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18437 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18439 cat >>confdefs.h <<_ACEOF
18440 #define HAVE_FSFILCNT_T 1
18441 _ACEOF
18446 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18447 #include <signal.h>
18449 if test "x$ac_cv_type_sigset_t" = xyes; then :
18451 cat >>confdefs.h <<_ACEOF
18452 #define HAVE_SIGSET_T 1
18453 _ACEOF
18458 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18460 if test "x$ac_cv_type_request_sense" = xyes; then :
18462 cat >>confdefs.h <<_ACEOF
18463 #define HAVE_REQUEST_SENSE 1
18464 _ACEOF
18470 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18471 #ifdef HAVE_SYS_SOCKET_H
18472 #include <sys/socket.h>
18473 #endif
18474 #ifdef HAVE_SYS_SOCKETVAR_H
18475 #include <sys/socketvar.h>
18476 #endif
18477 #ifdef HAVE_NET_ROUTE_H
18478 #include <net/route.h>
18479 #endif
18480 #ifdef HAVE_NETINET_IN_H
18481 #include <netinet/in.h>
18482 #endif
18483 #ifdef HAVE_NETINET_IN_SYSTM_H
18484 #include <netinet/in_systm.h>
18485 #endif
18486 #ifdef HAVE_NETINET_IP_H
18487 #include <netinet/ip.h>
18488 #endif
18489 #ifdef HAVE_NETINET_IN_PCB_H
18490 #include <netinet/in_pcb.h>
18491 #endif
18493 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18495 cat >>confdefs.h <<_ACEOF
18496 #define HAVE_STRUCT_XINPGEN 1
18497 _ACEOF
18503 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18504 #include <link.h>
18505 #endif
18506 #ifdef HAVE_SYS_LINK_H
18507 #include <sys/link.h>
18508 #endif
18510 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define HAVE_STRUCT_R_DEBUG 1
18514 _ACEOF
18518 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18519 #include <link.h>
18520 #endif
18521 #ifdef HAVE_SYS_LINK_H
18522 #include <sys/link.h>
18523 #endif
18525 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18527 cat >>confdefs.h <<_ACEOF
18528 #define HAVE_STRUCT_LINK_MAP 1
18529 _ACEOF
18535 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18536 #include <linux/input.h>
18537 #endif
18539 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18541 cat >>confdefs.h <<_ACEOF
18542 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18543 _ACEOF
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18550 $as_echo_n "checking for if_nameindex... " >&6; }
18551 if ${wine_cv_have_if_nameindex+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #ifdef HAVE_SYS_TYPES_H
18557 #include <sys/types.h>
18558 #endif
18559 #ifdef HAVE_SYS_SOCKET_H
18560 #include <sys/socket.h>
18561 #endif
18562 #ifdef HAVE_NET_IF_H
18563 # include <net/if.h>
18564 #endif
18566 main ()
18568 struct if_nameindex *p = if_nameindex(); return p->if_index;
18570 return 0;
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"; then :
18574 wine_cv_have_if_nameindex=yes
18575 else
18576 wine_cv_have_if_nameindex=no
18578 rm -f core conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18582 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18583 if test "$wine_cv_have_if_nameindex" = "yes"
18584 then
18586 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18591 $as_echo_n "checking for sigaddset... " >&6; }
18592 if ${wine_cv_have_sigaddset+:} false; then :
18593 $as_echo_n "(cached) " >&6
18594 else
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #include <signal.h>
18599 main ()
18601 sigset_t set; sigaddset(&set,SIGTERM);
18603 return 0;
18605 _ACEOF
18606 if ac_fn_c_try_link "$LINENO"; then :
18607 wine_cv_have_sigaddset=yes
18608 else
18609 wine_cv_have_sigaddset=no
18611 rm -f core conftest.err conftest.$ac_objext \
18612 conftest$ac_exeext conftest.$ac_ext
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18615 $as_echo "$wine_cv_have_sigaddset" >&6; }
18616 if test "$wine_cv_have_sigaddset" = "yes"
18617 then
18619 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18625 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18626 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18627 $as_echo_n "(cached) " >&6
18628 else
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18631 #include <netdb.h>
18633 main ()
18636 char *name=0;
18637 struct hostent he;
18638 struct hostent *result;
18639 char *buf=0;
18640 int bufsize=0;
18641 int errnr;
18642 char *addr=0;
18643 int addrlen=0;
18644 int addrtype=0;
18645 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18646 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_c_try_link "$LINENO"; then :
18653 wine_cv_linux_gethostbyname_r_6=yes
18654 else
18655 wine_cv_linux_gethostbyname_r_6=no
18658 rm -f core conftest.err conftest.$ac_objext \
18659 conftest$ac_exeext conftest.$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18663 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18664 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18665 then
18667 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18671 if test "$ac_cv_header_linux_joystick_h" = "yes"
18672 then
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18674 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18675 if ${wine_cv_linux_joystick_22_api+:} false; then :
18676 $as_echo_n "(cached) " >&6
18677 else
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18681 #include <sys/ioctl.h>
18682 #include <sys/types.h>
18683 #include <linux/joystick.h>
18685 struct js_event blub;
18686 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18687 #error "no 2.2 header"
18688 #endif
18691 main ()
18693 /*empty*/
18695 return 0;
18697 _ACEOF
18698 if ac_fn_c_try_compile "$LINENO"; then :
18699 wine_cv_linux_joystick_22_api=yes
18700 else
18701 wine_cv_linux_joystick_22_api=no
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18707 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18708 if test "$wine_cv_linux_joystick_22_api" = "yes"
18709 then
18711 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18717 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18718 #ifdef HAVE_SYS_PARAM_H
18719 # include <sys/param.h>
18720 #endif
18721 #ifdef HAVE_SYS_MOUNT_H
18722 # include <sys/mount.h>
18723 #endif
18724 #ifdef HAVE_SYS_VFS_H
18725 # include <sys/vfs.h>
18726 #endif
18727 #ifdef HAVE_SYS_STATFS_H
18728 # include <sys/statfs.h>
18729 #endif
18731 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18733 cat >>confdefs.h <<_ACEOF
18734 #define HAVE_STRUCT_STATFS_F_BFREE 1
18735 _ACEOF
18739 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18740 #ifdef HAVE_SYS_PARAM_H
18741 # include <sys/param.h>
18742 #endif
18743 #ifdef HAVE_SYS_MOUNT_H
18744 # include <sys/mount.h>
18745 #endif
18746 #ifdef HAVE_SYS_VFS_H
18747 # include <sys/vfs.h>
18748 #endif
18749 #ifdef HAVE_SYS_STATFS_H
18750 # include <sys/statfs.h>
18751 #endif
18753 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18755 cat >>confdefs.h <<_ACEOF
18756 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18757 _ACEOF
18761 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18762 #ifdef HAVE_SYS_PARAM_H
18763 # include <sys/param.h>
18764 #endif
18765 #ifdef HAVE_SYS_MOUNT_H
18766 # include <sys/mount.h>
18767 #endif
18768 #ifdef HAVE_SYS_VFS_H
18769 # include <sys/vfs.h>
18770 #endif
18771 #ifdef HAVE_SYS_STATFS_H
18772 # include <sys/statfs.h>
18773 #endif
18775 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18779 _ACEOF
18783 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18784 #ifdef HAVE_SYS_PARAM_H
18785 # include <sys/param.h>
18786 #endif
18787 #ifdef HAVE_SYS_MOUNT_H
18788 # include <sys/mount.h>
18789 #endif
18790 #ifdef HAVE_SYS_VFS_H
18791 # include <sys/vfs.h>
18792 #endif
18793 #ifdef HAVE_SYS_STATFS_H
18794 # include <sys/statfs.h>
18795 #endif
18797 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_STATFS_F_FFREE 1
18801 _ACEOF
18805 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18806 #ifdef HAVE_SYS_PARAM_H
18807 # include <sys/param.h>
18808 #endif
18809 #ifdef HAVE_SYS_MOUNT_H
18810 # include <sys/mount.h>
18811 #endif
18812 #ifdef HAVE_SYS_VFS_H
18813 # include <sys/vfs.h>
18814 #endif
18815 #ifdef HAVE_SYS_STATFS_H
18816 # include <sys/statfs.h>
18817 #endif
18819 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18821 cat >>confdefs.h <<_ACEOF
18822 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18823 _ACEOF
18827 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18828 #ifdef HAVE_SYS_PARAM_H
18829 # include <sys/param.h>
18830 #endif
18831 #ifdef HAVE_SYS_MOUNT_H
18832 # include <sys/mount.h>
18833 #endif
18834 #ifdef HAVE_SYS_VFS_H
18835 # include <sys/vfs.h>
18836 #endif
18837 #ifdef HAVE_SYS_STATFS_H
18838 # include <sys/statfs.h>
18839 #endif
18841 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18843 cat >>confdefs.h <<_ACEOF
18844 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18845 _ACEOF
18851 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18852 #include <sys/statvfs.h>
18853 #endif
18855 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18857 cat >>confdefs.h <<_ACEOF
18858 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18859 _ACEOF
18865 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18866 #include <dirent.h>
18867 #endif
18869 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18873 _ACEOF
18879 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18880 #ifdef HAVE_SYS_SOCKET_H
18881 # include <sys/socket.h>
18882 #endif
18883 #ifdef HAVE_SYS_UN_H
18884 # include <sys/un.h>
18885 #endif
18887 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18891 _ACEOF
18895 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18896 #ifdef HAVE_SYS_SOCKET_H
18897 # include <sys/socket.h>
18898 #endif
18899 #ifdef HAVE_SYS_UN_H
18900 # include <sys/un.h>
18901 #endif
18903 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18907 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18912 #ifdef HAVE_SYS_SOCKET_H
18913 # include <sys/socket.h>
18914 #endif
18915 #ifdef HAVE_SYS_UN_H
18916 # include <sys/un.h>
18917 #endif
18919 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18923 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18930 #ifdef HAVE_SCSI_SG_H
18931 #include <scsi/sg.h>
18932 #endif
18934 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_SCSIREQ_T_CMD 1
18938 _ACEOF
18942 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>
18943 #ifdef HAVE_SCSI_SG_H
18944 #include <scsi/sg.h>
18945 #endif
18947 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18951 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18959 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18961 cat >>confdefs.h <<_ACEOF
18962 #define HAVE_SIGINFO_T_SI_FD 1
18963 _ACEOF
18969 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18970 #ifdef HAVE_SYS_MTIO_H
18971 #include <sys/mtio.h>
18972 #endif
18974 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18978 _ACEOF
18982 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18983 #ifdef HAVE_SYS_MTIO_H
18984 #include <sys/mtio.h>
18985 #endif
18987 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18991 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_MTIO_H
18997 #include <sys/mtio.h>
18998 #endif
19000 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19004 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19011 #include <getopt.h>
19012 #endif
19014 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_OPTION_NAME 1
19018 _ACEOF
19024 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19025 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19029 _ACEOF
19033 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19034 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_STRUCT_STAT_ST_MTIM 1
19038 _ACEOF
19042 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19043 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19045 cat >>confdefs.h <<_ACEOF
19046 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19047 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19052 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_STAT_ST_CTIM 1
19056 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19061 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19063 cat >>confdefs.h <<_ACEOF
19064 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19065 _ACEOF
19069 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19070 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_STRUCT_STAT_ST_ATIM 1
19074 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19079 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19083 _ACEOF
19087 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19088 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19092 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19097 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19101 _ACEOF
19105 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19106 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19110 _ACEOF
19114 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19115 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19119 _ACEOF
19123 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19124 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19128 _ACEOF
19134 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
19135 #include <sys/types.h>
19136 #endif
19137 #ifdef HAVE_NETINET_IN_H
19138 #include <netinet/in.h>
19139 #endif
19141 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19145 _ACEOF
19151 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19152 #include <sys/types.h>
19153 #endif
19154 #ifdef HAVE_NETINET_IN_H
19155 #include <netinet/in.h>
19156 #endif
19157 #ifdef HAVE_RESOLV_H
19158 #include <resolv.h>
19159 #endif
19161 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT___RES_STATE 1
19165 _ACEOF
19171 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
19172 #include <resolv.h>
19173 #endif
19175 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19179 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19186 #include <sys/types.h>
19187 #endif
19188 #ifdef HAVE_NETINET_IN_H
19189 # include <netinet/in.h>
19190 #endif
19191 #ifdef HAVE_ARPA_NAMESER_H
19192 # include <arpa/nameser.h>
19193 #endif
19195 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_NS_MSG__MSG_PTR 1
19199 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19206 #include <sys/types.h>
19207 #endif
19208 #ifdef HAVE_NETINET_IN_H
19209 #include <netinet/in.h>
19210 #endif
19211 #ifdef HAVE_NETINET_IP_H
19212 #include <netinet/ip.h>
19213 #endif
19214 #ifdef HAVE_NETINET_IP_ICMP_H
19215 #include <netinet/ip_icmp.h>
19216 #endif
19217 #ifdef HAVE_NETINET_ICMP_VAR_H
19218 #include <netinet/icmp_var.h>
19219 #endif
19221 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19225 _ACEOF
19231 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19232 #include <sys/types.h>
19233 #endif
19234 #ifdef HAVE_ALIAS_H
19235 #include <alias.h>
19236 #endif
19237 #ifdef HAVE_SYS_SOCKET_H
19238 #include <sys/socket.h>
19239 #endif
19240 #ifdef HAVE_SYS_SOCKETVAR_H
19241 #include <sys/socketvar.h>
19242 #endif
19243 #ifdef HAVE_SYS_TIMEOUT_H
19244 #include <sys/timeout.h>
19245 #endif
19246 #ifdef HAVE_NETINET_IN_H
19247 #include <netinet/in.h>
19248 #endif
19249 #ifdef HAVE_NETINET_IN_SYSTM_H
19250 #include <netinet/in_systm.h>
19251 #endif
19252 #ifdef HAVE_NETINET_IP_H
19253 #include <netinet/ip.h>
19254 #endif
19255 #ifdef HAVE_NETINET_IP_VAR_H
19256 #include <netinet/ip_var.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IP_ICMP_H
19259 #include <netinet/ip_icmp.h>
19260 #endif
19261 #ifdef HAVE_NETINET_ICMP_VAR_H
19262 #include <netinet/icmp_var.h>
19263 #endif
19265 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19269 _ACEOF
19275 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19276 #include <sys/types.h>
19277 #endif
19278 #ifdef HAVE_SYS_SOCKETVAR_H
19279 #include <sys/socketvar.h>
19280 #endif
19281 #ifdef HAVE_NETINET_IN_H
19282 #include <netinet/in.h>
19283 #endif
19284 #ifdef HAVE_NETINET_IP_VAR_H
19285 #include <netinet/ip_var.h>
19286 #endif
19288 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19292 _ACEOF
19298 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
19299 #include <netinet/ip_var.h>
19300 #endif
19302 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19306 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19313 #include <sys/types.h>
19314 #endif
19315 #ifdef HAVE_SYS_SOCKETVAR_H
19316 #include <sys/socketvar.h>
19317 #endif
19318 #ifdef HAVE_NETINET_IN_H
19319 #include <netinet/in.h>
19320 #endif
19321 #ifdef HAVE_NETINET_TCP_H
19322 #include <netinet/tcp.h>
19323 #endif
19324 #ifdef HAVE_NETINET_TCP_VAR_H
19325 #include <netinet/tcp_var.h>
19326 #endif
19328 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19330 cat >>confdefs.h <<_ACEOF
19331 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19332 _ACEOF
19338 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
19339 #include <netinet/tcp_var.h>
19340 #endif
19342 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19346 _ACEOF
19352 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19353 #include <sys/types.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IN_H
19356 #include <netinet/in.h>
19357 #endif
19358 #ifdef HAVE_NETINET_IP_VAR_H
19359 #include <netinet/ip_var.h>
19360 #endif
19361 #ifdef HAVE_NETINET_UDP_H
19362 #include <netinet/udp.h>
19363 #endif
19364 #ifdef HAVE_NETINET_UDP_VAR_H
19365 #include <netinet/udp_var.h>
19366 #endif
19368 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19372 _ACEOF
19378 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19379 #include <sys/types.h>
19380 #endif
19381 #ifdef HAVE_NET_IF_H
19382 # include <net/if.h>
19383 #endif
19385 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19387 cat >>confdefs.h <<_ACEOF
19388 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19389 _ACEOF
19395 ac_save_LIBS="$LIBS"
19396 LIBS="$LIBS -lm"
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19398 $as_echo_n "checking for isfinite... " >&6; }
19399 if ${ac_cv_have_isfinite+:} false; then :
19400 $as_echo_n "(cached) " >&6
19401 else
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 #define _GNU_SOURCE
19405 #include <math.h>
19407 main ()
19409 float f = 0.0; return isfinite(f)
19411 return 0;
19413 _ACEOF
19414 if ac_fn_c_try_link "$LINENO"; then :
19415 ac_cv_have_isfinite="yes"
19416 else
19417 ac_cv_have_isfinite="no"
19419 rm -f core conftest.err conftest.$ac_objext \
19420 conftest$ac_exeext conftest.$ac_ext
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19423 $as_echo "$ac_cv_have_isfinite" >&6; }
19424 if test "$ac_cv_have_isfinite" = "yes"
19425 then
19427 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19432 $as_echo_n "checking for isinf... " >&6; }
19433 if ${ac_cv_have_isinf+:} false; then :
19434 $as_echo_n "(cached) " >&6
19435 else
19436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19437 /* end confdefs.h. */
19438 #include <math.h>
19440 main ()
19442 float f = 0.0; return isinf(f)
19444 return 0;
19446 _ACEOF
19447 if ac_fn_c_try_link "$LINENO"; then :
19448 ac_cv_have_isinf="yes"
19449 else
19450 ac_cv_have_isinf="no"
19452 rm -f core conftest.err conftest.$ac_objext \
19453 conftest$ac_exeext conftest.$ac_ext
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19456 $as_echo "$ac_cv_have_isinf" >&6; }
19457 if test "$ac_cv_have_isinf" = "yes"
19458 then
19460 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19465 $as_echo_n "checking for isnan... " >&6; }
19466 if ${ac_cv_have_isnan+:} false; then :
19467 $as_echo_n "(cached) " >&6
19468 else
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 #include <math.h>
19473 main ()
19475 float f = 0.0; return isnan(f)
19477 return 0;
19479 _ACEOF
19480 if ac_fn_c_try_link "$LINENO"; then :
19481 ac_cv_have_isnan="yes"
19482 else
19483 ac_cv_have_isnan="no"
19485 rm -f core conftest.err conftest.$ac_objext \
19486 conftest$ac_exeext conftest.$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19489 $as_echo "$ac_cv_have_isnan" >&6; }
19490 if test "$ac_cv_have_isnan" = "yes"
19491 then
19493 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19497 for ac_func in \
19498 acosh \
19499 acoshf \
19500 asinh \
19501 asinhf \
19502 atanh \
19503 atanhf \
19504 cbrt \
19505 cbrtf \
19506 erf \
19507 erfc \
19508 erfcf \
19509 erff \
19510 exp2 \
19511 exp2f \
19512 expm1 \
19513 expm1f \
19514 fma \
19515 fmaf \
19516 ilogb \
19517 ilogbf \
19518 j0 \
19519 j1 \
19520 jn \
19521 lgamma \
19522 lgammaf \
19523 llrint \
19524 llrintf \
19525 llround \
19526 llroundf \
19527 log1p \
19528 log1pf \
19529 log2 \
19530 log2f \
19531 lrint \
19532 lrintf \
19533 lround \
19534 lroundf \
19535 nearbyint \
19536 nearbyintf \
19537 nexttoward \
19538 nexttowardf \
19539 powl \
19540 remainder \
19541 remainderf \
19542 remquo \
19543 remquof \
19544 rint \
19545 rintf \
19546 round \
19547 roundf \
19548 tgamma \
19549 tgammaf \
19550 trunc \
19551 truncf \
19552 y0 \
19553 y1 \
19556 do :
19557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19559 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19560 cat >>confdefs.h <<_ACEOF
19561 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19562 _ACEOF
19565 done
19567 LIBS="$ac_save_LIBS"
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19570 $as_echo_n "checking for __builtin_popcount... " >&6; }
19571 if ${ac_cv_have___builtin_popcount+:} false; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19578 main ()
19580 return __builtin_popcount(1)
19582 return 0;
19584 _ACEOF
19585 if ac_fn_c_try_link "$LINENO"; then :
19586 ac_cv_have___builtin_popcount="yes"
19587 else
19588 ac_cv_have___builtin_popcount="no"
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext conftest.$ac_ext
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19594 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19595 if test "$ac_cv_have___builtin_popcount" = "yes"
19596 then
19598 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19603 $as_echo_n "checking for __clear_cache... " >&6; }
19604 if ${ac_cv_have___clear_cache+:} false; then :
19605 $as_echo_n "(cached) " >&6
19606 else
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19611 main ()
19613 __clear_cache((void*)0, (void*)0); return 0;
19615 return 0;
19617 _ACEOF
19618 if ac_fn_c_try_link "$LINENO"; then :
19619 ac_cv_have___clear_cache="yes"
19620 else
19621 ac_cv_have___clear_cache="no"
19623 rm -f core conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19627 $as_echo "$ac_cv_have___clear_cache" >&6; }
19628 if test "$ac_cv_have___clear_cache" = "yes"
19629 then
19631 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19636 case $host_cpu in
19637 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19638 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19639 if ${ac_cv_cpp_def___i386__+:} false; then :
19640 $as_echo_n "(cached) " >&6
19641 else
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 #ifndef __i386__
19646 #endif
19647 _ACEOF
19648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19649 $EGREP "yes" >/dev/null 2>&1; then :
19650 ac_cv_cpp_def___i386__=yes
19651 else
19652 ac_cv_cpp_def___i386__=no
19654 rm -f conftest*
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19658 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19659 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19660 CFLAGS="$CFLAGS -D__i386__"
19661 LINTFLAGS="$LINTFLAGS -D__i386__"
19662 fi ;;
19663 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19664 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19665 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #ifndef __x86_64__
19672 #endif
19673 _ACEOF
19674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19675 $EGREP "yes" >/dev/null 2>&1; then :
19676 ac_cv_cpp_def___x86_64__=yes
19677 else
19678 ac_cv_cpp_def___x86_64__=no
19680 rm -f conftest*
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19684 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19685 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19686 CFLAGS="$CFLAGS -D__x86_64__"
19687 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19688 fi ;;
19689 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19690 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19691 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19692 $as_echo_n "(cached) " >&6
19693 else
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19696 #ifndef __sparc64__
19698 #endif
19699 _ACEOF
19700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19701 $EGREP "yes" >/dev/null 2>&1; then :
19702 ac_cv_cpp_def___sparc64__=yes
19703 else
19704 ac_cv_cpp_def___sparc64__=no
19706 rm -f conftest*
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19710 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19711 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19712 CFLAGS="$CFLAGS -D__sparc64__"
19713 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19714 fi ;;
19715 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19716 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19717 if ${ac_cv_cpp_def___sparc__+:} false; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #ifndef __sparc__
19724 #endif
19725 _ACEOF
19726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19727 $EGREP "yes" >/dev/null 2>&1; then :
19728 ac_cv_cpp_def___sparc__=yes
19729 else
19730 ac_cv_cpp_def___sparc__=no
19732 rm -f conftest*
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19736 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19737 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19738 CFLAGS="$CFLAGS -D__sparc__"
19739 LINTFLAGS="$LINTFLAGS -D__sparc__"
19740 fi ;;
19741 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19742 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19743 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19744 $as_echo_n "(cached) " >&6
19745 else
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19748 #ifndef __powerpc64__
19750 #endif
19751 _ACEOF
19752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19753 $EGREP "yes" >/dev/null 2>&1; then :
19754 ac_cv_cpp_def___powerpc64__=yes
19755 else
19756 ac_cv_cpp_def___powerpc64__=no
19758 rm -f conftest*
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19762 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19763 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19764 CFLAGS="$CFLAGS -D__powerpc64__"
19765 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19766 fi ;;
19767 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19768 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19769 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19774 #ifndef __powerpc__
19776 #endif
19777 _ACEOF
19778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19779 $EGREP "yes" >/dev/null 2>&1; then :
19780 ac_cv_cpp_def___powerpc__=yes
19781 else
19782 ac_cv_cpp_def___powerpc__=no
19784 rm -f conftest*
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19788 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19789 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19790 CFLAGS="$CFLAGS -D__powerpc__"
19791 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19792 fi ;;
19793 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19794 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19795 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19796 $as_echo_n "(cached) " >&6
19797 else
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800 #ifndef __aarch64__
19802 #endif
19803 _ACEOF
19804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19805 $EGREP "yes" >/dev/null 2>&1; then :
19806 ac_cv_cpp_def___aarch64__=yes
19807 else
19808 ac_cv_cpp_def___aarch64__=no
19810 rm -f conftest*
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19814 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19815 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19816 CFLAGS="$CFLAGS -D__aarch64__"
19817 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19818 fi ;;
19819 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19820 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19821 if ${ac_cv_cpp_def___arm__+:} false; then :
19822 $as_echo_n "(cached) " >&6
19823 else
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 #ifndef __arm__
19828 #endif
19829 _ACEOF
19830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19831 $EGREP "yes" >/dev/null 2>&1; then :
19832 ac_cv_cpp_def___arm__=yes
19833 else
19834 ac_cv_cpp_def___arm__=no
19836 rm -f conftest*
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19840 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19841 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19842 CFLAGS="$CFLAGS -D__arm__"
19843 LINTFLAGS="$LINTFLAGS -D__arm__"
19844 fi ;;
19845 esac
19847 case $host_vendor in
19848 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19849 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19850 if ${ac_cv_cpp_def___sun__+:} false; then :
19851 $as_echo_n "(cached) " >&6
19852 else
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19855 #ifndef __sun__
19857 #endif
19858 _ACEOF
19859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19860 $EGREP "yes" >/dev/null 2>&1; then :
19861 ac_cv_cpp_def___sun__=yes
19862 else
19863 ac_cv_cpp_def___sun__=no
19865 rm -f conftest*
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19869 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19870 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19871 CFLAGS="$CFLAGS -D__sun__"
19872 LINTFLAGS="$LINTFLAGS -D__sun__"
19873 fi ;;
19874 esac
19880 ac_config_commands="$ac_config_commands include/stamp-h"
19882 $as_echo_n "creating Makefile rules..." >&6
19884 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19885 OPENGL_LIBS = $OPENGL_LIBS
19886 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19887 IOKIT_LIBS = $IOKIT_LIBS
19888 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19889 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19890 CORESERVICES_LIBS = $CORESERVICES_LIBS
19891 APPKIT_LIBS = $APPKIT_LIBS
19892 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19893 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19894 SECURITY_LIBS = $SECURITY_LIBS
19895 COREAUDIO_LIBS = $COREAUDIO_LIBS
19896 OPENAL_LIBS = $OPENAL_LIBS
19897 OPENCL_LIBS = $OPENCL_LIBS
19898 QUICKTIME_LIBS = $QUICKTIME_LIBS
19899 CARBON_LIBS = $CARBON_LIBS
19900 METAL_LIBS = $METAL_LIBS
19901 PTHREAD_LIBS = $PTHREAD_LIBS
19902 X_CFLAGS = $X_CFLAGS
19903 X_PRE_LIBS = $X_PRE_LIBS
19904 X_LIBS = $X_LIBS
19905 X_EXTRA_LIBS = $X_EXTRA_LIBS
19906 PCAP_LIBS = $PCAP_LIBS
19907 XML2_CFLAGS = $XML2_CFLAGS
19908 XML2_LIBS = $XML2_LIBS
19909 XSLT_CFLAGS = $XSLT_CFLAGS
19910 XSLT_LIBS = $XSLT_LIBS
19911 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19912 INOTIFY_LIBS = $INOTIFY_LIBS
19913 DBUS_CFLAGS = $DBUS_CFLAGS
19914 DBUS_LIBS = $DBUS_LIBS
19915 HAL_CFLAGS = $HAL_CFLAGS
19916 HAL_LIBS = $HAL_LIBS
19917 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19918 GNUTLS_LIBS = $GNUTLS_LIBS
19919 SANE_CFLAGS = $SANE_CFLAGS
19920 SANE_LIBS = $SANE_LIBS
19921 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19922 GPHOTO2_LIBS = $GPHOTO2_LIBS
19923 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19924 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19925 RESOLV_LIBS = $RESOLV_LIBS
19926 LCMS2_CFLAGS = $LCMS2_CFLAGS
19927 LCMS2_LIBS = $LCMS2_LIBS
19928 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19929 FREETYPE_LIBS = $FREETYPE_LIBS
19930 Z_CFLAGS = $Z_CFLAGS
19931 Z_LIBS = $Z_LIBS
19932 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19933 PULSE_CFLAGS = $PULSE_CFLAGS
19934 PULSE_LIBS = $PULSE_LIBS
19935 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19936 GSTREAMER_LIBS = $GSTREAMER_LIBS
19937 ALSA_LIBS = $ALSA_LIBS
19938 OSS4_CFLAGS = $OSS4_CFLAGS
19939 OSS4_LIBS = $OSS4_LIBS
19940 UDEV_CFLAGS = $UDEV_CFLAGS
19941 UDEV_LIBS = $UDEV_LIBS
19942 UNWIND_CFLAGS = $UNWIND_CFLAGS
19943 UNWIND_LIBS = $UNWIND_LIBS
19944 SDL2_CFLAGS = $SDL2_CFLAGS
19945 SDL2_LIBS = $SDL2_LIBS
19946 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19947 FAUDIO_LIBS = $FAUDIO_LIBS
19948 CAPI20_CFLAGS = $CAPI20_CFLAGS
19949 CAPI20_LIBS = $CAPI20_LIBS
19950 CUPS_CFLAGS = $CUPS_CFLAGS
19951 CUPS_LIBS = $CUPS_LIBS
19952 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19953 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19954 KRB5_CFLAGS = $KRB5_CFLAGS
19955 KRB5_LIBS = $KRB5_LIBS
19956 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19957 GSSAPI_LIBS = $GSSAPI_LIBS
19958 JPEG_CFLAGS = $JPEG_CFLAGS
19959 JPEG_LIBS = $JPEG_LIBS
19960 PNG_CFLAGS = $PNG_CFLAGS
19961 PNG_LIBS = $PNG_LIBS
19962 TIFF_CFLAGS = $TIFF_CFLAGS
19963 TIFF_LIBS = $TIFF_LIBS
19964 MPG123_CFLAGS = $MPG123_CFLAGS
19965 MPG123_LIBS = $MPG123_LIBS
19966 KSTAT_LIBS = $KSTAT_LIBS
19967 PROCSTAT_LIBS = $PROCSTAT_LIBS
19968 NETAPI_CFLAGS = $NETAPI_CFLAGS
19969 NETAPI_LIBS = $NETAPI_LIBS
19970 VKD3D_CFLAGS = $VKD3D_CFLAGS
19971 VKD3D_LIBS = $VKD3D_LIBS
19972 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19973 DL_LIBS = $DL_LIBS
19974 POLL_LIBS = $POLL_LIBS
19975 RT_LIBS = $RT_LIBS
19976 LDAP_CFLAGS = $LDAP_CFLAGS
19977 LDAP_LIBS = $LDAP_LIBS
19982 wine_fn_append_rule "
19983 # Rules automatically generated by configure
19985 .INIT: Makefile
19986 .MAKEFILEDEPS:
19987 all: Makefile
19988 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19989 @./config.status Make.tmp Makefile
19990 depend: \$(MAKEDEP) dummy
19991 \$(MAKEDEP)"
19993 ac_config_links="$ac_config_links wine:tools/winewrapper"
19994 wine_fn_config_symlink wine
19995 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19996 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19997 wine_fn_config_symlink wine64
20000 wine_fn_config_makefile dlls/acledit enable_acledit
20001 wine_fn_config_makefile dlls/aclui enable_aclui
20002 wine_fn_config_makefile dlls/activeds enable_activeds
20003 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20004 wine_fn_config_makefile dlls/adsiid enable_adsiid
20005 wine_fn_config_makefile dlls/adsldp enable_adsldp
20006 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20007 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20008 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20009 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20010 wine_fn_config_makefile dlls/advpack enable_advpack
20011 wine_fn_config_makefile dlls/advpack/tests enable_tests
20012 wine_fn_config_makefile dlls/amsi enable_amsi
20013 wine_fn_config_makefile dlls/amstream enable_amstream
20014 wine_fn_config_makefile dlls/amstream/tests enable_tests
20015 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20018 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20025 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20033 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20035 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20037 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20039 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20040 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20041 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20043 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20047 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20050 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20059 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20070 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20073 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20081 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20082 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20094 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20095 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20197 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20201 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20205 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20211 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20219 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20224 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20230 wine_fn_config_makefile dlls/apphelp enable_apphelp
20231 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20232 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20233 wine_fn_config_makefile dlls/atl enable_atl
20234 wine_fn_config_makefile dlls/atl/tests enable_tests
20235 wine_fn_config_makefile dlls/atl100 enable_atl100
20236 wine_fn_config_makefile dlls/atl100/tests enable_tests
20237 wine_fn_config_makefile dlls/atl110 enable_atl110
20238 wine_fn_config_makefile dlls/atl80 enable_atl80
20239 wine_fn_config_makefile dlls/atl80/tests enable_tests
20240 wine_fn_config_makefile dlls/atl90 enable_atl90
20241 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20242 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20243 wine_fn_config_makefile dlls/atmlib enable_atmlib
20244 wine_fn_config_makefile dlls/authz enable_authz
20245 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20246 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20247 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20248 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20249 wine_fn_config_makefile dlls/avrt enable_avrt
20250 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20251 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20252 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20253 wine_fn_config_makefile dlls/browseui enable_browseui
20254 wine_fn_config_makefile dlls/browseui/tests enable_tests
20255 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20256 wine_fn_config_makefile dlls/cabinet enable_cabinet
20257 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20258 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20259 wine_fn_config_makefile dlls/cards enable_cards
20260 wine_fn_config_makefile dlls/cdosys enable_cdosys
20261 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20262 wine_fn_config_makefile dlls/clusapi enable_clusapi
20263 wine_fn_config_makefile dlls/combase enable_combase
20264 wine_fn_config_makefile dlls/combase/tests enable_tests
20265 wine_fn_config_makefile dlls/comcat enable_comcat
20266 wine_fn_config_makefile dlls/comcat/tests enable_tests
20267 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20268 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20269 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20270 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20271 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20272 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20273 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20274 wine_fn_config_makefile dlls/compstui enable_compstui
20275 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20276 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20277 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20278 wine_fn_config_makefile dlls/connect enable_connect
20279 wine_fn_config_makefile dlls/credui enable_credui
20280 wine_fn_config_makefile dlls/credui/tests enable_tests
20281 wine_fn_config_makefile dlls/crtdll enable_crtdll
20282 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20283 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20284 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20285 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20286 wine_fn_config_makefile dlls/cryptext enable_cryptext
20287 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20288 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20289 wine_fn_config_makefile dlls/cryptui enable_cryptui
20290 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20291 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20292 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20293 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20294 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20295 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20296 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20297 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20298 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20299 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20300 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20301 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20302 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20303 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20304 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20305 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20306 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20307 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20308 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20309 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20310 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20311 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20312 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20313 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20314 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20315 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20316 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20317 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20318 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20319 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20320 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20321 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20322 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20323 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20324 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20325 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20326 wine_fn_config_makefile dlls/d3dim enable_d3dim
20327 wine_fn_config_makefile dlls/d3drm enable_d3drm
20328 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20329 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20330 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20331 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20332 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20333 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20334 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20335 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20336 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20337 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20338 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20339 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20340 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20341 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20342 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20343 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20344 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20345 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20346 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20347 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20348 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20349 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20350 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20351 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20352 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20353 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20354 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20355 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20356 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20357 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20358 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20359 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20360 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20361 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20362 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20363 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20364 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20365 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20366 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20367 wine_fn_config_makefile dlls/davclnt enable_davclnt
20368 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20369 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20370 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20371 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20372 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20373 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20374 wine_fn_config_makefile dlls/ddraw enable_ddraw
20375 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20376 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20377 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20378 wine_fn_config_makefile dlls/devenum enable_devenum
20379 wine_fn_config_makefile dlls/devenum/tests enable_tests
20380 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20381 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20382 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20383 wine_fn_config_makefile dlls/difxapi enable_difxapi
20384 wine_fn_config_makefile dlls/dinput enable_dinput
20385 wine_fn_config_makefile dlls/dinput/tests enable_tests
20386 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20387 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20388 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20389 wine_fn_config_makefile dlls/dispex enable_dispex
20390 wine_fn_config_makefile dlls/dispex/tests enable_tests
20391 wine_fn_config_makefile dlls/display.drv16 enable_win16
20392 wine_fn_config_makefile dlls/dmband enable_dmband
20393 wine_fn_config_makefile dlls/dmband/tests enable_tests
20394 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20395 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20396 wine_fn_config_makefile dlls/dmime enable_dmime
20397 wine_fn_config_makefile dlls/dmime/tests enable_tests
20398 wine_fn_config_makefile dlls/dmloader enable_dmloader
20399 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20400 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20401 wine_fn_config_makefile dlls/dmscript enable_dmscript
20402 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20403 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20404 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20405 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20406 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20407 wine_fn_config_makefile dlls/dmusic enable_dmusic
20408 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20409 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20410 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20411 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20412 wine_fn_config_makefile dlls/dplay enable_dplay
20413 wine_fn_config_makefile dlls/dplayx enable_dplayx
20414 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20415 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20416 wine_fn_config_makefile dlls/dpnet enable_dpnet
20417 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20418 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20419 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20420 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20421 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20422 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20423 wine_fn_config_makefile dlls/drmclien enable_drmclien
20424 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20425 wine_fn_config_makefile dlls/dsound enable_dsound
20426 wine_fn_config_makefile dlls/dsound/tests enable_tests
20427 wine_fn_config_makefile dlls/dsquery enable_dsquery
20428 wine_fn_config_makefile dlls/dssenh enable_dssenh
20429 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20430 wine_fn_config_makefile dlls/dswave enable_dswave
20431 wine_fn_config_makefile dlls/dswave/tests enable_tests
20432 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20433 wine_fn_config_makefile dlls/dwrite enable_dwrite
20434 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20435 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20436 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20437 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20438 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20439 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20440 wine_fn_config_makefile dlls/dxgi enable_dxgi
20441 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20442 wine_fn_config_makefile dlls/dxguid enable_dxguid
20443 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20444 wine_fn_config_makefile dlls/esent enable_esent
20445 wine_fn_config_makefile dlls/evr enable_evr
20446 wine_fn_config_makefile dlls/evr/tests enable_tests
20447 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20448 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20449 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20454 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20455 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20458 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20460 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20463 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20467 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20468 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20470 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20472 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20473 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20475 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20476 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20478 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20480 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20481 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20482 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20483 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20484 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20485 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20486 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20487 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20488 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20489 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
20490 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20491 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20492 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20493 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20494 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20497 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20498 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20499 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20500 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20501 wine_fn_config_makefile dlls/faultrep enable_faultrep
20502 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20503 wine_fn_config_makefile dlls/feclient enable_feclient
20504 wine_fn_config_makefile dlls/fltlib enable_fltlib
20505 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20506 wine_fn_config_makefile dlls/fntcache enable_fntcache
20507 wine_fn_config_makefile dlls/fontsub enable_fontsub
20508 wine_fn_config_makefile dlls/fusion enable_fusion
20509 wine_fn_config_makefile dlls/fusion/tests enable_tests
20510 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20511 wine_fn_config_makefile dlls/gameux enable_gameux
20512 wine_fn_config_makefile dlls/gameux/tests enable_tests
20513 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20514 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20515 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20516 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20517 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20518 wine_fn_config_makefile dlls/glu32 enable_glu32
20519 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20520 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20521 wine_fn_config_makefile dlls/hal enable_hal
20522 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20523 wine_fn_config_makefile dlls/hid enable_hid
20524 wine_fn_config_makefile dlls/hid/tests enable_tests
20525 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20526 wine_fn_config_makefile dlls/hlink enable_hlink
20527 wine_fn_config_makefile dlls/hlink/tests enable_tests
20528 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20529 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20530 wine_fn_config_makefile dlls/http.sys enable_http_sys
20531 wine_fn_config_makefile dlls/httpapi enable_httpapi
20532 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20533 wine_fn_config_makefile dlls/iccvid enable_iccvid
20534 wine_fn_config_makefile dlls/icmp enable_icmp
20535 wine_fn_config_makefile dlls/ieframe enable_ieframe
20536 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20537 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20538 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20539 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20540 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20541 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20542 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20543 wine_fn_config_makefile dlls/imm32 enable_imm32
20544 wine_fn_config_makefile dlls/imm32/tests enable_tests
20545 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20546 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20547 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20548 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20549 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20550 wine_fn_config_makefile dlls/infosoft enable_infosoft
20551 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20552 wine_fn_config_makefile dlls/initpki enable_initpki
20553 wine_fn_config_makefile dlls/inkobj enable_inkobj
20554 wine_fn_config_makefile dlls/inseng enable_inseng
20555 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20556 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20557 wine_fn_config_makefile dlls/iprop enable_iprop
20558 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20559 wine_fn_config_makefile dlls/itircl enable_itircl
20560 wine_fn_config_makefile dlls/itss enable_itss
20561 wine_fn_config_makefile dlls/itss/tests enable_tests
20562 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20563 wine_fn_config_makefile dlls/jscript enable_jscript
20564 wine_fn_config_makefile dlls/jscript/tests enable_tests
20565 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20566 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20567 wine_fn_config_makefile dlls/kerberos enable_kerberos
20568 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20569 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20570 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20571 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20572 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20573 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20574 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20575 wine_fn_config_makefile dlls/ksuser enable_ksuser
20576 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20577 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20578 wine_fn_config_makefile dlls/loadperf enable_loadperf
20579 wine_fn_config_makefile dlls/localspl enable_localspl
20580 wine_fn_config_makefile dlls/localspl/tests enable_tests
20581 wine_fn_config_makefile dlls/localui enable_localui
20582 wine_fn_config_makefile dlls/localui/tests enable_tests
20583 wine_fn_config_makefile dlls/lz32 enable_lz32
20584 wine_fn_config_makefile dlls/lz32/tests enable_tests
20585 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20586 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20587 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20588 wine_fn_config_makefile dlls/mapistub enable_mapistub
20589 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20590 wine_fn_config_makefile dlls/mcicda enable_mcicda
20591 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20592 wine_fn_config_makefile dlls/mciseq enable_mciseq
20593 wine_fn_config_makefile dlls/mciwave enable_mciwave
20594 wine_fn_config_makefile dlls/mf enable_mf
20595 wine_fn_config_makefile dlls/mf/tests enable_tests
20596 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20597 wine_fn_config_makefile dlls/mferror enable_mferror
20598 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20599 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20600 wine_fn_config_makefile dlls/mfplat enable_mfplat
20601 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20602 wine_fn_config_makefile dlls/mfplay enable_mfplay
20603 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20604 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20605 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20606 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20607 wine_fn_config_makefile dlls/midimap enable_midimap
20608 wine_fn_config_makefile dlls/mlang enable_mlang
20609 wine_fn_config_makefile dlls/mlang/tests enable_tests
20610 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20611 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20612 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20613 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20614 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20615 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20616 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20617 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20618 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20619 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20620 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20621 wine_fn_config_makefile dlls/mpr enable_mpr
20622 wine_fn_config_makefile dlls/mpr/tests enable_tests
20623 wine_fn_config_makefile dlls/mprapi enable_mprapi
20624 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20625 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20626 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20627 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20628 wine_fn_config_makefile dlls/msado15 enable_msado15
20629 wine_fn_config_makefile dlls/msado15/tests enable_tests
20630 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20631 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20632 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20633 wine_fn_config_makefile dlls/mscms enable_mscms
20634 wine_fn_config_makefile dlls/mscms/tests enable_tests
20635 wine_fn_config_makefile dlls/mscoree enable_mscoree
20636 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20637 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20638 wine_fn_config_makefile dlls/msctf enable_msctf
20639 wine_fn_config_makefile dlls/msctf/tests enable_tests
20640 wine_fn_config_makefile dlls/msctfp enable_msctfp
20641 wine_fn_config_makefile dlls/msdaps enable_msdaps
20642 wine_fn_config_makefile dlls/msdelta enable_msdelta
20643 wine_fn_config_makefile dlls/msdmo enable_msdmo
20644 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20645 wine_fn_config_makefile dlls/msdrm enable_msdrm
20646 wine_fn_config_makefile dlls/msftedit enable_msftedit
20647 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20648 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20649 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20650 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20651 wine_fn_config_makefile dlls/mshtml enable_mshtml
20652 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20653 wine_fn_config_makefile dlls/msi enable_msi
20654 wine_fn_config_makefile dlls/msi/tests enable_tests
20655 wine_fn_config_makefile dlls/msident enable_msident
20656 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20657 wine_fn_config_makefile dlls/msimsg enable_msimsg
20658 wine_fn_config_makefile dlls/msimtf enable_msimtf
20659 wine_fn_config_makefile dlls/msisip enable_msisip
20660 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20661 wine_fn_config_makefile dlls/msls31 enable_msls31
20662 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20663 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20664 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20665 wine_fn_config_makefile dlls/msports enable_msports
20666 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20667 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20668 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20669 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20670 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20671 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20672 wine_fn_config_makefile dlls/mstask enable_mstask
20673 wine_fn_config_makefile dlls/mstask/tests enable_tests
20674 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20675 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20676 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20677 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20678 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20679 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20680 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20681 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20682 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20683 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20684 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20685 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20686 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20687 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20688 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20689 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20690 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20691 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20692 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20693 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20694 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20695 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20696 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20697 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20698 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20699 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20700 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20701 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20702 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20703 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20704 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20705 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20706 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20707 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20708 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20709 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20710 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20711 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20712 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20713 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20714 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20715 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20716 wine_fn_config_makefile dlls/mswsock enable_mswsock
20717 wine_fn_config_makefile dlls/msxml enable_msxml
20718 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20719 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20720 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20721 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20722 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20723 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20724 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20725 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20726 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20727 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20728 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20729 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20730 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20731 wine_fn_config_makefile dlls/netprofm enable_netprofm
20732 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20733 wine_fn_config_makefile dlls/newdev enable_newdev
20734 wine_fn_config_makefile dlls/ninput enable_ninput
20735 wine_fn_config_makefile dlls/ninput/tests enable_tests
20736 wine_fn_config_makefile dlls/normaliz enable_normaliz
20737 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20738 wine_fn_config_makefile dlls/npptools enable_npptools
20739 wine_fn_config_makefile dlls/ntdll enable_ntdll
20740 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20741 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20742 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20743 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20744 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20745 wine_fn_config_makefile dlls/ntprint enable_ntprint
20746 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20747 wine_fn_config_makefile dlls/objsel enable_objsel
20748 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20749 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20750 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20751 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20752 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20753 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20754 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20755 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20756 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20757 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20758 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20759 wine_fn_config_makefile dlls/ole32 enable_ole32
20760 wine_fn_config_makefile dlls/ole32/tests enable_tests
20761 wine_fn_config_makefile dlls/oleacc enable_oleacc
20762 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20763 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20764 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20765 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20766 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20767 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20768 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20769 wine_fn_config_makefile dlls/oledlg enable_oledlg
20770 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20771 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20772 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20773 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20774 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20775 wine_fn_config_makefile dlls/opcservices enable_opcservices
20776 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20777 wine_fn_config_makefile dlls/openal32 enable_openal32
20778 wine_fn_config_makefile dlls/opencl enable_opencl
20779 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20780 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20781 wine_fn_config_makefile dlls/packager enable_packager
20782 wine_fn_config_makefile dlls/packager/tests enable_tests
20783 wine_fn_config_makefile dlls/pdh enable_pdh
20784 wine_fn_config_makefile dlls/pdh/tests enable_tests
20785 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20786 wine_fn_config_makefile dlls/pidgen enable_pidgen
20787 wine_fn_config_makefile dlls/powrprof enable_powrprof
20788 wine_fn_config_makefile dlls/printui enable_printui
20789 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20790 wine_fn_config_makefile dlls/propsys enable_propsys
20791 wine_fn_config_makefile dlls/propsys/tests enable_tests
20792 wine_fn_config_makefile dlls/psapi enable_psapi
20793 wine_fn_config_makefile dlls/psapi/tests enable_tests
20794 wine_fn_config_makefile dlls/pstorec enable_pstorec
20795 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20796 wine_fn_config_makefile dlls/qcap enable_qcap
20797 wine_fn_config_makefile dlls/qcap/tests enable_tests
20798 wine_fn_config_makefile dlls/qedit enable_qedit
20799 wine_fn_config_makefile dlls/qedit/tests enable_tests
20800 wine_fn_config_makefile dlls/qmgr enable_qmgr
20801 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20802 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20803 wine_fn_config_makefile dlls/quartz enable_quartz
20804 wine_fn_config_makefile dlls/quartz/tests enable_tests
20805 wine_fn_config_makefile dlls/query enable_query
20806 wine_fn_config_makefile dlls/qwave enable_qwave
20807 wine_fn_config_makefile dlls/qwave/tests enable_tests
20808 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20809 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20810 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20811 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20812 wine_fn_config_makefile dlls/regapi enable_regapi
20813 wine_fn_config_makefile dlls/resutils enable_resutils
20814 wine_fn_config_makefile dlls/riched20 enable_riched20
20815 wine_fn_config_makefile dlls/riched20/tests enable_tests
20816 wine_fn_config_makefile dlls/riched32 enable_riched32
20817 wine_fn_config_makefile dlls/riched32/tests enable_tests
20818 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20819 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20820 wine_fn_config_makefile dlls/rsabase enable_rsabase
20821 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20822 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20823 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20824 wine_fn_config_makefile dlls/rtutils enable_rtutils
20825 wine_fn_config_makefile dlls/samlib enable_samlib
20826 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20827 wine_fn_config_makefile dlls/sapi enable_sapi
20828 wine_fn_config_makefile dlls/sapi/tests enable_tests
20829 wine_fn_config_makefile dlls/sas enable_sas
20830 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20831 wine_fn_config_makefile dlls/sccbase enable_sccbase
20832 wine_fn_config_makefile dlls/schannel enable_schannel
20833 wine_fn_config_makefile dlls/schannel/tests enable_tests
20834 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20835 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20836 wine_fn_config_makefile dlls/scrobj enable_scrobj
20837 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20838 wine_fn_config_makefile dlls/scrrun enable_scrrun
20839 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20840 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20841 wine_fn_config_makefile dlls/secur32 enable_secur32
20842 wine_fn_config_makefile dlls/secur32/tests enable_tests
20843 wine_fn_config_makefile dlls/security enable_security
20844 wine_fn_config_makefile dlls/sensapi enable_sensapi
20845 wine_fn_config_makefile dlls/serialui enable_serialui
20846 wine_fn_config_makefile dlls/serialui/tests enable_tests
20847 wine_fn_config_makefile dlls/setupapi enable_setupapi
20848 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20849 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20850 wine_fn_config_makefile dlls/sfc enable_sfc
20851 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20852 wine_fn_config_makefile dlls/shcore enable_shcore
20853 wine_fn_config_makefile dlls/shcore/tests enable_tests
20854 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20855 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20856 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20857 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20858 wine_fn_config_makefile dlls/shell32 enable_shell32
20859 wine_fn_config_makefile dlls/shell32/tests enable_tests
20860 wine_fn_config_makefile dlls/shfolder enable_shfolder
20861 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20862 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20863 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20864 wine_fn_config_makefile dlls/slc enable_slc
20865 wine_fn_config_makefile dlls/slc/tests enable_tests
20866 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20867 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20868 wine_fn_config_makefile dlls/softpub enable_softpub
20869 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20870 wine_fn_config_makefile dlls/spoolss enable_spoolss
20871 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20872 wine_fn_config_makefile dlls/srclient enable_srclient
20873 wine_fn_config_makefile dlls/sspicli enable_sspicli
20874 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20875 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20876 wine_fn_config_makefile dlls/sti enable_sti
20877 wine_fn_config_makefile dlls/sti/tests enable_tests
20878 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20879 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20880 wine_fn_config_makefile dlls/strmbase enable_strmbase
20881 wine_fn_config_makefile dlls/strmdll enable_strmdll
20882 wine_fn_config_makefile dlls/strmiids enable_strmiids
20883 wine_fn_config_makefile dlls/svrapi enable_svrapi
20884 wine_fn_config_makefile dlls/sxs enable_sxs
20885 wine_fn_config_makefile dlls/sxs/tests enable_tests
20886 wine_fn_config_makefile dlls/system.drv16 enable_win16
20887 wine_fn_config_makefile dlls/t2embed enable_t2embed
20888 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20889 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20890 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20891 wine_fn_config_makefile dlls/taskschd enable_taskschd
20892 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20893 wine_fn_config_makefile dlls/tdh enable_tdh
20894 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20895 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20896 wine_fn_config_makefile dlls/traffic enable_traffic
20897 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20898 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20899 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20900 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20901 wine_fn_config_makefile dlls/tzres enable_tzres
20902 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20903 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20904 wine_fn_config_makefile dlls/uianimation enable_uianimation
20905 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20906 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20907 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20908 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20909 wine_fn_config_makefile dlls/unicows enable_unicows
20910 wine_fn_config_makefile dlls/updspapi enable_updspapi
20911 wine_fn_config_makefile dlls/url enable_url
20912 wine_fn_config_makefile dlls/urlmon enable_urlmon
20913 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20914 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20915 wine_fn_config_makefile dlls/user.exe16 enable_win16
20916 wine_fn_config_makefile dlls/user32 enable_user32
20917 wine_fn_config_makefile dlls/user32/tests enable_tests
20918 wine_fn_config_makefile dlls/userenv enable_userenv
20919 wine_fn_config_makefile dlls/userenv/tests enable_tests
20920 wine_fn_config_makefile dlls/usp10 enable_usp10
20921 wine_fn_config_makefile dlls/usp10/tests enable_tests
20922 wine_fn_config_makefile dlls/utildll enable_utildll
20923 wine_fn_config_makefile dlls/uuid enable_uuid
20924 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20925 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20926 wine_fn_config_makefile dlls/vbscript enable_vbscript
20927 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20928 wine_fn_config_makefile dlls/vcomp enable_vcomp
20929 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20930 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20931 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20932 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20933 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20934 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20935 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20936 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20937 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20938 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20939 wine_fn_config_makefile dlls/version enable_version
20940 wine_fn_config_makefile dlls/version/tests enable_tests
20941 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20942 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20943 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20944 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20945 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20946 wine_fn_config_makefile dlls/vssapi enable_vssapi
20947 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20948 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20949 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20950 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20951 wine_fn_config_makefile dlls/w32skrnl enable_win16
20952 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20953 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20954 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20955 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20956 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20957 wine_fn_config_makefile dlls/wdscore enable_wdscore
20958 wine_fn_config_makefile dlls/webservices enable_webservices
20959 wine_fn_config_makefile dlls/webservices/tests enable_tests
20960 wine_fn_config_makefile dlls/wer enable_wer
20961 wine_fn_config_makefile dlls/wer/tests enable_tests
20962 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20963 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20964 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20965 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20966 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20967 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20968 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20969 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20970 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20971 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20972 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20973 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20974 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20975 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20976 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20977 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20978 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20979 wine_fn_config_makefile dlls/wined3d enable_wined3d
20980 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20981 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20982 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20983 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20984 wine_fn_config_makefile dlls/winemapi enable_winemapi
20985 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20986 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20987 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20988 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20989 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20990 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20991 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20992 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20993 wine_fn_config_makefile dlls/wing32 enable_wing32
20994 wine_fn_config_makefile dlls/winhttp enable_winhttp
20995 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20996 wine_fn_config_makefile dlls/wininet enable_wininet
20997 wine_fn_config_makefile dlls/wininet/tests enable_tests
20998 wine_fn_config_makefile dlls/winmm enable_winmm
20999 wine_fn_config_makefile dlls/winmm/tests enable_tests
21000 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21001 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21002 wine_fn_config_makefile dlls/winscard enable_winscard
21003 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21004 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21005 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21006 wine_fn_config_makefile dlls/winsta enable_winsta
21007 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21008 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21009 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21010 wine_fn_config_makefile dlls/wintrust enable_wintrust
21011 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21012 wine_fn_config_makefile dlls/winusb enable_winusb
21013 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21014 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21015 wine_fn_config_makefile dlls/wlanui enable_wlanui
21016 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21017 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21018 wine_fn_config_makefile dlls/wmasf enable_wmasf
21019 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21020 wine_fn_config_makefile dlls/wmi enable_wmi
21021 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21022 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21023 wine_fn_config_makefile dlls/wmp enable_wmp
21024 wine_fn_config_makefile dlls/wmp/tests enable_tests
21025 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21026 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21027 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21028 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21029 wine_fn_config_makefile dlls/wow32 enable_win16
21030 wine_fn_config_makefile dlls/wpc enable_wpc
21031 wine_fn_config_makefile dlls/wpc/tests enable_tests
21032 wine_fn_config_makefile dlls/wpcap enable_wpcap
21033 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21034 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21035 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21036 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21037 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21038 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21039 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21040 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21041 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21042 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21043 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21044 wine_fn_config_makefile dlls/wuapi enable_wuapi
21045 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21046 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21047 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21048 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21049 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21050 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21051 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21052 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21053 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21054 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21055 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21056 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21057 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21058 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21059 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21060 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21061 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21062 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21063 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21064 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21065 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21066 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21067 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21068 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21069 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21070 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21071 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21072 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21073 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21074 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21075 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21076 wine_fn_config_makefile dlls/xmllite enable_xmllite
21077 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21078 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21079 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21080 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21081 wine_fn_config_makefile fonts enable_fonts
21082 wine_fn_config_makefile include enable_include
21083 wine_fn_config_makefile libs/port enable_port
21084 wine_fn_config_makefile libs/wine enable_wine
21085 wine_fn_config_makefile libs/wpp enable_wpp
21086 wine_fn_config_makefile loader enable_loader
21087 wine_fn_config_makefile po enable_po
21088 wine_fn_config_makefile programs/arp enable_arp
21089 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21090 wine_fn_config_makefile programs/attrib enable_attrib
21091 wine_fn_config_makefile programs/cabarc enable_cabarc
21092 wine_fn_config_makefile programs/cacls enable_cacls
21093 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21094 wine_fn_config_makefile programs/clock enable_clock
21095 wine_fn_config_makefile programs/cmd enable_cmd
21096 wine_fn_config_makefile programs/cmd/tests enable_tests
21097 wine_fn_config_makefile programs/conhost enable_conhost
21098 wine_fn_config_makefile programs/control enable_control
21099 wine_fn_config_makefile programs/cscript enable_cscript
21100 wine_fn_config_makefile programs/dism enable_dism
21101 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21102 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21103 wine_fn_config_makefile programs/eject enable_eject
21104 wine_fn_config_makefile programs/expand enable_expand
21105 wine_fn_config_makefile programs/explorer enable_explorer
21106 wine_fn_config_makefile programs/extrac32 enable_extrac32
21107 wine_fn_config_makefile programs/fc enable_fc
21108 wine_fn_config_makefile programs/find enable_find
21109 wine_fn_config_makefile programs/find/tests enable_tests
21110 wine_fn_config_makefile programs/findstr enable_findstr
21111 wine_fn_config_makefile programs/fsutil enable_fsutil
21112 wine_fn_config_makefile programs/hh enable_hh
21113 wine_fn_config_makefile programs/hostname enable_hostname
21114 wine_fn_config_makefile programs/icacls enable_icacls
21115 wine_fn_config_makefile programs/icinfo enable_icinfo
21116 wine_fn_config_makefile programs/iexplore enable_iexplore
21117 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21118 wine_fn_config_makefile programs/lodctr enable_lodctr
21119 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21120 wine_fn_config_makefile programs/mshta enable_mshta
21121 wine_fn_config_makefile programs/msidb enable_msidb
21122 wine_fn_config_makefile programs/msiexec enable_msiexec
21123 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21124 wine_fn_config_makefile programs/net enable_net
21125 wine_fn_config_makefile programs/netsh enable_netsh
21126 wine_fn_config_makefile programs/netstat enable_netstat
21127 wine_fn_config_makefile programs/ngen enable_ngen
21128 wine_fn_config_makefile programs/notepad enable_notepad
21129 wine_fn_config_makefile programs/oleview enable_oleview
21130 wine_fn_config_makefile programs/ping enable_ping
21131 wine_fn_config_makefile programs/plugplay enable_plugplay
21132 wine_fn_config_makefile programs/powershell enable_powershell
21133 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21134 wine_fn_config_makefile programs/progman enable_progman
21135 wine_fn_config_makefile programs/reg enable_reg
21136 wine_fn_config_makefile programs/reg/tests enable_tests
21137 wine_fn_config_makefile programs/regasm enable_regasm
21138 wine_fn_config_makefile programs/regedit enable_regedit
21139 wine_fn_config_makefile programs/regedit/tests enable_tests
21140 wine_fn_config_makefile programs/regini enable_regini
21141 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21142 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21143 wine_fn_config_makefile programs/rpcss enable_rpcss
21144 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21145 wine_fn_config_makefile programs/rundll32 enable_rundll32
21146 wine_fn_config_makefile programs/sc enable_sc
21147 wine_fn_config_makefile programs/schtasks enable_schtasks
21148 wine_fn_config_makefile programs/schtasks/tests enable_tests
21149 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21150 wine_fn_config_makefile programs/secedit enable_secedit
21151 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21152 wine_fn_config_makefile programs/services enable_services
21153 wine_fn_config_makefile programs/services/tests enable_tests
21154 wine_fn_config_makefile programs/shutdown enable_shutdown
21155 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21156 wine_fn_config_makefile programs/start enable_start
21157 wine_fn_config_makefile programs/subst enable_subst
21158 wine_fn_config_makefile programs/svchost enable_svchost
21159 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21160 wine_fn_config_makefile programs/taskkill enable_taskkill
21161 wine_fn_config_makefile programs/tasklist enable_tasklist
21162 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21163 wine_fn_config_makefile programs/termsv enable_termsv
21164 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21165 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21166 wine_fn_config_makefile programs/view enable_view
21167 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21168 wine_fn_config_makefile programs/wineboot enable_wineboot
21169 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21170 wine_fn_config_makefile programs/winecfg enable_winecfg
21171 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21172 wine_fn_config_makefile programs/winedbg enable_winedbg
21173 wine_fn_config_makefile programs/winedevice enable_winedevice
21174 wine_fn_config_makefile programs/winefile enable_winefile
21175 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21176 wine_fn_config_makefile programs/winemine enable_winemine
21177 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21178 wine_fn_config_makefile programs/winepath enable_winepath
21179 wine_fn_config_makefile programs/winetest enable_winetest
21180 wine_fn_config_makefile programs/winevdm enable_win16
21181 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21182 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21183 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21184 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21185 wine_fn_config_makefile programs/winver enable_winver
21186 wine_fn_config_makefile programs/wmic enable_wmic
21187 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21188 wine_fn_config_makefile programs/wordpad enable_wordpad
21189 wine_fn_config_makefile programs/write enable_write
21190 wine_fn_config_makefile programs/wscript enable_wscript
21191 wine_fn_config_makefile programs/wscript/tests enable_tests
21192 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21193 wine_fn_config_makefile programs/wusa enable_wusa
21194 wine_fn_config_makefile programs/xcopy enable_xcopy
21195 wine_fn_config_makefile programs/xcopy/tests enable_tests
21196 wine_fn_config_makefile server enable_server
21197 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21198 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21199 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21200 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21201 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21202 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21203 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21204 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21205 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21208 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21209 wine_fn_append_file CONFIGURE_TARGETS "tags"
21210 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21211 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21212 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21213 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21214 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21215 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21217 if test "x$enable_tools" != xno
21218 then
21219 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21220 ac_config_commands="$ac_config_commands tools/makedep"
21224 ac_config_commands="$ac_config_commands Makefile"
21227 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21231 if test "x$enable_maintainer_mode" = xyes
21232 then
21233 wine_fn_append_rule "configure: configure.ac aclocal.m4
21234 autoconf --warnings=all
21235 include/config.h.in: include/stamp-h.in
21236 include/stamp-h.in: configure.ac aclocal.m4
21237 autoheader --warnings=all
21238 @echo timestamp > \$@"
21241 if test "x$enable_tools" != xno
21242 then
21243 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21244 @./config.status tools/makedep
21245 Makefile: tools/makedep$ac_exeext
21246 fonts: tools/sfnt2fon
21247 include: tools tools/widl"
21248 else
21249 wine_fn_append_rule "\$(MAKEDEP):
21250 @echo \"You need to run make in $TOOLSDIR first\" && false"
21253 if test -n "$with_wine64"
21254 then
21255 case "$with_wine64" in
21256 /*) reldir="" ;;
21257 *) reldir="../" ;;
21258 esac
21259 rm -f fonts server 2>/dev/null
21260 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21261 loader/wine64 loader/wine64-preloader:
21262 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21263 $with_wine64/loader/wine:
21264 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21265 $with_wine64/loader/wine-preloader:
21266 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21267 clean::
21268 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21269 else
21270 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21271 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21272 fonts \
21273 loader/l_intl.nls \
21274 loader/wine.inf \
21275 loader/winebus.inf \
21276 loader/winehid.inf \
21277 programs/msidb/msidb \
21278 programs/msiexec/msiexec \
21279 programs/notepad/notepad \
21280 programs/regedit/regedit \
21281 programs/regsvr32/regsvr32 \
21282 programs/wineboot/wineboot \
21283 programs/winecfg/winecfg \
21284 programs/wineconsole/wineconsole \
21285 programs/winedbg/winedbg \
21286 programs/winefile/winefile \
21287 programs/winemine/winemine \
21288 programs/winepath/winepath \
21289 server/wineserver"
21291 case $host_os in
21292 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21293 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21294 esac
21297 $as_echo " done" >&6
21298 cat >confcache <<\_ACEOF
21299 # This file is a shell script that caches the results of configure
21300 # tests run on this system so they can be shared between configure
21301 # scripts and configure runs, see configure's option --config-cache.
21302 # It is not useful on other systems. If it contains results you don't
21303 # want to keep, you may remove or edit it.
21305 # config.status only pays attention to the cache file if you give it
21306 # the --recheck option to rerun configure.
21308 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21309 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21310 # following values.
21312 _ACEOF
21314 # The following way of writing the cache mishandles newlines in values,
21315 # but we know of no workaround that is simple, portable, and efficient.
21316 # So, we kill variables containing newlines.
21317 # Ultrix sh set writes to stderr and can't be redirected directly,
21318 # and sets the high bit in the cache file unless we assign to the vars.
21320 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21321 eval ac_val=\$$ac_var
21322 case $ac_val in #(
21323 *${as_nl}*)
21324 case $ac_var in #(
21325 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21326 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21327 esac
21328 case $ac_var in #(
21329 _ | IFS | as_nl) ;; #(
21330 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21331 *) { eval $ac_var=; unset $ac_var;} ;;
21332 esac ;;
21333 esac
21334 done
21336 (set) 2>&1 |
21337 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21338 *${as_nl}ac_space=\ *)
21339 # `set' does not quote correctly, so add quotes: double-quote
21340 # substitution turns \\\\ into \\, and sed turns \\ into \.
21341 sed -n \
21342 "s/'/'\\\\''/g;
21343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21344 ;; #(
21346 # `set' quotes correctly as required by POSIX, so do not add quotes.
21347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21349 esac |
21350 sort
21352 sed '
21353 /^ac_cv_env_/b end
21354 t clear
21355 :clear
21356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21357 t end
21358 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21359 :end' >>confcache
21360 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21361 if test -w "$cache_file"; then
21362 if test "x$cache_file" != "x/dev/null"; then
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21364 $as_echo "$as_me: updating cache $cache_file" >&6;}
21365 if test ! -f "$cache_file" || test -h "$cache_file"; then
21366 cat confcache >"$cache_file"
21367 else
21368 case $cache_file in #(
21369 */* | ?:*)
21370 mv -f confcache "$cache_file"$$ &&
21371 mv -f "$cache_file"$$ "$cache_file" ;; #(
21373 mv -f confcache "$cache_file" ;;
21374 esac
21377 else
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21379 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21382 rm -f confcache
21384 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21385 # Let make expand exec_prefix.
21386 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21388 DEFS=-DHAVE_CONFIG_H
21390 ac_libobjs=
21391 ac_ltlibobjs=
21393 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21394 # 1. Remove the extension, and $U if already installed.
21395 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21396 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21397 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21398 # will be set to the directory where LIBOBJS objects are built.
21399 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21400 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21401 done
21402 LIBOBJS=$ac_libobjs
21404 LTLIBOBJS=$ac_ltlibobjs
21408 : "${CONFIG_STATUS=./config.status}"
21409 ac_write_fail=0
21410 ac_clean_files_save=$ac_clean_files
21411 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21413 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21414 as_write_fail=0
21415 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21416 #! $SHELL
21417 # Generated by $as_me.
21418 # Run this file to recreate the current configuration.
21419 # Compiler output produced by configure, useful for debugging
21420 # configure, is in config.log if it exists.
21422 debug=false
21423 ac_cs_recheck=false
21424 ac_cs_silent=false
21426 SHELL=\${CONFIG_SHELL-$SHELL}
21427 export SHELL
21428 _ASEOF
21429 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21430 ## -------------------- ##
21431 ## M4sh Initialization. ##
21432 ## -------------------- ##
21434 # Be more Bourne compatible
21435 DUALCASE=1; export DUALCASE # for MKS sh
21436 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21437 emulate sh
21438 NULLCMD=:
21439 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21440 # is contrary to our usage. Disable this feature.
21441 alias -g '${1+"$@"}'='"$@"'
21442 setopt NO_GLOB_SUBST
21443 else
21444 case `(set -o) 2>/dev/null` in #(
21445 *posix*) :
21446 set -o posix ;; #(
21447 *) :
21449 esac
21453 as_nl='
21455 export as_nl
21456 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21457 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21458 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21460 # Prefer a ksh shell builtin over an external printf program on Solaris,
21461 # but without wasting forks for bash or zsh.
21462 if test -z "$BASH_VERSION$ZSH_VERSION" \
21463 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21464 as_echo='print -r --'
21465 as_echo_n='print -rn --'
21466 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21467 as_echo='printf %s\n'
21468 as_echo_n='printf %s'
21469 else
21470 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21471 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21472 as_echo_n='/usr/ucb/echo -n'
21473 else
21474 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21475 as_echo_n_body='eval
21476 arg=$1;
21477 case $arg in #(
21478 *"$as_nl"*)
21479 expr "X$arg" : "X\\(.*\\)$as_nl";
21480 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21481 esac;
21482 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21484 export as_echo_n_body
21485 as_echo_n='sh -c $as_echo_n_body as_echo'
21487 export as_echo_body
21488 as_echo='sh -c $as_echo_body as_echo'
21491 # The user is always right.
21492 if test "${PATH_SEPARATOR+set}" != set; then
21493 PATH_SEPARATOR=:
21494 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21495 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21496 PATH_SEPARATOR=';'
21501 # IFS
21502 # We need space, tab and new line, in precisely that order. Quoting is
21503 # there to prevent editors from complaining about space-tab.
21504 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21505 # splitting by setting IFS to empty value.)
21506 IFS=" "" $as_nl"
21508 # Find who we are. Look in the path if we contain no directory separator.
21509 as_myself=
21510 case $0 in #((
21511 *[\\/]* ) as_myself=$0 ;;
21512 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21513 for as_dir in $PATH
21515 IFS=$as_save_IFS
21516 test -z "$as_dir" && as_dir=.
21517 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21518 done
21519 IFS=$as_save_IFS
21522 esac
21523 # We did not find ourselves, most probably we were run as `sh COMMAND'
21524 # in which case we are not to be found in the path.
21525 if test "x$as_myself" = x; then
21526 as_myself=$0
21528 if test ! -f "$as_myself"; then
21529 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21530 exit 1
21533 # Unset variables that we do not need and which cause bugs (e.g. in
21534 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21535 # suppresses any "Segmentation fault" message there. '((' could
21536 # trigger a bug in pdksh 5.2.14.
21537 for as_var in BASH_ENV ENV MAIL MAILPATH
21538 do eval test x\${$as_var+set} = xset \
21539 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21540 done
21541 PS1='$ '
21542 PS2='> '
21543 PS4='+ '
21545 # NLS nuisances.
21546 LC_ALL=C
21547 export LC_ALL
21548 LANGUAGE=C
21549 export LANGUAGE
21551 # CDPATH.
21552 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21555 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21556 # ----------------------------------------
21557 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21558 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21559 # script with STATUS, using 1 if that was 0.
21560 as_fn_error ()
21562 as_status=$1; test $as_status -eq 0 && as_status=1
21563 if test "$4"; then
21564 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21565 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21567 $as_echo "$as_me: error: $2" >&2
21568 as_fn_exit $as_status
21569 } # as_fn_error
21572 # as_fn_set_status STATUS
21573 # -----------------------
21574 # Set $? to STATUS, without forking.
21575 as_fn_set_status ()
21577 return $1
21578 } # as_fn_set_status
21580 # as_fn_exit STATUS
21581 # -----------------
21582 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21583 as_fn_exit ()
21585 set +e
21586 as_fn_set_status $1
21587 exit $1
21588 } # as_fn_exit
21590 # as_fn_unset VAR
21591 # ---------------
21592 # Portably unset VAR.
21593 as_fn_unset ()
21595 { eval $1=; unset $1;}
21597 as_unset=as_fn_unset
21598 # as_fn_append VAR VALUE
21599 # ----------------------
21600 # Append the text in VALUE to the end of the definition contained in VAR. Take
21601 # advantage of any shell optimizations that allow amortized linear growth over
21602 # repeated appends, instead of the typical quadratic growth present in naive
21603 # implementations.
21604 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21605 eval 'as_fn_append ()
21607 eval $1+=\$2
21609 else
21610 as_fn_append ()
21612 eval $1=\$$1\$2
21614 fi # as_fn_append
21616 # as_fn_arith ARG...
21617 # ------------------
21618 # Perform arithmetic evaluation on the ARGs, and store the result in the
21619 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21620 # must be portable across $(()) and expr.
21621 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21622 eval 'as_fn_arith ()
21624 as_val=$(( $* ))
21626 else
21627 as_fn_arith ()
21629 as_val=`expr "$@" || test $? -eq 1`
21631 fi # as_fn_arith
21634 if expr a : '\(a\)' >/dev/null 2>&1 &&
21635 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21636 as_expr=expr
21637 else
21638 as_expr=false
21641 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21642 as_basename=basename
21643 else
21644 as_basename=false
21647 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21648 as_dirname=dirname
21649 else
21650 as_dirname=false
21653 as_me=`$as_basename -- "$0" ||
21654 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21655 X"$0" : 'X\(//\)$' \| \
21656 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21657 $as_echo X/"$0" |
21658 sed '/^.*\/\([^/][^/]*\)\/*$/{
21659 s//\1/
21662 /^X\/\(\/\/\)$/{
21663 s//\1/
21666 /^X\/\(\/\).*/{
21667 s//\1/
21670 s/.*/./; q'`
21672 # Avoid depending upon Character Ranges.
21673 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21674 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21675 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21676 as_cr_digits='0123456789'
21677 as_cr_alnum=$as_cr_Letters$as_cr_digits
21679 ECHO_C= ECHO_N= ECHO_T=
21680 case `echo -n x` in #(((((
21681 -n*)
21682 case `echo 'xy\c'` in
21683 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21684 xy) ECHO_C='\c';;
21685 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21686 ECHO_T=' ';;
21687 esac;;
21689 ECHO_N='-n';;
21690 esac
21692 rm -f conf$$ conf$$.exe conf$$.file
21693 if test -d conf$$.dir; then
21694 rm -f conf$$.dir/conf$$.file
21695 else
21696 rm -f conf$$.dir
21697 mkdir conf$$.dir 2>/dev/null
21699 if (echo >conf$$.file) 2>/dev/null; then
21700 if ln -s conf$$.file conf$$ 2>/dev/null; then
21701 as_ln_s='ln -s'
21702 # ... but there are two gotchas:
21703 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21704 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21705 # In both cases, we have to default to `cp -pR'.
21706 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21707 as_ln_s='cp -pR'
21708 elif ln conf$$.file conf$$ 2>/dev/null; then
21709 as_ln_s=ln
21710 else
21711 as_ln_s='cp -pR'
21713 else
21714 as_ln_s='cp -pR'
21716 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21717 rmdir conf$$.dir 2>/dev/null
21720 # as_fn_mkdir_p
21721 # -------------
21722 # Create "$as_dir" as a directory, including parents if necessary.
21723 as_fn_mkdir_p ()
21726 case $as_dir in #(
21727 -*) as_dir=./$as_dir;;
21728 esac
21729 test -d "$as_dir" || eval $as_mkdir_p || {
21730 as_dirs=
21731 while :; do
21732 case $as_dir in #(
21733 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21734 *) as_qdir=$as_dir;;
21735 esac
21736 as_dirs="'$as_qdir' $as_dirs"
21737 as_dir=`$as_dirname -- "$as_dir" ||
21738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21739 X"$as_dir" : 'X\(//\)[^/]' \| \
21740 X"$as_dir" : 'X\(//\)$' \| \
21741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21742 $as_echo X"$as_dir" |
21743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21744 s//\1/
21747 /^X\(\/\/\)[^/].*/{
21748 s//\1/
21751 /^X\(\/\/\)$/{
21752 s//\1/
21755 /^X\(\/\).*/{
21756 s//\1/
21759 s/.*/./; q'`
21760 test -d "$as_dir" && break
21761 done
21762 test -z "$as_dirs" || eval "mkdir $as_dirs"
21763 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21766 } # as_fn_mkdir_p
21767 if mkdir -p . 2>/dev/null; then
21768 as_mkdir_p='mkdir -p "$as_dir"'
21769 else
21770 test -d ./-p && rmdir ./-p
21771 as_mkdir_p=false
21775 # as_fn_executable_p FILE
21776 # -----------------------
21777 # Test if FILE is an executable regular file.
21778 as_fn_executable_p ()
21780 test -f "$1" && test -x "$1"
21781 } # as_fn_executable_p
21782 as_test_x='test -x'
21783 as_executable_p=as_fn_executable_p
21785 # Sed expression to map a string onto a valid CPP name.
21786 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21788 # Sed expression to map a string onto a valid variable name.
21789 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21792 exec 6>&1
21793 ## ----------------------------------- ##
21794 ## Main body of $CONFIG_STATUS script. ##
21795 ## ----------------------------------- ##
21796 _ASEOF
21797 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21800 # Save the log message, to keep $0 and so on meaningful, and to
21801 # report actual input values of CONFIG_FILES etc. instead of their
21802 # values after options handling.
21803 ac_log="
21804 This file was extended by Wine $as_me 4.21, which was
21805 generated by GNU Autoconf 2.69. Invocation command line was
21807 CONFIG_FILES = $CONFIG_FILES
21808 CONFIG_HEADERS = $CONFIG_HEADERS
21809 CONFIG_LINKS = $CONFIG_LINKS
21810 CONFIG_COMMANDS = $CONFIG_COMMANDS
21811 $ $0 $@
21813 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21816 _ACEOF
21818 case $ac_config_files in *"
21819 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21820 esac
21822 case $ac_config_headers in *"
21823 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21824 esac
21827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21828 # Files that config.status was made for.
21829 config_files="$ac_config_files"
21830 config_headers="$ac_config_headers"
21831 config_links="$ac_config_links"
21832 config_commands="$ac_config_commands"
21834 _ACEOF
21836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21837 ac_cs_usage="\
21838 \`$as_me' instantiates files and other configuration actions
21839 from templates according to the current configuration. Unless the files
21840 and actions are specified as TAGs, all are instantiated by default.
21842 Usage: $0 [OPTION]... [TAG]...
21844 -h, --help print this help, then exit
21845 -V, --version print version number and configuration settings, then exit
21846 --config print configuration, then exit
21847 -q, --quiet, --silent
21848 do not print progress messages
21849 -d, --debug don't remove temporary files
21850 --recheck update $as_me by reconfiguring in the same conditions
21851 --file=FILE[:TEMPLATE]
21852 instantiate the configuration file FILE
21853 --header=FILE[:TEMPLATE]
21854 instantiate the configuration header FILE
21856 Configuration files:
21857 $config_files
21859 Configuration headers:
21860 $config_headers
21862 Configuration links:
21863 $config_links
21865 Configuration commands:
21866 $config_commands
21868 Report bugs to <wine-devel@winehq.org>.
21869 Wine home page: <https://www.winehq.org>."
21871 _ACEOF
21872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21873 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21874 ac_cs_version="\\
21875 Wine config.status 4.21
21876 configured by $0, generated by GNU Autoconf 2.69,
21877 with options \\"\$ac_cs_config\\"
21879 Copyright (C) 2012 Free Software Foundation, Inc.
21880 This config.status script is free software; the Free Software Foundation
21881 gives unlimited permission to copy, distribute and modify it."
21883 ac_pwd='$ac_pwd'
21884 srcdir='$srcdir'
21885 test -n "\$AWK" || AWK=awk
21886 _ACEOF
21888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21889 # The default lists apply if the user does not specify any file.
21890 ac_need_defaults=:
21891 while test $# != 0
21893 case $1 in
21894 --*=?*)
21895 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21896 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21897 ac_shift=:
21899 --*=)
21900 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21901 ac_optarg=
21902 ac_shift=:
21905 ac_option=$1
21906 ac_optarg=$2
21907 ac_shift=shift
21909 esac
21911 case $ac_option in
21912 # Handling of the options.
21913 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21914 ac_cs_recheck=: ;;
21915 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21916 $as_echo "$ac_cs_version"; exit ;;
21917 --config | --confi | --conf | --con | --co | --c )
21918 $as_echo "$ac_cs_config"; exit ;;
21919 --debug | --debu | --deb | --de | --d | -d )
21920 debug=: ;;
21921 --file | --fil | --fi | --f )
21922 $ac_shift
21923 case $ac_optarg in
21924 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21925 '') as_fn_error $? "missing file argument" ;;
21926 esac
21927 as_fn_append CONFIG_FILES " '$ac_optarg'"
21928 ac_need_defaults=false;;
21929 --header | --heade | --head | --hea )
21930 $ac_shift
21931 case $ac_optarg in
21932 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21933 esac
21934 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21935 ac_need_defaults=false;;
21936 --he | --h)
21937 # Conflict between --help and --header
21938 as_fn_error $? "ambiguous option: \`$1'
21939 Try \`$0 --help' for more information.";;
21940 --help | --hel | -h )
21941 $as_echo "$ac_cs_usage"; exit ;;
21942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21943 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21944 ac_cs_silent=: ;;
21946 # This is an error.
21947 -*) as_fn_error $? "unrecognized option: \`$1'
21948 Try \`$0 --help' for more information." ;;
21950 *) as_fn_append ac_config_targets " $1"
21951 ac_need_defaults=false ;;
21953 esac
21954 shift
21955 done
21957 ac_configure_extra_args=
21959 if $ac_cs_silent; then
21960 exec 6>/dev/null
21961 ac_configure_extra_args="$ac_configure_extra_args --silent"
21964 _ACEOF
21965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21966 if \$ac_cs_recheck; then
21967 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21968 shift
21969 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21970 CONFIG_SHELL='$SHELL'
21971 export CONFIG_SHELL
21972 exec "\$@"
21975 _ACEOF
21976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21977 exec 5>>config.log
21979 echo
21980 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21981 ## Running $as_me. ##
21982 _ASBOX
21983 $as_echo "$ac_log"
21984 } >&5
21986 _ACEOF
21987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21989 # INIT-COMMANDS
21991 wine_fn_output_makedep ()
21993 as_dir=tools; as_fn_mkdir_p
21994 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21996 wine_fn_output_makefile ()
21998 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21999 `cat $wine_rules_file`
22000 _WINE_EOF
22001 as_fn_error $? "could not create Makefile" "$LINENO" 5
22004 _ACEOF
22006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22008 # Handling of arguments.
22009 for ac_config_target in $ac_config_targets
22011 case $ac_config_target in
22012 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22013 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22014 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22015 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22016 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22017 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22018 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22020 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22021 esac
22022 done
22025 # If the user did not use the arguments to specify the items to instantiate,
22026 # then the envvar interface is used. Set only those that are not.
22027 # We use the long form for the default assignment because of an extremely
22028 # bizarre bug on SunOS 4.1.3.
22029 if $ac_need_defaults; then
22030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22031 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22032 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22033 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22036 # Have a temporary directory for convenience. Make it in the build tree
22037 # simply because there is no reason against having it here, and in addition,
22038 # creating and moving files from /tmp can sometimes cause problems.
22039 # Hook for its removal unless debugging.
22040 # Note that there is a small window in which the directory will not be cleaned:
22041 # after its creation but before its name has been assigned to `$tmp'.
22042 $debug ||
22044 tmp= ac_tmp=
22045 trap 'exit_status=$?
22046 : "${ac_tmp:=$tmp}"
22047 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22049 trap 'as_fn_exit 1' 1 2 13 15
22051 # Create a (secure) tmp directory for tmp files.
22054 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22055 test -d "$tmp"
22056 } ||
22058 tmp=./conf$$-$RANDOM
22059 (umask 077 && mkdir "$tmp")
22060 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22061 ac_tmp=$tmp
22063 # Set up the scripts for CONFIG_FILES section.
22064 # No need to generate them if there are no CONFIG_FILES.
22065 # This happens for instance with `./config.status config.h'.
22066 if test -n "$CONFIG_FILES"; then
22069 ac_cr=`echo X | tr X '\015'`
22070 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22071 # But we know of no other shell where ac_cr would be empty at this
22072 # point, so we can use a bashism as a fallback.
22073 if test "x$ac_cr" = x; then
22074 eval ac_cr=\$\'\\r\'
22076 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22077 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22078 ac_cs_awk_cr='\\r'
22079 else
22080 ac_cs_awk_cr=$ac_cr
22083 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22084 _ACEOF
22088 echo "cat >conf$$subs.awk <<_ACEOF" &&
22089 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22090 echo "_ACEOF"
22091 } >conf$$subs.sh ||
22092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22093 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22094 ac_delim='%!_!# '
22095 for ac_last_try in false false false false false :; do
22096 . ./conf$$subs.sh ||
22097 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22099 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22100 if test $ac_delim_n = $ac_delim_num; then
22101 break
22102 elif $ac_last_try; then
22103 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22104 else
22105 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22107 done
22108 rm -f conf$$subs.sh
22110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22111 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22112 _ACEOF
22113 sed -n '
22115 s/^/S["/; s/!.*/"]=/
22118 s/^[^!]*!//
22119 :repl
22120 t repl
22121 s/'"$ac_delim"'$//
22122 t delim
22125 s/\(.\{148\}\)..*/\1/
22126 t more1
22127 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22130 b repl
22131 :more1
22132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22135 s/.\{148\}//
22136 t nl
22137 :delim
22139 s/\(.\{148\}\)..*/\1/
22140 t more2
22141 s/["\\]/\\&/g; s/^/"/; s/$/"/
22144 :more2
22145 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22148 s/.\{148\}//
22149 t delim
22150 ' <conf$$subs.awk | sed '
22151 /^[^""]/{
22153 s/\n//
22155 ' >>$CONFIG_STATUS || ac_write_fail=1
22156 rm -f conf$$subs.awk
22157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22158 _ACAWK
22159 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22160 for (key in S) S_is_set[key] = 1
22161 FS = "\a"
22165 line = $ 0
22166 nfields = split(line, field, "@")
22167 substed = 0
22168 len = length(field[1])
22169 for (i = 2; i < nfields; i++) {
22170 key = field[i]
22171 keylen = length(key)
22172 if (S_is_set[key]) {
22173 value = S[key]
22174 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22175 len += length(value) + length(field[++i])
22176 substed = 1
22177 } else
22178 len += 1 + keylen
22181 print line
22184 _ACAWK
22185 _ACEOF
22186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22187 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22188 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22189 else
22191 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22192 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22193 _ACEOF
22195 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22196 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22197 # trailing colons and then remove the whole line if VPATH becomes empty
22198 # (actually we leave an empty line to preserve line numbers).
22199 if test "x$srcdir" = x.; then
22200 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22202 s///
22203 s/^/:/
22204 s/[ ]*$/:/
22205 s/:\$(srcdir):/:/g
22206 s/:\${srcdir}:/:/g
22207 s/:@srcdir@:/:/g
22208 s/^:*//
22209 s/:*$//
22211 s/\(=[ ]*\).*/\1/
22213 s/\n//
22214 s/^[^=]*=[ ]*$//
22218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22219 fi # test -n "$CONFIG_FILES"
22221 # Set up the scripts for CONFIG_HEADERS section.
22222 # No need to generate them if there are no CONFIG_HEADERS.
22223 # This happens for instance with `./config.status Makefile'.
22224 if test -n "$CONFIG_HEADERS"; then
22225 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22226 BEGIN {
22227 _ACEOF
22229 # Transform confdefs.h into an awk script `defines.awk', embedded as
22230 # here-document in config.status, that substitutes the proper values into
22231 # config.h.in to produce config.h.
22233 # Create a delimiter string that does not exist in confdefs.h, to ease
22234 # handling of long lines.
22235 ac_delim='%!_!# '
22236 for ac_last_try in false false :; do
22237 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22238 if test -z "$ac_tt"; then
22239 break
22240 elif $ac_last_try; then
22241 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22242 else
22243 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22245 done
22247 # For the awk script, D is an array of macro values keyed by name,
22248 # likewise P contains macro parameters if any. Preserve backslash
22249 # newline sequences.
22251 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22252 sed -n '
22253 s/.\{148\}/&'"$ac_delim"'/g
22254 t rset
22255 :rset
22256 s/^[ ]*#[ ]*define[ ][ ]*/ /
22257 t def
22259 :def
22260 s/\\$//
22261 t bsnl
22262 s/["\\]/\\&/g
22263 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22264 D["\1"]=" \3"/p
22265 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22267 :bsnl
22268 s/["\\]/\\&/g
22269 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22270 D["\1"]=" \3\\\\\\n"\\/p
22271 t cont
22272 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22273 t cont
22275 :cont
22277 s/.\{148\}/&'"$ac_delim"'/g
22278 t clear
22279 :clear
22280 s/\\$//
22281 t bsnlc
22282 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22284 :bsnlc
22285 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22286 b cont
22287 ' <confdefs.h | sed '
22288 s/'"$ac_delim"'/"\\\
22289 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22292 for (key in D) D_is_set[key] = 1
22293 FS = "\a"
22295 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22296 line = \$ 0
22297 split(line, arg, " ")
22298 if (arg[1] == "#") {
22299 defundef = arg[2]
22300 mac1 = arg[3]
22301 } else {
22302 defundef = substr(arg[1], 2)
22303 mac1 = arg[2]
22305 split(mac1, mac2, "(") #)
22306 macro = mac2[1]
22307 prefix = substr(line, 1, index(line, defundef) - 1)
22308 if (D_is_set[macro]) {
22309 # Preserve the white space surrounding the "#".
22310 print prefix "define", macro P[macro] D[macro]
22311 next
22312 } else {
22313 # Replace #undef with comments. This is necessary, for example,
22314 # in the case of _POSIX_SOURCE, which is predefined and required
22315 # on some systems where configure will not decide to define it.
22316 if (defundef == "undef") {
22317 print "/*", prefix defundef, macro, "*/"
22318 next
22322 { print }
22323 _ACAWK
22324 _ACEOF
22325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22326 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22327 fi # test -n "$CONFIG_HEADERS"
22330 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22331 shift
22332 for ac_tag
22334 case $ac_tag in
22335 :[FHLC]) ac_mode=$ac_tag; continue;;
22336 esac
22337 case $ac_mode$ac_tag in
22338 :[FHL]*:*);;
22339 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22340 :[FH]-) ac_tag=-:-;;
22341 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22342 esac
22343 ac_save_IFS=$IFS
22344 IFS=:
22345 set x $ac_tag
22346 IFS=$ac_save_IFS
22347 shift
22348 ac_file=$1
22349 shift
22351 case $ac_mode in
22352 :L) ac_source=$1;;
22353 :[FH])
22354 ac_file_inputs=
22355 for ac_f
22357 case $ac_f in
22358 -) ac_f="$ac_tmp/stdin";;
22359 *) # Look for the file first in the build tree, then in the source tree
22360 # (if the path is not absolute). The absolute path cannot be DOS-style,
22361 # because $ac_f cannot contain `:'.
22362 test -f "$ac_f" ||
22363 case $ac_f in
22364 [\\/$]*) false;;
22365 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22366 esac ||
22367 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22368 esac
22369 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22370 as_fn_append ac_file_inputs " '$ac_f'"
22371 done
22373 # Let's still pretend it is `configure' which instantiates (i.e., don't
22374 # use $as_me), people would be surprised to read:
22375 # /* config.h. Generated by config.status. */
22376 configure_input='Generated from '`
22377 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22378 `' by configure.'
22379 if test x"$ac_file" != x-; then
22380 configure_input="$ac_file. $configure_input"
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22382 $as_echo "$as_me: creating $ac_file" >&6;}
22384 # Neutralize special characters interpreted by sed in replacement strings.
22385 case $configure_input in #(
22386 *\&* | *\|* | *\\* )
22387 ac_sed_conf_input=`$as_echo "$configure_input" |
22388 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22389 *) ac_sed_conf_input=$configure_input;;
22390 esac
22392 case $ac_tag in
22393 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22395 esac
22397 esac
22399 ac_dir=`$as_dirname -- "$ac_file" ||
22400 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22401 X"$ac_file" : 'X\(//\)[^/]' \| \
22402 X"$ac_file" : 'X\(//\)$' \| \
22403 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22404 $as_echo X"$ac_file" |
22405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22406 s//\1/
22409 /^X\(\/\/\)[^/].*/{
22410 s//\1/
22413 /^X\(\/\/\)$/{
22414 s//\1/
22417 /^X\(\/\).*/{
22418 s//\1/
22421 s/.*/./; q'`
22422 as_dir="$ac_dir"; as_fn_mkdir_p
22423 ac_builddir=.
22425 case "$ac_dir" in
22426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22429 # A ".." for each directory in $ac_dir_suffix.
22430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22431 case $ac_top_builddir_sub in
22432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22434 esac ;;
22435 esac
22436 ac_abs_top_builddir=$ac_pwd
22437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22438 # for backward compatibility:
22439 ac_top_builddir=$ac_top_build_prefix
22441 case $srcdir in
22442 .) # We are building in place.
22443 ac_srcdir=.
22444 ac_top_srcdir=$ac_top_builddir_sub
22445 ac_abs_top_srcdir=$ac_pwd ;;
22446 [\\/]* | ?:[\\/]* ) # Absolute name.
22447 ac_srcdir=$srcdir$ac_dir_suffix;
22448 ac_top_srcdir=$srcdir
22449 ac_abs_top_srcdir=$srcdir ;;
22450 *) # Relative name.
22451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22452 ac_top_srcdir=$ac_top_build_prefix$srcdir
22453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22454 esac
22455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22458 case $ac_mode in
22461 # CONFIG_FILE
22464 _ACEOF
22466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22467 # If the template does not know about datarootdir, expand it.
22468 # FIXME: This hack should be removed a few years after 2.60.
22469 ac_datarootdir_hack=; ac_datarootdir_seen=
22470 ac_sed_dataroot='
22471 /datarootdir/ {
22475 /@datadir@/p
22476 /@docdir@/p
22477 /@infodir@/p
22478 /@localedir@/p
22479 /@mandir@/p'
22480 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22481 *datarootdir*) ac_datarootdir_seen=yes;;
22482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22484 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22485 _ACEOF
22486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22487 ac_datarootdir_hack='
22488 s&@datadir@&$datadir&g
22489 s&@docdir@&$docdir&g
22490 s&@infodir@&$infodir&g
22491 s&@localedir@&$localedir&g
22492 s&@mandir@&$mandir&g
22493 s&\\\${datarootdir}&$datarootdir&g' ;;
22494 esac
22495 _ACEOF
22497 # Neutralize VPATH when `$srcdir' = `.'.
22498 # Shell code in configure.ac might set extrasub.
22499 # FIXME: do we really want to maintain this feature?
22500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22501 ac_sed_extra="$ac_vpsub
22502 $extrasub
22503 _ACEOF
22504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22507 s|@configure_input@|$ac_sed_conf_input|;t t
22508 s&@top_builddir@&$ac_top_builddir_sub&;t t
22509 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22510 s&@srcdir@&$ac_srcdir&;t t
22511 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22512 s&@top_srcdir@&$ac_top_srcdir&;t t
22513 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22514 s&@builddir@&$ac_builddir&;t t
22515 s&@abs_builddir@&$ac_abs_builddir&;t t
22516 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22517 $ac_datarootdir_hack
22519 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22520 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22523 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22525 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22527 which seems to be undefined. Please make sure it is defined" >&5
22528 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22529 which seems to be undefined. Please make sure it is defined" >&2;}
22531 rm -f "$ac_tmp/stdin"
22532 case $ac_file in
22533 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22534 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22535 esac \
22536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22540 # CONFIG_HEADER
22542 if test x"$ac_file" != x-; then
22544 $as_echo "/* $configure_input */" \
22545 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22546 } >"$ac_tmp/config.h" \
22547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22548 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22550 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22551 else
22552 rm -f "$ac_file"
22553 mv "$ac_tmp/config.h" "$ac_file" \
22554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22556 else
22557 $as_echo "/* $configure_input */" \
22558 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22559 || as_fn_error $? "could not create -" "$LINENO" 5
22564 # CONFIG_LINK
22567 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22569 else
22570 # Prefer the file from the source tree if names are identical.
22571 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22572 ac_source=$srcdir/$ac_source
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22576 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22578 if test ! -r "$ac_source"; then
22579 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22581 rm -f "$ac_file"
22583 # Try a relative symlink, then a hard link, then a copy.
22584 case $ac_source in
22585 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22586 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22587 esac
22588 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22589 ln "$ac_source" "$ac_file" 2>/dev/null ||
22590 cp -p "$ac_source" "$ac_file" ||
22591 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22594 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22595 $as_echo "$as_me: executing $ac_file commands" >&6;}
22597 esac
22600 case $ac_file$ac_mode in
22601 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22602 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22603 "Makefile":C) wine_fn_output_makefile Makefile ;;
22605 esac
22606 done # for ac_tag
22609 as_fn_exit 0
22610 _ACEOF
22611 ac_clean_files=$ac_clean_files_save
22613 test $ac_write_fail = 0 ||
22614 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22617 # configure is writing to config.log, and then calls config.status.
22618 # config.status does its own redirection, appending to config.log.
22619 # Unfortunately, on DOS this fails, as config.log is still kept open
22620 # by configure, so config.status won't be able to write to it; its
22621 # output is simply discarded. So we exec the FD to /dev/null,
22622 # effectively closing config.log, so it can be properly (re)opened and
22623 # appended to by config.status. When coming back to configure, we
22624 # need to make the FD available again.
22625 if test "$no_create" != yes; then
22626 ac_cs_success=:
22627 ac_config_status_args=
22628 test "$silent" = yes &&
22629 ac_config_status_args="$ac_config_status_args --quiet"
22630 exec 5>/dev/null
22631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22632 exec 5>>config.log
22633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22634 # would make configure fail if this is the last instruction.
22635 $ac_cs_success || as_fn_exit 1
22637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22643 if test "$no_create" = "yes"
22644 then
22645 exit 0
22648 ac_save_IFS="$IFS"
22649 if test "x$wine_notices" != x; then
22650 echo >&6
22651 IFS="|"
22652 for msg in $wine_notices; do
22653 IFS="$ac_save_IFS"
22654 if ${msg:+false} :; then :
22656 else
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22658 $as_echo "$as_me: $msg" >&6;}
22660 done
22662 IFS="|"
22663 for msg in $wine_warnings; do
22664 IFS="$ac_save_IFS"
22665 if ${msg:+false} :; then :
22667 else
22668 echo >&2
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22670 $as_echo "$as_me: WARNING: $msg" >&2;}
22672 done
22673 IFS="$ac_save_IFS"
22675 $as_echo "
22676 $as_me: Finished. Do '${ac_make}' to compile Wine.
22677 " >&6